Q35CancelSalesOrderDetailLine
Cantara Business Function
The purpose of this function is to simplify the process of cancelling Sales Order lines.
This function will cancel open lines on existing Sales Orders in the system.
Usage:
Required Inputs - 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
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 |
DOCO_mnDocumentOrderInvoiceE | INTEGER | REQUIRED | IN |
KCOO_szCompanyKeyOrderNo | COMPANY | REQUIRED | IN |
DCTO_szOrderType | UDC | REQUIRED | IN |
LNID_mnLineNumber | FLOAT | REQUIRED | IN |
EDLN_FQ354202LineNumber | FLOAT | OPTIONAL | BOTH |