Skip to main content
Solved

Tring to find the action EmailCustomerOrder code

  • October 12, 2025
  • 2 replies
  • 43 views

ZTC ZTC JGOTA
Hero (Customer)
Forum|alt.badge.img+14

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?

 

 

Best answer by dsj

Hi ​@ZTC ZTC JGOTA 

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

 

Best Regards,

Damith

2 replies

Forum|alt.badge.img+5
  • Do Gooder (Partner)
  • October 13, 2025

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!


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • Answer
  • October 13, 2025

Hi ​@ZTC ZTC JGOTA 

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

 

Best Regards,

Damith