Q35AddSOLineForNewOrder
Cantara Business Function
The purpose of this function is to simplify the process to creating SO lines before calling the Q35ProcessSalesOrder function.
The goal is to call 1 function for each line with the minimum information passed in.
So no need to call Q35CreateSalesOrderHeader and then Q35CreateSalesOrderDetailLine this function will handle that for you
Usage:
Call Q35AddSOLineForNewOrder, this will insert records into FQ354201 and FQ354202
EDTN_szTransactionNumber - For the first call to the function you must leave this value blank, so the system generates a new TransactionNumber.
If the Sales Order requires multiple lines, send the TransactionNumber returned from the initial call as an input, this will group additional lines under the one Sales Order when processed.
Call Q35ProcessSalesOrder to generate the Sales Order in JDE - the required input parameters are EDUS_szUserID and EDTN_szTransactionNumber
Data Structure
Name | Type | Inclusion | Direction |
---|---|---|---|
EV01_cSuppressErrors | CHARACTER | OPTIONAL | IN |
DTAI_szErrorMessage | STRING | OPTIONAL | OUT |
VERS_szP4210Version | STRING | OPTIONAL | IN |
EDUS_szUserID | STRING | REQUIRED | IN |
EDTN_szTransactionNumber | STRING | OPTIONAL | BOTH |
KCOO_szCompanyKeyOrderNo | COMPANY | OPTIONAL | IN |
MCU_szCostCenter | BUSINESSUNIT | OPTIONAL | IN |
AN8_mnAddressNumber | ADDRESSNUMBER | OPTIONAL | IN |
SHAN_mnAddressNumberShipTo | ADDRESSNUMBER | OPTIONAL | IN |
ITM_mnIdentifierShortItem | SHORTITEM | OPTIONAL | IN |
LITM_szIdentifier2ndItem | STRING | OPTIONAL | IN |
AITM_szIdentifier3rdItem | STRING | OPTIONAL | IN |
UORG_mnUnitsTransactionQty | FLOAT | REQUIRED | IN |
EDLN_FQ354202LineNumber | FLOAT | OPTIONAL | OUT |