| 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
42
43
44
45
46
47
48
49
 | | Quintiq file version 2.0 |  | #parent: #root |  | Method GenerateArchiveData ( |  |   MacroPlan macroplan, |  |   RecycleBin recyclebin, |  |   Archive archive, |  |   Boolean iscustomdemand, |  |   Boolean isofflineplan, |  |   Boolean isshiftplan, |  |   Boolean isassembleonlineplan, |  |   Boolean isinventoryplan, |  |   Boolean istrcdemand, |  |   Boolean istransferplan, |  |   Boolean ispackageplan |  | ) |  | { |  |   TextBody: |  |   [* |  |     // 甄兰鸽 Oct-30-2024 (created) |  |     if( iscustomdemand ){//全年日度需求/客户需求  |  |       CustomerDemandArchive::GenerateData( this, macroplan, recyclebin, archive ); |  |     //  CustomerDemandIDS::GenerateData( this, macroplan, recyclebin, archive ); |  |     } |  |     if( isofflineplan ){//各产线下线计划 |  |       OfflinePlanArchiveVersion::RefreshData( this, macroplan, archive ); |  |     } |  |     if( isshiftplan ){//班次计划 |  |       ArchiveShiftPlanCell::Archive( macroplan,archive ); |  |     //  CustomerDemandIDS::GenerateData( this, recyclebin, archive ); |  |     } |  |     if( isassembleonlineplan ){//装配上线计划 |  |       AssemblyOnlinePlanVersion::RefreshData( this, macroplan ); |  |     } |  |     if( isinventoryplan ){//库存计划 |  |       InventoryPlanArchiveVersion::GenerateData( macroplan, this ); |  |     } |  |     if( istrcdemand ){//TRC需求 |  |       InterfaceTRCForecast::ArchivedData( this, macroplan ); |  |     } |  |     if( istransferplan ){//调拨计划 |  |       ArchiveTransferPlanCell::Archive( macroplan,archive ); |  |     //  CustomerDemandIDS::GenerateData( this, recyclebin, archive ); |  |     } |  |     if( ispackageplan ){//包装计划 |  |       ArchivePackagingPlanCell::Archive( macroplan,archive ); |  |     //  CustomerDemandIDS::GenerateData( this, recyclebin, archive ); |  |     } |  |   *] |  | } | 
 |