1.Functional Description
This function is used to maintain Flex MFG Accounting CACHE
1.1Purpose
Use this function to maintain the Flexible MFG Accounting cache. This cache is used by the MFG
Accounting Update process to pass Key fields to the "Build Flexible Account" Business Function. You can
use this function to add, update, inquire, and delete cache records. The records will be keyed by Job
Number since there will only be one MFG detail record passed from the MFG Update process at a time.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
2.4Processing
You can call this business function with four different actions (EV01):
1 = Retrieve
2 = Add / Update
3 = Delete
8 = Terminate CACHE
If the Action Code EV01 = '1' (Retrieve), fetch a record from the cache (using JOBS - Job Number as
the key). If error, return "Action Invalid" (0001) error message.
If the Action Code EV01 = '2' (Add/Update), will add a record to the cache with all the database
fields from the passed parameters if element does not exist (using JOBS - Job Number as the key).
Otherwise, fetch a record from the cache (using JOBS - Job Number as the key) and update the record in the
cache with all the database fields from the passed parameters. If error, return "Action Invalid" (0001)
error message.
If the Action Code ='3' (delete), delete all matching records from the cache (using JOBS - Job Number
as the key). If error, return "Action Invalid" (0001) error message.
If the Action Code ='8' (Terminate), terminate CACHE from memory (using JOBS - Job Number as the
key).
If error, return "Action Invalid" (0001) error message.
D3101370 - Flex MFG Accounting Cache Data Structure
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
szDataItem | 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
| ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnJobnumberA | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szBranchPlant | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
szCostCenter | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnDocumentOrderInvoiceE | 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,
| ||||
szOrderType | 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
| ||||
mnSequenceNoOperations | OPSQ | MATH_NUMERIC | NONE | NONE |
A number used to indicate an order of succession.
In routing instructions, a number that sequences the fabrication or assembly steps in the
| ||||
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szTypeOperationCode | OPSC | char | NONE | NONE |
A user defined code (30/OT) that indicates the type of operation. Valid values include: A Alternate routing TT Travel time IT Idle time T Text | ||||
mnUniqueKeyIDInternal | UKID | MATH_NUMERIC | NONE | NONE |
This field is a unique number used to identify a record in a file. | ||||
mnComponentNumber | CPNB | MATH_NUMERIC | OPT | NONE |
A number that specifies how the system displays the sequence of components on a single-level bill of material. This number initially
| ||||
cParentChildRelationshi | PART | char | OPT | NONE |
An option that specifies whether the system displays parent records or child records. If you turn on this option, the system displays parent
| ||||
szCostType | COST | char | OPT | NONE |
A code that designates each element of cost for an item. Examples of the cost object types are:
o A1 Purchased raw material
o B1
|
None |
None |