38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
|
Logic to setup production plan, inventory balances, purchases, and shipments
|
||
|
|
||
|
Starting point
|
||
|
- known balances
|
||
|
- known available
|
||
|
- known prod schedule
|
||
|
- known shipments
|
||
|
- forecasted orders
|
||
|
|
||
|
Populate
|
||
|
- forecasted prod schedule
|
||
|
- forecasted on-hand
|
||
|
- forecasted available
|
||
|
- forecasted purchases
|
||
|
|
||
|
Iterate through each calendar day
|
||
|
1. materialize forecasted purchases
|
||
|
2. materialize production
|
||
|
3. materialize shipments
|
||
|
4. process forecasted order submissions
|
||
|
1. check for inventory available
|
||
|
1. Yes
|
||
|
1. mark unavailable
|
||
|
2. No or partial
|
||
|
1. mark unavailable any partial
|
||
|
2. schedule on next open slot regardless of request date
|
||
|
1. raw materials available
|
||
|
1. Yes
|
||
|
1. mark unavailable (at begin prod date?)
|
||
|
2. No
|
||
|
1. mark unavailable any partial (at begin prod date?)
|
||
|
2. schedule a purchase net of lead time
|
||
|
2. sub-components available?
|
||
|
1. Yes
|
||
|
1. mark unavialable (at begin prod date?)
|
||
|
2. No
|
||
|
1. mark unavailable any partial (at begin prod date?)
|
||
|
2. schedule on next open slot regardless of request date (return to 4.1.2.2)
|