| | |
| | | PeggingProductInSalesDemandBase peggingProductInSalesDemandBase, |
| | | Number numberOfPlies, |
| | | const Supply_MP smp, |
| | | Real actualFulfillmentQuantity, |
| | | Real fulfillmentQuantity, |
| | | PeggingResult parentPeggingResult |
| | | ) |
| | |
| | | //info( "层数:", numberOfPlies ); |
| | | ontype ( smp ) { |
| | | NewSupply as ns : { |
| | | PeggingResult::GenerateNewSupply( peggingProductInSalesDemandBase, numberOfPlies, ns, fulfillmentQuantity, parentPeggingResult ); |
| | | PeggingResult::GenerateNewSupply( peggingProductInSalesDemandBase, numberOfPlies, ns, actualFulfillmentQuantity, fulfillmentQuantity, parentPeggingResult ); |
| | | } |
| | | |
| | | InventorySupply as is : { |
| | | PeggingResult::GenerateInventorySupply( peggingProductInSalesDemandBase, numberOfPlies, is, fulfillmentQuantity, parentPeggingResult ); |
| | | PeggingResult::GenerateInventorySupply( peggingProductInSalesDemandBase, numberOfPlies, is, actualFulfillmentQuantity, fulfillmentQuantity, parentPeggingResult ); |
| | | } |
| | | } |
| | | *] |