| | |
| | | f.Delete(); |
| | | } |
| | | |
| | | traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ) { |
| | | traverse ( archiveExecutionStatus, TemporaryDemandData, tdd ,tdd.StartDate() >= macroPlan.StartOfPlanning().Date()) { |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = tdd.ProductID() ); |
| | | targetStockingPoint_MP := select( macroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = tdd.StockingPointID() ); |
| | | info( tdd.SalesSegmentName() ); |
| | |
| | | tdd.UnitOfMeasureName(), |
| | | 0.0, |
| | | false, |
| | | false |
| | | ); |
| | | false ); |
| | | forcest.Origin( tdd.Origin() ); |
| | | } |
| | | } |
| | |
| | | if( not isnull( columnIndex )){ |
| | | // 当arrowedAvailableCapacity不为0,工作日 + 1 |
| | | arrowedAvailableCapacity := unitPeriodTime.TotalAvailableCapacity(); |
| | | zeroDuration := Duration::Construct( 0,0,0,0); |
| | | zeroDuration := Duration::Construct( 0,0,0,0 ); |
| | | |
| | | column := columns.Element( columnIndex.GetValueAsNumber() ); |
| | | |
| | |
| | | Body: |
| | | [* |
| | | macroPlans := ApplicationMacroPlanner.GetMacroPlans(); |
| | | table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive); |
| | | table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive, MacroPlan ); |
| | | |
| | | dhComparisonData854.Data( table ); |
| | | *] |