Your company may be using scripts - now or in the future - to automate actions upon the creation of sales orders or lines. Intercompany allows you to perform actions automatically at various times. For example, you might want to add a script to advance the status of a sales line immediately before and immediately after the receipt a transaction.
The processes for sending and receiving data call functions in scripts and stored procedures, both before and after operations. The scripts and stored procedures have already been created; only the functionalities need to be fleshed out.
The script functions that are called before or after operations are executed just once.
The stored procedures are called for each transaction line that is processed. As they are called, a set of parameters is included that references the transaction line that is being processed or will be processed.
Category |
Name |
Called |
Script MF_Cust |
MF_C001_BeforeProcess |
Before sending purchase orders |
Script MF_Cust |
MF_C001_AfterProcess |
After sending purchase orders |
Script MF_Cust |
MF_C002_BeforeProcess |
Before receiving purchase orders |
Script MF_Cust |
MF_C002_AfterProcess |
After receiving purchase orders |
Script MF_Cust |
MF_G001_BeforeProcess |
Before sending shipping notes |
Script MF_Cust |
MF_G001_AfterProcess |
After sending shipping notes |
Script MF_Cust |
MF_G002_BeforeProcess |
Before receiving shipping notes |
Script MF_Cust |
MF_G002_AfterProcess |
After receiving shipping notes |
Script MF_Cust |
MF_H001_BeforeProcess |
Before sending invoices |
Script MF_Cust |
MF_H001_AfterProcess |
After sending invoices |
Script MF_Cust |
MF_H002_BeforeProcess |
Before receiving invoices |
Script MF_Cust |
MF_H002_AfterProcess |
After receiving invoices |
Stored procedure |
SIPX_GEN_MFPurTran_BP |
Before sending purchase orders |
Stored procedure |
SIPX_GEN_MFPurTran_AP |
After sending purchase orders |
Stored procedure |
SIPX_PRC_MFPurTran_BP |
Before receiving purchase orders |
Stored procedure |
SIPX_PRC_MFPurTran_AP |
After receiving purchase orders |
Stored procedure |
SIPX_GEN_MFShippingTranBP |
Before sending shipping notes |
Stored procedure |
SIPX_GEN_MFShippingTranAP |
After sending shipping notes |
Stored procedure |
SIPX_PRC_MFShippingTranBP |
Before receiving shipping notes |
Stored procedure |
SIPX_PRC_MFShippingTranAP |
After receiving shipping notes |
Stored procedure |
SIPX_GEN_MFInvoiceTran_BP |
Before sending invoices |
Stored procedure |
SIPX_GEN_MFInvoiceTran_AP |
After sending invoices |
Stored procedure |
SIPX_PRC_MFInvoiceTran_BP |
Before receiving invoices |
Stored procedure |
SIPX_PRC_MFInvoiceTran_AP |
After receiving invoices |