lihongji
2024-11-14 a746b44994e729613737baa922796383027fc54c
Merge remote-tracking branch 'origin/dev' into dev
已重命名11个文件
已复制6个文件
已修改26个文件
已添加4个文件
已删除59个文件
1724 ■■■■ 文件已修改
_Main/BL/Relations/Relation_MP_Column_MP_Cell_MP_Cell_MP_Column.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MP_Row_MP_Cell_MP_Cell_MP_Row.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MP_Table_MP_Column_MP_Column_MP_Table.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MP_Table_MP_Row_MP_Row_MP_Table.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MP_Table_MacroPlan_MacroPlan_MP_Table.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InterfaceDataset/Method_PublishPlanReportData.qbl 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary#859/StaticMethod_AsyncExport.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_Capacity.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_IsFristWeekData.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_Output.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_ShiftPattern.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_WorkingDay.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_AsyncCreateFullTable.qbl 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_AsyncCreateTables.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl 87 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_CreateFullTable.qbl 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_ExportOutputTemplate.qbl 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_GetTableName.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_ImportOutput.qbl 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalCell_ScheduleSummary/_ROOT_Type_MP_Cell_ScheduleSummary.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LocalColumn/Function_CalcDisplayDate.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell/_ROOT_Type_MP_Cell.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/Attribute_NewSupply.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_AsyncCreateFullTable.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_AsyncCreateTables.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_Create.qbl 52 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_CreateFullTable.qbl 175 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_GetTableName.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport/_ROOT_Type_MP_Cell_AnnualPlanReport.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_AnnualPlanReport0/StaticMethod_CreateFullTable.qbl 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_ScheduleSummary0/StaticMethod_Create.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Cell_ScheduleSummary0/StaticMethod_CreateFullTable.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_CustomDate.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_CustomIndex.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_Date.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_Index.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_IsAttrbuteColumn.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Attribute_Name.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/DefaultValue_CustomIndex.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/DefaultValue_Name.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Function_CalcDate.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/Function_CalcIndex.qbl 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Column/_ROOT_Type_MP_Column.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_CustomName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_Index.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_Name.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_ProductID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_ProductionLine.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_Remark.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Attribute_StockingPointID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/DefaultValue_CustomName.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/DefaultValue_Name.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/DefaultValue_Remark.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/Function_CalcName.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Row/_ROOT_Type_MP_Row.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/Attribute_CreateTime.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/Attribute_Name.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/Attribute_RowIndexCache.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/DefaultValue_Name.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/Method_GetRowIndexCache.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MP_Table/_ROOT_Type_MP_Table.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Test/StaticMethod_TestMacroPlan.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pProduct#661.def 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pStockingPoint.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pnlContent.def 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pProduct_cbAllProduct_OnChanged.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pProduct_ddlProduct_OnSelectionChanged.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pStockingPoint_ddlStockingPoint_OnSelectionChanged.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlActions_btnOk_OnClick.def 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlContent661_cbAllProductInStockingPoint_OnChanged.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAllCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlanCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContent.def 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContentCC.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContentDL.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemandCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlanCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlanCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlanCC.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def 77 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlActions_btnOk_OnClick.def 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAllCC_cbAllCC_OnChanged.def 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAll_cbAll_OnChanged.def 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_pExport#94.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_pRibbonUp.def 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Response_pExport_94_dhXMLDataListener_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Response_pRibbonUp_bCreateBaseData_OnClick.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pExport.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pRibbon.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pRibbonUp#88.def 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pExport_dhXMLDataListener_OnDataChanged#141.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonDown_478_bExportTemplate_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonDown_478_bImportOutput_OnClick.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonUp_88_bCreateBaseData_OnClick#88.def 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/_ROOT_Component_FormScheduleSummaryReport.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MP_Column_MP_Cell_MP_Cell_MP_Column.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MP_Row_MP_Cell_MP_Cell_MP_Row.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MP_Table_MP_Column_MP_Column_MP_Table.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MP_Table_MP_Row_MP_Row_MP_Table.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MP_Table_MacroPlan_MacroPlan_MP_Table.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_AssemblyOnlinePlanPush/StaticMethod_GenerateData.qbl
@@ -3,6 +3,8 @@
StaticMethod GenerateData (
  InterfaceDataset interfaceDataset,
  const MacroPlan macroplan,
  Boolean iscc,
  Boolean isdl,
  String executor
)
{
@@ -30,18 +32,20 @@
      traverse( verison, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() ){
        traverse( column, Cell, cell ){
          row              := cell.Row();
          cd               :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product            := row.ProductID()
                                                                           , PlanningDate            := column.StartDate()
                                                                           , PlanningQty             := [Number]cell.Quantity()
                                                                           , Sequence                := cell.Order()
                                                                           , VersionName             := macroplan.ScenarioName()
                                                                           , InterfaceTime           := nowdate
                                                                           , FactoryName             := row.Unit()
                                                                          , Fac                     := ifexpr( row.Unit() = FinancialProductionReport::GetDefaultCCUnit(), 'CC', 'DL' )
    //                                                                       , VersionFlag             := versionflag
                                                                           , ProductFourCode         := ifexpr( row.ProductID() = row.Name(), '', row.Name() )
                                                                           );
        loginfo.AssemblyOnlinePlanPPPSPush( relinsert, cd );
          if( ( iscc and row.Unit() = FinancialProductionReport::GetDefaultCCUnit() ) or ( isdl and row.Unit() = FinancialProductionReport::GetDefaultDLUnit() ) ){
            cd               :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product            := row.ProductID()
                                                                             , PlanningDate            := column.StartDate()
                                                                             , PlanningQty             := [Number]cell.Quantity()
                                                                             , Sequence                := cell.Order()
                                                                             , VersionName             := macroplan.ScenarioName()
                                                                             , InterfaceTime           := nowdate
                                                                             , FactoryName             := row.Unit()
                                                                            , Fac                     := ifexpr( row.Unit() = FinancialProductionReport::GetDefaultCCUnit(), 'CC', 'DL' )
      //                                                                       , VersionFlag             := versionflag
                                                                             , ProductFourCode         := ifexpr( row.ProductID() = row.Name(), '', row.Name() )
                                                                             );
            loginfo.AssemblyOnlinePlanPPPSPush( relinsert, cd );
          }
        }
      }
    }
_Main/BL/Type_CustomerDemandPPAIDS/StaticMethod_GenerateData.qbl
@@ -3,6 +3,8 @@
StaticMethod GenerateData (
  InterfaceDataset interfaceDataset,
  const MacroPlan macroplan,
  Boolean iscc,
  Boolean isdl,
  String executor
)
{
@@ -26,7 +28,8 @@
                                                                 , Message                   := '客户需求(PPA+IDS)数据推送'
                                                                 , Last                      := true
                                                                  );
    traverse( interfaceDataset, CustomerDemandIDS.Row, row ){
    traverse( interfaceDataset, CustomerDemandIDS.Row, row, ( iscc and row.Factory() = FinancialProductionReport::GetDefaultCCUnit() )
              or ( isdl and row.Factory() = FinancialProductionReport::GetDefaultDLUnit() ) ){
      traverse( row, Cell, cell ){
        cd                  :=interfaceDataset.CustomerDemandPPAIDS( relnew, Product           := row.Name()
                                                                     , DemandDate              := cell.Column().StartDate()
_Main/BL/Type_InterfaceDataset/Method_PublishPlanReportData.qbl
@@ -2,11 +2,16 @@
#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
)
{
@@ -14,20 +19,20 @@
  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 );
    }
  *]
_Main/BL/Type_InventoryPlanArchiveVersion/StaticMethod_GenerateData.qbl
@@ -8,8 +8,10 @@
  Description: '生成计划库存存档数据'
  TextBody:
  [*
    //interfaceDataset.InventoryPlanArchiveVersion( relflush );
    interfaceDataset.InventoryPlanArchiveVersion( relflush );
    info( '-------------------------Start---------------------');
    machineproductparent   := MachiningPipelineReport::GetDefaultProductParent();
    engineproductparent    := EnginePipelineReport::GetDefaultProductParent();
    allunit                := AssemblyOnlinePlanVersion::GetDefaultAllUnit();
    name                   := InventoryPlanArchiveVersion::GetDefaultName();
    search                 := interfaceDataset.InventoryPlanArchiveVersionSearch( relnew, Product := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() );
@@ -46,26 +48,28 @@
        inventoryindex      := inventoryindex + 1;
      }
    }
    traverse ( macroPlan, Product_MP.ProductInStockingPoint_MP, pispmp, not pispmp.IsSystem() and pispmp.IsLeaf() ) {
      unit                 := ifexpr( pispmp.StockingPointID().Regex( "大连" ) or pispmp.StockingPointID().Regex( "DL" ), FinancialProductionReport::GetDefaultDLUnit(), FinancialProductionReport::GetDefaultCCUnit() );
      inventoryrow         := table.GetRowByUnit( pispmp.Product_MP(), unit );
      traverse ( pispmp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, not pispippl.IsPeriodFrozen() ) {
        startdate          := pispippl.Start().Date();
        daycolumn          := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), startdate );
        weekcolumn         := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate );
        monthcolumn        := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate );
        actinventoryKey    := pispmp.ProductID() + startdate.AsQUILL();
        actinventoryhandle := actinventorytree.GetHandle( actinventoryKey );
        actinventoryindex  := guard( actinventorytree.Root().Child( actinventoryhandle ),null( NamedValue ));
        actinventoryqty    := 0.0;
        if( not isnull( actinventoryindex )){
          actinventoryqty  := inventoryqrys.Element( actinventoryindex.GetValueAsNumber() );
    traverse( macroPlan, Product_MP, product, exists( product.GetAllParent(), Elements, e, e.ID() = machineproductparent or e.ID() = engineproductparent ) ){
      traverse ( product, ProductInStockingPoint_MP, pispmp, not pispmp.IsSystem() and pispmp.IsLeaf() ) {
        unit                 := ifexpr( pispmp.StockingPointID().Regex( "大连" ) or pispmp.StockingPointID().Regex( "DL" ), FinancialProductionReport::GetDefaultDLUnit(), FinancialProductionReport::GetDefaultCCUnit() );
        inventoryrow         := table.GetRowByUnit( pispmp.Product_MP(), unit );
        traverse ( pispmp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, not pispippl.IsPeriodFrozen() ) {
          startdate          := pispippl.Start().Date();
          daycolumn          := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), startdate );
          weekcolumn         := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate );
          monthcolumn        := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate );
          actinventoryKey    := pispmp.ProductID() + startdate.AsQUILL();
          actinventoryhandle := actinventorytree.GetHandle( actinventoryKey );
          actinventoryindex  := guard( actinventorytree.Root().Child( actinventoryhandle ),null( NamedValue ));
          actinventoryqty    := 0.0;
          if( not isnull( actinventoryindex )){
            actinventoryqty  := inventoryqrys.Element( actinventoryindex.GetValueAsNumber() );
          }
          inventoryrow.SetQuantity( daycolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
          inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
          inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
        }
        inventoryrow.SetQuantity( daycolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
        inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
        inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty );
      }
    }
    
_Main/BL/Type_LocalCell_Default/StaticMethod_AsyncExport.qbl
@@ -24,6 +24,6 @@
      columnstring := columnstring.Merge( cellxml);
    }
    
    columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),MP_Cell_AnnualPlanReport::GetTableName()) );
    columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),ArchiveCell_AnnualPlanReport::GetTableName()) );
  *]
}
_Main/BL/Type_LocalCell_ScheduleSummary#859/StaticMethod_AsyncExport.qbl
@@ -27,6 +27,6 @@
      columnstring := columnstring.Merge( cellxml);
    }
    
    columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),MP_Cell_ScheduleSummary::GetTableName()) );
    columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),ArchiveCell_ScheduleSummary::GetTableName()) );
  *]
}
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_Capacity.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_IsFristWeekData.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_Output.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_ShiftPattern.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/Attribute_WorkingDay.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_AsyncCreateFullTable.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_AsyncCreateTables.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_Create.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_CreateFullTable.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_ExportOutputTemplate.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_GetTableName.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/StaticMethod_ImportOutput.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalCell_ScheduleSummary/_ROOT_Type_MP_Cell_ScheduleSummary.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_LocalColumn/Function_CalcDisplayDate.qbl
ÎļþÃû´Ó _Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl ÐÞ¸Ä
@@ -1,6 +1,6 @@
Quintiq file version 2.0
#parent: #root
Function CalcWeekDate
Function CalcDisplayDate
{
  TextBody:
  [*
@@ -15,7 +15,7 @@
      us_locale := Locale::Construct( 'en_us' );
      
      date := this.CustomDate();
      stringDate := date.Format( "Y: MM / M" + "月" ,us_locale )
      stringDate := date.Format( "MM / M" + "月" ,us_locale )
      value := stringDate;
    }else{
      value := this.CustomDate().Format( "Y/M2/D2" );
_Main/BL/Type_MP_Cell/_ROOT_Type_MP_Cell.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/Attribute_NewSupply.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_AsyncCreateFullTable.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_AsyncCreateTables.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_Create.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_CreateFullTable.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/StaticMethod_GetTableName.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport/_ROOT_Type_MP_Cell_AnnualPlanReport.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Cell_AnnualPlanReport0/StaticMethod_CreateFullTable.qbl
@@ -14,8 +14,6 @@
    }
    localTable := recycleBin.LocalTable( relnew,Name := ArchiveCell_AnnualPlanReport::GetTableName() );
    
    info( "111" );
    tables := selectset( archive,ArchiveTable,table,table.Name() = ArchiveCell_AnnualPlanReport::GetTableName());
    
    startDate := minselect( tables,Elements.ArchiveColumn,column,column.CustomDate() ).CustomDate();
_Main/BL/Type_MP_Cell_ScheduleSummary0/StaticMethod_Create.qbl
@@ -58,7 +58,7 @@
          
          
          if( not isnull( workHours )){
            capacity := workDay * throughput * workHours.Capacity().HoursAsReal()
            capacity := workDay * throughput //* workHours.Capacity().HoursAsReal()
          }
          
          isFirstWeekData := true;
_Main/BL/Type_MP_Cell_ScheduleSummary0/StaticMethod_CreateFullTable.qbl
@@ -10,7 +10,7 @@
  [*
    // rislai Aug-7-2024 (created)
    tables := selectset( archive,ArchiveTable,table,table.Name() = ArchiveCell_ScheduleSummary::GetTableName() );
    info( isnull( archive ))
    scheduleSummaryOutputDataIndexTree := NamedValueTree::Create();
    scheduleSummaryOutputDatas := selectset( archive,ScheduleSummaryOutputLine.ScheduleSummaryOutputData,data,
                                             exists( tables,Elements.ArchiveRow,row,row.CustomName() = data.ScheduleSummaryOutputLine().LineName() ));
_Main/BL/Type_MP_Column/Attribute_CustomDate.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Attribute_CustomIndex.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Attribute_Date.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Attribute_Index.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Attribute_IsAttrbuteColumn.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Attribute_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/DefaultValue_CustomIndex.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/DefaultValue_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Function_CalcDate.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/Function_CalcIndex.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Column/_ROOT_Type_MP_Column.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_CustomName.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_Index.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_ProductID.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_ProductionLine.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_Remark.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Attribute_StockingPointID.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/DefaultValue_CustomName.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/DefaultValue_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/DefaultValue_Remark.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/Function_CalcName.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Row/_ROOT_Type_MP_Row.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/Attribute_CreateTime.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/Attribute_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/Attribute_RowIndexCache.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/DefaultValue_Name.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/Method_GetRowIndexCache.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_MP_Table/_ROOT_Type_MP_Table.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_Test/StaticMethod_TestMacroPlan.qbl
@@ -8,9 +8,5 @@
  [*
    // Akari Nov-12-2024 (created)
    info( macroPlan.MDSMacroPlan().Description() );
    traverse( macroPlan,MP_Table,table ){
      info( table.Name() );
    }
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pProduct#661.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pnlContent661.def ÐÞ¸Ä
@@ -1,27 +1,27 @@
Quintiq file version 2.0
Component pnlContent661
Component pProduct
{
  #keys: '[414996.1.206961946]'
  BaseType: 'WebPanel'
  Children:
  [
    Component ddlProductInStockingPoint
    Component ddlProduct
    {
      #keys: '[414996.1.206961947]'
      BaseType: 'WebDropDownList'
      Databinding: 'ProductInStockingPoint_MP'
      Databinding: 'Product_MP'
      Children:
      [
        Component deContent404
        Component deProduct
        {
          #keys: '[414996.1.206961948]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'StockingPoint_MP'
            Source: 'dhSelectStockingPoint'
            DataType: 'MacroPlan'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'ProductInStockingPoint_MP'
            Transformation: 'Product_MP'
          ]
        }
      ]
@@ -33,7 +33,7 @@
        Taborder: 0
      ]
    }
    Component cbAllProductInStockingPoint
    Component cbAllProduct
    {
      #keys: '[414996.1.206961949]'
      BaseType: 'WebCheckbox'
@@ -47,6 +47,6 @@
  [
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 2
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pStockingPoint.def
@@ -12,7 +12,7 @@
      Databinding: 'StockingPoint_MP'
      Children:
      [
        Component deContent
        Component deStockingPoint
        {
          #keys: '[414996.1.206961944]'
          BaseType: 'WebDataExtractor'
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pnlContent.def
@@ -12,21 +12,11 @@
      Properties:
      [
        Label: '锁定期至:'
        Taborder: 3
        Taborder: 2
      ]
    }
    #child: pStockingPoint
    #child: pnlContent661
    Component dhSelectStockingPoint
    {
      #keys: '[414996.1.206961950]'
      BaseType: 'WebDataHolder'
      Databinding: 'StockingPoint_MP'
      Properties:
      [
        Taborder: 1
      ]
    }
    #child: pProduct
  ]
  Properties:
  [
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pProduct_cbAllProduct_OnChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
#parent: pProduct/cbAllProduct
Response OnChanged () id:Response_pProduct_cbAllProduct_OnChanged
{
  #keys: '[414996.1.206961937]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebCheckbox_OnChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      if( this.Checked() ){
        ddlProduct.Enabled( false,"" );
      }else{
        ddlProduct.Enabled( true,"" );
      }
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pProduct_ddlProduct_OnSelectionChanged.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlContent661_ddlProductInStockingPoint_OnSelectionChanged.def ÐÞ¸Ä
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: pnlContent661/ddlProductInStockingPoint
#parent: pProduct/ddlProduct
Response OnSelectionChanged (
  ProductInStockingPoint_MP selection
) id:Response_pnlContent661_ddlProductInStockingPoint_OnSelectionChanged
) id:Response_pProduct_ddlProduct_OnSelectionChanged
{
  #keys: '[414996.1.207063206]'
  CanBindMultiple: false
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pStockingPoint_ddlStockingPoint_OnSelectionChanged.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlActions_btnOk_OnClick.def
@@ -10,7 +10,7 @@
    Body:
    [*
      if( cbAllStockingPoint.Checked() ){
        if( cbAllProductInStockingPoint.Checked() ){
        if( cbAllProduct.Checked() ){
          // é”å®šå…¨éƒ¨äº§å“
          traverse( MacroPlan,Product_MP,product ){
            traverse( product,ProductInStockingPoint_MP,productInStockingPoint ){
@@ -19,13 +19,13 @@
          }
        }else{
          // é”å®šæŒ‡å®šäº§å“ä¸‹çš„全部库存点
          product := ddlProductInStockingPoint.Data().Product_MP();
          product := ddlProduct.Data();
          traverse( product,ProductInStockingPoint_MP,productInStockingPoint){
            LockPeriod::Create( productInStockingPoint,dsLockDate.Date() );
          }
        }
      }else{
        if( cbAllProductInStockingPoint.Checked() ){
        if( cbAllProduct.Checked() ){
          // é”å®šæŒ‡å®šåº“存点下的全部产品
          stockingPoint := ddlStockingPoint.Data();
          traverse( stockingPoint,ProductInStockingPoint_MP,productInStockingPoint ){
@@ -33,7 +33,10 @@
          }
        }else{
          // é”å®šæŒ‡å®šåº“存点的指定产品
          LockPeriod::Create( ddlProductInStockingPoint.Data(),dsLockDate.Date() );
          productInStockingPoint := select( ddlProduct.Data(),ProductInStockingPoint_MP,pisp,pisp.StockingPoint_MP() = ddlStockingPoint.Data() );
          if( not isnull( productInStockingPoint )){
            LockPeriod::Create( productInStockingPoint,dsLockDate.Date() );
          }
        } 
      }
      Form.Close();
_Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlContent661_cbAllProductInStockingPoint_OnChanged.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_DialogCustomerDemandPPAIDS/Method_OnOK.def
@@ -11,10 +11,10 @@
    currentuser  := QuintiqUser::CurrentUser().DisplayName();
    isactive     := ifexpr( rbgVersionFlag.BoundValue() = "true", true, false );
    if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客户需求
      CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser );
    //  CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser );
    }
    if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()){//装配上线
      AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser );
    //  AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser );
    }
    
    WebMessageBox::Success( "推送成功!" );
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll#720.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlAll id:pnlAll_720
Component pnlAll
{
  #keys: '[415136.0.1255982465]'
  #keys: '[415136.0.1302693096]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblAll
    {
      #keys: '[415136.0.1255982466]'
      #keys: '[415136.0.1302693097]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbAll
    {
      #keys: '[415136.0.1255982467]'
      #keys: '[415136.0.1302693098]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAllCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll\043720.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAllCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll#720.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlAll id:pnlAll_720
Component pnlAllCC
{
  #keys: '[415136.0.1255982465]'
  #keys: '[415136.0.1303133156]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblAll
    Component lblAllCC
    {
      #keys: '[415136.0.1255982466]'
      #keys: '[415136.0.1303133157]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbAll
    Component cbAllCC
    {
      #keys: '[415136.0.1255982467]'
      #keys: '[415136.0.1303133158]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan#679.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlAssembleOnlinePlan id:pnlAssembleOnlinePlan_679
Component pnlAssembleOnlinePlan
{
  #keys: '[415136.0.1255982426]'
  #keys: '[415136.0.1302693049]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblAssembleOnlinePlan
    {
      #keys: '[415136.0.1255982427]'
      #keys: '[415136.0.1302693050]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbAssembleOnlinePlan
    {
      #keys: '[415136.0.1255982428]'
      #keys: '[415136.0.1302693051]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlanCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan\043679.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan#679.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlAssembleOnlinePlan id:pnlAssembleOnlinePlan_679
Component pnlAssembleOnlinePlanCC
{
  #keys: '[415136.0.1255982426]'
  #keys: '[415136.0.1303133150]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblAssembleOnlinePlan
    Component lblAssembleOnlinePlanCC
    {
      #keys: '[415136.0.1255982427]'
      #keys: '[415136.0.1303133151]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbAssembleOnlinePlan
    Component cbAssembleOnlinePlanCC
    {
      #keys: '[415136.0.1255982428]'
      #keys: '[415136.0.1303133152]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContent.def
@@ -5,15 +5,12 @@
  BaseType: 'WebPanel'
  Children:
  [
    #child: pnlCustomDemand_462
    #child: pnlOfflinePlan_520
    #child: pnlAssembleOnlinePlan_679
    #child: pnlInventoryPlan_119
    #child: pnlAll_720
    #child: pnlShiftPlan_780
    #child: pnlContentDL
    #child: pnlContentCC
  ]
  Properties:
  [
    Orientation: 'tab'
    Padding: 'true'
    Taborder: 0
  ]
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContentCC.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
Component pnlContentCC
{
  #keys: '[415136.0.1303133140]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: pnlCustomDemandCC
    #child: pnlOfflinePlanCC
    #child: pnlShiftPlanCC
    #child: pnlAssembleOnlinePlanCC
    #child: pnlInventoryPlanCC
    #child: pnlAllCC
  ]
  Properties:
  [
    Taborder: 1
    Title: '长春工厂'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlContentDL.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
Component pnlContentDL
{
  #keys: '[415136.0.1302530440]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: pnlCustomDemand
    #child: pnlOfflinePlan
    #child: pnlShiftPlan
    #child: pnlAssembleOnlinePlan
    #child: pnlInventoryPlan
    #child: pnlAll
  ]
  Properties:
  [
    Taborder: 0
    Title: '大连工厂'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand#462.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlCustomDemand id:pnlCustomDemand_462
Component pnlCustomDemand
{
  #keys: '[415136.0.1255981813]'
  #keys: '[415136.0.1302692983]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblCustomDemand
    {
      #keys: '[415136.0.1255981814]'
      #keys: '[415136.0.1302692984]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbCustomDemand
    {
      #keys: '[415136.0.1255981815]'
      #keys: '[415136.0.1302692985]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemandCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand\043462.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemandCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand#462.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlCustomDemand id:pnlCustomDemand_462
Component pnlCustomDemandCC
{
  #keys: '[415136.0.1255981813]'
  #keys: '[415136.0.1303133141]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblCustomDemand
    Component lblCustomDemandCC
    {
      #keys: '[415136.0.1255981814]'
      #keys: '[415136.0.1303133142]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbCustomDemand
    Component cbCustomDemandCC
    {
      #keys: '[415136.0.1255981815]'
      #keys: '[415136.0.1303133143]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan#119.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlInventoryPlan id:pnlInventoryPlan_119
Component pnlInventoryPlan
{
  #keys: '[415136.0.1255982447]'
  #keys: '[415136.0.1302693071]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblInventoryPlan
    {
      #keys: '[415136.0.1255982448]'
      #keys: '[415136.0.1302693072]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbInventoryPlan
    {
      #keys: '[415136.0.1255982449]'
      #keys: '[415136.0.1302693073]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlanCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan\043119.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan#119.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlInventoryPlan id:pnlInventoryPlan_119
Component pnlInventoryPlanCC
{
  #keys: '[415136.0.1255982447]'
  #keys: '[415136.0.1303133153]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblInventoryPlan
    Component lblInventoryPlanCC
    {
      #keys: '[415136.0.1255982448]'
      #keys: '[415136.0.1303133154]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbInventoryPlan
    Component cbInventoryPlanCC
    {
      #keys: '[415136.0.1255982449]'
      #keys: '[415136.0.1303133155]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan#520.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlOfflinePlan id:pnlOfflinePlan_520
Component pnlOfflinePlan
{
  #keys: '[415136.0.1255981829]'
  #keys: '[415136.0.1302693005]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblOfflinePlan
    {
      #keys: '[415136.0.1255981830]'
      #keys: '[415136.0.1302693006]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbOfflinePlan
    {
      #keys: '[415136.0.1255981831]'
      #keys: '[415136.0.1302693007]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlanCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan\043520.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan#520.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlOfflinePlan id:pnlOfflinePlan_520
Component pnlOfflinePlanCC
{
  #keys: '[415136.0.1255981829]'
  #keys: '[415136.0.1303133144]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblOfflinePlan
    Component lblOfflinePlanCC
    {
      #keys: '[415136.0.1255981830]'
      #keys: '[415136.0.1303133145]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbOfflinePlan
    Component cbOfflinePlanCC
    {
      #keys: '[415136.0.1255981831]'
      #keys: '[415136.0.1303133146]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan#780.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlShiftPlan id:pnlShiftPlan_780
Component pnlShiftPlan
{
  #keys: '[415136.0.1255982410]'
  #keys: '[415136.0.1302693027]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblShiftPlan
    {
      #keys: '[415136.0.1255982411]'
      #keys: '[415136.0.1302693028]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -17,7 +17,7 @@
    }
    Component cbShiftPlan
    {
      #keys: '[415136.0.1255982412]'
      #keys: '[415136.0.1302693029]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlanCC.def
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan\043780.def" copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan#780.def ¸´ÖÆ
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component pnlShiftPlan id:pnlShiftPlan_780
Component pnlShiftPlanCC
{
  #keys: '[415136.0.1255982410]'
  #keys: '[415136.0.1303133147]'
  BaseType: 'WebPanel'
  Children:
  [
    Component lblShiftPlan
    Component lblShiftPlanCC
    {
      #keys: '[415136.0.1255982411]'
      #keys: '[415136.0.1303133148]'
      BaseType: 'WebLabel'
      Properties:
      [
@@ -15,9 +15,9 @@
        Taborder: 0
      ]
    }
    Component cbShiftPlan
    Component cbShiftPlanCC
    {
      #keys: '[415136.0.1255982412]'
      #keys: '[415136.0.1303133149]'
      BaseType: 'WebCheckbox'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Method_OnOK.def
@@ -7,34 +7,67 @@
  [*
    this.ApplyChanges();
    
      showlabel := '是否发送';
      plannames := construct( Strings );
      if( cbCustomDemand.Checked() ){
        plannames.Add( lblCustomDemand.Label() );
      }
      if( cbOfflinePlan.Checked() ){
        plannames.Add( lblOfflinePlan.Label() );
      }
      if( cbShiftPlan.Checked() ){
        plannames.Add( lblShiftPlan.Label() );
      }
      if( cbAssembleOnlinePlan.Checked() ){
        plannames.Add( lblAssembleOnlinePlan.Label() );
      }
      if( cbInventoryPlan.Checked() ){
        plannames.Add( lblInventoryPlan.Label() );
      }
    showlabel       := '是否发送';
    dlplannames     := construct( Strings );
    ccplannames     := construct( Strings );
    if( cbCustomDemand.Checked() ){
      dlplannames.Add( lblCustomDemand.Label() );
    }
    if( cbCustomDemandCC.Checked() ){
      ccplannames.Add( lblCustomDemandCC.Label() );
    }
    if( cbOfflinePlan.Checked() ){
      dlplannames.Add( lblOfflinePlan.Label() );
      ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive );
    }
    if( cbOfflinePlanCC.Checked() ){
      ccplannames.Add( lblOfflinePlanCC.Label() );
      ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive );
    }
    if( cbShiftPlan.Checked() ){
      dlplannames.Add( lblShiftPlan.Label() );
      ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive );
    }
    if( cbShiftPlanCC.Checked() ){
      ccplannames.Add( lblShiftPlanCC.Label() );
      ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive );
    }
    if( cbAssembleOnlinePlan.Checked() ){
      dlplannames.Add( lblAssembleOnlinePlan.Label() );
    }
    if( cbAssembleOnlinePlanCC.Checked() ){
      ccplannames.Add( lblAssembleOnlinePlanCC.Label() );
    }
    if( cbInventoryPlan.Checked() ){
      dlplannames.Add( lblInventoryPlan.Label() );
    }
    if( cbInventoryPlanCC.Checked() ){
      ccplannames.Add( lblInventoryPlanCC.Label() );
    }
    
      showlabel := showlabel.Concat( plannames.Concatenate( "、" ) ).Concat( '?' );
    currentuser  := QuintiqUser::CurrentUser().DisplayName();
      if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){
        InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked()
    dlshowname      := '大连工厂的';
    if( dlplannames.Size() > 0 ){
      showlabel     := showlabel.Concat( dlshowname.Concat( dlplannames.Concatenate( "、" ) ) ).Concat( ";");
    }
    ccshowname      := '长春工厂的';
    if( ccplannames.Size() > 0 ){
      showlabel     := showlabel.Concat( ccshowname.Concat( ccplannames.Concatenate( "、" ) ) ).Concat( ";");
    }
    showlabel       := showlabel.Concat( '。' );
    currentuser     := QuintiqUser::CurrentUser().DisplayName();
    if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){
      InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked()
                                              , cbCustomDemandCC.Checked()
                                              , cbOfflinePlan.Checked()
                                              , cbOfflinePlanCC.Checked()
                                              , cbShiftPlan.Checked()
                                              , cbShiftPlanCC.Checked()
                                              , cbAssembleOnlinePlan.Checked()
                                              , cbAssembleOnlinePlanCC.Checked()
                                              , cbInventoryPlan.Checked()
                                              , cbInventoryPlanCC.Checked()
                                                , currentuser );
      }
    }
    
    this.Close();
  *]
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlActions_btnOk_OnClick.def
@@ -6,7 +6,11 @@
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not ( not cbCustomDemand.Checked() and not cbOfflinePlan.Checked() and not cbShiftPlan.Checked() and not cbAssembleOnlinePlan.Checked() and not cbInventoryPlan.Checked() );
    return not ( not cbCustomDemand.Checked() and not cbCustomDemandCC.Checked()
                  and not cbOfflinePlan.Checked() and not cbOfflinePlanCC.Checked()
                  and not cbShiftPlan.Checked() and not cbShiftPlanCC.Checked()
                  and not cbAssembleOnlinePlan.Checked() and not cbAssembleOnlinePlanCC.Checked()
                  and not cbInventoryPlan.Checked() and not cbInventoryPlanCC.Checked() );
  *]
  QuillAction
  {
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAllCC_cbAllCC_OnChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,28 @@
Quintiq file version 2.0
#parent: pnlAllCC/cbAllCC
Response OnChanged () id:Response_pnlAllCC_cbAllCC_OnChanged
{
  #keys: '[415136.0.1303133139]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebCheckbox_OnChanged'
  QuillAction
  {
    Body:
    [*
      if( this.Checked() ){
        cbCustomDemandCC.Checked( true );
        cbOfflinePlanCC.Checked( true );
        cbShiftPlanCC.Checked( true );
        cbAssembleOnlinePlanCC.Checked( true );
        cbInventoryPlanCC.Checked( true );
      }else{
        cbCustomDemandCC.Checked( false );
        cbOfflinePlanCC.Checked( false );
        cbShiftPlanCC.Checked( false );
        cbAssembleOnlinePlanCC.Checked( false );
        cbInventoryPlanCC.Checked( false );
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAll_cbAll_OnChanged.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAll_720_cbAll_OnChanged.def ÐÞ¸Ä
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: pnlAll_720/cbAll
Response OnChanged () id:Response_pnlAll_720_cbAll_OnChanged
#parent: pnlAll/cbAll
Response OnChanged () id:Response_pnlAll_cbAll_OnChanged
{
  #keys: '[415136.0.1255982464]'
  #keys: '[415136.0.1302693095]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebCheckbox_OnChanged'
  QuillAction
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_pExport#94.def
@@ -29,7 +29,7 @@
          Properties:
          [
            DataType: 'RecycleBin'
            FixedFilter: 'object.Name() = MP_Cell_AnnualPlanReport::GetTableName()'
            FixedFilter: 'object.Name() = ArchiveCell_AnnualPlanReport::GetTableName()'
            Source: 'RecycleBin'
            Taborder: 0
            Transformation: 'ExportXMLManager'
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Component_pRibbonUp.def
@@ -5,17 +5,6 @@
  BaseType: 'WebPanel'
  Children:
  [
    Component bCreateBaseData
    {
      #keys: '[414996.1.230731110]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'C_CLAMP'
        Label: 'Create base data'
        Taborder: 0
      ]
    }
    Component bCreateFullTable
    {
      #keys: '[414996.1.230731111]'
@@ -24,7 +13,7 @@
      [
        Image: 'C_CLAMP'
        Label: 'Create full table'
        Taborder: 1
        Taborder: 0
      ]
    }
    Component rbgTimeUnit
@@ -37,7 +26,7 @@
        ButtonLabels: 'Day;Week;Month'
        ButtonValues: 'Day;Week;Month'
        Orientation: 'horizontal'
        Taborder: 2
        Taborder: 1
      ]
    }
    Component dhTimeUnit
@@ -47,7 +36,7 @@
      Databinding: 'String*'
      Properties:
      [
        Taborder: 3
        Taborder: 2
      ]
    }
  ]
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Response_pExport_94_dhXMLDataListener_OnDataChanged.def
@@ -11,7 +11,7 @@
    [*
      if( not isnull( this.Data() )){
        binaryValue := dhXMLDataListener.Data( ).Export();
        Application.Download( MP_Cell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() );
        Application.Download( ArchiveCell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() );
        dhXMLDataListener.Data( ).Delete();
      }
    *]
_Main/UI/MacroPlannerWebApp/Component_FormAnnualPlanReport/Response_pRibbonUp_bCreateBaseData_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pExport.def
@@ -29,7 +29,7 @@
          Properties:
          [
            DataType: 'RecycleBin'
            FixedFilter: 'object.Name() = MP_Cell_ScheduleSummary::GetTableName()'
            FixedFilter: 'object.Name() = ArchiveCell_ScheduleSummary::GetTableName()'
            Source: 'RecycleBin'
            Taborder: 0
            Transformation: 'ExportXMLManager'
@@ -44,6 +44,6 @@
  ]
  Properties:
  [
    Taborder: 10
    Taborder: 9
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pRibbon.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_PanelRibbon.def ÐÞ¸Ä
@@ -1,5 +1,5 @@
Quintiq file version 2.0
Component PanelRibbon
Component pRibbon
{
  #keys: '[412672.1.94122014]'
  BaseType: 'WebPanel'
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_pRibbonUp#88.def
@@ -14,7 +14,7 @@
        Checked: true
        Description: '班次'
        Label: '班次'
        Taborder: 2
        Taborder: 1
      ]
    }
    Component cbWorkday
@@ -26,7 +26,7 @@
        Checked: true
        Description: '工作日'
        Label: '工作日'
        Taborder: 3
        Taborder: 2
      ]
    }
    Component cbCapacity
@@ -38,7 +38,7 @@
        Checked: true
        Description: '产能'
        Label: '产能'
        Taborder: 4
        Taborder: 3
      ]
    }
    Component cbOutput
@@ -50,7 +50,7 @@
        Checked: true
        Description: '产量'
        Label: '产量'
        Taborder: 5
        Taborder: 4
      ]
    }
    Component dsStartDate id:dsStartDate_438
@@ -60,7 +60,7 @@
      Properties:
      [
        Label: 'Start Date'
        Taborder: 6
        Taborder: 5
      ]
    }
    Component dhStartDate id:dhStartDate_891
@@ -70,7 +70,7 @@
      Databinding: 'Date*'
      Properties:
      [
        Taborder: 7
        Taborder: 6
      ]
    }
    Component dsEndDate id:dsEndDate_963
@@ -81,7 +81,7 @@
      [
        Date: 9999-12-31
        Label: 'End Date'
        Taborder: 8
        Taborder: 7
      ]
    }
    Component dhEndDate id:dhEndDate_384
@@ -91,7 +91,7 @@
      Databinding: 'Date*'
      Properties:
      [
        Taborder: 9
        Taborder: 8
      ]
    }
    Component bCreateFullTable
@@ -102,17 +102,6 @@
      [
        Image: 'C_CLAMP'
        Label: 'Create full table'
        Taborder: 1
      ]
    }
    Component bCreateBaseData
    {
      #keys: '[414996.1.104721297]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'C_CLAMP'
        Label: 'Create base data'
        Taborder: 0
      ]
    }
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pExport_dhXMLDataListener_OnDataChanged#141.def
@@ -11,7 +11,7 @@
    [*
      if( not isnull( this.Data() )){
        binaryValue := dhXMLDataListener.Data( ).Export();
        Application.Download( MP_Cell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() );
        Application.Download( ArchiveCell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() );
        dhXMLDataListener.Data( ).Delete();
      }
    *]
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonDown_478_bExportTemplate_OnClick.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      data := MP_Cell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() );
      data := ArchiveCell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() );
      
      Application.Download( "产出导入模板.xlsx",data.AsBinaryData() );
    *]
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonDown_478_bImportOutput_OnClick.def
@@ -27,7 +27,7 @@
          generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( RecycleBin, webFileBinaryData, fileName );
          generalExcelImportAndExportDataSource.ReadStructure();
          
          MP_Cell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource);
          ArchiveCell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource);
          
          // åŽç»­åˆ é™¤
          generalExcelImportAndExportDataSource.Delete();
@@ -39,7 +39,7 @@
      }
      
      macroPlans := ApplicationMacroPlanner.GetLoadedMacroPlans();
      table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive, MacroPlan );
      table := ArchiveCell_ScheduleSummary::CreateFullTable( Archive ,RecycleBin, MacroPlan );
      
      dhScheduleSummaryTable.Data( table );
    *]
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_pRibbonUp_88_bCreateBaseData_OnClick#88.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/_ROOT_Component_FormScheduleSummaryReport.def
@@ -7,7 +7,7 @@
  BaseType: 'WebForm'
  Children:
  [
    #child: PanelRibbon
    #child: pRibbon
    #child: pScheduleSummary
  ]
  Properties: