1.Functional Description
1.1Purpose
This function gets the Variances from the Work Order Variance File F3102. In mode ' ', it gets the
record with a complete key. In mode 1, it get the first record following the partial key passed.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
2.4 Processing
First Unit = 0
Second Amount = 0
Second Unit = 0
Third Amount = 0
Third Unit = 0
In mode ' ',
Read F3102 with Order Number, Parent/Child, Short Item, Parent/Child and Cost Type passed
If record not found,
Record found = 1
First Units = F3102 Planned Units
First Units = F3102 Actual Units
First Units = F3102 Completed Units
First Units = F3102 Scrap Units
First Units = F3102 Standard Units
Second Units = F3102 Planned Units
Second Units = F3102 Actual
Second Units = F3102 Completed Units
Second Units = F3102 Scrap Units
Second Units = F3102 Standard Units
Third Units = F3102 Planned Units
Third Units = F3102 Actual
Third Units = F3102 Completed Units
Third Units = F3102 Scrap Units
Third Units = F3102 Standard Units
Read F3102 with Order Number, Parent/Child, Short Item and Cost type greater than Cost Type passed
If no record found for this Work Order, Parent/Child and Item
Record found = 1
If First Transaction Type = "P"
First Units = F3102 Planned Units
First Units = F3102 Actual Units
First Units = F3102 Completed Units
First Units = F3102 Scrap Units
First Units = F3102 Standard Units
Second Units = F3102 Planned Units
Second Units = F3102 Actual
Second Units = F3102 Completed Units
Second Units = F3102 Scrap Units
Second Units = F3102 Standard Units
Third Units = F3102 Planned Units
Third Units = F3102 Actual
Third Units = F3102 Completed Units
Third Units = F3102 Scrap Units
Third Units = F3102 Standard Units
^
D3100830 - Get Variances
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cRecordFound | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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,
| ||||
mnItemNumberShort | 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
| ||||
cParentChildRelation | PART | char | NONE | 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 | NONE | 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
| ||||
cFirstTransactionType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnFirstUnits | OPUN | MATH_NUMERIC | NONE | NONE |
The standard units to produce a given amount of product. | ||||
mnFirstAmount | OPAT | MATH_NUMERIC | NONE | NONE |
The standard amount to produce a given amount of product. | ||||
cSecondTransactionType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnSecondUnits | OPUN | MATH_NUMERIC | NONE | NONE |
The standard units to produce a given amount of product. | ||||
mnSecondAmount | OPAT | MATH_NUMERIC | NONE | NONE |
The standard amount to produce a given amount of product. | ||||
szUnitOfMeasure | 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). | ||||
cSuppressErrorMessage | 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
| ||||
cThirdTransactionType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnThirdUnits | OPUN | MATH_NUMERIC | NONE | NONE |
The standard units to produce a given amount of product. | ||||
mnThirdAmount | OPAT | MATH_NUMERIC | NONE | NONE |
The standard amount to produce a given amount of product. | ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F3102 Production Cost |