admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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, isofflineplandl, isofflineplancc );
    }
    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, isinventoryplandl, isinventoryplancc );
    }
  *]
}