| | |
| | | traverse ( pto, DependentDemand, dd, true ) { |
| | | product_MP := dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Product_MP(); |
| | | if ( product_MP.IsPanelMaterial() ) { |
| | | this.PanelMaterial( relnew, |
| | | PanelModel := product_MP.ID(), |
| | | MaterialDescription := product_MP.ID(), |
| | | StartDate := dd.Start().Date(), |
| | | DemandQuantity := dd.Quantity() |
| | | ); |
| | | macroPlan.PanelMaterial( relnew, |
| | | PanelModel := product_MP.ID(), |
| | | MaterialDescription := product_MP.ID(), |
| | | StartDate := dd.Start().Date(), |
| | | DemandQuantity := dd.Quantity() |
| | | ); |
| | | } |
| | | } |
| | | } |