1.Functional Description
1.1Purpose
This function should ONLY be used by R3483. It will read F3411 records by Item and Supply
Branch(MMMMCU), calculate the Other Branch Demand quantity and write the quantity to the Quantities Cache.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
1.Open F3411 using two request handles - first is for selecting and reading, the second for
deleting..
2.Select Records from F3411 using MMITM=Input Item, MMMMCU=Input Branch and MMDRQJ <= Input End
Date. (Use Index 7 to select)
3.Wk Exit Flag = '0'
4.While Wk Exit Flag <> '1'
5. Fetch from F3411
6. If Fetch Failed then
7. Exit While Loop
8. End If
9. If MMSTRT = 0 then
10. Continue
11. End If
12. Call B3401290 in mode '1' to fetch cache record using Input Branch, 'ID', and
MMSTRT.
13. If Cache Code Error = '0'
14. Add MMTRQT to quantity from cache record and Call B341290 in mode '3' to
update.
15. Else
16. Call B3401290 in mode '2' to Add a new cache record with Input Branch, 'ID',
MMSTRT and MMTRQT.
17. End If
18. If MMSTRT > Input $$MSGD then
19. Using MMUKID from current record, delete the record from F3411 using the
second request handle (use Index 1 to delete).
20. End If
21.End While
22.Close both request handles
23.Close user handle
D3500020 - MRP, Write Other Branch Demand to Cache-DS
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
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
| ||||
jdDate01 | DATE01 | JDEDATE | NONE | NONE |
Event point for JDE Date. | ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szJobNumber | JOB | char | NONE | NONE |
Job Number | ||||
jdMessageTimeFenceDate | 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 |
F3411 MPS/MRP/DRP Message File |