Skip to main content

Hello IFS Community,

Quick question — I’m investigating the command code “E-mail Customer Confirmation.”

I can see the definition in both the client and the projection file for the action:

EmailCustomerOrder { parameter CustomerRef Text; parameter Contract Text; parameter Email Text; parameter CustomerNo Text; parameter ReportId Text; }

However, where can I find the code or logic that is executed when this command runs?

 

 

The next place to look now you know the name of the action is in the plsvc file.   In CustomerOrderHandling.plsvc it has:

PROCEDURE Email_Customer_Order___ (
    key_           IN Customer_Order_Key,
   customer_ref_  IN VARCHAR2,
   contract_      IN VARCHAR2,
   email_         IN VARCHAR2,
   customer_no_   IN VARCHAR2,
   report_id_     IN VARCHAR2 ) 
IS
BEGIN
   Customer_Order_Flow_API.Email_Order_Report__(key_.order_no, customer_ref_, contract_, email_, customer_no_, report_id_);
END Email_Customer_Order___;

(If you didn’t find it there, since it is under an entity definition “entity CustomerOrder {“  you could also look at the Customer_Order.plsql - an example of that is action FetchExternalTax.)

The Procedure Email_order_Report___ is in CustomerOrderFlow.plsql starting line 5353, in my version anyway.  

Hope that helps!


Hi ​@ZTC ZTC JGOTA 

as ​@HVeon mentioned, you can find the action in the plsql file of the projection

 

Best Regards,

Damith