Functional Description
Purpose
This function deletes all component records for a specific DOCO, DCTO, KCOO and KTLN
This function is called by P41351 Kit Selection
Setup Notes and Prerequisites
Use bullet points.
Special Logic
None.
Technical Specification
2.1 Data Structure
mnDocumentNumberDOCO
szDocumentDCTO
szDocumentCompanyKCOO
mnLineNumberLNID
mnKitMasterLineNumberKTLN
szComputerIDCTID
mnJobNumberJOBS
2.2Related Tables
Table Table Description
F42UI11
2.3Related Business Functions
Source NameFunction Name
B4200310F4211ClearWorkFile
2.4Processing
if ( cUseCache == 1)
Delete all kit component records from the F42UI11 by calling F4211 ClearWorkFile.
While records exist where the KTLN from the F42UI11 matches the KTLN passed in lpDS
Fetch record from F42UI11 where CTID, JOBS, DOCO, DCTO, KCOO, LNID
If Record Found
Call F4211ClearWorkFile
if ( cUseCache == 2)
Delete all kit component records from the F42UI11 CACHE by calling F4211ClearWorkFile.
While records exist where the KTLN from the F42UI11 CACHE matches the KTLN passed in lpDS
Fetch range of records where CTID, JOBS, DOCO, DCTO, KCOO, LNID
and XLIN = From Line Number - XLIN = Thru Line Number
XLIN = FromLineNumber
So - While XLIN < ThruLineNumber
Fetch Record
If Record Found
Call F4211ClearWorkFile
^
D4200470D - F42UI11 Delete Kit Component Lines
Special Input Expected
DOCODocument Number
DCTODocument Type
KCOODocument Company
LNIDLine Number
KTLNKit Master Line Number
LNIXFrom Line NumberWhen use cache = 2
LNIXThru Line NumberWhen use cache = 2
EV01UseCache0 = nothing,
1 = WF F42UI11,
2 = Cache
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocumentNumber | 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,
| ||||
szDocumentType | 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
| ||||
szDocumentCompany | 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
| ||||
mnLineNumber | 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
| ||||
mnKitMasterLineNumber | KTLN | MATH_NUMERIC | NONE | NONE |
This line number indicates the relative sequence in which a component is added to a kit or single level bill of materials. For example, the
| ||||
szComputerID | CTID | char | NONE | NONE |
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. |
None |
F42UI11 SO Detail Cache File (MBF) |