Skip to main content

Q35UpdateSalesOrderLine

Cantara Business Function

The purpose of this function is to simplify the process of editing Sales Order lines.
This function will update existing lines on existing Sales Orders in the system.

Usage:

Required Inputs - This function requires most of the expected inputs to be provided to the function, this mimics the available fields that can be changed on the Sales Order detail screen in P4210.
So to successfully use this function you will first need to retrieve the known values from F4211 - this can be done by calling Q35GetSalesOrderDetailLine

Key to the Sales Order in F4201 plus the Sales Order Line Number from F4211
DOCO_mnDocumentOrderInvoiceE
KCOO_szCompanyKeyOrderNo
DCTO_szOrderType
LNID_mnLineNumber

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 cancel the lines from an existing Sales Order in JDE.

Data Structure

NameTypeInclusionDirection
EV01_cSuppressErrorsCHARACTEROPTIONALIN
DTAI_szErrorMessageSTRINGOPTIONALOUT
VERS_szP4210VersionSTRINGOPTIONALIN
EDUS_szUserIDSTRINGREQUIREDIN
EDTN_szTransactionNumberSTRINGOPTIONALBOTH
DOCO_mnDocumentOrderInvoiceEINTEGERREQUIREDIN
KCOO_szCompanyKeyOrderNoCOMPANYREQUIREDIN
DCTO_szOrderTypeUDCREQUIREDIN
LNID_mnLineNumberFLOATREQUIREDIN
ITM_mnIdentifierShortItemSHORTITEMOPTIONALIN
LITM_szIdentifier2ndItemSTRINGOPTIONALIN
AITM_szIdentifier3rdItemSTRINGOPTIONALIN
UORG_mnUnitsTransactionQtyFLOATREQUIREDIN
EDLN_FQ354202LineNumberFLOATOPTIONALOUT
UOM_szUnitOfMeasureAsInputUDCREQUIREDIN
SQOR_mnUnitsSecondaryQtyOrFLOATREQUIREDIN
UOM2_szUnitOfMeasureSecondaryUDCREQUIREDIN
UPRC_mnAmtPricePerUnit2FLOATREQUIREDIN
AEXP_mnAmountExtendedPriceFLOATREQUIREDIN
FUP_mnAmtForPricePerUnitFLOATREQUIREDIN
FEA_mnAmountForeignExtPriceFLOATREQUIREDIN
UOM4_szUnitOfMeasurePricingUDCREQUIREDIN
PDDJ_jdScheduledPickDateDATEREQUIREDIN
PPDJ_jdDatePromisedShipJuDATEREQUIREDIN
RSDJ_jdDateReleaseJulianDATEREQUIREDIN
DRQJ_jdDateRequestedJulianDATEREQUIREDIN
JavaScript errors detected

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

If this problem persists, please contact our support.