Skip to main content

Q35AddSOLineToExistingOrder

Cantara Business Function

The purpose of this function is to simplify the process to creating SO lines before calling the Q35ProcessSalesOrder function. 
This function will add additional lines to an existing Sales Order in the system.

Usage:

Required Inputs - Key to the Sales Order in F4201
DOCO_mnDocumentOrderInvoiceE
KCOO_szCompanyKeyOrderNo
DCTO_szOrderType

EDUS_szUserID - Current user
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 to be added, 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 add the lines to an existing Sales Order in JDE - the required input parameters are EDUS_szUserID and EDTN_szTransactionNumber

Data Structure

NameTypeInclusionDirection
EV01_cSuppressErrorsCHARACTEROPTIONALIN
DTAI_szErrorMessageSTRINGOPTIONALOUT
VERS_szP4210VersionSTRINGOPTIONALIN
EDUS_szUserIDSTRINGREQUIREDIN
EDTN_szTransactionNumberSTRINGOPTIONALBOTH
DOCO_mnDocumentOrderInvoiceEINTEGERREQUIREDIN
KCOO_szCompanyKeyOrderNoCOMPANYREQUIREDIN
DCTO_szOrderTypeUDCREQUIREDIN
ITM_mnIdentifierShortItemSHORTITEMOPTIONALIN
LITM_szIdentifier2ndItemSTRINGOPTIONALIN
AITM_szIdentifier3rdItemSTRINGOPTIONALIN
UORG_mnUnitsTransactionQtyFLOATOPTIONALIN
EDLN_FQ354202LineNumberFLOATOPTIONALOUT
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.