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