1.Functional Description
This function will read the available plants from the F35UI001 table and adjust the quantity on-hand
by the safety stock if needed. It will then write the Beginning Available quantities to the Regular
Item Cache
1.1Purpose
1.2Setup Notes and Prerequisites
Should only be called when Consolidation Method is '1'
1.3Special Logic
2.Technical Specifications
This function should not be modified for other programs. It should be used only for R3483.
1. Open F35UI001
2. If Failed Exit Function with Errors
3. Select All records in F35UI001.
4. While Wk Exit Flag <> '1'
5. Read F35UI001
6. If Failed then
7. Break
8. End If
9. Total Qty = Total Qty + Qty on-hand(PQOH) from table.
10. End While
11. If Input Include Safety Stocks = '1' then
12. Total Qty = Total Qty - Input Total Safety Stock
13. End IF
14. If Total Qty < 0 then
15. Total Qty = 0
16. End If
17. Call B3401290 in mode '4', non-sequential, using Input Consolidation Branch, 'BA' (2 keys).
18. Call B3401290 in mode '4', non-sequential, using Input Consolidation Branch, 'BAU' (2keys).
19.
20. Call B3401290 in mode '2', to add, using Input Consolidation Branch, 'BA', and Input
$$FIRST, and Total Qty.
21. Call B3401290 in mode '2', to add, using Input Consolidation Branch, 'BAU', and Input
$$FIRST, and Total Qty.
22. Close Tables
^
D3500070 - MRP, Multi-Plant Consolidate OnHand Qty
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szJobNumber | JOB | char | NONE | NONE |
Job Number | ||||
szComputerID | CTID | char | NONE | NONE |
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
| ||||
cSuppressErrors | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cIncludeSafetyStocks | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnTotalSafetyStocks | SAFE | MATH_NUMERIC | NONE | NONE |
The quantity of stock kept on hand to cover high-side variations in demand. | ||||
szConsolidationBranch | 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
| ||||
jdFirstDate | DATE01 | JDEDATE | NONE | NONE |
Event point for JDE Date. | ||||
cSupplyDemandExists | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. |
B3401290 Cache, Process MRP Item Quantities |
F35UI001 MPS/MRP Planning - Multiple Plant User Index |