Skip to main content

Hi, We created an Email type Custom Event Action using PDF_REPORT_CREATED Event to send out Customer Invoices. We are using the standard IFS report in Apps 10. 

While the Custom Event is firing, we aren’t receiving the correct invoice PDF. Instead the following email with a corrupt looking PDF is getting sent out:

The file cant be opened and gives the following error message:

 

The invoice PDF inside the IFS report archive looks right and can be opened. 

Also, the above attachment come across correctly when we sent it manually using the Email option in the Print Dialogue:

Notice the subject, message and email sender name look different

Has anyone come across this issue before?

Does this anything to do with how the Custom Event Action creation?

TIA,

Srikanth

What does your event action look like?

 

I copied this from a working event action (Apps 9 UPD 13):

                  command_sys.mail(
from_user_name_ => email_from_,
to_user_name_ => email_to_,
text_ => email_body_,
error_text_ => NULL,
attach_ => '&PDF_FILE',
cc_ => NULL,
subject_ => email_subject_,
timer_ => NULL,
audit_ => NULL,
from_alias_ => NULL,
label_ => NULL,
mail_sender_ => NULL);

 


Thanks for the info.

Here is how the Event Action looks like right now:

 


 

What do you see when you click the blue link that says “1 Attachments”?


Hi @Srikanth ,

 

Here’s a the event action we use to send invoice by email to a customer.  The email address comes from the customer record on the payment tab.  It’s setup under the AR Customer Contact section.

Send Invoice By Email

 

Regards,

William Klotz


 

What do you see when you click the blue link that says “1 Attachments”?

&PDF_FILE


Hi @Srikanth ,

 

Here’s a the event action we use to send invoice by email to a customer.  The email address comes from the customer record on the payment tab.  It’s setup under the AR Customer Contact section.

Send Invoice By Email

 

Regards,

William Klotz

Only difference is Mail Sender is left blank in your screenshot. Let me try this out.

Thanks!


Hi @Srikanth ,

 

Hopefully removing the Mail Sender will correct your issue.  We’ve never used the Mail Sender in our Email actions.

 

Regards,

William Klotz


We recreated the Event Action with Mail Sender left blank but the issue still persists.