1.Functional Description
1.1Purpose
This function reads all Co/By's in F31UI002. It accumulates Completed and Scrap Amounts by Cost Type
and Update or create F31UI002 for the Process Item.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4Processing
Read F31UI002 for the Work Order passed.
Selection: Read all records for Parent/Child relationship = P (PART) and Short Item Number
different than the short Item Number passed.
Sort sequence: Order Number (DOCO), Cost Component (COST).
Accumulate Completed and Scrap Amount:
Total Completed Amount = Total Completed Amount + Co/By Completed Amount (CPAT)
Total Scrap Amount = Total Scrap Amount + Co/By Scrap Amount (SLAT)
When there is a break on Cost Component
Read F31UI002 with
Work Order passed (DOCO), Parent/Child Relationship = P (PART), Item Passed (ITM),
Cost Component Break.
If exists,
F31UI002 (CPUN) Completed Units = 0
F31UI002 (SLAT) Scrap Amount = Total Scrap Amount
F31UI002 (SLUN) Scrap Units = 0
Update F31UI002
Else,
Create F31UI002 with
Work Order passed, Short Item passed,
Parent/Child relationship = P,
Cost Component of the break,
UOM passed,
new Completed Amount and Scrap Amount.
^
D3101050 - F31UI002 Update Process Item
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnOrderNumber | 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,
| ||||
mnShortItemNumber | 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
| ||||
szParentUnitOfMeasure | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
szJobNumber | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
szComputerID | CTID | char | NONE | NONE |
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
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
|
B9800100 Get Audit Information |
F31UI002 User Index - Variances |