| Quintiq file version 2.0 | 
| #parent: #root | 
| Method PublishPlanReportData ( | 
|   const MacroPlan macroplan, | 
|   const Archive archive, | 
|   Boolean iscustomdemanddl, | 
|   Boolean iscustomdemandcc, | 
|   Boolean isofflineplandl, | 
|   Boolean isofflineplancc, | 
|   Boolean isshiftplandl, | 
|   Boolean isshiftplancc, | 
|   Boolean isassembleonlineplandl, | 
|   Boolean isassembleonlineplancc, | 
|   Boolean isinventoryplandl, | 
|   Boolean isinventoryplancc, | 
|   String executor | 
| ) | 
| { | 
|   Description: '下发计划数据' | 
|   TextBody: | 
|   [* | 
|     // 甄兰鸽 Oct-30-2024 (created) | 
|     if( iscustomdemanddl or iscustomdemandcc ){//全年日度需求/客户需求  | 
|       CustomerDemandPPAIDS::GenerateDataNew( this, macroplan, iscustomdemandcc, iscustomdemanddl, executor ); | 
|     //  CustomerDemandPPAIDS::GenerateData( this, macroplan, iscustomdemandcc, iscustomdemanddl, executor ); | 
|     } | 
|     if ( isofflineplandl or isofflineplancc ) { // 各产线下线计划 | 
|       InterfaceDataset::PushOfflinePlanData( macroplan, this, executor ); | 
|     } | 
|     if( isshiftplandl or isshiftplancc ){//班次计划 | 
|       DispatchShiftPlan::Dispatch(this, archive,executor ); | 
|     //  CustomerDemandIDS::GenerateData( this, recyclebin, archive ); | 
|     } | 
|     if( isassembleonlineplandl or isassembleonlineplancc ){//装配上线计划 | 
|       AssemblyOnlinePlanPPPSPush::GenerateData( this, macroplan, isassembleonlineplancc, isassembleonlineplandl, executor ); | 
|     } | 
|     if ( isinventoryplandl or isinventoryplancc ) { // 计划库存数据 | 
|       InterfaceDataset::PushPlanInventoryData( macroplan, this, executor ); | 
|     } | 
|   *] | 
| } |