1.Functional Description
1.1Purpose
This function calculates the required amount of run labor or run machine hours, or both needed to
manufacture a specified quantity of a parent item in a routing operation. The calling program will pass
a mode indicator which will specify whether labor or machine hours or both are to be calculated. The
calculated values are passed back to the calling program.
1.2Setup Notes and Prerequisites
1.3Special Logic
Calculation note:The Planned Yield Percent passed into this function is expressed as a whole
percentage. In order to correctly calculate extended hours, this whole percent must first be converted to a
planned yield rate. This is done by dividing the whole percent by 100.
2.Technical Specifications
2.4Processing
1.0 If Mode is equal to "1" or "3", calculate Total Run Labor Hours as follows:
b.) Take the result of 1.1a. and multiply that value by the passed in Transaction
Quantity;
c.) Take the result of 1.1b. and multiply by the Crew Size.
Hours calculated in 1.1c. divided by the Planned Yield Percent (CPYP) after adjustment of the
Planned Yield Percent to a rate (divide CPYP by 100 first).
Quantity.
Hours calculated in 2.1b. divided by the Planned Yield Percent (CPYP) after adjustment of
Planned Yield Percent to a rate (i.e. divide CPYP by 100 first).
Notes on Parameters:
calculate Run Machine Hours Only; if Mode is equal to "3", calculate both Run Labor and Run Machine
Hours.
Table F3003. Run Machine Hours (IRRUNM), Run labor Hours (IRRUNL), Crew Size (IRSETC) and Planned
Yield Percent (IRCPYP) are all available and expected to come from, these columns.
3) Transaction quantity (TRQT) is passed from the calling program. It can be:
b) the Requested Quantity entered by the user;
grossed up by the operation's cumulative yield percent (see BF Calculate Intermediate
Quantity With Shrink B3000290); or
from the Branch Inventory file, if required by the calling application.
ConvertTimeBasisCodeToQuantity B3000330 to obtain the quantity to pass. If a Time Basis
Quantity is not appropriate for the calling program, it should pass in a TB Quantity of "1".
5) Determination of the production of intermediate parts should be made in the calling program
before execution of this function. The function CheckForOperationResources B3000060.C
performs this activity. If intermediate parts exist for the routing operation the Intermediate
Parts-(1/0) parameter (VC01A) should be passed with a value of "1". If no intermediate parts exist,
the parameter should be passed with a value of "0".
6) The returned value for Total Hours should not be updated into the Routing Master Table.
there is no crew size for machines. If Crew Size (SETC) was assigned a value equal 1 (one) for
machine hours calculations, the same calculation could be used.
^
D3000220 - Calculate Machine Or Labor Hours
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnRunLaborHours | RUNL | MATH_NUMERIC | NONE | NONE |
The standard hours of labor that you expect to incur in the normal production of this item.
The run labor hours in the Routing Master table
| ||||
mnRunMachineHours | RUNM | MATH_NUMERIC | NONE | NONE |
The standard machine hours that you expect to incur in the normal production of this item. | ||||
mnCrewSize | SETC | MATH_NUMERIC | NONE | NONE |
The number of people who work in the specified work center or routing operation.
The system multiplies the Run Labor value in the Routing
| ||||
mnTransactionQuantity | TRQT | MATH_NUMERIC | NONE | NONE |
A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and
| ||||
mnPlannedYieldPercent | CPYP | MATH_NUMERIC | NONE | NONE |
The cumulative planned output yield percent for a step. The system uses this value to adjust the operation step scrap percent for the
| ||||
cIntermediatePartsYes | VC01A | char | NONE | NONE |
This is a generic field used for video constants display. | ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
mnTimeBasisQuantity | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. |
None |
None |