Skip to main content

Hi,

I have set up a new Order processing type, which would release a PR, convert it to a PO, Release the PO and then Print the Purchase Order. 

 

I have then scheduled Automatic Order processing against this order processing type. 

I have successfully been able to get through all of the steps. 

I am now looking to have the printed PDF sent to the supplier. 

I have the Email Purchase Order check box selected on the supplier.

I also have a default email comm method and a contact listed on the supplier. 

 

Unfortunately, I have not been able to successfully have the email send out.

Additionally, I would like to edit the subject and body of the email. 

 

I am not sure that I can use an event based on the PDF_REPORT_CREATED as the email address for the supplier would not be available (not sure about this statement though)

 

Not sure what setup I am missing to have this functionality work as expected.

Hi ​@RajenGandhi ,

If the purchase order is printed in report archive, you can email the report following the guidelines available in the online documentation (‘Email Reports’) and using the PDF_REPORT_CREATED event.

Another option is to use a Report Rule. You can configure rules that automatically send reports via email based on specific triggers or conditions, once the report has been printed.

Regards,

Pilar


Hi

You can use IFS printjob event and create event action on it. In the conditions of your event action you should mention the above report title so that this event action does not trigger for all other print jobs(very important condition other wise every print job triggers this email). See below sample screen shot. 

 

Then in the email to be sent you should select one of those PDF_parameter( you have to know which of those is related to email regarding purchase orders). 

That should send email out whenever the purchase order is printed. 

Other option is to use execute PL /SQL code and write your own code to email the same based on the email setup you did for that supplier. Some thing like below cursor should give you the email id.  Then you can write the remaining code to send all the relevant information to that supplier. ( you may get some ready to use code in the community forum tickets Please check there) 

 CURSOR Get_Supp_Email (
        Supplier_Id_ IN VARCHAR2
    ) IS
    SELECT distinct Value
    FROM Comm_Method
    WHERE Identity = Supplier_Id_
          AND Party_Type_Db = 'SUPPLIER'
          AND Method_Id_Db = 'E_MAIL'
          AND (upper(Description) LIKE 'PO%EMAIL' OR upper(Description) LIKE 'EMAIL%PO');