ERP 2.50:Developers Guide/Reference/ExtensionPoints
Contents |
Extension Points
This is the list of available Extension Points on core procedures.
C_Order_Post - Finish Process Extension Point
This extension point is called at the end of the C_Order_Post1 function, the function that processes orders
- Parameters:
- Record_ID (p_String column of AD_EP_Instance_Para). c_order_id of the order that is being processed.
- DocAction (p_String). Action performed during the order process.
- User (p_String). AD_User_Id who has launched the process.
- Message (p_Text). Variable to set a message if needed.
- Result (p_Number). Integer to set the result of the process (1 success, 0 error, 2 warning)
Message and Result have to be retrieved after the procedures have been launched as they might be changed by those procedures to set warnings and messages to the user.
C_Invoice_Post - Finish_Process Extension Point
This extension point is called at the end of the C_Invoice_Post function, the function that processes invoices
- Parameters:
- Record_ID (p_String column of AD_EP_Instance_Para). c_invoice_id of the invoice that is being processed.
- DocAction (p_String). Action performed during the order process.
- User (p_String). AD_User_Id who has launched the process.
- Message (p_Text). Variable to set a message if needed.
- Result (p_Number). Integer to set the result of the process (1 success, 0 error, 2 warning)
Message and Result have to be retrieved after the procedures have been launched as they might be changed by those procedures to set warnings and messages to the user.
M_Inout_Post - Finish_Process Extension Point
This extension point is called at the end of the M_Inout_Post function, the function that completes shipments
- Parameters:
- Record_ID (p_String column of AD_EP_Instance_Para). m_inout_id of the shipment that is being processed.
- DocAction (p_String). Action performed during the order process.
- User (p_String). AD_User_Id who has launched the process.
- Message (p_Text). Variable to set a message if needed.
- Result (p_Number). Integer to set the result of the process (1 success, 0 error, 2 warning)
Message and Result have to be retrieved after the procedures have been launched as they might be changed by those procedures to set warnings and messages to the user.
M_Inout_Create - Calling Post Process
This extension point is called inside the M_Inout_Create function, the function that creates shipments from orders. It allows depending on the result returned to call the function to complete the shipment created or not and leave the shipment in draft status.
- Parameters:
- Record_ID (p_String column of AD_EP_Instance_Para). c_invoice_id of the invoice that is being processed.
- DocAction (p_String). Action performed during the order process.
- User (p_String). AD_User_Id who has launched the process.
- Result (p_Number). Integer to set the result of the process (NULL, execute the shipment complete process. Other value, do not execute the shipment complete process)
M_Inout_Cancel - Calling Post Process
This extension point is called inside the M_Inout_Cancel function, the function that cancels shipments from orders. It allows depending on the result returned to call the function to complete the shipment created or not and leave the shipment in draft status.
- Parameters:
- Record_ID (p_String column of AD_EP_Instance_Para). c_invoice_id of the invoice that is being processed.
- DocAction (p_String). Action performed during the order process.
- User (p_String). AD_User_Id who has launched the process.
- Result (p_Number). Integer to set the result of the process (NULL, execute the shipment complete process. Other value, do not execute the shipment complete process)
Languages: |
ERP 2.50:Developers Guide/Reference/JavaAPI | ERP 2.50:Developers Guide/Java Coding Conventions