| | |
| | | [* |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = "Chassis - SUV 1" ); |
| | | |
| | | period_MPS := null( Period_MPs ); |
| | | traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) { |
| | | period_MPS := selectsortedset( psmp, PeriodSpecificationPeriod.Period_MP, pmp, not pmp.IsHistorical(), pmp.StartDate() ); |
| | | } |
| | | |
| | | traverse ( targetProduct_MP, ProductInStockingPoint_MP, pisp ) { |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, pisp ); |
| | | traverse ( period_MPS, Elements, pmp ) { |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, pisp, pisp, pmp.StartDate() ); |
| | | } |
| | | } |
| | | *] |
| | | } |