1.Functional Description
1.1Purpose
The Business Function will perform a cleanup of F4211 and F4801 to make sure a deleted Work Order Number is not referenced.
1.2Setup Notes and Prerequisites
This function requires B3201470 cache to be loaded.
1.3Special Logic
None
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
JOBSJob NumberIRCache Job Number
CFGIDmnConfigurationIDNumberIR
EV01cModeIR1
one WO was deleted perform cleanup of F4211 and F4801; 2 all Wos were deleted, perform cleanup of F4211
SYszSystemCodeIRExpecting
48
DOCOmnDocumentNumberIO/R*Required for mode 1 only
DCTOszDocumentTypeIO/R*Required for mode 1
only
KCOOszCompanyKeyIO
SFXOszSOOrderSuffixIO
LNIDmnLineNumberIO/R*Required for mode 1 only
SUPPScSuppressErrorMessageIO
DTAIszErrorMessageIDOO
2.2Related Tables
Table Table Description
F3215
F4211
F4801
2.3Related Business Functions
Source NameFunction Name
B3201470CacheProcessConfigurationID
2.4Processing
If cMode == 1
Read B3201470 record
If cCacheError == 0
Call subrutine CleanupF4211Record
Call subrutine FindLimitComponentID
Call subrutine ProcessImmediateChildren
Call subrutine CleanupF4801Records
If bRunWOEndDoc == TRUE
Call F4801EndDocument
End If
End If
Else
Call subrutine CleanupAllF4211Records
End If
3.2 Where Used: APPs/UBEs/NERs/BSFNs
Application/Business FunctionApplication/BF Name
N3201800CancelDeleteConfiguredWorkOrders
X4801
D3201880 - CleanupCfgRelatedOrders
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSystemCode | SY | char | REQ | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
mnConfigurationIDNumber | CFGID | MATH_NUMERIC | REQ | NONE |
An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | REQ | NONE |
The job number (work station ID) which executed the particular job. | ||||
cMode | EV01 | char | REQ | NONE |
An option that specifies the type of processing for an event. | ||||
mnDocumentNumber | DOCO | MATH_NUMERIC | OPT | 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 | OPT | 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
| ||||
szCompanyKey | KCOO | char | OPT | 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 | OPT | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
szOrderSuffix | SFXO | char | OPT | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | OPT | 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
|
None |
None |