Skip to main content
Skip table of contents

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

NameTypeInclusionDirection
EV01_cSuppressErrorsCHARACTEROPTIONALIN
DTAI_szErrorMessageSTRINGOPTIONALOUT
VERS_szP4210VersionSTRINGOPTIONALIN
EDUS_szUserIDSTRINGREQUIREDIN
EDTN_szTransactionNumberSTRINGOPTIONALBOTH
KCOO_szCompanyKeyOrderNoCOMPANYOPTIONALIN
MCU_szCostCenterBUSINESSUNITOPTIONALIN
AN8_mnAddressNumberADDRESSNUMBEROPTIONALIN
SHAN_mnAddressNumberShipToADDRESSNUMBEROPTIONALIN
ITM_mnIdentifierShortItemSHORTITEMOPTIONALIN
LITM_szIdentifier2ndItemSTRINGOPTIONALIN
AITM_szIdentifier3rdItemSTRINGOPTIONALIN
UORG_mnUnitsTransactionQtyFLOATREQUIREDIN
EDLN_FQ354202LineNumberFLOATOPTIONALOUT
JavaScript errors detected

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

If this problem persists, please contact our support.