Functional Description
Purpose
This business function cancels all components of Kit or Configurator Item when it is canceled in Sale 
Order.
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
Data Structure
szErrorMessageIDDTAI
cSuppressErrorMessageSUPPS
mnSaleOrderNumberDOCO
szSO_TypeDCTO
szSO_CompanyKCOO
mnSO_LineNumberLNID
mnJobNumberJOBS
szComputerIDCTID
cCacheOnEV22EV22
cCurrencyControlCRYR
szProgramIdPID
szVersionVERS
jdDateUpdatedUPMJ
mnWKRelatedOrderProcMATH01
cStockingTypeSTKT
cErrorCodeERRC
mnLastLineNoAssignedLNIX
mnWKOrderTotalOTOT
mnWKForeignOrderTotalFAP
mnWKTotalCostTOTC
mnWKForeignTotalCostFCST
Related Tables
 Table Table Description
 F4211Sale Order Detail File
 
Related Business Functions
 Source NameFunction Name
 B4200310Edit Line
 
Processing
 Retrieve all the components from F4211. (with DOCO, DCTO, KCOO, and Line Number between LNID and 
LNID +1
 Call B4200310 with cancel mode for each component.
D4201170 - Cancel SO Kit or Configurator Components
Special Input Expected
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
SUPPS      Suppress Error Message       I   N      Other = Allow runtime
                                                                    error message
                                                            1 = Suppress runtime
                                                                error message
DOCO      Sale Order Number             I   Y
DCTO      SO Type                   I   Y
KCOO      SO Company                   I   Y
LNID      SO Line Number              I   Y
JOBS      Job Number                   I   Y
CTID      Computer ID                   I   Y
EV22      Cache On                   I   Y
CRYR      Currency Control             I   Y
PID      Program ID                   I   Y
VERS      Version                   I   Y
JDEDATEDate Updated             I   Y
MATH01WK Relate Order Proc       I   Y
LNIX      Last Line No Assigned       I   Y
OTOT      WK Order Total             I   Y
FAP      WK Foreign Order Total       I   Y
TOTC      WK Total Cost             I   Y
FCST      WK Foreign Total Cost       I   Y
Special Output Returned
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
DTAI      Error Message Id             O    N
^
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| szErrorMessageID | DTAI | char | NONE | NONE | 
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
  | ||||
| cSuppressErrorMessage | SUPPS | char | NONE | NONE | 
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
       0 = allow 
  | ||||
| mnSaleOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE | 
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
  | ||||
| szSO_Type | DCTO | char | NONE | NONE | 
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
  | ||||
| szSO_Company | KCOO | char | NONE | NONE | 
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
  | ||||
| mnSO_LineNumber | LNID | MATH_NUMERIC | NONE | NONE | 
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
  | ||||
| mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE | 
The job number (work station ID) which executed the particular job.  | ||||
| szComputerID | CTID | char | NONE | NONE | 
| cCacheOnEV22 | EV22 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cCurrencyControl | CRYR | char | NONE | NONE | 
A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use:
Codes are:
   N Do not 
  | ||||
| szProgramId | PID | char | NONE | NONE | 
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
  | ||||
| szVersion | VERS | char | NONE | NONE | 
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
  | ||||
| jdDateUpdated | UPMJ | JDEDATE | NONE | NONE | 
The date that specifies the last update to the file record.  | ||||
| mnWKRelatedOrderProc | MATH01 | MATH_NUMERIC | NONE | NONE | 
- - - Good Performance Low Value.  | ||||
| cStockingType | STKT | char | NONE | NONE | 
A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
  | ||||
| cErrorCode | ERRC | char | NONE | NONE | 
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
  | ||||
| mnLastLineNoAssigned | LNIX | MATH_NUMERIC | NONE | NONE | 
| mnWKOrderTotal | OTOT | MATH_NUMERIC | NONE | NONE | 
The total value of all lines on the order that have not been shipped and billed to the customer.  | ||||
| mnWKForeignOrderTotal | FAP | MATH_NUMERIC | NONE | NONE | 
The unpaid foreign amount of a transaction.  | ||||
| mnWKTotalCost | TOTC | MATH_NUMERIC | NONE | NONE | 
| mnWKForeignTotalCost | FCST | MATH_NUMERIC | NONE | NONE | 
| cCMLineAction | ACTN | char | OPT | NONE | 
A code that specifies the action that is performed. Valid values are: A Add C Change  | ||||
| cCMRecdWrittenToWF | EV18 | char | OPT | NONE | 
An option that specifies the type of processing for an event.  | ||||
| mnCMLineNo | XLIN | MATH_NUMERIC | OPT | NONE | 
Line number.  | ||||
| szParentLineType | LNTY | char | OPT | NONE | 
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
  | ||||
| B4200310 Sales Order Entry Master Business Function | 
| F4211 Sales Order Detail File |