renhao
2023-10-18 ff1d40a1a235da7c3bdfa26070af267f19c7a3d3
Merge branch 'dev'
已重命名10个文件
已添加67个文件
已修改181个文件
已删除97个文件
5469 ■■■■■ 文件已修改
_Main/BL/Dataset_GlobalOTDSOP/_ROOT_Dataset_GlobalOTDSOP.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/EDI/Broker_Broker_OTD_VersionControl.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/EDI/Broker_GlobalOTDSOP_CARRC_Export.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/EDI/Broker_GlobalOTDSOP_CARRC_Import.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/IntegratorConfigs/IntegratorConfig_PanelMaterialRestServer/MessageEnhancerProcessor_MessageHeaderEnhancerProcessor.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAllocationResultsRuleConfiguration_GlobalOTDSOP_GlobalOTDSO.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAllocationResultsRuleConfiguration_GlobalOTDTable_GlobalOTD.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAllocationResults_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocat.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAllocationResults_GlobalOTDTable_GlobalOTDTable_CapacityAll.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartElement_GlobalOTDSOP_GlobalOTDSOP_Capacity.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartElement_GlobalOTDTable_GlobalOTDTable_Capa.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartRow_GlobalOTDSOP_GlobalOTDSOP_CapacityAndS.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartRow_GlobalOTDTable_GlobalOTDTable_Capacity.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemColumn_GlobalOTDSOP_GlobalOTDSOP_Cap.qbl 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemColumn_GlobalOTDTable_GlobalOTDTable.qbl 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemRow_GlobalOTDSOP_GlobalOTDSOP_Capaci.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemRow_GlobalOTDTable_GlobalOTDTable_Ca.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterBusinessType_GlobalOTDSOP_GlobalOTDSOP_Ca.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterBusinessType_GlobalOTDTable_GlobalOTDTabl.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterItem_GlobalOTDSOP_GlobalOTDSOP_CapacityAn.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterItem_GlobalOTDTable_GlobalOTDTable_Capaci.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterMonth_GlobalOTDSOP_GlobalOTDSOP_CapacityA.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterMonth_GlobalOTDTable_GlobalOTDTable_Capac.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_GlobalOTDSOP_Glo.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_GlobalOTDTable_G.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterYear_GlobalOTDSOP_GlobalOTDSOP_CapacityAn.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterYear_GlobalOTDTable_GlobalOTDTable_Capaci.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_CapacityAndSaleBudge_GlobalOTDTable_GlobalOTDTable_CapacityAndSaleB.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_ManufactureLTImputation_GlobalOTDSOP_GlobalOTDSOP_ManufactureLTImpu.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_ManufactureLTImputation_GlobalOTDTable_GlobalOTDTable_ManufactureLT.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MappingVersionControl_GlobalOTDSOP_GlobalOTDSOP_MappingVersionContr.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MappingVersionControl_GlobalOTDTable_GlobalOTDTable_MappingVersionC.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategyInputSource_GlobalOTDSOP_GlobalOTDSOP_.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategyInputSource_GlobalOTDTable_GlobalOTDTa.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategy_GlobalOTDSOP_GlobalOTDSOP_MatAttrSett.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategy_GlobalOTDTable_GlobalOTDTable_MatAttr.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDSOP_GlobalOTDSOP_PRHistoryData.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDTable_GlobalOTDTable_PRHistoryData.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PanelMaterialAll_GlobalOTDSOP_GlobalOTDSOP_PanelMaterialAll.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PanelMaterialAll_GlobalOTDTable_GlobalOTDTable_PanelMaterialAll.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_VersionControl_GlobalOTDSOP_GlobalOTDSOP_VersionControl.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_VersionControl_GlobalOTDTable_GlobalOTDTable_VersionControl.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_VersionStatus_GlobalOTDSOP_GlobalOTDSOP_VersionStatus.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_VersionStatus_GlobalOTDTable_GlobalOTDTable_VersionStatus.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_WorkOrderType_GlobalOTDSOP_GlobalOTDSOP_WorkOrderType.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_WorkOrderType_GlobalOTDTable_GlobalOTDTable_WorkOrderType.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_YuxTest_MPSync_MPSync_YuxTest.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_BaseConversionFactor/StaticMethod_DoASync.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/DeclarativeReferenceRelation_CalcCapacityAllocationResultsRuleConfiguration.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration2.qbl 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration3.qbl 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_ObtainTheFinalOutputProduct.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test1.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_Export.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_Import.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_BusinessType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityEquivalent.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth1.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth10.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth11.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth12.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth2.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth3.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth4.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth5.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth6.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth7.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth8.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth9.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSTotal.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth1.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth10.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth11.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth12.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth2.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth3.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth4.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth5.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth6.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth7.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth8.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth9.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetTotal.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_Deleted.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_DisplayTechnology.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_LineAndSpec.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_NumberOfCut.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_NumberOfMask.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_OrgCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_PlaceOfProductionOfArray.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_PlaceOfProductionOfEvaporation.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_ProductCode.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_Resolution.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth1.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth10.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth11.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth12.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth2.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth3.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth4.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth5.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth6.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth7.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth8.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth9.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountTotal.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Attribute_ShippingForm.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInPCSInYear.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInHalfYear.qbl 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInSeason.qbl 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInYear.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/Method_GetSaleAmountInYear.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSaleByMonth.qbl 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSaleByYear.qbl 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByHalfYear#1.qbl 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByMonth.qbl 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetBySeason.qbl 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByYear.qbl 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudge/_ROOT_Type_CapacityAndSaleBudge.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeChartElement/StaticMethod_TestData.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeChartRow/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeCompareItemColumn/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeCompareItemRow/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterBusinessType/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterItem/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterItem/StaticMethod_Initial.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterMonth/StaticMethod_Initial.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAndSaleBudgeFilterYear/StaticMethod_Initial.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CustomerOrder/StaticMethod_DoASync.qbl 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DMF_CustomLogic/Method_OnFinished.qbl 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Forecast/StaticMethod_DoASync.qbl 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalDTOTable/Method_OnAsyncExecuteFailure_GlobalOTDTable_ProductInLane.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalDTOTable/Method_RefreshCapacityAndSaleBudgeFilter.qbl 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalDTOTable/StaticMethod_GetBusnessStrings.qbl 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalDTOTable/_ROOT_Type_GlobalOTDTable.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeChart.qbl 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeCompare.qbl 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeCompareExport.qbl 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/Method_ReceivingPanelMaterials.qbl 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/Method_SynchronizeOrders.qbl 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetDatasetName.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetLoadedDataset.qbl 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetOutputVersionData.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetVersionData.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_OnServerStartup.qbl 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_ReceivingPanelMaterials.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/StaticMethod_RefreshCapacityAndSaleBudgeFilter.qbl 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalOTDSOP/_ROOT_Type_GlobalOTDSOP.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInPCSInYear.qbl 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInHalfYear.qbl 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInSeason.qbl 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInYear.qbl 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInHalfYear.qbl 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInSeason#000.qbl 26 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInYear.qbl 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByHalfYear.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByMonth.qbl 95 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleBySeason.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByYear.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByHalfYear.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByMonth.qbl 93 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetBySeason.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByYear.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingForecast/StaticMethod_GetQuantityByMonth.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingForecast/StaticMethod_GetQuantityByYear.qbl 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingOperation/StaticMethod_DoASyncFindMinSeq.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingOperation/StaticMethod_GetByProductId.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingProduct_MP/StaticMethod_GetByProductId.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Global_MappingProviderCapacity/StaticMethod_GetByProductId.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_InventoryValueAndCost/StaticMethod_DoASync.qbl 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncCreateLog.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingActualPISPIPData.qbl 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingBaseConversionFactorData.qbl 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingCustomerOrderData.qbl 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingExternalSupplyData.qbl 67 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingForecastData.qbl 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingInventoryValueAndCostData.qbl 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMData.qbl 160 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMDataRouting.qbl 102 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationCostData.qbl 75 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationData.qbl 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingProductData.qbl 94 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingProductInLaneData.qbl 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingSalesSegmentData.qbl 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingUnitData.qbl 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingUnitOfMeasureData.qbl 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/StaticMethod_DoASync#253.qbl 166 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/StaticMethod_DoASync#896.qbl 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/StaticMethod_DoASyncOnException.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/StaticMethod_DoASyncSuccess.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer#25.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate0.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_CheckThePrecedingColumn.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_CreateOrUpdateData.qbl 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_SynchronizeData.qbl 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_VerificationData.qbl 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/StaticMethod_export.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/Method_saveData.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_DeleteIfExistByMatCode#526.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_GetByMatCode.qbl 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_SynchronizeInventoryTargets.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_deleteIfExistByMatCode.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_getExistByMatCode.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_update.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Method_DoCall.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/Method_PrintCall.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_DoCall.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning#662.qbl 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Method_PrintCall.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/Method_Recall.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PRHistoryData/StaticMethod_Export.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PriorityResult/StaticMethod_CalculateBracketScore.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PriorityResult/StaticMethod_CalculateScore.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PriorityResult/StaticMethod_GetDetailsValue.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_SalesSegment_MP/StaticMethod_DoASync.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_UnitOfMeasure_MP/StaticMethod_DoASync.qbl 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_CopyVersion.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_Create.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_CreateNewSceneVersion.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_CreateNewVersion.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_FindByFullVersionID.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_FindLatestUpdateVersion.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_FindLatestVersion.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_GetVersionInfo.qbl 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionControl/StaticMethod_ReleaseNewVersion.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionStatus/StaticMethod_CreateOrUpdate.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionStatus/StaticMethod_FindLatestStatus.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_VersionStatus/StaticMethod_GetBusinessTypeStatus.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestBoolean.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestDate.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestDateTime.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestNumber.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestReal.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/Attribute_TestString.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/StaticMethod_Export.qbl 85 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/StaticMethod_ExportTest#887.qbl 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_YuxTest/_ROOT_Type_YuxTest.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_DialogManufactureLTImputation/Method_New#221.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_DialogManufactureLTImputation/Method_New.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupScenarioSelection.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageScenarioSelection.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_PanelScenarioSelection.def 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_DataHolderCurrentUser_OnDataChanged.def 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Method_New.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditIssueWorkOrder/Component_pnlContent.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditIssueWorkOrder/Response_pnlContent_ddlWorkOrderType_OnCreated.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditScenario/Method_OnOk.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditWorkOrderType/Method_NewWorkOrderType.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditWorkOrderType/Response_pnlActions_btnOk_OnClick.def 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Component_pnlActions.def 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Component_pnlContent.def 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Method_DataDistribution.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Response_pnlActions_btnCancel_OnClick.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Response_pnlActions_btnOk_OnClick.def 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/_ROOT_Component_DialogDataDistribution.def 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlActions_btnOk_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblAutomotiveElectronics_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblIT_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblMaterialVehicle_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblSpecializedDisplay_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblSportsHealth_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTM17_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTM18_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTianHua_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuCall_OnClick.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuPrintRequest_OnClick#623.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_PanelPRDataButton_ButtonLoad_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_PanelPRDataButton_ButtonSendPR_OnClick.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResults/Response_PanelCapacityAllocationResults_ButtonGenerateCapacityAllocationR#39.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Component_ListCapacityAllocationResultsRuleConfiguration.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_ListCapacityAllocationResultsRuleConfiguration_MenuGenerateByPeggin.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_PanelImportAndExport_Export_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_PanelImportAndExport_Import_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Component_ListCapacityAndSaleBudge.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Response_ButtonExportTest_OnClick.def 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Response_ButtonGenerateTestData_OnClick.def 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/_ROOT_Component_FormCapacityAndSaleBudge.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeChart/Component_ChartCapacityAndSaleBudgeChart.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeChart/Response_ButtonCapacityAndSaleBudgeChartTest_OnClick.def 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Component_MatrixEditorCapacityAndSaleBudgeCompare.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Response_ButtonCapacityAndSaleBudgeCompare_OnClick.def 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Response_ButtonExportCompare_OnClick.def 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterBusinessType/Component_ListCapacityAndSaleBudgeFilterBusinessType.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterBusinessType/Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterItem/Component_ListCapacityAndSaleBudgeFilterItem.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterMonth/Component_ListCapacityAndSaleBudgeFilterMonth.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterPlaceOfProductionOfArray/Component_ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterPlaceOfProductionOfArray/Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnC#663.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterYear/Component_ListCapacityAndSaleBudgeFilterYear.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormIT/Component_ListPanelMaterialIT.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormIT/Response_DataHolderPanelIT_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormIT/Response_DataHolderPanelIT_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Component_listContextMenuInterfaceTest.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_ListInterfaceTest_MenuCreateShowData_OnClick.def 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormManufactureLT/Component_ListManufactureLT#943.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormManufactureLT/Response_ButtonLoad_OnClick#417.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Component_ListMaterialMaterialLabelingAndPlanningStrategy#880.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Response_PanelMaterialExportAndImport_136_ButtonMaterialExportAndImport_OnCl.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Response_PanelMaterialExportAndImport_136_ButtonSynchronizeInventoryTargets_.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_ListPRHistoryData#844.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Response_PanelPRHistoryButton_ButtonExportPRHistory_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Component_ListPanelMaterialAutomotiveElectronics.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Response_DataHolderPanelAutomotiveElectronics_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Response_DataHolderPanelAutomotiveElectronics_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Component_ListPanelMaterialSpecializedDisplay.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Response_DataHolderPanelSpecializedDisplay_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Response_DataHolderPanelSpecializedDisplay_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Component_ListPanelMaterialSportsHealth.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Response_DataHolderPanelSportsHealth_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Response_DataHolderPanelSportsHealth_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Component_ListPanelMaterialTM.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Response_DataHolderPanelTM17_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Response_DataHolderPanelTM17_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Component_ListPanelMaterialTM.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Response_DataHolderPanelTM18_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Response_DataHolderPanelTM18_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Component_ListPanelMaterialTianHua.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Response_DataHolderPanelTianHua_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Response_DataHolderPanelTianHua_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Component_ListPanelMaterialVehicle.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Response_DataHolderPanelMaterialVehicle_OnCreated.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Response_DataHolderPanelMaterialVehicle_OnDataChanged.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Component_ListScenario.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_ListScenario_MenuEdit_OnClick.def 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuRelaeaseNewVersion_OnClick.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuSaveNewVersion_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuScenarioDataDistribution_OnClick.def 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderCopy_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderRelease_OnClick.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/_ROOT_Component_FormVersionOfSOP.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormWorkOrderType/Component_ListWorkOrderType.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_var/_Main/ProjSettings/MacroPlanner/ColSch/Global.cs 574 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Dataset_GlobalOTDSOP/_ROOT_Dataset_GlobalOTDSOP.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Dataset GlobalOTDSOP
{
  #keys: '2[414702.1.113455894][414702.1.113455893]'
  DefaultMDSName: 'GlobalOTDSOP'
  InstanceType: GlobalOTDSOP
}
_Main/BL/EDI/Broker_Broker_OTD_VersionControl.qbl
@@ -2,7 +2,7 @@
#parent: #root
EDIBroker Broker_OTD_VersionControl
{
  MDSDefinition: GlobalOTDTable
  MDSDefinition: GlobalOTDSOP
  TimeZone: 'ACT'
  UseOSTimeZone: false
  EDIModelLink.Destination MappingVersionControl
_Main/BL/EDI/Broker_GlobalOTDSOP_CARRC_Export.qbl
ÎļþÃû´Ó _Main/BL/EDI/Broker_GlobalOTDTable_CARRC_Export.qbl ÐÞ¸Ä
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: #root
EDIBroker GlobalOTDTable_CARRC_Export
EDIBroker GlobalOTDSOP_CARRC_Export
{
  MDSDefinition: GlobalOTDTable
  MDSDefinition: GlobalOTDSOP
  TimeZone: 'ACT'
  UseOSTimeZone: false
  EDIModelLink.Source Source11
_Main/BL/EDI/Broker_GlobalOTDSOP_CARRC_Import.qbl
ÎļþÃû´Ó _Main/BL/EDI/Broker_GlobalOTDTable_CARRC_Import.qbl ÐÞ¸Ä
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: #root
EDIBroker GlobalOTDTable_CARRC_Import
EDIBroker GlobalOTDSOP_CARRC_Import
{
  MDSDefinition: GlobalOTDTable
  MDSDefinition: GlobalOTDSOP
  TimeZone: 'ACT'
  UseOSTimeZone: false
  EDIModelLink.Destination Destination13
@@ -17,6 +17,7 @@
      EDIMLColumn Division { Attribute: Division ValueType: String }
      EDIMLColumn ModuleMaterialCode { Attribute: ModuleMaterialCode ValueType: String }
      EDIMLColumn PanelMaterialCode { Attribute: PanelMaterialCode ValueType: String }
      EDIMLColumn PanelMaterialStockingPointID { Attribute: PanelMaterialStockingPointID ValueType: String }
      EDIMLColumn StockingPointID { Attribute: StockingPointID ValueType: String }
    }
  }
_Main/BL/IntegratorConfigs/IntegratorConfig_PanelMaterialRestServer/MessageEnhancerProcessor_MessageHeaderEnhancerProcessor.qbl
@@ -20,6 +20,6 @@
  {
    Property: '_QI.Type'
    Type: 'String'
    Value: 'GlobalOTDTable'
    Value: 'GlobalOTDSOP'
  }
}
_Main/BL/Relations/Relation_CapacityAllocationResultsRuleConfiguration_GlobalOTDSOP_GlobalOTDSO.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAllocationResultsRuleConfiguration_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocationResultsRuleConfiguration
{
  #keys: '1[414702.1.138430337]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.138430339][414702.1.138430338][414702.1.138430340]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAllocationResultsRuleConfiguration
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAllocationResultsRuleConfiguration
  {
    #keys: '3[414702.1.138430342][414702.1.138430341][414702.1.138430343]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAllocationResultsRuleConfiguration_GlobalOTDTable_GlobalOTD.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAllocationResults_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocat.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAllocationResults_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocationResults
{
  #keys: '1[414702.1.138430321]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.138430323][414702.1.138430322][414702.1.138430324]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAllocationResults
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAllocationResults
  {
    #keys: '3[414702.1.138430326][414702.1.138430325][414702.1.138430327]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAllocationResults_GlobalOTDTable_GlobalOTDTable_CapacityAll.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartElement_GlobalOTDSOP_GlobalOTDSOP_Capacity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeChartElement_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeChartElement
{
  #keys: '1[414384.0.999194645]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.999194647][414384.0.999194646][414384.0.999194648]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeChartElement
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeChartElement
  {
    #keys: '3[414384.0.999194650][414384.0.999194649][414384.0.999194651]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartElement_GlobalOTDTable_GlobalOTDTable_Capa.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartRow_GlobalOTDSOP_GlobalOTDSOP_CapacityAndS.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeChartRow_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeChartRow
{
  #keys: '1[414384.0.996881297]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881299][414384.0.996881298][414384.0.996881300]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeChartRow
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeChartRow
  {
    #keys: '3[414384.0.996881302][414384.0.996881301][414384.0.996881303]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeChartRow_GlobalOTDTable_GlobalOTDTable_Capacity.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemColumn_GlobalOTDSOP_GlobalOTDSOP_Cap.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeCompareItemColumn_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeCompareItemColumn
{
  #keys: '1[414384.0.996881443]'
  ProceduralSequenceRelationStrategy
  {
    #keys: '13[0.0.0][414384.0.996881465][414384.0.996881459][414384.0.996881466][414384.0.996881460][414384.0.996881467][414384.0.996881461][414384.0.996881468][414384.0.996881462][414384.0.996881469][414384.0.996881463][414384.0.996881470][414384.0.996881464]'
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881445][414384.0.996881444][414384.0.996881446]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeCompareItemColumn
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeCompareItemColumn
  {
    #keys: '3[414384.0.996881448][414384.0.996881447][414384.0.996881449]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemColumn_GlobalOTDTable_GlobalOTDTable.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemRow_GlobalOTDSOP_GlobalOTDSOP_Capaci.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeCompareItemRow_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeCompareItemRow
{
  #keys: '1[414384.0.996881317]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881319][414384.0.996881318][414384.0.996881320]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeCompareItemRow
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeCompareItemRow
  {
    #keys: '3[414384.0.996881322][414384.0.996881321][414384.0.996881323]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeCompareItemRow_GlobalOTDTable_GlobalOTDTable_Ca.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterBusinessType_GlobalOTDSOP_GlobalOTDSOP_Ca.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeFilterBusinessType_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeFilterBusinessType
{
  #keys: '1[414384.0.996881340]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881342][414384.0.996881341][414384.0.996881343]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeFilterBusinessType
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeFilterBusinessType
  {
    #keys: '3[414384.0.996881345][414384.0.996881344][414384.0.996881346]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterBusinessType_GlobalOTDTable_GlobalOTDTabl.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterItem_GlobalOTDSOP_GlobalOTDSOP_CapacityAn.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeFilterItem_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeFilterItem
{
  #keys: '1[414384.0.996881358]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881360][414384.0.996881359][414384.0.996881361]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeFilterItem
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeFilterItem
  {
    #keys: '3[414384.0.996881363][414384.0.996881362][414384.0.996881364]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterItem_GlobalOTDTable_GlobalOTDTable_Capaci.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterMonth_GlobalOTDSOP_GlobalOTDSOP_CapacityA.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeFilterMonth_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeFilterMonth
{
  #keys: '1[414384.0.996881381]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881383][414384.0.996881382][414384.0.996881384]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeFilterMonth
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeFilterMonth
  {
    #keys: '3[414384.0.996881386][414384.0.996881385][414384.0.996881387]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterMonth_GlobalOTDTable_GlobalOTDTable_Capac.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_GlobalOTDSOP_Glo.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray
{
  #keys: '1[414384.0.996881401]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881403][414384.0.996881402][414384.0.996881404]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeFilterPlaceOfProductionOfArray
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeFilterPlaceOfProductionOfArray
  {
    #keys: '3[414384.0.996881406][414384.0.996881405][414384.0.996881407]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray_GlobalOTDTable_G.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterYear_GlobalOTDSOP_GlobalOTDSOP_CapacityAn.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation CapacityAndSaleBudgeFilterYear_GlobalOTDSOP_GlobalOTDSOP_CapacityAndSaleBudgeFilterYear
{
  #keys: '1[414384.0.996881421]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.996881423][414384.0.996881422][414384.0.996881424]'
    Cardinality: '0to1'
    ObjectDefinition: CapacityAndSaleBudgeFilterYear
    OwningSide: 'Reference'
  }
  RelationSide.RightSide CapacityAndSaleBudgeFilterYear
  {
    #keys: '3[414384.0.996881426][414384.0.996881425][414384.0.996881427]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_CapacityAndSaleBudgeFilterYear_GlobalOTDTable_GlobalOTDTable_Capaci.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_CapacityAndSaleBudge_GlobalOTDTable_GlobalOTDTable_CapacityAndSaleB.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_ManufactureLTImputation_GlobalOTDSOP_GlobalOTDSOP_ManufactureLTImpu.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation ManufactureLTImputation_GlobalOTDSOP_GlobalOTDSOP_ManufactureLTImputation
{
  #keys: '1[414384.0.1005451662]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.1005451664][414384.0.1005451663][414384.0.1005451665]'
    Cardinality: '0to1'
    ObjectDefinition: ManufactureLTImputation
    OwningSide: 'Reference'
  }
  RelationSide.RightSide ManufactureLTImputation
  {
    #keys: '3[414384.0.1005451667][414384.0.1005451666][414384.0.1005451668]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_ManufactureLTImputation_GlobalOTDTable_GlobalOTDTable_ManufactureLT.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MappingVersionControl_GlobalOTDSOP_GlobalOTDSOP_MappingVersionContr.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation MappingVersionControl_GlobalOTDSOP_GlobalOTDSOP_MappingVersionControl
{
  #keys: '1[412960.0.337760056]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[412960.0.337760058][412960.0.337760057][412960.0.337760059]'
    Cardinality: '0to1'
    ObjectDefinition: MappingVersionControl
    OwningSide: 'Reference'
  }
  RelationSide.RightSide MappingVersionControl
  {
    #keys: '3[412960.0.337760061][412960.0.337760060][412960.0.337760062]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_MappingVersionControl_GlobalOTDTable_GlobalOTDTable_MappingVersionC.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategyInputSource_GlobalOTDSOP_GlobalOTDSOP_.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation MatAttrSettingAndPlanStrategyInputSource_GlobalOTDSOP_GlobalOTDSOP_MatAttrSettingAndPlanStrategyInputSource
{
  #keys: '1[414702.1.128364612]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.128364614][414702.1.128364613][414702.1.128364615]'
    Cardinality: '0to1'
    ObjectDefinition: MatAttrSettingAndPlanStrategyInputSource
    OwningSide: 'Reference'
  }
  RelationSide.RightSide MatAttrSettingAndPlanStrategyInputSource
  {
    #keys: '3[414702.1.128364617][414702.1.128364616][414702.1.128364618]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategyInputSource_GlobalOTDTable_GlobalOTDTa.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategy_GlobalOTDSOP_GlobalOTDSOP_MatAttrSett.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation MatAttrSettingAndPlanStrategy_GlobalOTDSOP_GlobalOTDSOP_MatAttrSettingAndPlanStrategy
{
  #keys: '1[414702.1.130145519]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.130145521][414702.1.130145520][414702.1.130145522]'
    Cardinality: '0to1'
    ObjectDefinition: MatAttrSettingAndPlanStrategy
    OwningSide: 'Reference'
  }
  RelationSide.RightSide MatAttrSettingAndPlanStrategy
  {
    #keys: '3[414702.1.130145524][414702.1.130145523][414702.1.130145525]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_MatAttrSettingAndPlanStrategy_GlobalOTDTable_GlobalOTDTable_MatAttr.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDSOP_GlobalOTDSOP_PRHistoryData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation PRHistoryData_GlobalOTDSOP_GlobalOTDSOP_PRHistoryData
{
  #keys: '1[414384.0.999194777]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414384.0.999194779][414384.0.999194778][414384.0.999194780]'
    Cardinality: '0to1'
    ObjectDefinition: PRHistoryData
    OwningSide: 'Reference'
  }
  RelationSide.RightSide PRHistoryData
  {
    #keys: '3[414384.0.999194782][414384.0.999194781][414384.0.999194783]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_PRHistoryData_GlobalOTDTable_GlobalOTDTable_PRHistoryData.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_PanelMaterialAll_GlobalOTDSOP_GlobalOTDSOP_PanelMaterialAll.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation PanelMaterialAll_GlobalOTDSOP_GlobalOTDSOP_PanelMaterialAll
{
  #keys: '1[414702.1.138384587]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.138384589][414702.1.138384588][414702.1.138384590]'
    Cardinality: '0to1'
    ObjectDefinition: PanelMaterialAll
    OwningSide: 'Reference'
  }
  RelationSide.RightSide PanelMaterialAll
  {
    #keys: '3[414702.1.138384592][414702.1.138384591][414702.1.138384593]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_PanelMaterialAll_GlobalOTDTable_GlobalOTDTable_PanelMaterialAll.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_VersionControl_GlobalOTDSOP_GlobalOTDSOP_VersionControl.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation VersionControl_GlobalOTDSOP_GlobalOTDSOP_VersionControl
{
  #keys: '1[412960.0.337760078]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[412960.0.337760080][412960.0.337760079][412960.0.337760081]'
    Cardinality: '0to1'
    ObjectDefinition: VersionControl
    OwningSide: 'Reference'
  }
  RelationSide.RightSide VersionControl
  {
    #keys: '3[412960.0.337760083][412960.0.337760082][412960.0.337760084]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_VersionControl_GlobalOTDTable_GlobalOTDTable_VersionControl.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_VersionStatus_GlobalOTDSOP_GlobalOTDSOP_VersionStatus.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation VersionStatus_GlobalOTDSOP_GlobalOTDSOP_VersionStatus
{
  #keys: '1[412960.0.337760095]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[412960.0.337760097][412960.0.337760096][412960.0.337760098]'
    Cardinality: '0to1'
    ObjectDefinition: VersionStatus
    OwningSide: 'Reference'
  }
  RelationSide.RightSide VersionStatus
  {
    #keys: '3[412960.0.337760100][412960.0.337760099][412960.0.337760101]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_VersionStatus_GlobalOTDTable_GlobalOTDTable_VersionStatus.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_WorkOrderType_GlobalOTDSOP_GlobalOTDSOP_WorkOrderType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation WorkOrderType_GlobalOTDSOP_GlobalOTDSOP_WorkOrderType
{
  #keys: '1[414702.1.128394598]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDSOP
  {
    #keys: '3[414702.1.128394600][414702.1.128394599][414702.1.128394601]'
    Cardinality: '0to1'
    ObjectDefinition: WorkOrderType
    OwningSide: 'Reference'
  }
  RelationSide.RightSide WorkOrderType
  {
    #keys: '3[414702.1.128394603][414702.1.128394602][414702.1.128394604]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDSOP
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_WorkOrderType_GlobalOTDTable_GlobalOTDTable_WorkOrderType.qbl
ÎļþÒÑɾ³ý
_Main/BL/Relations/Relation_YuxTest_MPSync_MPSync_YuxTest.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_BaseConversionFactor/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  const GlobalOTDTable globalOTDTable
)
{
  Description: '单次同步'
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "Product Finished, Start BaseConversionFactor Data Broker" )
    //macroPlan.Broker_OTD_BaseConversionFactor().Execute();
    info( "BaseConversionFactor Data Broker Finished, Start BaseConversionFactor Mapping" )
    macroPlan.DoASyncMappingBaseConversionFactorData(globalOTDTable);
  *]
}
_Main/BL/Type_CapacityAllocationResults/DeclarativeReferenceRelation_CalcCapacityAllocationResultsRuleConfiguration.qbl
@@ -5,7 +5,7 @@
  #keys: '1[414702.0.388304510]'
  Expression:
  [*
    targetCapacityAllocationResultsRuleConfiguration := select( this.GlobalOTDTable(), CapacityAllocationResultsRuleConfiguration, tempCARRC,
    targetCapacityAllocationResultsRuleConfiguration := select( this.GlobalOTDSOP(), CapacityAllocationResultsRuleConfiguration, tempCARRC,
                                                                tempCARRC.ModuleMaterialCode() = this.ModuleMaterialCode() and
                                                                tempCARRC.PanelMaterialCode() = this.PanelMaterialCode() );
    
_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate.qbl
@@ -1,16 +1,16 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateDate (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  MacroPlan macroPlan,
  Scenario scenario
)
{
  TextBody:
  [*
    globalOTDTable.CapacityAllocationResults( relflush );
    globalOTDSOP.CapacityAllocationResults( relflush );
    
    finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDTable );
    finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDSOP );
    
    period_MPS := null( Period_MPs );
    traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) {
@@ -18,15 +18,15 @@
    }
    
    traverse ( finaleProductInStockingPoint_MPs, Elements, fpispmp ) {
      capacityAllocationResultsRuleConfigurations := selectset( globalOTDTable, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() );
      capacityAllocationResultsRuleConfigurations := selectset( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() );
    //  info( "生产的产品:", fpispmp.ProductID(), "------产品在库存点-------:", fpispmp.StockingPointID() );
      traverse ( period_MPS, Elements, pmp ) {     
        // CapacityAllocationResults::IterativeGeneration( globalOTDTable, pisp, 1, null( NewSupply ), -1.0, pmp.StartDate() ); è€ç‰ˆ
        CapacityAllocationResults::IterativeGeneration2( globalOTDTable, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 );
        CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 );
      }
    }
    
    traverse ( globalOTDTable, CapacityAllocationResults, car ) {
    traverse ( globalOTDSOP, CapacityAllocationResults, car ) {
      car.VersionNumber( scenario.Name() );
    }
  *]
_Main/BL/Type_CapacityAllocationResults/StaticMethod_CreateDate1.qbl
@@ -2,7 +2,7 @@
#parent: #root
StaticMethod CreateDate1 (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  DependentDemand dependentDemand,
  NewSupply newSupply,
  Supply_MP firstNewSupply,
@@ -18,25 +18,25 @@
    
    if ( capacityAllocationResultsRuleConfiguration.PanelMaterialCode() = productID ) {
      info( "找到了!!!" );
      globalOTDTable.CapacityAllocationResults( relnew,
                                                PanelBase             := panelPISP.StockingPointID(),
                                                PanelMaterialCode     := panelPISP.ProductID(),
                                                NumberOfPanels        := fulfillmentQuantity,
                                                PanelMeasurementUnit  := panelPISP.UnitOfMeasure_MP().Name(),
                                                ModuleMaterialCode    := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(),
                                                NumberOfModules       := firstNewSupply.Quantity(),
                                                ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                                ModuleBase            := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(),
                                                RequirementDate       := dependentDemand.Start().Date(),
                                                // å¯¼å‡ºå¤–部供应字段
                                                Date                  := dependentDemand.Start().Date(),
                                                Description           := "",
                                                ID                    := OS::GenerateGUIDAsString(),
                                                ProductID             := panelPISP.ProductID(),
                                                StockingPointID       := panelPISP.StockingPointID(),
                                                UserQuantity          := fulfillmentQuantity,
                                                ManufacturedDate      := Date::MinDate()
                                               );
      globalOTDSOP.CapacityAllocationResults( relnew,
                                              PanelBase             := panelPISP.StockingPointID(),
                                              PanelMaterialCode     := panelPISP.ProductID(),
                                              NumberOfPanels        := fulfillmentQuantity,
                                              PanelMeasurementUnit  := panelPISP.UnitOfMeasure_MP().Name(),
                                              ModuleMaterialCode    := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(),
                                              NumberOfModules       := firstNewSupply.Quantity(),
                                              ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                              ModuleBase            := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(),
                                              RequirementDate       := dependentDemand.Start().Date(),
                                              // å¯¼å‡ºå¤–部供应字段
                                              Date                  := dependentDemand.Start().Date(),
                                              Description           := "",
                                              ID                    := OS::GenerateGUIDAsString(),
                                              ProductID             := panelPISP.ProductID(),
                                              StockingPointID       := panelPISP.StockingPointID(),
                                              UserQuantity          := fulfillmentQuantity,
                                              ManufacturedDate      := Date::MinDate()
                                             );
    }
  *]
}
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod IterativeGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  ProductInStockingPoint_MP pisp,
  Number numberOfLayers,
  NewSupply finaleNewSupply,
@@ -27,7 +27,7 @@
            oi := dd.ProcessInput().astype( OperationInput );
            finaleDependentDemand := finaleDependentDemand * oo.Quantity() * oi.Quantity();
    //        info( "依赖需求产品ID:", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), "    ä¾èµ–数量:", dd.Quantity(), "    å½“前周期任务Key:", dd.PeriodTask_MP().astype( PeriodTaskOperation ).Key() );
            CapacityAllocationResults::IterativeGeneration( globalOTDTable, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate );
            CapacityAllocationResults::IterativeGeneration( globalOTDSOP, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate );
          }
    //      info( "----------------------------------------------------" );
        } else {
@@ -35,17 +35,17 @@
    //      info( "======" );
          pispPanel := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP();
          pispModule := finaleNewSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP();
          globalOTDTable.CapacityAllocationResults( relnew,
                                                    PanelBase             := pispPanel.StockingPointID(),
                                                    PanelMaterialCode     := pispPanel.ProductID(),
                                                    NumberOfPanels        := finaleDependentDemand,
                                                    PanelMeasurementUnit  := pispPanel.UnitOfMeasure_MP().Name(),
                                                    ModuleMaterialCode    := pispModule.ProductID(),
                                                    NumberOfModules       := finaleNewSupply.Quantity(),
                                                    ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(),
                                                    ModuleBase            := pispModule.StockingPointID(),
                                                    RequirementDate       := finaleNewSupply.Start().Date()
                                                   );
          globalOTDSOP.CapacityAllocationResults( relnew,
                                                  PanelBase             := pispPanel.StockingPointID(),
                                                  PanelMaterialCode     := pispPanel.ProductID(),
                                                  NumberOfPanels        := finaleDependentDemand,
                                                  PanelMeasurementUnit  := pispPanel.UnitOfMeasure_MP().Name(),
                                                  ModuleMaterialCode    := pispModule.ProductID(),
                                                  NumberOfModules       := finaleNewSupply.Quantity(),
                                                  ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(),
                                                  ModuleBase            := pispModule.StockingPointID(),
                                                  RequirementDate       := finaleNewSupply.Start().Date()
                                                 );
        }
        finaleNewSupply := null( NewSupply );
      }
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration2.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod IterativeGeneration2 (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  ProductInStockingPoint_MP pisp,
  Date targetDate,
  CapacityAllocationResultsRuleConfigurations carrcs,
@@ -21,7 +21,7 @@
        previous := pispippl.PreviousPlanningPISPIP().astype( ProductInStockingPointInPeriodPlanningLeaf );
        if ( not previous.Period_MP().IsHistorical() ) {
          previousDate := previous.Start().Date();
          CapacityAllocationResults::IterativeGeneration2( globalOTDTable,
          CapacityAllocationResults::IterativeGeneration2( globalOTDSOP,
                                                           pisp,
                                                           previousDate,
                                                           carrcs,
@@ -50,7 +50,7 @@
    //          info( "层数:", numberOfLayers, "    å½“前供应的pisp:", ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), "    æ€»ä¾›åº”值:", ns.Quantity(), "    éœ€è¦ä¾›åº”值:", currentLayerDependentDemandQuantity,
    //                "    å½“前需求pisp:", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), "    éœ€æ±‚值:", currentLayerDependentDemandQuantity );
    //          info( "-----------------------------------------------------------------------------------------------------------------" );
              CapacityAllocationResults::IterativeGeneration2( globalOTDTable,
              CapacityAllocationResults::IterativeGeneration2( globalOTDSOP,
                                                               dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(),
                                                               targetDate,
                                                               carrcs,
@@ -62,25 +62,25 @@
            carrc := select( carrcs, Elements, carrc, carrc.PanelMaterialCode() = ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID() );
            if ( not isnull( carrc ) ) {
    //          info( "找到面板物料..." );
              globalOTDTable.CapacityAllocationResults( relnew,
                                                        PanelBase             := pto.Operation().UnitID(),
                                                        PanelMaterialCode     := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                        NumberOfPanels        := currentLayerDependentDemandQuantity,
                                                        PanelMeasurementUnit  := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                                        ModuleMaterialCode    := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                        NumberOfModules       := firstLevelSupply.Quantity(),
                                                        ModuleMeasurementUnit := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                                        ModuleBase            := guard( firstLevelSupply.PeriodTask_MP().astype( PeriodTaskOperation ).Operation().UnitID(), "车道运输" ),
                                                        Division              := carrc.Division(),
                                                        RequirementDate       := firstLevelSupply.Start().Date(),
                                                        Date                  := firstLevelSupply.Start().Date(),
                                                        Description           := "",
                                                        ID                    := OS::GenerateGUIDAsString(),
                                                        ProductID             := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                        StockingPointID       := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().StockingPointID(),
                                                        UserQuantity          := currentLayerDependentDemandQuantity,
                                                        ManufacturedDate      := Date::MinDate()
                                                       );
              globalOTDSOP.CapacityAllocationResults( relnew,
                                                      PanelBase             := pto.Operation().UnitID(),
                                                      PanelMaterialCode     := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                      NumberOfPanels        := currentLayerDependentDemandQuantity,
                                                      PanelMeasurementUnit  := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                                      ModuleMaterialCode    := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                      NumberOfModules       := firstLevelSupply.Quantity(),
                                                      ModuleMeasurementUnit := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(),
                                                      ModuleBase            := guard( firstLevelSupply.PeriodTask_MP().astype( PeriodTaskOperation ).Operation().UnitID(), "车道运输" ),
                                                      Division              := carrc.Division(),
                                                      RequirementDate       := firstLevelSupply.Start().Date(),
                                                      Date                  := firstLevelSupply.Start().Date(),
                                                      Description           := "",
                                                      ID                    := OS::GenerateGUIDAsString(),
                                                      ProductID             := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(),
                                                      StockingPointID       := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().StockingPointID(),
                                                      UserQuantity          := currentLayerDependentDemandQuantity,
                                                      ManufacturedDate      := Date::MinDate()
                                                     );
                                                        
            }
            //info( "-----------------------------------------------------------------------------------------------------------------" );
@@ -93,7 +93,7 @@
    //              "    å½“前需求pisp:", targetDependentDemand.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), "    éœ€æ±‚值:", currentLayerDependentDemandQuantity );
    //        info( "LaneLeg周期任务..." );
            //info( "-----------------------------------------------------------------------------------------------------------------" );
            CapacityAllocationResults::IterativeGeneration2( globalOTDTable,
            CapacityAllocationResults::IterativeGeneration2( globalOTDSOP,
                                                             targetDependentDemand.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(),
                                                             targetDate,
                                                             carrcs,
_Main/BL/Type_CapacityAllocationResults/StaticMethod_IterativeGeneration3.qbl
@@ -2,7 +2,7 @@
#parent: #root
StaticMethod IterativeGeneration3 (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  Supply_MP smp,
  Supply_MP firstSMP,
  Number numberOfPlies,
@@ -27,9 +27,9 @@
                fulfillmentQuantity := ( dd.Quantity() / ns.Quantity() ) * fulfillmentQuantity;
                info( "--------------------------------------------------------------" );
                if ( not isnull( capacityAllocationResultsRuleConfiguration ) ) {
                  CapacityAllocationResults::CreateDate1( macroPlan, globalOTDTable, dd, ns, firstSMP, capacityAllocationResultsRuleConfiguration, fulfillmentQuantity );
                  CapacityAllocationResults::CreateDate1( macroPlan, globalOTDSOP, dd, ns, firstSMP, capacityAllocationResultsRuleConfiguration, fulfillmentQuantity );
                }
                CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp1, firstSMP, numberOfPlies, fulfillmentQuantity, capacityAllocationResultsRuleConfiguration );
                CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp1, firstSMP, numberOfPlies, fulfillmentQuantity, capacityAllocationResultsRuleConfiguration );
                numberOfPlies--;
              }
            }
@@ -45,9 +45,9 @@
              numberOfPlies++;
              info( "--------------------------------------------------------------" );
              if ( not isnull( capacityAllocationResultsRuleConfiguration ) ) {
                CapacityAllocationResults::CreateDate1( macroPlan, globalOTDTable, targetDependentDemand, ns, firstSMP, capacityAllocationResultsRuleConfiguration, f.Quantity() );
                CapacityAllocationResults::CreateDate1( macroPlan, globalOTDSOP, targetDependentDemand, ns, firstSMP, capacityAllocationResultsRuleConfiguration, f.Quantity() );
              }
              CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp1, firstSMP, numberOfPlies, f.Quantity(), capacityAllocationResultsRuleConfiguration );
              CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp1, firstSMP, numberOfPlies, f.Quantity(), capacityAllocationResultsRuleConfiguration );
              numberOfPlies--;
            }
          }
_Main/BL/Type_CapacityAllocationResults/StaticMethod_ObtainTheFinalOutputProduct.qbl
@@ -2,7 +2,7 @@
#parent: #root
StaticMethod ObtainTheFinalOutputProduct (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
) as owning ProductInStockingPoint_MPs
{
  TextBody:
@@ -22,7 +22,7 @@
    //}
    
    finaleProductInStockingPoint_MPs := selectset( macroPlan, Product_MP.ProductInStockingPoint_MP, tempPISPMP, 
                                                   exists( globalOTDTable, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = tempPISPMP.ProductID() and tempCARRC.StockingPointID() = tempPISPMP.StockingPointID() )
                                                   exists( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = tempPISPMP.ProductID() and tempCARRC.StockingPointID() = tempPISPMP.StockingPointID() )
                                                  );
    
    return &finaleProductInStockingPoint_MPs;
_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test.qbl
@@ -2,14 +2,14 @@
#parent: #root
StaticMethod Test (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
)
{
  TextBody:
  [*
    globalOTDTable.CapacityAllocationResults( relflush );
    globalOTDSOP.CapacityAllocationResults( relflush );
    
    capacityAllocationResultsRuleConfiguration := select( globalOTDTable, CapacityAllocationResultsRuleConfiguration, carrc,
    capacityAllocationResultsRuleConfiguration := select( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, carrc,
                                                          carrc.ModuleMaterialCode() = "ProXOver 1 D2.6 A" and
                                                          carrc.StockingPointID() = "Carco Philadelphia" );
    
@@ -18,7 +18,7 @@
      traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ).Supply_MP, smp, 
                 /*smp.ProductInStockingPointInPeriodPlanning().Start().Date() = Date::Construct( 2020, 4, 7 ) and*/
                 smp.Quantity() > 0 ) {                                                                  
        CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration );
        CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration );
      }
    }
  *]
_Main/BL/Type_CapacityAllocationResults/StaticMethod_Test1.qbl
@@ -2,7 +2,7 @@
#parent: #root
StaticMethod Test1 (
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  CapacityAllocationResultsRuleConfigurations capacityAllocationResultsRuleConfigurations
)
{
@@ -14,7 +14,7 @@
      traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ).Supply_MP, smp, 
                 /*smp.ProductInStockingPointInPeriodPlanning().Start().Date() = Date::Construct( 2020, 4, 7 ) and*/
                 smp.Quantity() > 0 ) {                                                                  
        CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp, smp, 1, smp.Quantity(), carrc );
        CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp, smp, 1, smp.Quantity(), carrc );
        info( "=======================================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
      }
    }
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_Export.qbl
@@ -1,13 +1,13 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Export (
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
) as BinaryValue
{
  TextBody:
  [*
    // hongjli Sep-25-2023 (created)
    binaryValue := globalOTDTable.GlobalOTDTable_CARRC_Export().ExecuteToXLS( true ).AsBinaryValue();
    binaryValue := globalOTDSOP.GlobalOTDSOP_CARRC_Export().ExecuteToXLS( true ).AsBinaryValue();
    
    return binaryValue;
  *]
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_Import.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Import (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  String base64String
)
{
@@ -9,6 +9,6 @@
  [*
    binaryData := BinaryData::FromBase64EncodedString( base64String );
    
    globalOTDTable.GlobalOTDTable_CARRC_Import().ExecuteFromXLS( &binaryData, true );
    globalOTDSOP.GlobalOTDSOP_CARRC_Import().ExecuteFromXLS( &binaryData, true );
  *]
}
_Main/BL/Type_CapacityAndSaleBudge/Attribute_BusinessType.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityEquivalent.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth1.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth10.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth11.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth12.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth2.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth3.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth4.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth5.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth6.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth7.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth8.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSInMonth9.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInPCSTotal.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth1.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth10.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth11.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth12.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth2.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth3.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth4.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth5.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth6.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth7.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth8.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetInMonth9.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_CapacityInSheetTotal.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_Deleted.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_DisplayTechnology.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_LineAndSpec.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_NumberOfCut.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_NumberOfMask.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_OrgCode.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_PlaceOfProductionOfArray.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_PlaceOfProductionOfEvaporation.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_ProductCode.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_Resolution.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth1.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth10.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth11.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth12.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth2.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth3.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth4.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth5.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth6.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth7.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth8.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountInMonth9.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_SaleAmountTotal.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Attribute_ShippingForm.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInPCSInYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInHalfYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInSeason.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Method_GetCapacityInSheetInYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/Method_GetSaleAmountInYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSaleByMonth.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSaleByYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByHalfYear#1.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByMonth.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetBySeason.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/StaticMethod_GetSheetByYear.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudge/_ROOT_Type_CapacityAndSaleBudge.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_CapacityAndSaleBudgeChartElement/StaticMethod_TestData.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod TestData (
  GlobalOTDTable parent
  GlobalOTDSOP parent
)
{
  Description: '生成测试数据'
@@ -12,7 +12,6 @@
    info( "生成年度产销预算报表测试数据" )
    
    parent.CapacityAndSaleBudgeChartElement( relflush );
    for( sc := 0; sc < 4; sc := sc + 1 ) {
      scenarioName := "SC" + [String]sc;
      for( i := 0; i < 4; i := i + 1 ) {
@@ -20,9 +19,9 @@
        for( j := 1; j <= 12; j := j + 1 ) {
          monthString := "MONTH" + ifexpr( j < 10, "0" + [String]j, [String]j );
          parent.CapacityAndSaleBudgeChartElement( relnew, 
                                                            BusinessTypeOrPlaceOfProductionOfArray := businessTypeString,
                                                            TimeStringAndScenarioName := monthString + " - " + scenarioName,
                                                            Quantity := Real::Random( 20.0, 30.0 ) );
                                                   BusinessTypeOrPlaceOfProductionOfArray := businessTypeString,
                                                   TimeStringAndScenarioName := monthString + " - " + scenarioName,
                                                   Quantity := Real::Random( 20.0, 30.0 ) );
        }
      }
    }
_Main/BL/Type_CapacityAndSaleBudgeChartRow/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String businessType,
  String placeOfProductionOfArray
) as CapacityAndSaleBudgeChartRow
_Main/BL/Type_CapacityAndSaleBudgeCompareItemColumn/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String columnName
) as CapacityAndSaleBudgeCompareItemColumn
{
_Main/BL/Type_CapacityAndSaleBudgeCompareItemRow/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String businessType,
  String placeOfProductionOfArray
) as CapacityAndSaleBudgeCompareItemRow
_Main/BL/Type_CapacityAndSaleBudgeFilterBusinessType/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String value
)
{
_Main/BL/Type_CapacityAndSaleBudgeFilterItem/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String itemName
)
{
_Main/BL/Type_CapacityAndSaleBudgeFilterItem/StaticMethod_Initial.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Initial (
  GlobalOTDTable parent
  GlobalOTDSOP parent
)
{
  Description: '初始化对比项'
_Main/BL/Type_CapacityAndSaleBudgeFilterMonth/StaticMethod_Initial.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Initial (
  GlobalOTDTable parent
  GlobalOTDSOP parent
)
{
  Description: '初始化年份'
_Main/BL/Type_CapacityAndSaleBudgeFilterPlaceOfProductionOfArray/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String value
)
{
_Main/BL/Type_CapacityAndSaleBudgeFilterYear/StaticMethod_Initial.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Initial (
  GlobalOTDTable parent
  GlobalOTDSOP parent
)
{
  Description: '初始化年份'
_Main/BL/Type_CustomerOrder/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "Forecast Finished, Start CustomerOrder Data Broker" );
    //macroPlan.Broker_OTD_CustomerOrder().Execute();
    info( "CustomerOrder Data Broker Finished, Start CustomerOrder Mapping" );
    macroPlan.DoASyncMappingCustomerOrderData( businessTypes,globalOTDTable, organcodelist );
  *]
}
_Main/BL/Type_DMF_CustomLogic/Method_OnFinished.qbl
@@ -28,6 +28,9 @@
    // åˆ›å»ºå¤©é©¬å…¨å±€æ•°æ®é›†
    GlobalOTDTable::OnServerStartup();
    
    // åˆ›å»ºå¤©é©¬SOP全局数据集
    GlobalOTDSOP::OnServerStartup();
    // Create a MemoryOnly-dataset that is used to receive SOAP-calls from the DataManager.
    MDSScenarioManager::CreateMemoryOnlyMDS( ScenarioManager::GetDatasetNameReceiver() );
    
_Main/BL/Type_Forecast/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "OperationCost Finished, Start Forecast Data Broker" );
    //macroPlan.Broker_OTD_Forecast().Execute();
    info( "Forecast Data Broker Finished, Start Forecast Mapping" );
    macroPlan.DoASyncMappingForecastData( businessTypes,globalOTDTable, organcodelist );
  *]
}
_Main/BL/Type_GlobalDTOTable/Method_OnAsyncExecuteFailure_GlobalOTDTable_ProductInLane.qbl
@@ -5,16 +5,5 @@
  String errorMessage
)
{
  TextBody:
  [*
    this.Global_BrokerExecuteLog( relnew,
                                  BrokerName    := "GlobalOTDTable_ProductInLane",
                                  ElementTotal  := 0,
                                  ErrorMessage  := errorMessage,
                                  IsSuccess     := false,
                                  Name          := "产品在车道数据",
                                  ErrorNo       := errorNo,
                                  ErrorDateTime := DateTime::ActualTime().Format( "Y-M-D H2:m:s" )
                                 );
  *]
  TextBody: 'this.SettingFailureDetails( errorNo, errorMessage, "GlobalOTDTable_ProductInLane", "产品在车道数据" );'
}
_Main/BL/Type_GlobalDTOTable/Method_RefreshCapacityAndSaleBudgeFilter.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_GlobalDTOTable/StaticMethod_GetBusnessStrings.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetBusnessStrings (
  const GlobalOTDTable globalOTDTable
) as String
{
  TextBody:
  [*
    // NBoTk Sep-7-2023 (created)
    // èŽ·å–businessType é›†åˆ
    result := "";
    scenarioNameList := construct( structured[String]);
    traverse( globalOTDTable,BusinessType,b)
    {
        scenarioNameList.Add( b.ScenarioName() );
    }
    // å¦‚果存在businessType数据 åˆ™è¿”回 : a,b,c
    if( not isnull( scenarioNameList ) )
    {
        result := scenarioNameList.Concatenate( ";" );
    }
    // æµ‹è¯•数据
    //result := "集团面板;专业显示事业部;外卖CELL;非显;运动健康;运动健康事业部;手机事业部;特种显示;汽车电子事业部;车载显示事业部;IT事业部";
    return result;
  *]
}
_Main/BL/Type_GlobalDTOTable/_ROOT_Type_GlobalOTDTable.qbl
@@ -5,17 +5,5 @@
{
  #keys: '5[414702.0.83354588][414702.0.83354586][0.0.0][414702.0.83354587][414702.0.83354589]'
  BaseType: Object
  OnCreate:
  [*
    this.BusinessType( relnew, BusinessTypeName := "手机事业部OLED" );
    this.BusinessType( relnew, BusinessTypeName := "专业显示事业部" );
    this.BusinessType( relnew, BusinessTypeName := "外卖CELLOLED" );
    this.BusinessType( relnew, BusinessTypeName := "手机事业部" );
    this.BusinessType( relnew, BusinessTypeName := "汽车电子事业部" );
    this.BusinessType( relnew, BusinessTypeName := "特种显示" );
    this.BusinessType( relnew, BusinessTypeName := "运动健康事业部" );
    this.BusinessType( relnew, BusinessTypeName := "车载显示事业部" );
    this.BusinessType( relnew, BusinessTypeName := "IT事业部" );
  *]
  StructuredName: 'GlobalOTDTables'
}
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeChart.qbl
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeCompare.qbl
ÎļþÃû´Ó _Main/BL/Type_GlobalDTOTable/Method_CapacityAndSaleBudgeCompare.qbl ÐÞ¸Ä
@@ -5,7 +5,7 @@
  CapacityAndSaleBudgeFilterItems items,
  CapacityAndSaleBudgeFilterYears years,
  CapacityAndSaleBudgeFilterMonths months,
  GlobalOTDTable otdTable
  const GlobalOTDTable otdTable
)
{
  Description: 'todo : mappingParent改为mpSync, random删了'
@@ -35,7 +35,7 @@
    this.CapacityAndSaleBudgeCompareItemRow( relflush );
    this.CapacityAndSaleBudgeCompareItemColumn( relflush );
    // ====汇总所有出现的产品====
    historyData := selectset( this, Global_MappingAnnualBudgetData, item, true );
    historyData := selectset( otdTable, Global_MappingAnnualBudgetData, item, true );
    debuginfo( "historyData : " + [String]historyData.Size() );
    
    traverse( historyData, Elements, one ) {
@@ -77,14 +77,14 @@
        traverse( months, Elements, month ) {
          columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "面板分配量-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "月-年度预算" );
          traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) {
            cellReal := Global_MappingForecast::GetQuantityByMonth( row.GetProductCodes(), this, DateTime::Now().Year(), month.MonthNo() );
            cellReal := Global_MappingForecast::GetQuantityByMonth( row.GetProductCodes(), otdTable, DateTime::Now().Year(), month.MonthNo() );
            cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal );
            cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
          }
        }
        columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "面板分配量-" + [String]year.YearNo() + "å¹´-total-年度预算" );
        traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) {
          cellReal := Global_MappingForecast::GetQuantityByYear( row.GetProductCodes(), this, year.YearNo() );
          cellReal := Global_MappingForecast::GetQuantityByYear( row.GetProductCodes(), otdTable, year.YearNo() );
          cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal );
          cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
        }
@@ -120,14 +120,14 @@
        traverse( months, Elements, month ) {
          columnMonth := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对外销售额-" + [String]year.YearNo() + "å¹´-" + [String]month.MonthNo() + "月-年度预算" );
          traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) {
            cellReal := Global_MappingAnnualBudgetData::GetSaleByMonth( row.GetProductCodes(), this, year.YearNo(), month.MonthNo() );
            cellReal := Global_MappingAnnualBudgetData::GetSaleByMonth( row.GetProductCodes(), otdTable, year.YearNo(), month.MonthNo() );
            cell := columnMonth.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal );
            cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
          }
        }
        columnYear := CapacityAndSaleBudgeCompareItemColumn::CreateIfNotExist( this, "对外销售额-" + [String]year.YearNo() + "å¹´-年度预算" );
        traverse( this, CapacityAndSaleBudgeCompareItemRow, row ) {
          cellReal := Global_MappingAnnualBudgetData::GetSaleByYear( row.GetProductCodes(), this, year.YearNo() );
          cellReal := Global_MappingAnnualBudgetData::GetSaleByYear( row.GetProductCodes(), otdTable, year.YearNo() );
          cell := columnYear.CapacityAndSaleBudgeCompareItemCell( relnew, CellContent := [String]cellReal );
          cell.CapacityAndSaleBudgeCompareItemRow( relset, row );
        }
_Main/BL/Type_GlobalOTDSOP/Method_CapacityAndSaleBudgeCompareExport.qbl
_Main/BL/Type_GlobalOTDSOP/Method_ReceivingPanelMaterials.qbl
_Main/BL/Type_GlobalOTDSOP/Method_SynchronizeOrders.qbl
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetDatasetName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetDatasetName () as String
{
  TextBody: 'return typeof( GlobalOTDSOP ).ShortName();'
}
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetLoadedDataset.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetLoadedDataset () as owning MDSID
{
  TextBody:
  [*
    mds := null( MDSID, owning );
    folder := '/root';
    datasetName := GlobalOTDSOP::GetDatasetName();
    oinfo := MDSEditor::Editor().LoadedObjectInfo( datasetName, folder, datasetName );
    if(  not isnull( oinfo ) )
    {
      mds := oinfo.MDSID();
    }
    return &mds;
  *]
}
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetOutputVersionData.qbl
ÎļþÃû´Ó _Main/BL/Type_GlobalDTOTable/StaticMethod_GetOutputVersionData.qbl ÐÞ¸Ä
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetOutputVersionData (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  MacroPlan macroplan,
  String businessname
)
@@ -66,6 +66,6 @@
      }
    
    // Send Data To DB
    owner.Broker_OTD_VersionControlToDB().Execute();
    // owner.Broker_OTD_VersionControlToDB().Execute();
  *]
}
_Main/BL/Type_GlobalOTDSOP/StaticMethod_GetVersionData.qbl
ÎļþÃû´Ó _Main/BL/Type_GlobalDTOTable/StaticMethod_GetVersionData.qbl ÐÞ¸Ä
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetVersionData (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businessname
)
{
@@ -17,7 +17,7 @@
    }
    
    // Get Data From DB
    owner.Broker_OTD_VersionControl().Execute();
    //owner.Broker_OTD_VersionControl().Execute();
    
    // Get Data list to deal
    listtodeal := selectset( owner, MappingVersionControl, item, item.DataTo() = businesstype );
_Main/BL/Type_GlobalOTDSOP/StaticMethod_OnServerStartup.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,27 @@
Quintiq file version 2.0
#parent: #root
StaticMethod OnServerStartup
{
  TextBody:
  [*
    debuginfo( '================================ GlobalOTDSOP =======================================')
    folder := DomainModel::Domain().MDSFolderDefinitions().FindFolder( "/root" );
    datasetName := GlobalOTDSOP::GetDatasetName();
    oinfo := MDSEditor::Editor().ObjectInfos( datasetName, folder.FolderID(), datasetName );
    o := select( oinfo, Elements, o, not o.IsLoaded() );
    emptydataset := isnull( o );
    if( emptydataset )
    {
      MDSGlobalOTDSOP::CreateMDS( datasetName, GlobalParameters_MP::GetStorageState() );
      GlobalOTDSOP::GetLoadedDataset();
    }
    else
    {
      MDSGlobalOTDSOP::LoadMDSAndConvert( o.MDSID(), GlobalParameters_MP::GetStorageState() );
    }
  *]
}
_Main/BL/Type_GlobalOTDSOP/StaticMethod_ReceivingPanelMaterials.qbl
ÎļþÃû´Ó _Main/BL/Type_GlobalDTOTable/StaticMethod_ReceivingPanelMaterials.qbl ÐÞ¸Ä
@@ -2,11 +2,11 @@
#parent: #root
StaticMethod ReceivingPanelMaterials (
  NamedValueTree requestnvt
) as stream[NamedValueTree]
)
{
  TextBody:
  [*
    MDSGlobalOTDTable::Find( DatasetFindOptions::Construct("GlobalOTDTable")) -> ( c ) {
    MDSGlobalOTDSOP::Find( DatasetFindOptions::Construct("GlobalOTDSOP")) -> ( c ) {
      return c.ReceivingPanelMaterials( requestnvt );
    }
  *]
_Main/BL/Type_GlobalOTDSOP/StaticMethod_RefreshCapacityAndSaleBudgeFilter.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,29 @@
Quintiq file version 2.0
#parent: #root
StaticMethod RefreshCapacityAndSaleBudgeFilter (
  Boolean deleteBeforeCreate,
  const GlobalOTDTable otdTable,
  GlobalOTDSOP otdSop
)
{
  TextBody:
  [*
    // yypsybs Oct-17-2023 (created)
    if( deleteBeforeCreate ) {
      otdSop.CapacityAndSaleBudgeFilterBusinessType( relflush );
      otdSop.CapacityAndSaleBudgeFilterPlaceOfProductionOfArray( relflush );
    }
    // yypsybs Sep-21-2023 (created)
    debuginfo( "=====RefreshCapacityAndSaleBudgeFilter====" );
    businessTypes := selectuniquevalues( otdTable, Global_MappingAnnualBudgetData, item, item.BusinessType() );
    debuginfo( [String]businessTypes.Size() );
    traverse( businessTypes, Elements, businessType ) {
      CapacityAndSaleBudgeFilterBusinessType::CreateIfNotExist( otdSop, businessType );
    }
    placeOfProductionOfArrays := selectuniquevalues( otdTable, Global_MappingAnnualBudgetData, item, item.OrgCodeFromBom() );
    debuginfo( [String]placeOfProductionOfArrays.Size() );
    traverse( placeOfProductionOfArrays, Elements, placeOfProductionOfArray ) {
      CapacityAndSaleBudgeFilterPlaceOfProductionOfArray::CreateIfNotExist( otdSop, placeOfProductionOfArray );
    }
  *]
}
_Main/BL/Type_GlobalOTDSOP/_ROOT_Type_GlobalOTDSOP.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type GlobalOTDSOP
{
  #keys: '5[414702.1.113455880][414702.1.113455878][0.0.0][414702.1.113455879][414702.1.113455881]'
  BaseType: Object
  StructuredName: 'GlobalOTDSOPs'
}
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInPCSInYear.qbl
@@ -1,15 +1,23 @@
Quintiq file version 2.0
#parent: #root
Method GetCapacityInPCSInYear () as Real
Method GetCapacityInPCSInYear () const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    for( i := 1; i <= 12; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlyModCapacity" + [String]i );
      result := result + [Real]field.GetString( this );
    }
    result := result + [Real]this.MonthlyModCapacity1();
    result := result + [Real]this.MonthlyModCapacity2();
    result := result + [Real]this.MonthlyModCapacity3();
    result := result + [Real]this.MonthlyModCapacity4();
    result := result + [Real]this.MonthlyModCapacity5();
    result := result + [Real]this.MonthlyModCapacity6();
    result := result + [Real]this.MonthlyModCapacity7();
    result := result + [Real]this.MonthlyModCapacity8();
    result := result + [Real]this.MonthlyModCapacity9();
    result := result + [Real]this.MonthlyModCapacity10();
    result := result + [Real]this.MonthlyModCapacity11();
    result := result + [Real]this.MonthlyModCapacity12();
    return result;
  *]
}
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInHalfYear.qbl
@@ -2,17 +2,27 @@
#parent: #root
Method GetCapacityInSheetInHalfYear (
  Number halfNo
) as Real
) const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    fromMonth := 1 + ( halfNo - 1 ) * 6;
    toMonth := 6 + ( halfNo - 1 ) * 6;
    for( i := fromMonth; i <= toMonth; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]i );
      result := result + [Real]field.GetString( this );
    if( halfNo = 1 ) {
      result := result + [Real]this.MonthlySheetCapacity1();
      result := result + [Real]this.MonthlySheetCapacity2();
      result := result + [Real]this.MonthlySheetCapacity3();
      result := result + [Real]this.MonthlySheetCapacity4();
      result := result + [Real]this.MonthlySheetCapacity5();
      result := result + [Real]this.MonthlySheetCapacity6();
    }
    if( halfNo = 2 ) {
      result := result + [Real]this.MonthlySheetCapacity7();
      result := result + [Real]this.MonthlySheetCapacity8();
      result := result + [Real]this.MonthlySheetCapacity9();
      result := result + [Real]this.MonthlySheetCapacity10();
      result := result + [Real]this.MonthlySheetCapacity11();
      result := result + [Real]this.MonthlySheetCapacity12();
    }
    return result;
  *]
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInSeason.qbl
@@ -2,17 +2,31 @@
#parent: #root
Method GetCapacityInSheetInSeason (
  Number seasonNo
) as Real
) const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    fromMonth := 1 + ( seasonNo - 1 ) * 3;
    toMonth := 3 + ( seasonNo - 1 ) * 3;
    for( i := fromMonth; i <= toMonth; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]i );
      result := result + [Real]field.GetString( this );
    if( seasonNo = 1 ) {
      result := result + [Real]this.MonthlySheetCapacity1();
      result := result + [Real]this.MonthlySheetCapacity2();
      result := result + [Real]this.MonthlySheetCapacity3();
    }
    if( seasonNo = 2 ) {
      result := result + [Real]this.MonthlySheetCapacity4();
      result := result + [Real]this.MonthlySheetCapacity5();
      result := result + [Real]this.MonthlySheetCapacity6();
    }
    if( seasonNo = 3 ) {
      result := result + [Real]this.MonthlySheetCapacity7();
      result := result + [Real]this.MonthlySheetCapacity8();
      result := result + [Real]this.MonthlySheetCapacity9();
    }
    if( seasonNo = 4 ) {
      result := result + [Real]this.MonthlySheetCapacity10();
      result := result + [Real]this.MonthlySheetCapacity11();
      result := result + [Real]this.MonthlySheetCapacity12();
    }
    return result;
  *]
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetCapacityInSheetInYear.qbl
@@ -1,15 +1,23 @@
Quintiq file version 2.0
#parent: #root
Method GetCapacityInSheetInYear () as Real
Method GetCapacityInSheetInYear () const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    for( i := 1; i <= 12; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]i );
      result := result + [Real]field.GetString( this );
    }
    result := result + [Real]this.MonthlySheetCapacity1();
    result := result + [Real]this.MonthlySheetCapacity2();
    result := result + [Real]this.MonthlySheetCapacity3();
    result := result + [Real]this.MonthlySheetCapacity4();
    result := result + [Real]this.MonthlySheetCapacity5();
    result := result + [Real]this.MonthlySheetCapacity6();
    result := result + [Real]this.MonthlySheetCapacity7();
    result := result + [Real]this.MonthlySheetCapacity8();
    result := result + [Real]this.MonthlySheetCapacity9();
    result := result + [Real]this.MonthlySheetCapacity10();
    result := result + [Real]this.MonthlySheetCapacity11();
    result := result + [Real]this.MonthlySheetCapacity12();
    return result;
  *]
}
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInHalfYear.qbl
@@ -2,17 +2,27 @@
#parent: #root
Method GetSaleAmountInHalfYear (
  Number halfNo
) as Real
) const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    fromMonth := 1 + ( halfNo - 1 ) * 6;
    toMonth := 6 + ( halfNo - 1 ) * 6;
    for( i := fromMonth; i <= toMonth; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]i );
      result := result + [Real]field.GetString( this );
    if( halfNo = 1 ) {
      result := result + [Real]this.MonthlySales1();
      result := result + [Real]this.MonthlySales2();
      result := result + [Real]this.MonthlySales3();
      result := result + [Real]this.MonthlySales4();
      result := result + [Real]this.MonthlySales5();
      result := result + [Real]this.MonthlySales6();
    }
    if( halfNo = 2 ) {
      result := result + [Real]this.MonthlySales7();
      result := result + [Real]this.MonthlySales8();
      result := result + [Real]this.MonthlySales9();
      result := result + [Real]this.MonthlySales10();
      result := result + [Real]this.MonthlySales11();
      result := result + [Real]this.MonthlySales12();
    }
    return result;
  *]
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInSeason#000.qbl
@@ -2,17 +2,31 @@
#parent: #root
Method GetSaleAmountInSeason (
  Number seasonNo
) as Real
) const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    fromMonth := 1 + ( seasonNo - 1 ) * 3;
    toMonth := 3 + ( seasonNo - 1 ) * 3;
    for( i := fromMonth; i <= toMonth; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]i );
      result := result + [Real]field.GetString( this );
    if( seasonNo = 1 ) {
      result := result + [Real]this.MonthlySales1();
      result := result + [Real]this.MonthlySales2();
      result := result + [Real]this.MonthlySales3();
    }
    if( seasonNo = 2 ) {
      result := result + [Real]this.MonthlySales4();
      result := result + [Real]this.MonthlySales5();
      result := result + [Real]this.MonthlySales6();
    }
    if( seasonNo = 3 ) {
      result := result + [Real]this.MonthlySales7();
      result := result + [Real]this.MonthlySales8();
      result := result + [Real]this.MonthlySales9();
    }
    if( seasonNo = 4 ) {
      result := result + [Real]this.MonthlySales10();
      result := result + [Real]this.MonthlySales11();
      result := result + [Real]this.MonthlySales12();
    }
    return result;
  *]
_Main/BL/Type_Global_MappingAnnualBudgetData/Method_GetSaleAmountInYear.qbl
@@ -1,15 +1,23 @@
Quintiq file version 2.0
#parent: #root
Method GetSaleAmountInYear () as Real
Method GetSaleAmountInYear () const as Real
{
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    result := 0.0;
    for( i := 1; i <= 12; i := i + 1 ) {
      field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]i );
      result := result + [Real]field.GetString( this );
    }
    result := result + [Real]this.MonthlySales1();
    result := result + [Real]this.MonthlySales2();
    result := result + [Real]this.MonthlySales3();
    result := result + [Real]this.MonthlySales4();
    result := result + [Real]this.MonthlySales5();
    result := result + [Real]this.MonthlySales6();
    result := result + [Real]this.MonthlySales7();
    result := result + [Real]this.MonthlySales8();
    result := result + [Real]this.MonthlySales9();
    result := result + [Real]this.MonthlySales10();
    result := result + [Real]this.MonthlySales11();
    result := result + [Real]this.MonthlySales12();
    return result;
  *]
}
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByHalfYear.qbl
@@ -5,7 +5,7 @@
  GlobalOTDTable parent,
  Number yearNo,
  Number halfNo
) as Real
) const as Real
{
  Description: '产能 - å®žæ•°å¤§å¼ '
  TextBody:
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByMonth.qbl
@@ -2,21 +2,100 @@
#parent: #root
StaticMethod GetSaleByMonth (
  Strings productNo,
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  Number yearNo,
  Number monthNo
) as Real
) const as Real
{
  Description: '销售额(W)'
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySales" + [String]monthNo );
    value := sum( parent,
                  Global_MappingAnnualBudgetData,
                  item,
                  item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                  [Real]field.GetString( item ) );
    value := 0.0;
    if( monthNo = 1 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales1() );
    }
    if( monthNo = 2 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales2() );
    }
    if( monthNo = 3 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales3() );
    }
    if( monthNo = 4 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales4() );
    }
    if( monthNo = 5 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales5() );
    }
    if( monthNo = 6 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales6() );
    }
    if( monthNo = 7 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales7() );
    }
    if( monthNo = 8 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales8() );
    }
    if( monthNo = 9 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales9() );
    }
    if( monthNo = 10 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales10() );
    }
    if( monthNo = 11 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales11() );
    }
    if( monthNo = 12 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySales12() );
    }
    return value;
  *]
}
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleBySeason.qbl
@@ -5,7 +5,7 @@
  GlobalOTDTable parent,
  Number yearNo,
  Number seasonNo
) as Real
) const as Real
{
  Description: '产能 - å®žæ•°å¤§å¼ '
  TextBody:
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSaleByYear.qbl
@@ -2,9 +2,9 @@
#parent: #root
StaticMethod GetSaleByYear (
  Strings productNo,
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  Number yearNo
) as Real
) const as Real
{
  Description: '销售额(W)'
  TextBody:
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByHalfYear.qbl
@@ -5,7 +5,7 @@
  GlobalOTDTable parent,
  Number yearNo,
  Number halfNo
) as Real
) const as Real
{
  Description: '产能 - å®žæ•°å¤§å¼ '
  TextBody:
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByMonth.qbl
@@ -5,18 +5,97 @@
  GlobalOTDTable parent,
  Number yearNo,
  Number monthNo
) as Real
) const as Real
{
  Description: '产能-实数大张'
  TextBody:
  [*
    // yypsybs Sep-18-2023 (created)
    field := Reflection::FindAttribute( "Global_MappingAnnualBudgetData", "MonthlySheetCapacity" + [String]monthNo );
    value := sum( parent,
                  Global_MappingAnnualBudgetData,
                  item,
                  item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                  [Real]field.GetString( item ) );
    value := 0.0;
    if( monthNo = 1 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity1() );
    }
    if( monthNo = 2 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity2() );
    }
    if( monthNo = 3 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity3() );
    }
    if( monthNo = 4 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity4() );
    }
    if( monthNo = 5 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity5() );
    }
    if( monthNo = 6 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity6() );
    }
    if( monthNo = 7 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity7() );
    }
    if( monthNo = 8 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity8() );
    }
    if( monthNo = 9 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity9() );
    }
    if( monthNo = 10 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity10() );
    }
    if( monthNo = 11 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity11() );
    }
    if( monthNo = 12 ) {
      value := sum( parent,
                    Global_MappingAnnualBudgetData,
                    item,
                    item.YearNo() = [String]yearNo and productNo.Find( item.ProductID() ) > -1,
                    [Real]item.MonthlySheetCapacity12() );
    }
    return value;
  *]
}
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetBySeason.qbl
@@ -5,7 +5,7 @@
  GlobalOTDTable parent,
  Number yearNo,
  Number seasonNo
) as Real
) const as Real
{
  Description: '产能 - å®žæ•°å¤§å¼ '
  TextBody:
_Main/BL/Type_Global_MappingAnnualBudgetData/StaticMethod_GetSheetByYear.qbl
@@ -4,7 +4,7 @@
  Strings productNo,
  GlobalOTDTable parent,
  Number yearNo
) as Real
) const as Real
{
  Description: '产能 - å®žæ•°å¤§å¼ '
  TextBody:
_Main/BL/Type_Global_MappingForecast/StaticMethod_GetQuantityByMonth.qbl
@@ -2,7 +2,7 @@
#parent: #root
StaticMethod GetQuantityByMonth (
  Strings productCodes,
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  Number yearNo,
  Number monthNo
) as Real
_Main/BL/Type_Global_MappingForecast/StaticMethod_GetQuantityByYear.qbl
@@ -2,11 +2,10 @@
#parent: #root
StaticMethod GetQuantityByYear (
  Strings productCodes,
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  Number yearNo
) as Real
{
  Description: ''
  TextBody:
  [*
    // yypsybs Sep-19-2023 (created)
_Main/BL/Type_Global_MappingOperation/StaticMethod_DoASyncFindMinSeq.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASyncFindMinSeq (
  const GlobalOTDTable globalOTDTable,
  String orgCode,
  String productId,
  String processSection
) as Number
{
  TextBody:
  [*
    // renhao Sep-20-2023 (created)
    return guard (min( globalOTDTable, Global_MappingOperation, item,
                item.OrganCode() = orgCode and item.ProductID() = productId and item.ProcessSection() = processSection,
                item.SequenceNumber() ), Number::MinNumber() );
  *]
}
_Main/BL/Type_Global_MappingOperation/StaticMethod_GetByProductId.qbl
@@ -1,9 +1,9 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByProductId (
  GlobalOTDTable otdTable,
  const GlobalOTDTable otdTable,
  String productId
) as Global_MappingOperation
) as const Global_MappingOperation
{
  TextBody:
  [*
_Main/BL/Type_Global_MappingProduct_MP/StaticMethod_GetByProductId.qbl
@@ -1,9 +1,9 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByProductId (
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  String productId
) as Global_MappingProduct_MP
) as const Global_MappingProduct_MP
{
  Description: '根据料号查记录'
  TextBody:
_Main/BL/Type_Global_MappingProviderCapacity/StaticMethod_GetByProductId.qbl
@@ -1,13 +1,14 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByProductId (
  GlobalOTDTable parent,
  const GlobalOTDTable parent,
  String productId
) as Global_MappingProviderCapacity
) as const Global_MappingProviderCapacity
{
  TextBody:
  [*
    // yypsybs Oct-10-2023 (created)
    return select( parent, Global_MappingProviderCapacity, item, item.ProductID() = productId );
    value := select( parent, Global_MappingProviderCapacity, item, item.ProductID() = productId )
    return value;
  *]
}
_Main/BL/Type_InventoryValueAndCost/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  const GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "ActualPISPIP Finished, Start InventoryCost Data Broker" );
    //macroPlan.Broker_OTD_InventoryCost().Execute();
    info( "InventoryCost Data Broker Finished, Start InventoryCost Mapping" );
    macroPlan.DoASyncMappingInventoryValueAndCostData(globalOTDTable);
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncCreateLog.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncCreateLog (
  GlobalOTDTable globalOTDTable
)
{
  TextBody: 'Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, "DataDistribution", "" );'
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingActualPISPIPData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,55 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingActualPISPIPData (
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Boolean nuclear,
  Strings organcodelist
)
{
  TextBody:
  [*
    // renhao Aug-14-2023 (created)
    listtodeal := selectset( globalOTDTable,
                             Global_MappingActualProductInStockingPointInPeriod,
                             actual,
                             ( actual.ActualInventoryLevelEnd() > 0 ) and
                             ( organcodelist.Find( actual.StockingPointID().SubString( 0, 3 ) ) >= 0 ) );
    totalcount := listtodeal.Size();
    info( "ActualPISPIP has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    traverse( listtodeal,Elements,actual){
      count := count + 1;
      if( count - [Number](count/1000) * 1000 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "ActualPISPIP " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
      product := select( globalOTDTable,Global_MappingProduct_MP,product,product.ID() = actual.ProductID() and product.KeyProduct() = nuclear,true);
      if( not isnull( product)){
      if( not isnull(businessTypes)){
        for( i :=0 ;i < businessTypes.Size();i++ ){
          businessType := businessTypes.Element( i );
          if( product.BusinessType() = businessType and not product.IsCommon()){
            ActualProductInStockingPointInPeriod::CreateOrUpdate( this,
                                                                  actual.ProductID(),
                                                                  actual.StockingPointID(),
                                                                  actual.Description(),
                                                                  actual.ActualInventoryLevelEnd(),
                                                                  actual.ManufacturedDate());
          }
        }
      }else{
        ActualProductInStockingPointInPeriod::CreateOrUpdate( this,
                                                              actual.ProductID(),
                                                              actual.StockingPointID(),
                                                              actual.Description(),
                                                              actual.ActualInventoryLevelEnd(),
                                                              actual.ManufacturedDate());
      }
      }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingBaseConversionFactorData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingBaseConversionFactorData (
  const GlobalOTDTable globalOTDTable
)
{
  Description: 'ETL数据转模型数据'
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    traverse( globalOTDTable, Global_MappingConversionFactor, item ) {
      //如果ProductID不为空,且匹配不到Product,则不创建,返回为空
    //    info( item.ProductId().AsQUILL() );
        BaseConversionFactor::CreateOrUpdate( this,
                                              item.SourceUnitOfMeasureName(),
                                              item.TargetUnitOfMeasureName(),
                                              item.IsEnabled(),
                                              item.ProductID(),
                                              item.Factor() );
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingCustomerOrderData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingCustomerOrderData (
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  Description: 'ETL订单预测'
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    // å¾…处理数据
    listToDeal := construct( Global_MappingCustomOrders, constcontent );
    if( isnull( businessTypes ) or businessTypes.Size() = 0 ) {
        listToDeal := selectset( globalOTDTable, Global_MappingCustomOrder, item, true );
    } else {
        listToDeal := selectset( globalOTDTable,
                                 Global_MappingCustomOrder,
                                 item,
                                 ( businessTypes.Find( item.BusinessType() ) <> -1 ) and
                                 ( organcodelist.Find( item.StockingPointID().SubString( 0, 3 ) ) >= 0 ) );
    }
    queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date();
    queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() );
    listToDeal := selectset( listToDeal, Elements, item, item.OrderDate() >= queryStartDate /*and item.OrderDate() <= queryEndDate*/, not isnull( Product_MP::FindById( this, item.ProductID() ) ) and not isnull( StockingPoint_MP::FindById( this, item.StockingPointID() ) ) and not isnull( SalesSegment_MP::FindByName( this, item.SalesSegmentName() ) ) );
    totalcount := listToDeal.Size();
    info( "CustomerOrder has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    priorityName :="Normal";
    // å¤„理
    traverse( listToDeal, Elements, item ) {
      count := count + 1;
      if( count - [Number](count/100) * 100 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "CustomerOrder " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
    //  if( not isnull( Product_MP::FindById( this, item.ProductID() ) ) ){
    //    info( item.ProductID().AsQUILL() );
      customOrder := CustomerOrder::CreateOrUpdate( this, item.CurrencyID(), item.Customer(), item.CustomerID(), item.ID(),
                                                    item.OrderDate(), item.OrderID(), item.OrderLineID(), item.Price(),
                                                    priorityName, item.ProductID(),
                                                    item.StockingPointID(),
                                                    item.SalesSegmentName(),
                                                    item.Quantity(), item.UnitOfMeasureName(), item.OrderType(), item.IsAvailable());
      customOrder.BusinessType( item.BusinessType() );
      customOrder.OrderType( item.OrderType() );
      customOrder.OrderTime( item.OrderTime() );
      customOrder.ProductGrade( item.ProductGrade() );
      customOrder.SegmentPriority( item.SegmentPriority() );
      customOrder.SheetProfitability( item.SheetProfitability() );
    //  }else{
    //    info( "invaild product: " + item.ProductID().AsQUILL() );
    //    }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingExternalSupplyData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,67 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingExternalSupplyData (
  Strings businessTypes,
  Boolean nuclear,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  TextBody:
  [*
    // renhao Aug-14-2023 (created)
    queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date();
    queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() );
    listtodeal := selectset( globalOTDTable,
                             Global_MappingInventorySupply,
                             externalSupply,
                             ( externalSupply.UserQuantity()>0 ) and
                             ( externalSupply.Date() >= queryStartDate ) and
                             ( organcodelist.Find( externalSupply.StockingPointID().SubString( 0, 3 ) ) >= 0 )/*and externalSupply.Date() <= queryEndDate*/);
    totalcount := listtodeal.Size();
    description := "在途在制";
    info( "ExternalSupply has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    traverse( listtodeal,Elements,externalSupply){
      count := count + 1;
      if( count - [Number](count/1000) * 1000 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "ExternalSupply " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
       }
      product := select( globalOTDTable,Global_MappingProduct_MP,product,product.ID() = externalSupply.ProductID(),true);
      if( not isnull( product)){
        productMP :=  Product_MP :: FindProductTypeIndex( externalSupply.ProductID());
        stockingpoint := select( this,StockingPoint_MP,st,st.ID() = externalSupply.StockingPointID(),true);
        if( not isnull( stockingpoint) and not isnull( productMP)){
        if( not isnull(businessTypes)){
          for( i :=0 ;i < businessTypes.Size();i++ ){
            businessType := businessTypes.Element( i );
            if( product.BusinessType() = businessType and not product.IsCommon()){
              InventorySupply::CreateOrUpdate( externalSupply.ID(),
                                               productMP,
                                               stockingpoint,
                                               externalSupply.Date(),
                                               externalSupply.ManufacturedDate(),
                                               externalSupply.UserQuantity(),description);
            }
          }
        }else{
            InventorySupply::CreateOrUpdate( externalSupply.ID(),
                                           productMP,
                                           stockingpoint,
                                           externalSupply.Date(),
                                           externalSupply.ManufacturedDate(),
                                           externalSupply.UserQuantity(),description);
          }
        }
      }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingForecastData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,50 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingForecastData (
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  Description: 'ETL订单预测'
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    // å¾…处理数据
    listToDeal := construct( Global_MappingForecasts, constcontent );
    if( isnull( businessTypes ) or businessTypes.Size() = 0 ) {
        listToDeal := selectset( globalOTDTable, Global_MappingForecast, item, item.Quantity() > 0 );
    } else {
        listToDeal := selectset( globalOTDTable,
                                 Global_MappingForecast,
                                 item,
                                 ( businessTypes.Find( item.BusinessType() ) <> -1 ) and
                                 ( item.Quantity()>0 ) and
                                 ( organcodelist.Find( item.StockingPointID().SubString( 0, 3 ) ) >= 0 ) );
    }
    queryStartDate := guard( min( this, Period_MP, item, true, item.StartDate() ) - Duration::Days( 30 ), DateTime::MinDateTime() ).Date();
    queryEndDate := guard( max( this, Period_MP, item, true, item.EndDate() ), Date::MaxDate() );
    listToDeal := selectset( listToDeal, Elements, item, item.StartDate() >= queryStartDate and item.EndDate() <= queryEndDate, not isnull( Product_MP::FindById( this, item.ProductID() ) ) and not isnull( StockingPoint_MP::FindById( this, item.StockingPointID() ) ) and not isnull( SalesSegment_MP::FindByName( this, item.SalesSegmentName() ) ) );
    totalcount := listToDeal.Size();
    info( "Forecast has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    priorityName := "Normal";
    // å¤„理
    traverse( listToDeal, Elements, item ) {
      count := count + 1;
      if( count - [Number](count/100) * 100 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "Forecast " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
    //  if( not isnull( Product_MP::FindById( this, item.ProductID() ) ) ){
      Forecast::CreateOrUpdate( this,
                                item.ProductID(), item.SalesSegmentName(), item.StockingPointID(), priorityName,
                                item.CurrencyID(), item.UnitOfMeasureName(),
                                item.ID(), item.StartDate(), item.EndDate(), item.Quantity(), item.Price());
    //  }else{
    //    info( "invaild product" + item.ProductID().AsQUILL() );
    //    }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingInventoryValueAndCostData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,32 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingInventoryValueAndCostData (
  const GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    listtodeal := selectset( globalOTDTable,Global_MappingStockingPointCost,item,true );
    totalcount := listtodeal.Size();
    info( "InventoryCost has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    traverse( listtodeal, Elements, item ) {
        count := count + 1;
        if( count - [Number](count/1000) * 1000 = 0 or count = totalcount ){
          info( "Now is dealing with the " + count.AsQUILL() + "InventoryCost " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
        InventoryValueAndCost::CreateOrUpdate( this, item.ID(), item.ProductID(),
                                                 item.StockingPointID(),
                                                 item.AccountName(), item.CostDriver(), item.Start(), item.Cost());
    //  if( not isnull( Product_MP::FindProductTypeIndex( item.ProductID() ) )  and not isnull( StockingPoint_MP :: FindStockingPointTypeIndex( item.StockingPointID()))){
    //
    //  }else{
    //    info( "invaild product: " + item.ProductID().AsQUILL() );
    //    }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,160 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingOperationBOMData (
  Strings businessTypes,
  Boolean isKeyProduct,
  Boolean createPurchaseSupplyMaterial,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  TextBody:
  [*
    // yypsybs Aug-21-2023 (created)
    keyProductList := construct( Strings );
    if( isKeyProduct ) {
        keyProductList := selectuniquevalues( globalOTDTable, Global_MappingProduct_MP, item, item.ProductMajorType()="成品" or item.ProductMajorType()="半成品", item.ID() );
    }
    bomList := selectsortedset(  globalOTDTable, Global_MappingOperationBOM, item,
                                 ifexpr( isnull( businessTypes ) or businessTypes.Size() = 0,
                                         true,
    //                                     businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0 )
                                         ( businessTypes.Find( item.BusinessType() ) >= 0 ) and
                                         ( organcodelist.Find( item.OrganCode() ) >= 0 ) )
    //                             and ifexpr( isKeyProduct,
    //                                         keyProductList.Size() > 0 and keyProductList.Find( item.ComponentCode() ) >= 0,
    //                                         true )
                                 ,
                                 item.OrganCode() + "_" + item.ProductCode() + "_" + item.ProcessSection() );
    // æŒ‰routing及routingStep分组
    routingIds := selectuniquevalues( bomList, Elements, item, true, item.OrganCode() + "_" + item.ProductCode() );
    traverse( routingIds, Elements, routingId ) {
        routingRows := selectset( bomList, Elements, item, true, routingId = item.OrganCode() + "_" + item.ProductCode() );
        if( routingRows.Size() > 0 ) {
            firstRow := routingRows.Element( 0 );
    //        stockingPointId := firstRow.OrganCode()  + "_" + firstRow.ProductType() + "_Stock";
    //        inputStockingPointId := firstRow.OrganCode()  + "_" + firstRow.ComponentType() + "_Stock";
            stockingPointId := firstRow.OrganCode()  + "_Stock";
            // ========检查========
            product := Product_MP::FindProductTypeIndex( firstRow.ProductCode() );
            if( not isnull( product ) ) {
    //              error( "product : " + firstRow.ProductCode() + " not found" );
              stockingPoint := StockingPoint_MP::FindStockingPointTypeIndex( stockingPointId );
    //          info( stockingPointId.AsQUILL() );
      //        if( isnull( stockingPoint ) ) {
      //            error( "stockingPoint : " + stockingPointId + " not found" );
      //        }
              routing := Routing::FindRoutingTypeIndex(  routingId );
              if( not isnull( routing ) ) {
    //              error( "routing : " + routingId + " not found" );
                // ========处理输出========
                if( not isnull( stockingPoint ) ) {
    //              info( 1 );
                  operationsInLastSteps := Operation::FindFinalOperationsByRoutingId( this, routingId );
                  traverse( operationsInLastSteps, Elements, operationsInLastStep ) {
                      operationsInLastStep.CreateOperationBOM( product, stockingPoint, false, true );
                      operationsInLastStep.GetOperationBOM( product.ID(), stockingPoint.ID(), false ).Quantity( 1 );
                  }
                  // ========分组处理输入========
                }
                if( not isnull( stockingPoint)){
                  if( isKeyProduct){
                      keyRows := selectset( routingRows,Elements,routingrow,keyProductList.Find( routingrow.ComponentCode())>=0);
                      this.DoASyncMappingOperationBOMDataRouting( routing,globalOTDTable,keyRows);
                    }else{
                      this.DoASyncMappingOperationBOMDataRouting( routing,globalOTDTable,routingRows);
                    }
                }
              }
           }
        }
    }
    if( createPurchaseSupplyMaterial ) {
        toCreateBomList := selectuniquevalues( bomList, Elements, item,
                                               item.ComponentType() = "P" and keyProductList.Find( item.ComponentCode())>=0, item.OrganCode() + item.ComponentCode());
        traverse( toCreateBomList, Elements, key ) {
            boms := selectset( bomList, Elements, item, item.ComponentType() = "P" and item.OrganCode() + item.ComponentCode() = key );
            bom := boms.First();
            this.MappingOperationBOMDataSupplyPurchase( bom.OrganCode(), bom.ComponentCode(), bom.ComponentType());
        }
    }
    //
    //keyProductList := construct( Strings );
    //if( isKeyProduct ) {
    //    keyProductList := selectuniquevalues( globalOTDTable, Global_MappingProduct_MP, item, item.ProductMajorType()="成品" or item.ProductMajorType()="半成品", item.ID() );
    //}
    //bomList := selectsortedset(  globalOTDTable, Global_MappingOperationBOM, item,
    //                             ifexpr( isnull( businessTypes ) or businessTypes.Size() = 0,
    //                                     true,
    ////                                     businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0 )
    //                                     businessTypes.Find( item.BusinessType() ) >= 0 )
    ////                             and ifexpr( isKeyProduct,
    ////                                         keyProductList.Size() > 0 and keyProductList.Find( item.ComponentCode() ) >= 0,
    ////                                         true )
    //                             ,
    //                             item.OrganCode() + "_" + item.ProductCode() + "_" + item.ProcessSection() );
    //// æŒ‰routing及routingStep分组
    //routingIds := selectuniquevalues( bomList, Elements, item, true, item.OrganCode() + "_" + item.ProductCode() );
    //traverse( routingIds, Elements, routingId ) {
    //    routingRows := selectset( bomList, Elements, item, true, routingId = item.OrganCode() + "_" + item.ProductCode() );
    //    if( routingRows.Size() > 0 ) {
    //        firstRow := routingRows.Element( 0 );
    ////        stockingPointId := firstRow.OrganCode()  + "_" + firstRow.ProductType() + "_Stock";
    ////        inputStockingPointId := firstRow.OrganCode()  + "_" + firstRow.ComponentType() + "_Stock";
    //        stockingPointId := firstRow.OrganCode()  + "_Stock";
    //
    //        // ========检查========
    //        product := Product_MP::FindProductTypeIndex( firstRow.ProductCode() );
    //        if( not isnull( product ) ) {
    ////              error( "product : " + firstRow.ProductCode() + " not found" );
    //          stockingPoint := StockingPoint_MP::FindStockingPointTypeIndex( stockingPointId );
    //
    ////          info( stockingPointId.AsQUILL() );
    //  //        if( isnull( stockingPoint ) ) {
    //  //            error( "stockingPoint : " + stockingPointId + " not found" );
    //  //        }
    //          routing := Routing::FindRoutingTypeIndex(  routingId );
    //          if( not isnull( routing ) ) {
    ////              error( "routing : " + routingId + " not found" );
    //            // ========处理输出========
    //            if( not isnull( stockingPoint ) ) {
    ////              info( 1 );
    //              operationsInLastSteps := Operation::FindFinalOperationsByRoutingId( this, routingId );
    //              traverse( operationsInLastSteps, Elements, operationsInLastStep ) {
    //                  operationsInLastStep.CreateOperationBOM( product, stockingPoint, false, true );
    //                  operationsInLastStep.GetOperationBOM( product.ID(), stockingPoint.ID(), false ).Quantity( 1 );
    //              }
    //              // ========分组处理输入========
    //
    //            }
    //            if( not isnull( stockingPoint)){
    //              if( isKeyProduct){
    //                  keyRows := selectset( routingRows,Elements,routingrow,keyProductList.Find( routingrow.ComponentCode())>=0);
    //                  this.MappingOperationBOMDataRouting( routing,globalOTDTable,keyRows);
    //                }else{
    //                  this.MappingOperationBOMDataRouting( routing,globalOTDTable,routingRows);
    //                }
    //
    //            }
    //          }
    //       }
    //    }
    //}
    //if( createPurchaseSupplyMaterial ) {
    //    toCreateBomList := selectuniquevalues( bomList, Elements, item,
    //                                           item.ComponentType() = "P", item.OrganCode() + item.ComponentCode());
    //    traverse( toCreateBomList, Elements, key ) {
    //        boms := selectset( bomList, Elements, item, item.ComponentType() = "P" and item.OrganCode() + item.ComponentCode() = key );
    //        bom := boms.First();
    //        this.MappingOperationBOMDataSupplyPurchase( bom.OrganCode(), bom.ComponentCode(), bom.ComponentType());
    //    }
    //}
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMDataRouting.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,102 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingOperationBOMDataRouting (
  Routing routing,
  const GlobalOTDTable globalOTDTable,
  constcontent Global_MappingOperationBOMs routingRows
)
{
  TextBody:
  [*
    // yypsybs Aug-21-2023 (created)
    // æ ¹æ®å·¥è‰ºæ®µæ±‡æ€»å¤„理
    processSections := selectuniquevalues( routingRows, Elements, row, true, row.ProcessSection() );
    traverse( processSections, Elements, processSection ) {
        rows := selectset( routingRows, Elements, row, row.ProcessSection() = processSection );
        firstRow := rows.Element( 0 );
        // æ‰¾orgCode/productId/processSection匹配且sequence最小的一组数据
        minSeq := Global_MappingOperation::DoASyncFindMinSeq( globalOTDTable, firstRow.OrganCode(), firstRow.ProductCode(), processSection );
        routingStepId := processSection + "_" + [String]minSeq;
        // æ‰¾å¯¹åº”routingStep
        routingStep := RoutingStep::FindByName( routing, routingStepId );
        if( not isnull( routingStep ) ) {
    //        error( "routing step : " + routing.ID() + "|" + routingStepId + " not found" );
        // ä»…主料,统一处理
          noAlterRows := selectset( rows, Elements, noAlterRow, noAlterRow.AlternativeMaterialCode() = "" );
          traverse( noAlterRows, Elements, noAlterRow ) {
              traverse( routingStep, Operation, toLink ) {
                  // æ£€æŸ¥ä¸»æ–™
                  component := Product_MP::FindById( this, noAlterRow.ComponentCode() );
                  if( not isnull( component ) ) {
    //                  error( "component : " + noAlterRow.ComponentCode() + " not found" );
                  // è¿žæŽ¥äº§å“ä¸Žoperation
    //              inputStockingPointId := noAlterRow.OrganCode()  + "_" + noAlterRow.ComponentType() + "_Stock";
                  inputStockingPointId := noAlterRow.OrganCode() + "_Stock";
                  stockingPoint := StockingPoint_MP::FindStockingPointTypeIndex( inputStockingPointId);
                  pisp := ProductInStockingPoint_MP::CreateIfNotFound( component, stockingPoint );
                  trash := construct( OperationBOMs );
                  operationBOM := toLink.LinkProduct( component, true, BaseOperationLink::GetGroupID( toLink, true, false ), pisp,
                                                      true, trash );
                  operationBOM.MinQuantityInGroup( 0 );
                  operationBOM.Quantity( noAlterRow.UnitUsageOfComponents() / noAlterRow.ComponentOutputRate() );
                  operationBOM.MaxQuantityInGroup( noAlterRow.UnitUsageOfComponents() / noAlterRow.ComponentOutputRate() );
                  }
              }
          }
          // æ›¿æ¢æ–™ï¼ŒæŒ‰ä¸»æ–™åˆ†ç»„处理
          alterComponentIds := selectuniquevalues( rows, Elements, row, row.AlternativeMaterialCode() <> "", row.ComponentCode() );
          traverse( alterComponentIds, Elements, alterComponentId ) {
              alterRows := selectset( rows, Elements, row, row.ComponentCode() = alterComponentId );
              firstAlterRow := alterRows.Element( 0 );
              // æ£€æŸ¥ä¸»æ–™
              component := Product_MP::FindById( this, firstAlterRow.ComponentCode() );
              if( not isnull( component ) ) {
    //              error( "component : " + firstAlterRow.ComponentCode() + " not found" );
    //          }
                traverse( routingStep, Operation, toLink ) {
                    // è¿žæŽ¥äº§å“ä¸Žoperation
    //                inputStockingPointId := firstAlterRow.OrganCode()  + "_" + firstAlterRow.ComponentType() + "_Stock";
                    inputStockingPointId := firstAlterRow.OrganCode() + "_Stock";
                    stockingPoint := StockingPoint_MP::FindStockingPointTypeIndex( inputStockingPointId);
                    pisp := ProductInStockingPoint_MP::CreateIfNotFound( component, stockingPoint );
                    trash := construct( OperationBOMs );
                    mainBOM := toLink.LinkProduct( component, true, BaseOperationLink::GetGroupID( toLink, true, false ), pisp,
                                                        true, trash );
                    mainBOM.Quantity( firstAlterRow.UnitUsageOfComponents() / firstAlterRow.ComponentOutputRate() );
                    mainBOM.MaxQuantityInGroup( firstAlterRow.UnitUsageOfComponents() / firstAlterRow.ComponentOutputRate() );
                    mainQty := mainBOM.Quantity();
                    Transaction::Transaction().Propagate();
                    // æ·»åŠ è¾…æ–™
                    traverse( alterRows, Elements, alterRow ) {
                        alterProd := Product_MP::FindById( this, alterRow.AlternativeMaterialCode() );
                        if( not isnull( alterProd ) ) {
        //                    error( "alterProd : " + alterRow.AlternativeMaterialCode() + " not found" );
    //                      stockingPointIdAlter := alterRow.OrganCode()  + "_" + alterRow.ComponentType() + "_Stock";
                          stockingPointIdAlter := alterRow.OrganCode() + "_Stock";
                          stockingPointAlter := StockingPoint_MP::FindById( this, stockingPointIdAlter );
                          if( isnull( stockingPointAlter ) ) {
                              error( "stockingPoint : " + stockingPointIdAlter + " not found" );
                          }
                          pispAlter := ProductInStockingPoint_MP::CreateIfNotFound( alterProd, stockingPointAlter );
                          //mainInput := toLink.LastOperationInput();
                          mainInput := select( toLink,OperationInput,operationInut,operationInut.ProductID()=alterRow.ComponentCode());
                          trash := construct( OperationBOMs );
                          if( not isnull( mainInput ) ) {
                              alterBom := mainInput.Operation().LinkPISP( pispAlter, true, mainInput.OperationLinkGroupID(), trash );
                              alterBom.Quantity( mainBOM.MaxQuantityInGroup() * alterRow.AlternativeRate() );
                              alterBom.MaxQuantityInGroup( mainBOM.MaxQuantityInGroup() );
    //                          info( "Quantity" + [String]alterBom.Quantity() )
    //                          info( "MaxQuantityInGroup" + [String]alterBom.MaxQuantityInGroup() )
                              mainQty := mainQty - alterBom.Quantity();
                          }
                      }
                      mainBOM.Quantity( mainQty );
                   }
                }
              }
          }
       }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationCostData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,75 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingOperationCostData (
  const GlobalOTDTable globalOTDTable,
  Strings businesstypes,
  Strings organcodelist
)
{
  Description: 'Get operation cost data from operation mapping'
  TextBody:
  [*
    // Administrator Aug-21-2023 (created)
    // list to deal
    listtodeal := construct( structured[Global_MappingOperation], constcontent );
    if( isnull( businesstypes ) or businesstypes.Size() = 0 ) {
        listtodeal := selectset( globalOTDTable, Global_MappingOperation, item, true );
    } else {
        listtodeal := selectset( globalOTDTable, Global_MappingOperation,
                                 item,
                                 ( businesstypes.Find( item.BusinessType() ) <> -1 ) and
                                 ( organcodelist.Find( item.OrganCode() ) >= 0 ) );
    }
    // Get the list to deal with max sequence number
    listtodealwithmaxsn := construct( structured[Global_MappingOperation], constcontent );
    traverse( listtodeal, Elements, item ){
      maxsn := maxselect( globalOTDTable, Global_MappingOperation,
                          moperation,
                          moperation.OrganCode() = item.OrganCode(),
                          moperation.ProductID() = item.ProductID(),
                          moperation.SequenceNumber() ).SequenceNumber()
      if( item.SequenceNumber() = maxsn ){
          listtodealwithmaxsn.Add( item );
        }
      }
    totalcount := listtodealwithmaxsn.Size();
    info( "OperationCost has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    // Get the operation cost data
    traverse( listtodealwithmaxsn, Elements, item ){
      count := count + 1;
      if( count - [Number](count/1000) * 1000 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "OperationCost " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
      id := item.OrganCode() + "_" + item.ProductID() + "_" + item.ProcessSection()+"_" + [String]item.SequenceNumber();
      if( guard( item.Line(), "" ).Length() > 0 ) {
          id := id + "_" + item.Line();
        }
      operation := Operation::FindOperationTypeIndex( id );
      if(not isnull(operation)){
            account := Account_MP::FindByName( this, "Operating cost" );
            isfromdb := false;
            existoperationcost := OperationCost::FindOperationCostTypeIndex( id );
            if( isnull( existoperationcost ) ){
              connecteditem := select( globalOTDTable,
                                       Global_MappingOperationCost,
                                       moperationcost,
                                       moperationcost.OrgCode() = item.OrganCode(),
                                       moperationcost.ProductID() = item.ProductID() );
              if( not isnull( connecteditem)){
                  cost := connecteditem.Cost();
                  lengthoftime := connecteditem.LengthOfTime();
                  start := connecteditem.Start();
                  timeunit := connecteditem.TimeUnit();
                  OperationCost::Create( id, operation, account, "Volume", start, timeunit, lengthoftime, cost, isfromdb );
                }
              }
      }
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,98 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingOperationData (
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  TextBody:
  [*
    // yypsybs Aug-18-2023 (created)
    // èŽ·å–æœ‰åºçš„å¾…å¤„ç†è®°å½•
    toDealList := construct( Global_MappingOperations, constcontent ) ;
    if( not isnull( businessTypes ) and businessTypes.Size() > 0 ) {
        toDealList := selectsortedset( globalOTDTable, Global_MappingOperation, item,
                                       ( businessTypes.Find( item.BusinessType() ) >= 0 ) and
                                       ( organcodelist.Find( item.OrganCode() ) >= 0 ),
    //                                   businessTypes.Difference( businessTypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0,
                                       item.SequenceNumber() );
    } else {
        toDealList := selectsortedset( globalOTDTable, Global_MappingOperation, item,
                                       true,
                                       item.SequenceNumber() );
    }
    // é€æ¡å¤„理,首次处理时删除steps
    dealtRoutingIds := construct( Strings );
    routingList := construct( Routings );
    traverse( toDealList, Elements, item ) {
        routingId := item.OrganCode() + "_" + item.ProductID();
        unitId := item.OrganCode() + "_" + item.PlantName() + "_" + item.ProcessSection();
        routingStepName := item.ProcessSection() + "_" + [String]item.SequenceNumber();
        operationId := item.OrganCode() + "_" + item.ProductID() + "_" + item.ProcessSection()+"_" + [String]item.SequenceNumber();
    //    info( "========" )
    //    info( "routingId:" + routingId );
    //    info( "unitId:" + unitId );
    //    info( "routingStepName:" + routingStepName );
    //    info( "operationId:" + operationId );
        if( guard( item.Line(), "" ).Length() > 0 ) {
            unitId := unitId + "_" + item.Line();
            operationId := operationId + "_" + item.Line()
        }
        routing := Routing::CreateOrUpdate( this, routingId );
        if( routingList.Find( routing ) < 0 ) {
            routingList.Add( routing );
        }
        // åˆ é™¤steps(units关系、operations也会删除)
        if( dealtRoutingIds.Find( routingId ) < 0 ) {
            toDeleteSteps := selectset( routing, RoutingStep, routingStep, true );
            RoutingStep::Delete( toDeleteSteps );
            dealtRoutingIds.Add( routingId );
        }
        // RoutingStep
        routingStep := RoutingStep::FindByName( routing, routingStepName );
        if( isnull( routingStep ) ) {
            routingStep := RoutingStep::Create( routing, routingStepName, "", true );
        }
        // Unit
        unit := Unit::FindById( this, unitId );
        if( isnull( unit ) ) {
          // UnitOfMeasure
        unitOfMeasure := UnitOfMeasure_MP::FindByName( this, item.UnitOfMeasureName() );
          if( isnull( unitOfMeasure ) ) {
              info( "unit of measure [" + item.UnitOfMeasureName() + "] not found for routing [" + routingId + "]" );
          }
           unit := this.Unit( relnew,
                              ID := unitId, Name := unitId, CapacityType := "Infinite",
                              DefaultGridX := 0, DefaultGridY := 0,
                              IsManuallyConfigured := false,
                              Currency_MP := this.BaseCurrency(), UnitOfMeasure_MP := unitOfMeasure );
        }
        // Operation
        haveMaxQty := item.MaximumQuantity() <> 0.0;
        op := Operation::FindOperationTypeIndex( operationId );
        if( isnull( op)){
          op := Operation::Create( operationId, unit, operationId, routingStep,
                                        Duration::Days( item.UserLeadTime() ), Duration::Zero(), item.ActualCapacity(), false,
                                        [Real]item.MinimumQuantity(), haveMaxQty, guard( [Real]item.MaximumQuantity(), Real::MaxReal() ),
                                        0.0, 0.0, false, true );
        }
    //    ManufactureLTProcessSection::CreateOrUpdate( op );
    }
    info( "========" )
    // éåކrouting,进行link
    lastStep := null( RoutingStep );
    traverse( routingList, Elements.RoutingStep, step ) {
        // åŒå·¥è‰ºè·¯çº¿æ—¶è¿žæŽ¥
        if( not isnull( lastStep ) and lastStep.Routing() = step.Routing() ) {
            toLink := construct( RoutingSteps );
            toLink.Add( lastStep );
            // todo å­˜ç–‘
            step.LinkOperations( toLink );
        }
        lastStep := step;
    }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingProductData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,94 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingProductData (
  Strings businesstypes,
  const GlobalOTDTable globalOTDTable,
  Boolean iskeyproduct
)
{
  Description: 'Method to get needed data from mapping product data'
  TextBody:
  [*
    // Administrator Aug-16-2023 (created)
    // list to deal
    info( "Get list to deal of product" );
    listToDeal := construct( Global_MappingProduct_MPs, constcontent );
    if( isnull( businesstypes ) or businesstypes.Size() = 0 ) {
        if( iskeyproduct = true ){
          listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, item.KeyProduct() = true );
          }
        else{
          listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, true );
          }
    } else {
        if( iskeyproduct = true ){
          listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, item.KeyProduct() = true and businesstypes.Find( item.BusinessType() ) >= 0 );
         }
        else{
          listToDeal := selectset( globalOTDTable, Global_MappingProduct_MP, item, businesstypes.Find( item.BusinessType() ) >= 0 );
        }
    }
    totalcount := listToDeal.Size();
    info( "Product has " + totalcount.AsQUILL() + " rows in total" );
    // Get the root data
    Product_MP::CreateOrUpdate( this,
                                "全部物料产品",
                                "",
                                "全部物料产品",
                                "PCS",
                                "全部物料产品",
                                0.0,false,false
                                );
    count := 0;
    // Get the ProductMajorType list & ProductSubclassType list
    traverse( listToDeal, Elements, item ){
      count := count + 1;
      if( count - [Number](count/100) * 100 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "Product " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
      if( not item.ProductMajorType() = "" ){
        Product_MP::CreateOrUpdate( this,
                                    item.ProductMajorType(),
                                    "全部物料产品",
                                    item.ProductMajorType(),
                                    "PCS",
                                    item.ProductMajorType(),
                                    0.0,false,false
                                    );
      }
      productmajortype := item.ProductMajorType();
      if( productmajortype="" ){
        productmajortype := "全部物料产品";
        }
    //  if( not item.ProductSubclassType() = "" ){
    //    Product_MP::CreateOrUpdate( this,
    //                                item.ProductSubclassType(),
    //                                productmajortype,
    //                                item.ProductSubclassType(),
    //                                "PCS",
    //                                item.ProductSubclassType(),
    //                                0.0,false,false
    //                                );
    //    }
    //  productsubclasstype := item.ProductSubclassType();
    //  if( productsubclasstype="" ){
    //      productsubclasstype := productmajortype;
    //    }
      if( not item.ID() = "" ){
          Product_MP::CreateOrUpdate( this,
                                      item.ID(),
                                      productmajortype,
                                      item.ID(),
                                      item.UnitOfMeasureName(),
                                      item.Name(),
                                      item.ShelfLife(),
                                      item.KeyProduct(),item.IsCommon()
                                      );
        }
      }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingProductInLaneData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingProductInLaneData (
  const GlobalOTDTable globalOTDTable
)
{
  Description: 'Get Product In Line data'
  TextBody:
  [*
    // Administrator Aug-17-2023 (created)
    // list to deal
    listtodeal := selectset( globalOTDTable, Global_MappingProductInLane, item ,true );
    totalcount := listtodeal.Size();
    info( "ProductInLane has " + totalcount.AsQUILL() + " rows in total" );
    count := 0;
    // Create ProductInLane
    traverse( listtodeal, Elements, item ){
      count := count + 1;
      if( count - [Number](count/1000) * 1000 = 0 or count = totalcount ){
        info( "Now is dealing with the " + count.AsQUILL() + "ProductInLane " + "( " + count.AsQUILL() + "/" + totalcount.AsQUILL() + " ) " + (count/totalcount*100).Round( 1 ).AsQUILL() + "%" );
        }
      ProductInLane::CreateOrUpdate( this, item.ProductID(), item.LineID() );
      }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingSalesSegmentData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,60 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingSalesSegmentData (
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable
)
{
  Description: 'ETL销售部门'
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    // å¾…处理数据
    listToDeal := construct( Global_MappingSalesSegment_MPs, constcontent );
    if( isnull( businessTypes ) or businessTypes.Size() = 0 ) {
        listToDeal := selectset( globalOTDTable, Global_MappingSalesSegment_MP, item, true );
    } else {
        listToDeal := selectset( globalOTDTable,
                                 Global_MappingSalesSegment_MP,
                                 item,
                                 businessTypes.Find( item.BusinessType() ) <> -1 );
    }
    //nameList := construct( structured[String] );
    //nameList := selectvalues( listToDeal, Elements, item, true, item.Name() );
    //// æ£€æŸ¥parent
    //traverse( listToDeal, Elements, item, item.ParentName() <> "" ) {
    //    if( nameList.Find( item.ParentName() ) = -1 ) {
    //        error( "sales segment parent not found: " + item.Name().AsQUILL() );
    //    }
    //}
    //// é€å±‚遍历,直至处理完成
    //dealtNameList := construct( structured[String] );
    //while( listToDeal.Size() <> dealtNameList.Size() ) {
    //    traverse( listToDeal, Elements, item ) {
    //        // æœªå¤„理过
    //        if( dealtNameList.Find( item.Name() ) < 0 ){
    //            // æ— çˆ¶éƒ¨é—¨ï¼Œç›´æŽ¥å¤„理
    //            if( item.ParentName() = "" ) {
    //                SalesSegment_MP::CreateOrUpdate( this, item.Name(), item.DisplayIndex(), item.ParentName() );
    //                dealtNameList.Add( item.Name() );
    //            }
    //            // æœ‰çˆ¶éƒ¨é—¨ä¸”父部门已处理
    //            else if( item.ParentName() <> "" and dealtNameList.Find(item.ParentName()) >= 0 ) {
    //                SalesSegment_MP::CreateOrUpdate( this, item.Name(), item.DisplayIndex(), item.ParentName() );
    //                dealtNameList.Add( item.Name() );
    //            }
    //            // æœ‰çˆ¶éƒ¨é—¨ä¸”父部门未处理,下一轮处理
    //        }
    //    }
    //}
    traverse( listToDeal,Elements,item ){
      if( item.ParentName() <> "" and isnull( SalesSegment_MP::FindByName( this, item.ParentName() ) ) ){
        SalesSegment_MP::CreateOrUpdate( this, item.ParentName(), item.DisplayIndex(), "" );
        }
      }
    traverse( listToDeal,Elements,item ){
        SalesSegment_MP::CreateOrUpdate( this, item.Name(), item.DisplayIndex(), item.ParentName() );
      }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingUnitData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,106 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingUnitData (
  Strings businesstypes,
  const GlobalOTDTable globalOTDTable,
  Strings organcodelist
)
{
  Description: 'Get unit data from operation mapping'
  TextBody:
  [*
    // Administrator Aug-21-2023 (created)
    // list to deal
    listtodeal := construct( Global_MappingOperations, constcontent );
    if( isnull( businesstypes ) or businesstypes.Size() = 0 ) {
        listtodeal := selectset( globalOTDTable, Global_MappingOperation, item, true );
    } else {
        listtodeal := selectset( globalOTDTable, Global_MappingOperation, item,
    //                             businesstypes.Difference( businesstypes.Difference( item.BusinessType().Tokenize( ", " ) ) ).Size() > 0
                                 ( businesstypes.Find( item.BusinessType() ) >= 0 ) and
                                 ( organcodelist.Find( item.OrganCode() ) >= 0 )
                                );
    }
    //Set the Default values
    unitofmeasurename := "PCS";
    infinite := "Infinite";
    capacitytype := "Transport quantity";
    // Get the root data
    Unit::CreateOrUpdate( this,
                          "天马集团",
                          "天马集团",
                          "",
                          infinite,
                          unitofmeasurename );
    // Get the sub root data
    Unit::CreateOrUpdate( this,
                          "生产",
                          "生产",
                          "天马集团",
                          infinite,
                          unitofmeasurename );
    supplyunit := Unit::CreateOrUpdate( this,
                          "供应商",
                          "供应商",
                          "天马集团",
                          infinite,
                          unitofmeasurename );
    supplyunit.IsSupplier(true);
    Unit::CreateOrUpdate( this,
                          "整车运输",
                          "整车运输",
                          "天马集团",
                          capacitytype,
                          unitofmeasurename );
    // Get the unit list
    traverse( listtodeal, Elements, item){
      OrgName := item.OrganName();
      if( OrgName = ''){
        OrgName := item.OrganCode();
      }
      //Get the first level unit
      Unit::CreateOrUpdate( this,
                            item.OrganCode(),
                            OrgName,
                            "生产",
                            infinite,
                            unitofmeasurename );
      //Get the second level unit
      secondlevelid := item.OrganCode() + "_" + item.PlantName();
      Unit::CreateOrUpdate( this,
                            secondlevelid,
                            secondlevelid,
                            item.OrganCode(),
                            infinite,
                            unitofmeasurename );
      //Get the third level unit
      thirdlevelid := secondlevelid + "_" + item.ProcessSection();
      Unit::CreateOrUpdate( this,
                            thirdlevelid,
                            thirdlevelid,
                            secondlevelid,
                            "Time",
                            item.UnitOfMeasureName() );
      //Get the last level unit
      if( item.Line()<>"" ){
        lastlevelid := thirdlevelid + "_" + item.Line();
        Unit::CreateOrUpdate( this,
                              lastlevelid,
                              lastlevelid,
                              thirdlevelid,
                              "Time",
                              item.UnitOfMeasureName() );
      }
      }
  *]
}
_Main/BL/Type_MacroPlan/Method_DoASyncMappingUnitOfMeasureData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
#parent: #root
Method DoASyncMappingUnitOfMeasureData (
  const GlobalOTDTable globalotdtable
)
{
  Description: 'ETL数据转模型数据'
  TextBody:
  [*
    // yypsybs Aug-15-2023 (created)
    defaultOld := UnitOfMeasure_MP::FindDefault( this );
    defaultNew := select( globalotdtable, Global_MappingUnitOfMeasure_MP, item, true, item.IsDefault() );
    if( not isnull( defaultOld ) and not isnull( defaultNew )
        and defaultOld.Name() <> defaultNew.Name() ) {
        defaultOld.IsDefault(false);
        //error( "multi default unit of measure" )
    }
    traverse( globalotdtable, Global_MappingUnitOfMeasure_MP, item ) {
        UnitOfMeasure_MP::CreateOrUpdate( this, item.Name(), item.IsDefault() );
    }
  *]
}
_Main/BL/Type_MacroPlan/StaticMethod_DoASync#253.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,166 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  Strings businessTypes,
  Boolean isKeyProduct,
  Boolean createPurchaseSupplyMaterial,
  const GlobalOTDTable globalOTDTable
)
{
  Description: '单次同步'
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    // å¸ç§å’Œå¸ç§æ±‡çއ
    //Currency_MP::CreateCurrencyFromJson( macroPlan, jsonDataRow );
    info( "Prepare to do sync" )
    info( "Get organ code list" )
    organcodelist := selectvalues( globalOTDTable, Global_MappingOperationBOM, bom,true, bom.OrganCode() );
    if( not isnull( businessTypes ) and businessTypes.Size() > 0 ) {
        traverse( businessTypes, Elements, item ) {
            info( "Business type : " + item )
        }
        organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, businessTypes.Find( organ.BusinessType().BusinessTypeName() ) <> -1, organ.OrganCodeName() );
    }
    else{
      if( businessTypes.Size() = 0 ){
        if( not isnull( selectset( globalOTDTable, BusinessType, b, b.BusinessTypeName() = "" ) ) ){
          organcodelist := selectvalues( globalOTDTable, BusinessType.OrganCode, organ, organ.BusinessType().BusinessTypeName() = "", organ.OrganCodeName() );
          }
        }
      }
    if( organcodelist.Size() = 0 ){
      organcodelist := selectvalues( globalOTDTable, Global_MappingOperationBOM, bom,true, bom.OrganCode() );
      }
    info( "KeyProduct : " + [String]isKeyProduct )
    info( "Create purchase supply material : " + [String]createPurchaseSupplyMaterial )
    // åˆå§‹æ¢-0
    info( "Start Initial" );
    macroPlan.InitialUnitAndStockingPoint();
    // å•位-1
    UnitOfMeasure_MP::DoASync( globalOTDTable, macroPlan );
    // é”€å”®éƒ¨é—¨-2
    SalesSegment_MP::DoASync( macroPlan, businessTypes,globalOTDTable );
    // Unit-9
    // ä¸ŽOperation一同处理
    //info( "BaseConversionFactor Finished, Start Operation Data Broker" );
    //macroPlan.Broker_OTD_Operation().Execute();
    info( "Operation Data Broker Finished, Start Unit Mapping" );
    macroPlan.DoASyncMappingUnitData( businessTypes ,globalOTDTable, organcodelist);
    // åº“存点-3
    info( "Sales Segment Finished, Start Get StockingPoint From Api" )
    bodynumber := "2";
    postrequestbody := macroPlan.ApiBuildPostRequestBody( bodynumber );
    address := "api-uat-sgc.tianma.cn";
    url := "/otdService/https/GetStockingPointsInfo";
    port := 443;
    data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody );
    macroPlan.ApiStockingPointData( data );
    // è´§å¸ä¿¡æ¯-4
    info( "Get StockingPoint From Api Finished, Start Get CurrencyInfo From Api" )
    bodynumber := "1";
    postrequestbody := macroPlan.ApiBuildPostRequestBody( bodynumber );
    address := "api-uat-sgc.tianma.cn";
    url := "/otdService/https/GetCurrenciesInfo";
    port := 443;
    data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody );
    macroPlan.ApiCurenciesData( data );
    //货币汇率信息-5
    info( "Get CurrencyInfo From Api Finished, Start Get CurrencyRates From Api" )
    bodynumber := "5";
    postrequestbody := macroPlan.ApiBuildPostRequestBody( bodynumber );
    address := "api-uat-sgc.tianma.cn";
    url := "/otdService/https/GetCurrencyRatesInfo";
    port := 443;
    data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody );
    macroPlan.ApiCurencyRatesData( data );
    // äº§å“ç‰©æ–™-6
    //info( "Get CurrencyRates From Api Finished, Start Product Data Broker" )
    //macroPlan.Broker_OTD_Product().Execute();
    info( "Product Data Broker Finished, Start Product Mapping" );
    //testproduct := construct( Strings );
    macroPlan.DoASyncMappingProductData( businessTypes, globalOTDTable,isKeyProduct );
    //单位转换-7
    BaseConversionFactor::DoASync( macroPlan ,globalOTDTable);
    // å·¥è‰ºè·¯çº¿ + BOM-9
    info( "Unit Finished, Start Operation Mapping" );
    macroPlan.DoASyncMappingOperationData( businessTypes ,globalOTDTable, organcodelist );
    //info( "Operation Finished, Start BOM Data Broker" );
    //macroPlan.Broker_OTD_BOM().Execute();
    info( "BOM Data Broker Finished, Start BOM Mapping" );
    macroPlan.DoASyncMappingOperationBOMData( businessTypes, isKeyProduct, createPurchaseSupplyMaterial,globalOTDTable, organcodelist );
    //车道信息-10
    info( "BOM Finished, Start Get Lanes From Api" );
    bodynumber := "3";
    postrequestbody := macroPlan.ApiBuildPostRequestBody( bodynumber );
    address := "api-uat-sgc.tianma.cn";
    url := "/otdService/https/GetLanesInfo";
    port := 443;
    data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody );
    macroPlan.ApiLanesData( data );
    //车道运输段-11
    info( "Get Lanes From Api Finished, Start Get LaneLegs From Api" );
    bodynumber := "4";
    postrequestbody := macroPlan.ApiBuildPostRequestBody( bodynumber );
    address := "api-uat-sgc.tianma.cn";
    url := "/otdService/https/GetLaneLegsInfo";
    port := 443;
    data := macroPlan.ApiResponesCheck( address, url, port, postrequestbody );
    macroPlan.ApiLaneLegsData( data );
    // ä¾›åº”网络(车道)-12
    //info( "Get Lanelegs From Api Finished, Start ProductInLane Data Broker" );
    //macroPlan.Broker_OTD_ProductInLane().Execute();
    info( "ProductInLane Data Broker Finished, Start ProductInLane Mapping" );
    macroPlan.DoASyncMappingProductInLaneData(globalOTDTable);
    // åœ¨åº“库存数据-13
    //info( "ProductInLane Finished, Start ActualPISPIP Data Broker" );
    //macroPlan.Broker_OTD_ActualPISPIP().Execute();
    info( "ActualPISPIP Data Broker Finished, Start ActualPISPIP Mapping" );
    macroPlan.DoASyncMappingActualPISPIPData( businessTypes, globalOTDTable,isKeyProduct, organcodelist );
    // åœ¨é€”库存-14
    //info( "ActualPISPIP Finished, Start ExternalSupply Data Broker" );
    //macroPlan.Broker_OTD_ExternalSupply().Execute();
    info( "ExternalSupply Data Broker Finished, Start ExternalSupply Mapping" );
    macroPlan.DoASyncMappingExternalSupplyData( businessTypes, isKeyProduct ,globalOTDTable, organcodelist );
    // åº“存成本-15
    InventoryValueAndCost::DoASync( macroPlan,globalOTDTable );
    // todo åˆ¶é€ æˆæœ¬-16
    info( "InventoryCost Finished, Start OperationCost Mapping" );
    macroPlan.DoASyncMappingOperationCostData( globalOTDTable, businessTypes, organcodelist );
    // è®¢å•预测-17
    Forecast::DoASync( macroPlan, businessTypes, globalOTDTable, organcodelist );
    // è®¢å•需求-18
    CustomerOrder::DoASync( macroPlan, businessTypes, globalOTDTable, organcodelist );
    //删除多余报错数据-19
    macroPlan.DeleteSnaityCheck();
    //// todo ä¾›åº”商能力
    //info( "ProviderCapacity::DoSync" )
    //// todo ä¾›åº”商回复
    //info( "ProviderReply::DoSync" )
  *]
}
_Main/BL/Type_MacroPlan/StaticMethod_DoASync#896.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  String businessTypeStr,
  Boolean isKeyProduct,
  Boolean createPurchaseSupplyMaterial,
  const GlobalOTDTable globalOTDTable
)
{
  Description: '单次同步'
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    businessTypes := construct( Strings );
    if( businessTypeStr.Length() > 0 ) {
        businessTypes := businessTypeStr.Tokenize( ',' );
    }
    MacroPlan::DoASync( macroPlan, businessTypes, isKeyProduct, createPurchaseSupplyMaterial ,globalOTDTable);
  *]
}
_Main/BL/Type_MacroPlan/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  Scenario scenario,
  String businessTypeStr,
  Boolean isKeyProduct,
  Boolean createPurchaseSupplyMaterial,
  const GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    info( scenario.DatasetMDSID(), "    äº‹ä¸šéƒ¨ï¼š", businessTypeStr, "    isKeyProduct:", isKeyProduct, "    createPurchaseSupplyMaterial:", createPurchaseSupplyMaterial );
    MDSMacroPlan::Root( scenario.DatasetMDSID() )
    //-> DoASyncCreateLog( globalOTDTable )
    -> MacroPlan::DoASync( businessTypeStr,
                           isKeyProduct,
                           createPurchaseSupplyMaterial,
                           globalOTDTable
                          )
    -> Exception()
    -> MacroPlan::DoASyncOnException( globalOTDTable );
  *]
}
_Main/BL/Type_MacroPlan/StaticMethod_DoASyncOnException.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,13 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASyncOnException (
  Exception exception,
  GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    Global_BrokerExecuteLog::CreateInOperation( globalOTDTable, "DataDistribution", "" );
    globalOTDTable.SettingFailureDetails( exception.ErrorNumber(), exception.Message(), "DataDistribution", "数据分发" );
  *]
}
_Main/BL/Type_MacroPlan/StaticMethod_DoASyncSuccess.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASyncSuccess (
  Void void,
  GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    // hongjli Oct-15-2023 (created)
  *]
}
_Main/BL/Type_ManufactureLTImputation/StaticMethod_CreateOrUpdate.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateOrUpdate (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String orgCode,
  String productId,
  String desc
_Main/BL/Type_ManufactureLTImputation/StaticMethod_Transfer#25.qbl
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Transfer (
  MacroPlan macroPlan,
  GlobalOTDTable parent
  const MacroPlan macroPlan,
  GlobalOTDSOP parent
)
{
  TextBody:
_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate.qbl
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateOrUpdate (
  Operation op,
  GlobalOTDTable parent
  const Operation op,
  GlobalOTDSOP parent
) as ManufactureLTProcessSection
{
  TextBody:
_Main/BL/Type_ManufactureLTProcessSection/StaticMethod_CreateOrUpdate0.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateOrUpdate (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  MacroPlan macroPlan,
  String orgCode,
  String productId,
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_CheckThePrecedingColumn.qbl
@@ -1,14 +1,14 @@
Quintiq file version 2.0
#parent: #root
Method CheckThePrecedingColumn (
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
)
{
  TextBody:
  [*
    traverse ( this, MatAttrSettingAndPlanStrategyDataRow, masapsdr ) {
      itemCode := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "物料编码" );
      targetMatAttrSettingAndPlanStrategy := select( globalOTDTable, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.MatCode() = itemCode.value() );
      targetMatAttrSettingAndPlanStrategy := select( globalOTDSOP, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.MatCode() = itemCode.value() );
      if ( not isnull( targetMatAttrSettingAndPlanStrategy ) ) {
        businessType                      := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "业务类型" ).value();
        nameOfMaterial                    := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "物料名称" ).value();
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_CreateOrUpdateData.qbl
@@ -1,14 +1,14 @@
Quintiq file version 2.0
#parent: #root
Method CreateOrUpdateData (
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
)
{
  TextBody:
  [*
    traverse ( this, MatAttrSettingAndPlanStrategyDataRow, masapsdr ) {
      itemCode := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "物料编码" );
      targetMatAttrSettingAndPlanStrategy := select( globalOTDTable, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.MatCode() = itemCode.value() );
      targetMatAttrSettingAndPlanStrategy := select( globalOTDSOP, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.MatCode() = itemCode.value() );
      if ( not isnull( targetMatAttrSettingAndPlanStrategy ) ) {
        minimumNumberOfDaysInStock     := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "库存最小天数" ).value();
        maximumNumberOfDaysInInventory := select( masapsdr, MatAttrSettingAndPlanStrategyDataCell, tempMASAPSDC, tempMASAPSDC.MatAttrSettingAndPlanStrategyDataColumn().name() = "库存最大天数" ).value();
@@ -122,24 +122,24 @@
          }
        }
        try {
          matAttrSettingAndPlanStrategy := globalOTDTable.MatAttrSettingAndPlanStrategy( relnew,
                                                                                         BusinessType := businessType,
                                                                                         MatCode := createItemCode,
                                                                                         MatName := nameOfMaterial,
                                                                                         MatType := itemClassification,
                                                                                         MatArrivalLT := [Number]LTTimeDays,
    //                                                                                     ProductCount := [Number]numberOfFinishedSKUs,
    //                                                                                     MinProdDeliverLT := [Number]finishedProductDeliveryMinLTDays,
                                                                                         FlagLongTerm := longAndShortCycleLabels,
                                                                                         FlagGeneric := genericSpecialLabels,
    //                                                                                     PlanningStrategyAuto := automaticMaterialPlanningPolicies,
                                                                                         PlanningStrategyCustom := usersManuallySchedulePolicies,
                                                                                         MinimumNumberOfDaysInStock := [Number]minimumNumberOfDaysInStock,
                                                                                         MaximumNumberOfDaysInInventory := [Number]maximumNumberOfDaysInInventory
          matAttrSettingAndPlanStrategy := globalOTDSOP.MatAttrSettingAndPlanStrategy( relnew,
                                                                                       BusinessType := businessType,
                                                                                       MatCode := createItemCode,
                                                                                       MatName := nameOfMaterial,
                                                                                       MatType := itemClassification,
                                                                                       MatArrivalLT := [Number]LTTimeDays,
    //                                                                                   ProductCount := [Number]numberOfFinishedSKUs,
    //                                                                                   MinProdDeliverLT := [Number]finishedProductDeliveryMinLTDays,
                                                                                       FlagLongTerm := longAndShortCycleLabels,
                                                                                       FlagGeneric := genericSpecialLabels,
    //                                                                                   PlanningStrategyAuto := automaticMaterialPlanningPolicies,
                                                                                       PlanningStrategyCustom := usersManuallySchedulePolicies,
                                                                                       MinimumNumberOfDaysInStock := [Number]minimumNumberOfDaysInStock,
                                                                                       MaximumNumberOfDaysInInventory := [Number]maximumNumberOfDaysInInventory
                                                                                        );
          matAttrSettingAndPlanStrategy.UpdateBy( QuintiqUser::CurrentUser().Username() );   
          matAttrSettingAndPlanStrategy.UpdateTime( DateTime::ActualTime() );
          matAttrSettingAndPlanStrategy.SerialNumber( maxselect( globalOTDTable, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.SerialNumber() ).SerialNumber() + 1 );
          matAttrSettingAndPlanStrategy.SerialNumber( maxselect( globalOTDSOP, MatAttrSettingAndPlanStrategy, tempMASAPS, tempMASAPS.SerialNumber() ).SerialNumber() + 1 );
        } onerror {
          error( "库存最小天数或库存最大天数必须为整数:", targetMatAttrSettingAndPlanStrategy.MatCode() );
        }
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_SynchronizeData.qbl
@@ -6,12 +6,12 @@
  [*
    this.VerifyThatTheItemCodeIsNotDuplicated();
    
    globalOTDTable := this.MatAttrSettingAndPlanStrategyInputSource().GlobalOTDTable();
    globalOTDSOP := this.MatAttrSettingAndPlanStrategyInputSource().GlobalOTDSOP();
    
    this.CheckThePrecedingColumn( globalOTDTable );
    this.CheckThePrecedingColumn( globalOTDSOP );
    
    this.CreateOrUpdateData( globalOTDTable );
    this.CreateOrUpdateData( globalOTDSOP );
    
    this.VerificationData( globalOTDTable );
    this.VerificationData( globalOTDSOP );
  *]
}
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/Method_VerificationData.qbl
@@ -1,13 +1,13 @@
Quintiq file version 2.0
#parent: #root
Method VerificationData (
  GlobalOTDTable globalOTDTable
  GlobalOTDSOP globalOTDSOP
)
{
  TextBody:
  [*
    info( "策略个数:", globalOTDTable.MatAttrSettingAndPlanStrategy( relsize ) );
    traverse ( globalOTDTable, MatAttrSettingAndPlanStrategy, masaps ) {
    info( "策略个数:", globalOTDSOP.MatAttrSettingAndPlanStrategy( relsize ) );
    traverse ( globalOTDSOP, MatAttrSettingAndPlanStrategy, masaps ) {
      if ( masaps.PlanningStrategyCustom() <> "安全库存" and masaps.PlanningStrategyCustom() <> "JIT" and masaps.PlanningStrategyCustom() <> "M/A" and
           masaps.PlanningStrategyCustom() <> "PO拉料" and masaps.PlanningStrategyCustom() <> "VMI" ) {
        error( "手动设置策略错误:", masaps.MatCode() );     
_Main/BL/Type_MatAttrSettingAndPlanStrategyDataTable/StaticMethod_export.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Export (
  GlobalOTDTable parent
  GlobalOTDSOP parent
) as String
{
  TextBody:
_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/Method_saveData.qbl
@@ -8,7 +8,7 @@
    if( this.MatAttrSettingAndPlanStrategyDataTable( relsize ) > 0 ) {
      traverse( this, MatAttrSettingAndPlanStrategyDataTable, table ) {
        traverse( table, MatAttrSettingAndPlanStrategyDataRow, row ) {
          MatAttrSettingAndPlanStrategy::Update( this.GlobalOTDTable(), row, this.UserName() );
          MatAttrSettingAndPlanStrategy::Update( this.GlobalOTDSOP(), row, this.UserName() );
        }  
      }  
    }
_Main/BL/Type_MatAttrSettingAndPlanStrategyInputSource/StaticMethod_upload.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Upload (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  String filePath,
  String base64Str,
  String userName
@@ -9,15 +9,15 @@
{
  TextBody:
  [*
    globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relflush );
    globalOTDSOP.MatAttrSettingAndPlanStrategyInputSource( relflush );
    
    fileName := filePath.Tokenize( "\" ).Element( filePath.Tokenize( "\" ).Size() - 1 );
    
    inputSource := globalOTDTable.MatAttrSettingAndPlanStrategyInputSource( relnew,
                                                                            FileName  := fileName,
                                                                            Base64Str := base64Str,
                                                                            IsXlsx    := fileName.EndsWith( "xlsx" ),
                                                                            UserName  := userName );
    inputSource := globalOTDSOP.MatAttrSettingAndPlanStrategyInputSource( relnew,
                                                                          FileName  := fileName,
                                                                          Base64Str := base64Str,
                                                                          IsXlsx    := fileName.EndsWith( "xlsx" ),
                                                                          UserName  := userName );
    
    return inputSource;
  *]
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_CreateIfNotExist.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateIfNotExist (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  Number serialNumber,
  String businessType,
  String matCode,
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_DeleteIfExistByMatCode#526.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DeleteIfExistByMatCode (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  Strings matCode
)
{
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_GetByMatCode.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetByMatCode (
  const GlobalOTDSOP parent,
  String matCode
) as const MatAttrSettingAndPlanStrategy
{
  Description: '获取无法修改的'
  TextBody:
  [*
    // yypsybs Oct-17-2023 (created)
    value := select( parent, MatAttrSettingAndPlanStrategy, item, true, matCode = item.MatCode() );
    return value;
  *]
}
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_SynchronizeInventoryTargets.qbl
@@ -1,13 +1,13 @@
Quintiq file version 2.0
#parent: #root
StaticMethod SynchronizeInventoryTargets (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  MacroPlan macroPlan
)
{
  TextBody:
  [*
    traverse ( globalOTDTable, MatAttrSettingAndPlanStrategy, masaps ) {
    traverse ( globalOTDSOP, MatAttrSettingAndPlanStrategy, masaps ) {
      hasMaxLevel := masaps.MaximumNumberOfDaysInInventory() <> 0;
      product_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = masaps.MatCode() );
      if ( not isnull( product_MP ) ) {
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_deleteIfExistByMatCode.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DeleteIfExistByMatCode (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String matCode
)
{
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_getExistByMatCode.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetExistByMatCode (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  String matCode
) as MatAttrSettingAndPlanStrategy
{
_Main/BL/Type_MatAttrSettingAndPlanningStrategy/StaticMethod_update.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Update (
  GlobalOTDTable parent,
  GlobalOTDSOP parent,
  MatAttrSettingAndPlanStrategyDataRow excelRow,
  String userName
) as MatAttrSettingAndPlanStrategy
_Main/BL/Type_PRData/Method_DoCall.qbl
@@ -1,7 +1,8 @@
Quintiq file version 2.0
#parent: #root
Method DoCall (
  GlobalOTDTable globalData,
  const GlobalOTDTable globalData,
  GlobalOTDSOP otdSop,
  String callBy
) as PRHistoryData
{
@@ -9,7 +10,7 @@
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    result := globalData.PRHistoryData( relnew );
    result := otdSop.PRHistoryData( relnew );
    
    // ç…§æ¬éƒ¨åˆ†
    result.AuthorizationStatus( this.AuthorizationStatus() );
_Main/BL/Type_PRData/Method_PrintCall.qbl
@@ -1,14 +1,15 @@
Quintiq file version 2.0
#parent: #root
Method PrintCall (
  GlobalOTDTable globalData,
  const GlobalOTDTable globalData,
  GlobalOTDSOP otdSop,
  String callBy
) as String
{
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    result := globalData.PRHistoryData( relnew );
    result := otdSop.PRHistoryData( relnew );
    
    // ç…§æ¬éƒ¨åˆ†
    result.AuthorizationStatus( this.AuthorizationStatus() );
_Main/BL/Type_PRData/StaticMethod_DoCall.qbl
@@ -1,7 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoCall (
  GlobalOTDTable globalData,
  const GlobalOTDTable globalData,
  GlobalOTDSOP otdSop,
  PRDatas toCalls,
  String callBy
)
@@ -13,7 +14,7 @@
    nowNo := 1;
    traverse( toCalls, Elements, toCall, toCall.PRReleaseStatus() = "" ) {
      info ( "DoCall " + [String]nowNo + "/" + [String]toCalls.Size() + " PR" );
      toCall.DoCall( globalData, callBy );
      toCall.DoCall( globalData, otdSop, callBy );
      nowNo := nowNo + 1;
    }
  *]
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning#662.qbl
@@ -1,7 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FromSupplyPlanning (
  GlobalOTDTable otdTable,
  const GlobalOTDTable otdTable,
  const GlobalOTDSOP otdSop,
  MacroPlan macroPlan,
  ProductInStockingPointInPeriod pispip,
  String userId
@@ -22,7 +23,9 @@
    mappingOperation := Global_MappingOperation::GetByProductId( otdTable, product.ID() );
    // QID15
    mappingProviderCapacity := Global_MappingProviderCapacity::GetByProductId( otdTable, product.ID() );
    matAttrSetting := MatAttrSettingAndPlanStrategy::GetExistByMatCode( otdTable, product.ID() );
    // ç‰©æ–™æ ‡ç­¾å±žæ€§
    matAttrSetting := MatAttrSettingAndPlanStrategy::GetByMatCode( otdSop, product.ID() )
    
    // æ ¹æ®pispip
    result.MRPCalverNo( ifexpr( pispip.MRPCalverNo() = "", "暂无", pispip.MRPCalverNo() ) );
_Main/BL/Type_PRData/StaticMethod_FromSupplyPlanning.qbl
@@ -1,7 +1,8 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FromSupplyPlanning (
  GlobalOTDTable otdTable,
  const GlobalOTDTable otdTable,
  const GlobalOTDSOP otdSop,
  MacroPlan macroPlan,
  String mrpCalverNo,
  String userId
@@ -18,7 +19,7 @@
    if( isnull( oldRecords ) or oldRecords.Size() = 0 ) {
      pispips := ProductInStockingPointInPeriod::GetByMRPCalverNo( macroPlan, mrpCalverNo );
      traverse( pispips, Elements, item, item.NewSupplyQuantity() > 0 ) {
        PRData::FromSupplyPlanning( otdTable, macroPlan, item, userId );
        PRData::FromSupplyPlanning( otdTable, otdSop, macroPlan, item, userId );
        nowNo := nowNo + 1;
        if( nowNo mod 1000 = 0 ) {
          info( "SupplyPlanning to prData : " + [String]nowNo );
_Main/BL/Type_PRHistoryData/Method_PrintCall.qbl
@@ -7,7 +7,7 @@
  TextBody:
  [*
    // yypsybs Sep-20-2023 (created)
    result := this.GlobalOTDTable().PRHistoryData( relcopy, this );
    result := this.GlobalOTDSOP().PRHistoryData( relcopy, this );
    
    // æ›´æ–°éƒ¨åˆ†
    result.PRDataReleaseDate( Date::Today() );
_Main/BL/Type_PRHistoryData/Method_Recall.qbl
@@ -8,7 +8,7 @@
  TextBody:
  [*
    // yypsybs Sep-11-2023 (created)
    result := this.GlobalOTDTable().PRHistoryData( relcopy, this );
    result := this.GlobalOTDSOP().PRHistoryData( relcopy, this );
    
    // æ›´æ–°éƒ¨åˆ†
    result.PRDataReleaseDate( Date::Today() );
_Main/BL/Type_PRHistoryData/StaticMethod_Export.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Export (
  GlobalOTDTable parent
  GlobalOTDSOP parent
) as String
{
  TextBody:
_Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReceiveDataGeneration (
  GlobalOTDTable globalOTDTable,
  GlobalOTDSOP globalOTDSOP,
  NamedValueTree requestnvt
)
{
@@ -25,15 +25,15 @@
    businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle );
    scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle );
    
    panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() );
    if ( not isnull( panelMaterialAll ) ) {
      panelMaterialAll.Delete();
    }
    panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew,
                                                         ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                         BusinessType := businessTypeNameValue.GetValueAsString(),
                                                         ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                        );
    panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew,
                                                       ReleaseDate  := releaseDateNameValue.GetValueAsString(),
                                                       BusinessType := businessTypeNameValue.GetValueAsString(),
                                                       ScenarioName := scenarioNameNameValue.GetValueAsString()
                                                      );
    
    panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" );
    panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle );
_Main/BL/Type_PriorityResult/StaticMethod_CalculateBracketScore.qbl
@@ -5,7 +5,7 @@
  CustomerOrder customerOrder,
  String businessType,
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable
  const GlobalOTDTable globalOTDTable
) as Real
{
  Description: '计算公式中括号内的数据'
_Main/BL/Type_PriorityResult/StaticMethod_CalculateScore.qbl
@@ -6,7 +6,7 @@
  String businessType,
  MacroPlan macroPlan,
  Real lastScore,
  GlobalOTDTable globalOTDTable
  const GlobalOTDTable globalOTDTable
) as Real
{
  TextBody:
_Main/BL/Type_PriorityResult/StaticMethod_GetDetailsValue.qbl
@@ -4,7 +4,7 @@
  CustomerOrder customerOrder,
  String formula,
  MacroPlan macroPlan,
  GlobalOTDTable globalOTDTable
  const GlobalOTDTable globalOTDTable
) as Real
{
  TextBody:
_Main/BL/Type_SalesSegment_MP/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  MacroPlan macroPlan,
  Strings businessTypes,
  const GlobalOTDTable globalOTDTable
)
{
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "UnitOfMeasure_MP Finished, Start Sales Segment Data Broker" )
    //macroPlan.Broker_OTD_SalesSegment().Execute();
    info( "Sales Segment Data Broker Finished, Start Sales Segment Mapping" )
    macroPlan.DoASyncMappingSalesSegmentData( businessTypes,globalOTDTable );
  *]
}
_Main/BL/Type_UnitOfMeasure_MP/StaticMethod_DoASync.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: #root
StaticMethod DoASync (
  const GlobalOTDTable globalotdtable,
  MacroPlan macroplan
)
{
  Description: '单次同步'
  TextBody:
  [*
    // yypsybs Aug-17-2023 (created)
    //info( "Inital Finished, Start UnitOfMeasure_MP Data Broker" )
    //macroPlan.Broker_OTD_UnitOfMeasure().Execute();
    info( "UnitOfMeasure_MP Data Broker Finished, Start UnitOfMeasure_MP Mapping" )
    macroplan.DoASyncMappingUnitOfMeasureData(globalotdtable);
  *]
}
_Main/BL/Type_VersionControl/StaticMethod_CopyVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CopyVersion (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businessname
) as VersionControl
{
_Main/BL/Type_VersionControl/StaticMethod_Create.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod Create (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businesstype,
  String caltype,
  DateTime createtime,
_Main/BL/Type_VersionControl/StaticMethod_CreateNewSceneVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateNewSceneVersion (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businessname
) as VersionControl
{
_Main/BL/Type_VersionControl/StaticMethod_CreateNewVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateNewVersion (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businessname
) as VersionControl
{
_Main/BL/Type_VersionControl/StaticMethod_FindByFullVersionID.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FindByFullVersionID (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String versionid
) as VersionControl
{
_Main/BL/Type_VersionControl/StaticMethod_FindLatestUpdateVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FindLatestUpdateVersion (
  GlobalOTDTable globalotdtable,
  GlobalOTDSOP globalotdsop,
  String businesstype
) as VersionControl
{
@@ -11,7 +11,7 @@
    // Administrator Sep-13-2023 (created)
    
    // Get the latest version data 
    latestversion := maxselect( globalotdtable,
    latestversion := maxselect( globalotdsop,
                                VersionControl, 
                                version, 
                                version.BusinessType()=businesstype and version.IsReleased()=true, 
_Main/BL/Type_VersionControl/StaticMethod_FindLatestVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FindLatestVersion (
  GlobalOTDTable globalotdtable,
  GlobalOTDSOP globalotdsop,
  String businesstype
) as VersionControl
{
@@ -11,7 +11,7 @@
    // Administrator Sep-13-2023 (created)
    
    // Get the latest version data 
    latestversion := maxselect( globalotdtable,
    latestversion := maxselect( globalotdsop,
                                VersionControl, 
                                version, 
                                version.BusinessType()=businesstype, 
_Main/BL/Type_VersionControl/StaticMethod_FindReleasedVersions.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FindReleasedVersions (
  GlobalOTDTable globalotdtable,
  GlobalOTDSOP globalotdsop,
  String businesstype,
  String versionid
) as owning VersionControls
@@ -12,7 +12,10 @@
    // Administrator Sep-13-2023 (created)
    
    // Get the latest version data 
    latestversion := selectset( globalotdtable, VersionControl, version, version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 );
    latestversion := selectset( globalotdsop,
                                VersionControl,
                                version,
                                version.BusinessType()=businesstype and version.IsReleased()=true and version.VersionID().FindString( versionid, 0 ) = 0 );
    
    return &latestversion;
  *]
_Main/BL/Type_VersionControl/StaticMethod_GetVersionInfo.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetVersionInfo (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businessname
) as owning Strings
{
@@ -9,9 +9,9 @@
  TextBody:
  [*
    // Administrator Sep-13-2023 (created)
    businesstyoe := GlobalOTDTable::GetBusinessTypeName( businessname );
    businesstype := GlobalOTDTable::GetBusinessTypeName( businessname );
    result := construct( Strings );
    rootversion := VersionControl::FindLatestVersion( owner, businesstyoe );
    rootversion := VersionControl::FindLatestVersion( owner, businesstype );
    
    if( not isnull( rootversion ) ){
      result.Add( rootversion.VersionID() );
_Main/BL/Type_VersionControl/StaticMethod_ReleaseNewVersion.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod ReleaseNewVersion (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businesstype
)
{
_Main/BL/Type_VersionStatus/StaticMethod_CreateOrUpdate.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod CreateOrUpdate (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String businesstype,
  String businessname,
  DateTime lastreleasetime,
_Main/BL/Type_VersionStatus/StaticMethod_FindLatestStatus.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod FindLatestStatus (
  GlobalOTDTable globalotdtable,
  GlobalOTDSOP globalotdsop,
  String businesstype
) as VersionStatus
{
@@ -11,7 +11,7 @@
    // Administrator Sep-13-2023 (created)
    
    // Get the latest version data 
    lateststatus := select( globalotdtable, VersionStatus, version, version.BusinessType()=businesstype );
    lateststatus := select( globalotdsop, VersionStatus, version, version.BusinessType()=businesstype );
    
    return lateststatus;
  *]
_Main/BL/Type_VersionStatus/StaticMethod_GetBusinessTypeStatus.qbl
@@ -1,7 +1,7 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GetBusinessTypeStatus (
  GlobalOTDTable owner,
  GlobalOTDSOP owner,
  String rootversionid
)
{
_Main/BL/Type_YuxTest/Attribute_TestBoolean.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/Attribute_TestDate.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/Attribute_TestDateTime.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/Attribute_TestNumber.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/Attribute_TestReal.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/Attribute_TestString.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/StaticMethod_Export.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/StaticMethod_ExportTest#887.qbl
ÎļþÒÑɾ³ý
_Main/BL/Type_YuxTest/_ROOT_Type_YuxTest.qbl
ÎļþÒÑɾ³ý
_Main/UI/MacroPlanner/Component_DialogManufactureLTImputation/Method_New#221.def
@@ -2,7 +2,7 @@
#parent: #root
Method New (
  internal[GUIComponent] parent,
  shadow[GlobalOTDTable] owner
  shadow[GlobalOTDSOP] owner
) as shadow[ManufactureLTImputation] id:Method_DialogManufactureLTImputation_New_221
{
  #keys: '[414384.0.703976688]'
_Main/UI/MacroPlanner/Component_DialogManufactureLTImputation/Method_New.def
@@ -2,7 +2,7 @@
#parent: #root
Method New (
  internal[GUIComponent] parent,
  GlobalOTDTable owner
  GlobalOTDSOP owner
) as ManufactureLTImputation id:Method_DialogManufactureLTImputation_New
{
  #keys: '[414384.0.703976686]'
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupScenarioSelection.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component ActionBarGroupScenarioSelection #extension
{
  Children:
  [
    #child: PanelScenarioSelection
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageScenarioSelection.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component ActionBarPageScenarioSelection #extension
{
  Children:
  [
    #child: ActionBarGroupScenarioSelection
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_PanelScenarioSelection.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
Quintiq file version 2.0
Component PanelScenarioSelection #extension
{
  Children:
  [
    Component DropDownListScenario id:DropDownListScenario_886 #extension
    {
      Children:
      [
        Component DataExtractorScenarios id:DataExtractorScenarios_484 #extension
        {
          Properties:
          [
            FilterArguments: 'availablescenarios:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderAvailableScenarios'
            FixedFilter: 'object.IsLoaded() and not object.IsDeleted() and availablescenarios.Find( object ) >= 0'
          ]
        }
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_DataHolderCurrentUser_OnDataChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,33 @@
Quintiq file version 2.0
#parent: DataHolderCurrentUser
Response OnDataChanged () id:Response_TIANMA_JITUAN_ApplicationMacroPlanner_DataHolderCurrentUser_OnDataChanged
{
  #keys: '[414702.1.131671499]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      user := QuintiqUser::CurrentUser();
      scenarionodes := construct( ScenarioNodes );
      if( user.IsAdministrator()
          or not exists( ScenarioManager, ScenarioNode.ScenarioAuthorization, sa, true ) )
      {
        scenarionodes := selectset( ScenarioManager, ScenarioNode, scenarionode, true );
      }
      else
      {
        scenarionodes := selectset( ScenarioManager, ScenarioNode, scenarionode,
                                    guard( scenarionode.astype( ScenarioFolder ).IsRecycleBin(), false )
                                    or scenarionode.CreatedBy().ToUpper() = user.ShortName().ToUpper()
                                    or exists( scenarionode, ScenarioAuthorization, sa,
                                               user.IsMemberOfGroup( sa.Name() ) ) );
      }
      DataHolderAvailableScenarios.Data( &scenarionodes );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
@@ -14,6 +14,7 @@
        #child: applicationDevelopmentActionBarPageDef_1
        #child: ActionBarPagePlan
        #child: ActionBarPageInventory
        #child: ActionBarPageScenarioSelection
      ]
    }
    Component DataHolderCapacityAndSaleBudgeFilterItem
@@ -66,5 +67,18 @@
        Taborder: 44
      ]
    }
    Component DataHolderAvailableScenarios
    {
      #keys: '[414702.1.131690403]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[ScenarioNode]*'
      Properties:
      [
        Taborder: 45
      ]
    }
    Component DataHolderCurrentUser #extension
    {
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Method_New.def
@@ -5,7 +5,7 @@
  #keys: '[414702.0.375317354]'
  Body:
  [*
    capacityAllocationResultsRuleConfiguration := GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relshadow );
    capacityAllocationResultsRuleConfiguration := GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relshadow );
    
    DataHolderDialogData.Data( &capacityAllocationResultsRuleConfiguration );
    
_Main/UI/MacroPlannerWebApp/Component_DialogCapacityAllocationResultsRuleConfiguration/Response_pnlActions_btnOk_OnClick.def
@@ -12,20 +12,20 @@
      
      data := DataHolderDialogData.Data().WrappedInstance();
      if ( isnull( data ) ) {
        GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew,
                                                                   PanelMaterialCode  := efPanelMaterialCode.Text(),
                                                                   ModuleMaterialCode := efModuleMaterialCode.Text(),
                                                                   Division           := efDivision.Text(),
                                                                   StockingPointID    := efStockingPointID.Text()
                                                                  );
        GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew,
                                                                 PanelMaterialCode  := efPanelMaterialCode.Text(),
                                                                 ModuleMaterialCode := efModuleMaterialCode.Text(),
                                                                 Division           := efDivision.Text(),
                                                                 StockingPointID    := efStockingPointID.Text()
                                                                );
      } else {
        data.Delete();
        GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew,
                                                                   PanelMaterialCode  := efPanelMaterialCode.Text(),
                                                                   ModuleMaterialCode := efModuleMaterialCode.Text(),
                                                                   Division           := efDivision.Text(),
                                                                   StockingPointID    := efStockingPointID.Text()
                                                                  );
        GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew,
                                                                 PanelMaterialCode  := efPanelMaterialCode.Text(),
                                                                 ModuleMaterialCode := efModuleMaterialCode.Text(),
                                                                 Division           := efDivision.Text(),
                                                                 StockingPointID    := efStockingPointID.Text()
                                                                );
      }
      
      
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditIssueWorkOrder/Component_pnlContent.def
@@ -77,8 +77,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'WorkOrderType'
          ]
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditIssueWorkOrder/Response_pnlContent_ddlWorkOrderType_OnCreated.def
@@ -10,11 +10,11 @@
    Body:
    [*
      if ( not isnull( DataHolderDialogData.Data() ) ) {
        targetWorkOrderType := select( GlobalOTDTable, WorkOrderType, tempWOT, tempWOT.TypeName() = DataHolderDialogData.Data().WorkOrderType() );
        targetWorkOrderType := select( GlobalOTDSOP, WorkOrderType, tempWOT, tempWOT.TypeName() = DataHolderDialogData.Data().WorkOrderType() );
        if ( not isnull( targetWorkOrderType ) ) {
          this.Data( targetWorkOrderType );
        } else {
          this.Data( select( GlobalOTDTable, WorkOrderType, tempWOT, true ) );
          this.Data( select( GlobalOTDSOP, WorkOrderType, tempWOT, true ) );
        }
      }
    *]
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditScenario/Method_OnOk.def
@@ -19,13 +19,14 @@
    
    // New version
    globalotdtable := GlobalOTDTable;
    globalotdsop := GlobalOTDSOP;
    testbusinesstype := "集团";
    if( data.IsCreateNewVersion() ){
      VersionControl::CreateNewSceneVersion( globalotdtable, testbusinesstype );
      VersionControl::CreateNewSceneVersion( globalotdsop, testbusinesstype );
      }else{
        VersionControl::CopyVersion( globalotdtable, testbusinesstype );
        VersionControl::CopyVersion( globalotdsop, testbusinesstype );
        }
    versionname := VersionControl::GetVersionInfo( globalotdtable, testbusinesstype ).Element( 3 );
    versionname := VersionControl::GetVersionInfo( globalotdsop, testbusinesstype ).Element( 3 );
    
    // Get Version Name
    if( data.Name() = "" ){
@@ -33,10 +34,11 @@
      }
    
    // Get Business Type from Scenario Name
    businesstype := select( globalotdtable,
                            BusinessType,
                            b,
                            b.ScenarioName()=data.ScenarioName() ).BusinessTypeName();
    businesstype := guard( select( globalotdtable,
                                   BusinessType,
                                   b,
                                   b.ScenarioName()=data.ScenarioName() ).BusinessTypeName(),
                           "" );
    data.BusinessType( businesstype );
    
    // Copy scenario
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditWorkOrderType/Method_NewWorkOrderType.def
@@ -7,7 +7,7 @@
  #keys: '[414702.0.145493830]'
  Body:
  [*
    workOrderType := GlobalOTDTable.WorkOrderType( relshadow );
    workOrderType := GlobalOTDSOP.WorkOrderType( relshadow );
    
    DataHolderForm.Data( formWorkOrderType );
    
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditWorkOrderType/Response_pnlActions_btnOk_OnClick.def
@@ -12,8 +12,8 @@
    id := efID.Text();
    typeName := efTypeName.Text();
    
    idExists := exists( GlobalOTDTable, WorkOrderType, tempWOT, tempWOT.ID() = id and tempWOT.ID() <> data.ID() );
    typeNameExists := exists( GlobalOTDTable, WorkOrderType, tempWOT, tempWOT.TypeName() = typeName and tempWOT.TypeName() <> data.TypeName() );
    idExists := exists( GlobalOTDSOP, WorkOrderType, tempWOT, tempWOT.ID() = id and tempWOT.ID() <> data.ID() );
    typeNameExists := exists( GlobalOTDSOP, WorkOrderType, tempWOT, tempWOT.TypeName() = typeName and tempWOT.TypeName() <> data.TypeName() );
    
    if ( idExists or typeNameExists ) {
      feedback := "ID或类型名称重复";
@@ -35,7 +35,7 @@
      data := DataHolderDialogData.Data();
      workOrderType := data.WrappedInstance();
      if ( isnull( workOrderType ) ) {
        GlobalOTDTable.WorkOrderType( relnew, ID := data.ID(), TypeName := data.TypeName() );
        GlobalOTDSOP.WorkOrderType( relnew, ID := data.ID(), TypeName := data.TypeName() );
      } else {
        workOrderType.ID( data.ID() );
        workOrderType.TypeName( data.TypeName() );
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Component_pnlActions.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,40 @@
Quintiq file version 2.0
Component pnlActions
{
  #keys: '[414702.1.84941726]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btnOk
    {
      #keys: '[414702.1.84941730]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'OK'
        Taborder: 0
      ]
    }
    Component btnCancel
    {
      #keys: '[414702.1.84941732]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Cancel'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Border: true
    ExcludeFromActiveComponent: true
    FixedSize: true
    Orientation: 'horizontal'
    Padding: 'true'
    Style: 'footer'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Component_pnlContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
Quintiq file version 2.0
Component pnlContent
{
  #keys: '[414702.1.84941724]'
  BaseType: 'WebPanel'
  Children:
  [
    Component dropDownStringListGeneral id:dropDownStringListGeneral_549
    {
      #keys: '[414702.1.87540205]'
      BaseType: 'WebDropDownStringList'
      Properties:
      [
        AllowEmpty: true
        DataBinding: 'DataHolderScenario.Data.ScenarioName'
        Label: 'Scenario Name'
        Taborder: 0
      ]
    }
    Component checkboxIsKeyProduct id:checkboxIsKeyProduct_593
    {
      #keys: '[414702.1.87540263]'
      BaseType: 'WebCheckbox'
      Properties:
      [
        DataBinding: 'DataHolderScenario.Data.IsKeyProduct'
        Label: 'S&OP'
        Taborder: 1
      ]
    }
    Component checkboxCreatePurchaseSupplyProduct id:checkboxCreatePurchaseSupplyProduct_102
    {
      #keys: '[414702.1.84942148]'
      BaseType: 'WebCheckbox'
      Properties:
      [
        DataBinding: 'DataHolderScenario.Data.CreatePurchaseSupplyMaterial'
        Label: 'CreatePurchase'
        Taborder: 2
      ]
    }
    Component CheckboxIsCreateNewVersion id:CheckboxIsCreateNewVersion_653
    {
      #keys: '[414702.1.84942205]'
      BaseType: 'WebCheckbox'
      Properties:
      [
        Label: 'Create a new version'
        Taborder: 3
      ]
    }
  ]
  Properties:
  [
    Padding: 'true'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Method_DataDistribution.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: #root
Method DataDistribution (
  Scenario scenario
) id:Method_DialogDataDistribution_DataDistribution
{
  #keys: '[414702.1.87530593]'
  Body:
  [*
    DataHolderScenario.Data( scenario );
    dropDownStringListGeneral.Strings( GlobalOTDTable::GetBusnessStrings( GlobalOTDTable ) );
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Response_pnlActions_btnCancel_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: pnlActions/btnCancel
Response OnClick () id:Response_pnlActions_btnCancel_OnClick
{
  #keys: '[414702.1.84941736]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.Close();
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/Response_pnlActions_btnOk_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,30 @@
Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[414702.1.84941735]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      Form.ApplyChanges();
      businessType := select( GlobalOTDTable,
                              BusinessType,
                              b,
                              b.ScenarioName() = dropDownStringListGeneral.Text()
                             );
      //Global_BrokerExecuteLog::CreateInOperation( GlobalOTDTable, "DataDistribution", ApplicationMacroPlanner.GetUserName() );
      MacroPlan::DoASync( DataHolderScenario.Data(),
                          businessType.BusinessTypeName(),
                          checkboxIsKeyProduct.Checked(),
                          checkboxCreatePurchaseSupplyProduct.Checked(),
                          GlobalOTDTable );
      Form.Close();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogDataDistribution/_ROOT_Component_DialogDataDistribution.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,33 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent DialogDataDistribution
{
  #keys: '[414702.1.84941722]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pnlContent
    #child: pnlActions
    Component DataHolderScenario
    {
      #keys: '[414702.1.89308159]'
      BaseType: 'WebDataHolder'
      Databinding: 'Scenario'
      Properties:
      [
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    EnterButton: 'btnOk'
    EscapeButton: 'btnCancel'
    ExcludeFromActiveComponent: true
    Image: 'CAKE2'
    Padding: 'false'
    Title: '数据分发'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlActions_btnOk_OnClick.def
@@ -15,7 +15,7 @@
      Form.ApplyChanges();
      try {
        macroPlan := ExternalMDSEditor::MacroPlan( ddlSelectVersion.Data().DatasetName() ).AsMacroPlan();
        GlobalOTDTable.SynchronizeOrders( macroPlan );
        GlobalOTDSOP.SynchronizeOrders( macroPlan );
      
        Form.Close();
      
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblAutomotiveElectronics_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblIT_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblMaterialVehicle_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblSpecializedDisplay_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblSportsHealth_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTM17_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTM18_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_DialogFusionData/Response_pnlReceiveDatas_lblTianHua_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "无数据" ) );
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuCall_OnClick.def
@@ -19,10 +19,10 @@
      productIdsOver14Days := PRData::ProductIdOver14Days( selection );
      if( productIdsOver14Days <> "" ) {
        if( WebMessageBox::Question( "该批次中的物料号" + productIdsOver14Days + "订单应该在2周后释放,请确认是否现在释放?(已释放的将被跳过)" ) = 0 ) {
          PRData::DoCall( GlobalOTDTable, selection, ApplicationMacroPlanner.GetUserName() );
          PRData::DoCall( GlobalOTDTable, GlobalOTDSOP, selection, ApplicationMacroPlanner.GetUserName() );
        }
      } else if( WebMessageBox::Question( "是否发送选中的数据?(已释放的将被跳过)" ) = 0 ) {
        PRData::DoCall( GlobalOTDTable, selection, ApplicationMacroPlanner.GetUserName() );
        PRData::DoCall( GlobalOTDTable, GlobalOTDSOP, selection, ApplicationMacroPlanner.GetUserName() );
      }
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_ListPRData_844_MenuPrintRequest_OnClick#623.def
@@ -12,7 +12,7 @@
  {
    Body:
    [*
      info( selection.PrintCall( GlobalOTDTable, ApplicationMacroPlanner.GetUserName() ) )
      info( selection.PrintCall( GlobalOTDTable, GlobalOTDSOP, ApplicationMacroPlanner.GetUserName() ) )
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_PanelPRDataButton_ButtonLoad_OnClick.def
@@ -14,7 +14,7 @@
    Body:
    [*
      MacroPlan.PRData( relflush );
      PRData::FromSupplyPlanning( GlobalOTDTable, MacroPlan, "", ApplicationMacroPlanner.GetUserName() );
      PRData::FromSupplyPlanning( GlobalOTDTable, GlobalOTDSOP, MacroPlan, "", ApplicationMacroPlanner.GetUserName() );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_Form633/Response_PanelPRDataButton_ButtonSendPR_OnClick.def
@@ -16,10 +16,10 @@
      productIdsOver14Days := PRData::ProductIdOver14Days( DataHolderChecked.Data() );
      if( productIdsOver14Days <> "" ) {
        if( WebMessageBox::Question( "该批次中的物料号" + productIdsOver14Days + "订单应该在2周后释放,请确认是否现在释放?(已释放的将被跳过)" ) = 0 ) {
          PRData::DoCall( GlobalOTDTable, DataHolderChecked.Data(), ApplicationMacroPlanner.GetUserName() );
          PRData::DoCall( GlobalOTDTable, GlobalOTDSOP, DataHolderChecked.Data(), ApplicationMacroPlanner.GetUserName() );
        }
      } else if( WebMessageBox::Question( "是否发送选中的数据?(已释放的将被跳过)" ) = 0 ) {
        PRData::DoCall( GlobalOTDTable, DataHolderChecked.Data(), ApplicationMacroPlanner.GetUserName() );
        PRData::DoCall( GlobalOTDTable, GlobalOTDSOP, DataHolderChecked.Data(), ApplicationMacroPlanner.GetUserName() );
      }
    *]
    GroupServerCalls: false
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResults/Response_PanelCapacityAllocationResults_ButtonGenerateCapacityAllocationR#39.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      CapacityAllocationResults::CreateDate( GlobalOTDTable, MacroPlan, DataHolderActiveScenario.Data() );
      CapacityAllocationResults::CreateDate( GlobalOTDSOP, MacroPlan, DataHolderActiveScenario.Data() );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Component_ListCapacityAllocationResultsRuleConfiguration.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAllocationResultsRuleConfiguration'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_ListCapacityAllocationResultsRuleConfiguration_MenuGenerateByPeggin.def
@@ -16,7 +16,7 @@
  {
    Body:
    [*
      CapacityAllocationResults::Test1( MacroPlan, GlobalOTDTable, selection );
      CapacityAllocationResults::Test1( MacroPlan, GlobalOTDSOP, selection );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_PanelImportAndExport_Export_OnClick.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      Application.Download( "产能分配结果规则.xlsx", CapacityAllocationResultsRuleConfiguration::Export( GlobalOTDTable ).AsBinaryData() );
      Application.Download( "产能分配结果规则.xlsx", CapacityAllocationResultsRuleConfiguration::Export( GlobalOTDSOP ).AsBinaryData() );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAllocationResultsRuleConfiguration/Response_PanelImportAndExport_Import_OnClick.def
@@ -16,7 +16,7 @@
          
          fileName := uploadJson.Get( "name" ).GetString();
          base64String := uploadJson.Get( "data" ).GetString();
          CapacityAllocationResultsRuleConfiguration::Import( GlobalOTDTable, base64String );
          CapacityAllocationResultsRuleConfiguration::Import( GlobalOTDSOP, base64String );
          
          WebMessageBox::Success( "上传成功", true );
        }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Component_ListCapacityAndSaleBudge.def
@@ -38,6 +38,6 @@
  ]
  Properties:
  [
    Taborder: 3
    Taborder: 2
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Response_ButtonExportTest_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/Response_ButtonGenerateTestData_OnClick.def
@@ -15,10 +15,10 @@
    [*
      GlobalOTDTable.InitTestDataByYear( MacroPlan, DataHolderCapacityAndSaleBudgeFilterYear.Data() );
      Global_MappingAnnualBudgetData::SetOrgCodeFromForecast( GlobalOTDTable );
      GlobalOTDTable.RefreshCapacityAndSaleBudgeFilter( true );
      CapacityAndSaleBudgeFilterItem::Initial( GlobalOTDTable );
      CapacityAndSaleBudgeFilterYear::Initial( GlobalOTDTable );
      CapacityAndSaleBudgeFilterMonth::Initial( GlobalOTDTable );
      GlobalOTDSOP::RefreshCapacityAndSaleBudgeFilter( true, GlobalOTDTable, GlobalOTDSOP );
      CapacityAndSaleBudgeFilterItem::Initial( GlobalOTDSOP );
      CapacityAndSaleBudgeFilterYear::Initial( GlobalOTDSOP );
      CapacityAndSaleBudgeFilterMonth::Initial( GlobalOTDSOP );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudge/_ROOT_Component_FormCapacityAndSaleBudge.def
@@ -19,18 +19,6 @@
        Taborder: 1
      ]
    }
    Component ButtonExportTest
    {
      #keys: '[414384.0.914711826]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'EXPORT1'
        Label: '导出测试'
        Taborder: 2
        Visible: false
      ]
    }
    Component ButtonGenerateTestData
    {
      #keys: '[414384.0.971540693]'
@@ -38,7 +26,7 @@
      Properties:
      [
        Image: 'IMPORT1'
        Label: '根据筛选月份生成测试数据'
        Label: '根据筛选年份生成测试数据'
        Taborder: 0
      ]
    }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeChart/Component_ChartCapacityAndSaleBudgeChart.def
@@ -17,8 +17,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'CapacityAndSaleBudgeChartElement'
          ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeChart/Response_ButtonCapacityAndSaleBudgeChartTest_OnClick.def
@@ -12,15 +12,15 @@
    [*
      //CapacityAndSaleBudgeChartElement::TestData( GlobalOTDTable );
      
      GlobalOTDTable.CapacityAndSaleBudgeChart( DataHolderMacroPlansForScenarioComparison.Data(),
                                                DropDownSaleOrCapacity.Text(),
                                                DropDownTimeGroup.Text(),
                                                DropDownByBusinessTypeOrByOrgCode.Text(),
                                                DataHolderCapacityAndSaleBudgeFilterBusinessType.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterPlaceOfProductionOfArray.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterYear.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterMonth.Data(),
                                                GlobalOTDTable );
      GlobalOTDSOP.CapacityAndSaleBudgeChart( DataHolderMacroPlansForScenarioComparison.Data(),
                                              DropDownSaleOrCapacity.Text(),
                                              DropDownTimeGroup.Text(),
                                              DropDownByBusinessTypeOrByOrgCode.Text(),
                                              DataHolderCapacityAndSaleBudgeFilterBusinessType.Data(),
                                              DataHolderCapacityAndSaleBudgeFilterPlaceOfProductionOfArray.Data(),
                                              DataHolderCapacityAndSaleBudgeFilterYear.Data(),
                                              DataHolderCapacityAndSaleBudgeFilterMonth.Data(),
                                              GlobalOTDTable );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Component_MatrixEditorCapacityAndSaleBudgeCompare.def
@@ -17,8 +17,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'CapacityAndSaleBudgeCompareItemColumn.CapacityAndSaleBudgeCompareItemCell'
          ]
@@ -44,8 +44,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'CapacityAndSaleBudgeCompareItemRow'
          ]
@@ -70,8 +70,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'CapacityAndSaleBudgeCompareItemColumn'
          ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Response_ButtonCapacityAndSaleBudgeCompare_OnClick.def
@@ -14,11 +14,11 @@
      info( DataHolderCapacityAndSaleBudgeFilterItem.Data().Size() );
      info( DataHolderCapacityAndSaleBudgeFilterYear.Data().Size() );
      info( DataHolderCapacityAndSaleBudgeFilterMonth.Data().Size() );
      GlobalOTDTable.CapacityAndSaleBudgeCompare( DataHolderMacroPlansForScenarioComparison.Data(),
                                                  DataHolderCapacityAndSaleBudgeFilterItem.Data(),
                                                  DataHolderCapacityAndSaleBudgeFilterYear.Data(),
                                                  DataHolderCapacityAndSaleBudgeFilterMonth.Data(),
                                                  GlobalOTDTable );
      GlobalOTDSOP.CapacityAndSaleBudgeCompare( DataHolderMacroPlansForScenarioComparison.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterItem.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterYear.Data(),
                                                DataHolderCapacityAndSaleBudgeFilterMonth.Data(),
                                                GlobalOTDTable );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeCompare/Response_ButtonExportCompare_OnClick.def
@@ -13,8 +13,7 @@
  {
    Body:
    [*
      tableBinaryData := GlobalOTDTable.CapacityAndSaleBudgeCompareExport().AsBinaryData();
      Application.Download( "年度产销预算对比.xlsx", tableBinaryData );
      Application.Download( "年度产销预算对比.xlsx", GlobalOTDSOP.CapacityAndSaleBudgeCompareExport().AsBinaryData() );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterBusinessType/Component_ListCapacityAndSaleBudgeFilterBusinessType.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAndSaleBudgeFilterBusinessType'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterBusinessType/Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnClick.def
@@ -10,7 +10,7 @@
  {
    Body:
    [*
      GlobalOTDTable.RefreshCapacityAndSaleBudgeFilter( true );
      GlobalOTDSOP::RefreshCapacityAndSaleBudgeFilter( true, GlobalOTDTable, GlobalOTDSOP );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterItem/Component_ListCapacityAndSaleBudgeFilterItem.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAndSaleBudgeFilterItem'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterMonth/Component_ListCapacityAndSaleBudgeFilterMonth.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAndSaleBudgeFilterMonth'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterPlaceOfProductionOfArray/Component_ListCapacityAndSaleBudgeFilterPlaceOfProductionOfArray.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAndSaleBudgeFilterPlaceOfProductionOfArray'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterPlaceOfProductionOfArray/Response_listContextMenuCapacityAndSaleBudgeFilterYear_1_MenuRefresh_OnC#663.def
@@ -10,7 +10,7 @@
  {
    Body:
    [*
      GlobalOTDTable.RefreshCapacityAndSaleBudgeFilter( true );
      GlobalOTDSOP::RefreshCapacityAndSaleBudgeFilter( true, GlobalOTDTable, GlobalOTDSOP );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormCapacityAndSaleBudgeFilterYear/Component_ListCapacityAndSaleBudgeFilterYear.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'CapacityAndSaleBudgeFilterYear'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormIT/Component_ListPanelMaterialIT.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialIT'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormIT/Response_DataHolderPanelIT_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormIT/Response_DataHolderPanelIT_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Component_listContextMenuInterfaceTest.def
@@ -13,7 +13,7 @@
      [
        Image: 'VIEW'
        Taborder: 3
        Title: '显示数据'
        Title: '测试'
      ]
    }
    Component MenuDelete
_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_ListInterfaceTest_MenuCreateShowData_OnClick.def
@@ -27,6 +27,7 @@
      //GlobalOTDTable.Global_ShowCell( relflush );
      //
      //Global_ShowCell::ShowData( GlobalOTDTable, selection );
      WebMessageBox::Information( "此按钮用于测试", true );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormManufactureLT/Component_ListManufactureLT#943.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'ManufactureLTImputation'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormManufactureLT/Response_ButtonLoad_OnClick#417.def
@@ -13,7 +13,7 @@
  {
    Body:
    [*
      ManufactureLTImputation::Transfer( MacroPlan, GlobalOTDTable );
      ManufactureLTImputation::Transfer( MacroPlan, GlobalOTDSOP );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Component_ListMaterialMaterialLabelingAndPlanningStrategy#880.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'MatAttrSettingAndPlanStrategy'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Response_PanelMaterialExportAndImport_136_ButtonMaterialExportAndImport_OnCl.def
@@ -22,7 +22,7 @@
          
          fileName := uploadJson.Get( "name" ).GetString();
          base64String := uploadJson.Get( "data" ).GetString();
          matAttrSettingAndPlanStrategyInputSource := MatAttrSettingAndPlanStrategyInputSource::Upload( GlobalOTDTable, fileName, base64String, ApplicationMacroPlanner.GetUserName() );
          matAttrSettingAndPlanStrategyInputSource := MatAttrSettingAndPlanStrategyInputSource::Upload( GlobalOTDSOP, fileName, base64String, ApplicationMacroPlanner.GetUserName() );
          
          matAttrSettingAndPlanStrategyInputSource.ParseTable();
          
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/Response_PanelMaterialExportAndImport_136_ButtonSynchronizeInventoryTargets_.def
@@ -19,7 +19,7 @@
  {
    Body:
    [*
      MatAttrSettingAndPlanStrategy::SynchronizeInventoryTargets( GlobalOTDTable, MacroPlan );
      MatAttrSettingAndPlanStrategy::SynchronizeInventoryTargets( GlobalOTDSOP, MacroPlan );
      
      WebMessageBox::Success( "库存目标同步成功", true );
    *]
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Component_ListPRHistoryData#844.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PRHistoryData'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPRHistoryData/Response_PanelPRHistoryButton_ButtonExportPRHistory_OnClick.def
@@ -13,7 +13,7 @@
  {
    Body:
    [*
      Application.Download( "PRHistoryData.xlsx", PRHistoryData::Export( GlobalOTDTable ) );
      Application.Download( "PRHistoryData.xlsx", PRHistoryData::Export( GlobalOTDSOP ) );
    *]
    GroupServerCalls: false
  }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Component_ListPanelMaterialAutomotiveElectronics.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialAutomotiveElectronics'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Response_DataHolderPanelAutomotiveElectronics_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialAutomotiveElectronics/Response_DataHolderPanelAutomotiveElectronics_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车电子" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Component_ListPanelMaterialSpecializedDisplay.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialSpecializedDisplay'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Response_DataHolderPanelSpecializedDisplay_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSpecializedDisplay/Response_DataHolderPanelSpecializedDisplay_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "专显" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Component_ListPanelMaterialSportsHealth.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialSportsHealth'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Response_DataHolderPanelSportsHealth_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialSportsHealth/Response_DataHolderPanelSportsHealth_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "运动健康" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Component_ListPanelMaterialTM.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialTM17'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Response_DataHolderPanelTM17_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM17/Response_DataHolderPanelTM17_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Component_ListPanelMaterialTM.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialTM18'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Response_DataHolderPanelTM18_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTM18/Response_DataHolderPanelTM18_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Component_ListPanelMaterialTianHua.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialTianHua'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Response_DataHolderPanelTianHua_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialTianHua/Response_DataHolderPanelTianHua_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天华" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Component_ListPanelMaterialVehicle.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'PanelMaterialAll.PanelMaterialVehicle'
      ]
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Response_DataHolderPanelMaterialVehicle_OnCreated.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormPanelMaterialVehicle/Response_DataHolderPanelMaterialVehicle_OnDataChanged.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" );
      if ( not isnull( targetPanelMaterialAll ) ) {
        this.Data( targetPanelMaterialAll );
      }
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Component_ListScenario.def
@@ -110,9 +110,33 @@
                Taborder: 21
              ]
            }
            Component MenuScenarioDataDistribution
            {
              #keys: '[414702.1.89337672]'
              BaseType: 'WebMenu'
              Properties:
              [
                Image: 'CABINET_FLASH'
                Taborder: 22
                Title: '数据分发'
              ]
            }
          ]
        }
      ]
      Properties:
      [
        FilterArguments: 'availablescenarios:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderAvailableScenarios'
        FixedFilter: 'availablescenarios.Find( object ) >= 0'
      ]
    }
    Component DataExtractorScenario #extension
    {
      Properties:
      [
        FilterArguments: 'availablescenarios:QLibMacroPlannerWebUI::ApplicationMacroPlanner.DataHolderAvailableScenarios'
        FixedFilter: 'availablescenarios.Find( object ) >= 0'
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_ListScenario_MenuEdit_OnClick.def
@@ -17,8 +17,7 @@
    [*
      // Edit scenario
      dlg := construct( DialogCreateEditScenario );
      dlg.dropDownStringListGeneral().Visible( selection.EnableSync() );
      dlg.dropDownStringListGeneral().Strings( ScenarioManager::AvailableScenarioNames( GlobalOTDTable ) );
      dlg.DropDownListGeneral().Visible( selection.EnableSync() );
      dlg.checkboxIsKeyProduct().Visible( selection.EnableSync() );
      dlg.checkboxCreatePurchaseSupplyProduct().Visible( selection.EnableSync() );
      
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuRelaeaseNewVersion_OnClick.def
@@ -18,12 +18,12 @@
    Body:
    [*
      // Copy scenario
      owner := GlobalOTDTable;
      owner := GlobalOTDSOP;
      macroplan := MacroPlan;
      testbusinesstype := "集团";
      
      VersionControl::ReleaseNewVersion( owner, testbusinesstype );
      GlobalOTDTable::GetOutputVersionData( owner, macroplan, testbusinesstype );
      GlobalOTDSOP::GetOutputVersionData( owner, macroplan, testbusinesstype );
      selection.SetReleased();
      
      versionname := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 3 );
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuSaveNewVersion_OnClick.def
@@ -18,7 +18,7 @@
    Body:
    [*
      // Copy scenario
      owner := GlobalOTDTable;
      owner := GlobalOTDSOP;
      macroplan := MacroPlan;
      testbusinesstype := "集团";
      
_Main/UI/MacroPlannerWebApp/Component_FormScenarioManager/Response_TIANMA_JITUAN_ListScenario_MenuScenarioDataDistribution_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
Quintiq file version 2.0
#parent: ListScenario
Response OnClick (
  Scenario selection
) id:Response_ListScenario_MenuScenarioDataDistribution_OnClick
{
  #keys: '[414702.1.89410379]'
  CanBindMultiple: false
  DefinitionID => /ListScenario/Responsedef_ListScenario_WebMenu_OnClick
  Initiator: 'MenuScenarioDataDistribution'
  QuillAction
  {
    Body:
    [*
      dlg := construct( DialogDataDistribution );
      dlg.DataDistribution( selection );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderCopy_OnClick.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      owner := GlobalOTDTable;
      owner := GlobalOTDSOP;
      testbusinesstype := "集团";
      rootversionid := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 2 );
      dlg := construct( DialogVersionIDCopy );
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderFresh_OnClick.def
@@ -9,7 +9,7 @@
  {
    Body:
    [*
      owner := GlobalOTDTable;
      owner := GlobalOTDSOP;
      testbusinesstype := "集团";
      //GlobalOTDTable::GetVersionData( owner, testbusinesstype );
      rootversionid := VersionControl::GetVersionInfo( owner, testbusinesstype ).Element( 0 );
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/Response_PanelVersionOfSOPHeader_ButtonVersionOfSOPHeaderRelease_OnClick.def
@@ -10,7 +10,7 @@
  {
    Body:
    [*
      owner := GlobalOTDTable;
      owner := GlobalOTDSOP;
      macroplan := MacroPlan;
      testbusinesstype := "集团";
      
_Main/UI/MacroPlannerWebApp/Component_FormVersionOfSOP/_ROOT_Component_FormVersionOfSOP.def
@@ -21,8 +21,8 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'GlobalOTDTable'
            Source: 'GlobalOTDTable'
            DataType: 'GlobalOTDSOP'
            Source: 'GlobalOTDSOP'
            Taborder: 0
            Transformation: 'VersionStatus'
          ]
_Main/UI/MacroPlannerWebApp/Component_FormWorkOrderType/Component_ListWorkOrderType.def
@@ -11,8 +11,8 @@
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        DataType: 'GlobalOTDSOP'
        Source: 'GlobalOTDSOP'
        Taborder: 0
        Transformation: 'WorkOrderType'
      ]
_var/_Main/ProjSettings/MacroPlanner/ColSch/Global.cs
@@ -95,293 +95,293 @@
    ColorSchemeChartEntry
    {
      Definition: 'CurrencyRates'
      ChartEntryValue { Access: 738805.577453704 Color: '$B22900' Value: 'HUF' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2004D' Value: '港元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B2A6' Value: '黎巴嫩镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$AFE572' Value: '乌兹别克斯坦苏姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0B00B2' Value: '圭亚那元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E58B' Value: '苏丹第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$729CE5' Value: '托拉尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E572CC' Value: '津巴布韦元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6AFE00' Value: '格查尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E5CE' Value: '菲律宾比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5A872' Value: 'TRY' }
      ChartEntryValue { Access: 738805.577453704 Color: '$981E4D' Value: '第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$003FFF' Value: 'DKK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B2B0' Value: '阿曼里亚尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FEA54C' Value: '巴波亚' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6BB235' Value: '智利比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$98824C' Value: 'ZAR' }
      ChartEntryValue { Access: 738805.577453704 Color: '$144ECB' Value: '巴西雷阿尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B23542' Value: '塔拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E572DF' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 17 (E.U.A.-17)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFE6A' Value: '摩尔多瓦列伊' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00B282' Value: '也门第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7B4C98' Value: '墨西哥比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A000B2' Value: '斯里兰卡卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4C6A' Value: '债券市场单位 - æ¬§æ´²è´§å¸åˆæˆå•位 (EURCO)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7C35B2' Value: 'CFA æ³•郎 BEAC' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984C89' Value: 'CHF' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6A4CFE' Value: '澳门元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B28635' Value: '喜名' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5C472' Value: '加纳塞迪(旧)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB5178' Value: '卢旺达法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5BFE4C' Value: '安道尔比塞塔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E1FE4C' Value: '巴巴多斯元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$8200B2' Value: 'EEK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFED2' Value: '阿富汗尼' }
      ChartEntryValue { Access: 738805.577453704 Color: '$754C98' Value: '元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$981E94' Value: '西班牙比塞塔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C9862' Value: '刚果法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$143FCB' Value: '可兑换比塞塔帐户' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6E4C98' Value: 'CNY' }
      ChartEntryValue { Access: 738805.577453704 Color: '$63984C' Value: '摩洛哥迪拉姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DE583' Value: '尼泊尔卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5742D' Value: '拉里' }
      ChartEntryValue { Access: 738805.577453704 Color: '$70984C' Value: 'Uruguary Peso en Unidades Indexadas' }
      ChartEntryValue { Access: 738805.577453704 Color: '$69984C' Value: '塞尔维亚第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFEE1' Value: '约旦第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$411E98' Value: '新加坡元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E52D8F' Value: '北朝鲜元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$52E52D' Value: '新谢克尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E9822' Value: '乌吉亚' }
      ChartEntryValue { Access: 738805.577453704 Color: '$20B200' Value: '苏克雷' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CBA114' Value: '马来西亚林吉特' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE3F00' Value: '可兑换马克' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E6198' Value: '布隆迪法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E582' Value: '苏里南元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$988E4C' Value: '塞舌尔卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72A6E5' Value: '新南斯拉夫第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14CB36' Value: '钯' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C8998' Value: '新索尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B4FE4C' Value: '利比里亚元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00FE7F' Value: '普拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CDE52D' Value: '新宽扎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00B256' Value: 'KRW' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14CB26' Value: '文莱元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5196CB' Value: '马达加斯加阿里亚里' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B23800' Value: '金' }
      ChartEntryValue { Access: 738805.577453704 Color: '$F04CFE' Value: '澳大拉西亚' }
      ChartEntryValue { Access: 738805.577453704 Color: '$372DE5' Value: '特殊结算币种 - é‡‘法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DE592' Value: '图格里克' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B267' Value: '里兰吉尼' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FF00BF' Value: 'PHP' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2005C' Value: 'RON' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B23595' Value: '东加勒比元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E6C98' Value: '达拉西' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CCE572' Value: 'JPY' }
      ChartEntryValue { Access: 738805.577453704 Color: '$78CB51' Value: 'USD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7F00FF' Value: 'PLN' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE007F' Value: '克鲁扎多' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E5C4' Value: 'NOK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E5798' Value: '新台币' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2AF00' Value: 'HKD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C9868' Value: '萨尔瓦多科郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E57289' Value: '福林' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B12DE5' Value: '比利时法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51ABCB' Value: '南斯拉夫第纳尔(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7135B2' Value: '阿鲁巴岛盾' }
      ChartEntryValue { Access: 738805.577453704 Color: '$3FFE00' Value: '克鲁恩' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2900B2' Value: '加拿大元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE00AA' Value: '古德' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2C1E98' Value: '荷属安的列斯群岛盾' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4CF0' Value: '银' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0079B2' Value: '荷兰盾' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6ECB51' Value: '阿塞拜疆马奈特(旧)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$359FB2' Value: '统计' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7CCB14' Value: '牙买加元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C6398' Value: 'INR' }
      ChartEntryValue { Access: 738805.577453704 Color: '$BFCB51' Value: '奈拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B5CB51' Value: '卢森堡法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B29B35' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 9 (E.U.A.-9)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$D2FE4C' Value: '阿塞拜疆马奈特' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51CB9B' Value: '瑞典克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$8A981E' Value: '丹麦克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C9895' Value: 'SEK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$63CB51' Value: '努尔特鲁姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A872E5' Value: '卡尔伯瓦聂兹' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4C5B' Value: '美元(次日)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2FB200' Value: 'MYR' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C5D98' Value: '委内瑞拉博利瓦' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB14B9' Value: '列克' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C9098' Value: '纳克法' }
      ChartEntryValue { Access: 738805.577453704 Color: '$8635B2' Value: '先令' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FEFE00' Value: '克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A551CB' Value: 'Euro' }
      ChartEntryValue { Access: 738805.577453704 Color: '$54FE00' Value: '白俄罗斯卢布' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00FE6A' Value: '保加利亚列弗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0000FE' Value: '克罗地亚第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$8BCB14' Value: '特殊结算币种 - UIC æ³•郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$97B200' Value: '几内亚比绍比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E52D9F' Value: '马达加斯加法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$824C98' Value: '苏里南盾' }
      ChartEntryValue { Access: 738805.577453704 Color: '$61E52D' Value: '缅元(已废弃)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0002B2' Value: 'THB' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFE5B' Value: '扎伊尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2359F' Value: '直布罗陀镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB518C' Value: '巴哈马元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$794CFE' Value: '债券市场单位 - æ¬§æ´²è´§å¸å•位 (E.M.U.-6)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B25600' Value: 'CFP æ³•郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2002F' Value: '几内亚法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$9E72E5' Value: 'Unidades de formento' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A22DE5' Value: '利昂' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2A635' Value: '宽札' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB149B' Value: '科摩罗法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C986E' Value: '乌干达先令(作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14CBB0' Value: '瓜拉尼' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE0094' Value: '索莫尼' }
      ChartEntryValue { Access: 738805.577453704 Color: '$981E39' Value: '乌拉圭比索(1)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFE4C' Value: '白俄罗斯卢布(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$AF00B2' Value: '津巴布韦元(不再使用)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$874CFE' Value: '印地' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB7251' Value: '瑞尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E9874' Value: '马纳特(不再使用)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E578' Value: '玛纳特' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6735B2' Value: 'WIR æ¬§å…ƒ' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4C87' Value: '埃及镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984B1E' Value: '德国马克' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E987E' Value: '新土耳其里拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$80B235' Value: '盾' }
      ChartEntryValue { Access: 738805.577453704 Color: '$88B200' Value: '科多巴币' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFEC3' Value: '爱尔兰镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB5182' Value: '挪威克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B23537' Value: '阿拉伯联合酋长国迪拉姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB7C51' Value: '梅迪卡尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5D02D' Value: '多米尼加比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0088B2' Value: 'RUB' }
      ChartEntryValue { Access: 738805.577453704 Color: '$80981E' Value: '伯利兹元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2D43E5' Value: '东帝汶埃库多' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1A00B2' Value: '斯洛伐克克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5B172' Value: '克瓦查' }
      ChartEntryValue { Access: 738805.577453704 Color: '$24981E' Value: '铂' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B951CB' Value: '欧洲货币单位 (E.C.U.)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$005CB2' Value: '加纳塞迪' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00E9FE' Value: '哥斯达黎加科郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51A1CB' Value: '瑞士法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: 'Red' Value: 'EUR' }
      ChartEntryValue { Access: 738805.577453704 Color: '$964CFE' Value: '克瓦查(1)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6314CB' Value: '拉菲亚' }
      ChartEntryValue { Access: 738805.577453704 Color: '$BF00FE' Value: '洛蒂' }
      ChartEntryValue { Access: 738805.577453704 Color: '$3542B2' Value: '立陶宛里塔斯' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B248' Value: '新扎伊尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E57280' Value: '所罗门群岛元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14C8CB' Value: '无币种' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00BFFE' Value: '索姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2E981E' Value: '兹罗提(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B23580' Value: '拉脱维亚卢布' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984C76' Value: '列弗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72AFE5' Value: 'NZD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C87FE' Value: '日圆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E5D8' Value: '塔卡' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB142F' Value: '俄罗斯卢布(旧币)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4CE1' Value: '克罗地亚库纳' }
      ChartEntryValue { Access: 738805.577453704 Color: '$985F1E' Value: '土耳其里拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E172E5' Value: 'GBP' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51CB90' Value: '佛得角埃斯库多' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4CFE' Value: '阿尔及利亚第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5642D' Value: '伊朗里亚尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$354CB2' Value: 'Mexican Unidad de Inversion (UDI)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A900FE' Value: '拉脱维亚拉特' }
      ChartEntryValue { Access: 738805.577453704 Color: '$76B235' Value: '阿富汗尼(旧)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51CBA5' Value: '美提卡(旧)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B24700' Value: '吉布提法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14CBBF' Value: '新罗马尼亚列伊' }
      ChartEntryValue { Access: 738805.577453704 Color: '$02B200' Value: '开曼群岛元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$61B235' Value: '宽札(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$72E5E1' Value: '卡塔尔里亚尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FFBF00' Value: 'AUD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$DCE52D' Value: 'CFA æ³•郎 BCEAO' }
      ChartEntryValue { Access: 738805.577453704 Color: '$9100B2' Value: '马耳他里拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$98954C' Value: '纳米比亚元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984C83' Value: '财政法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$98884C' Value: '亚美尼亚德拉姆' }
      ChartEntryValue { Access: 738805.577453704 Color: '$11B200' Value: '墨西哥比索(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5414CB' Value: '俄罗斯卢布' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C9698' Value: '沙特里亚尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$002AFE' Value: '哥伦比亚比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00B274' Value: '苏丹镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$C3E572' Value: '斐济元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5D51CB' Value: '葡萄牙埃斯库多' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DBDE5' Value: '冰岛克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$981E43' Value: '法国法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C5698' Value: '姆维多' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35AAB2' Value: 'Unidad de Valor Constante (UVC)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6DCB14' Value: '毛里求斯卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$6851CB' Value: 'WIR æ³•郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B9E572' Value: '意大利里拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB1420' Value: '也门里亚尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E57276' Value: '坚戈' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FEE900' Value: '乌干达先令' }
      ChartEntryValue { Access: 738805.577453704 Color: 'Cyan' Value: 'HRK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00D4FE' Value: '邦加' }
      ChartEntryValue { Access: 738805.577453704 Color: '$76984C' Value: 'SGD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$1E986A' Value: '测试' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5351CB' Value: '埃塞俄比亚比尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00B265' Value: '赫莱' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984C7C' Value: '美元(同日)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$371E98' Value: '美元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B29135' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 17(已作废)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FEB44C' Value: '坦桑尼亚先令' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E52D80' Value: '特别提款权' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CFEF0' Value: '肯尼亚先令' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51B5CB' Value: 'RMB' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FED400' Value: '格鲁吉亚息票' }
      ChartEntryValue { Access: 738805.577453704 Color: '$AF51CB' Value: '金融兰德' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C96FE' Value: '印度卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CBC351' Value: 'BRL' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B25D' Value: 'Unidad de Valor Real' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DCDE5' Value: '乌拉圭比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$35B252' Value: '阿根廷比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$881E98' Value: '韩元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$76981E' Value: '瓦努阿图' }
      ChartEntryValue { Access: 738805.577453704 Color: '$C02DE5' Value: '特立尼达和多巴哥元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$A6B200' Value: '基普' }
      ChartEntryValue { Access: 738805.577453704 Color: '$5159CB' Value: 'TWD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$006BB2' Value: '叙利亚镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7293E5' Value: '新西兰元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB8651' Value: '卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7FFF00' Value: 'BGN' }
      ChartEntryValue { Access: 738805.577453704 Color: '$921E98' Value: '博利瓦' }
      ChartEntryValue { Access: 738805.577453704 Color: '$98551E' Value: '玻利维亚比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$51CB86' Value: 'Dollar' }
      ChartEntryValue { Access: 738805.577453704 Color: '$C9CB51' Value: '南斯拉夫第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$14CB45' Value: '可兑换的法郎' }
      ChartEntryValue { Access: 738805.577453704 Color: '$C3FE4C' Value: '英镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$9400FE' Value: '古巴比索' }
      ChartEntryValue { Access: 738805.577453704 Color: '$76E572' Value: 'LVL' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE964C' Value: '欧元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB9114' Value: '科多巴' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DAEE5' Value: '突尼斯第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$71E52D' Value: '泰铢' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C5098' Value: '列伊' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FEC34C' Value: '利比亚第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$FE4C79' Value: '兰特' }
      ChartEntryValue { Access: 738805.577453704 Color: '$59CB51' Value: '塔吉克斯坦卢布' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2003E' Value: '圣赫勒拿镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5BB72' Value: '苏丹第纳尔(旧)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$145DCB' Value: '德拉克马' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00FE55' Value: '马克' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CA5FE' Value: '塞浦路斯镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2DE574' Value: '多布拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E572D6' Value: '索马里先令' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E57293' Value: 'LTL' }
      ChartEntryValue { Access: 738805.577453704 Color: '$7314CB' Value: '科威特第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4C985B' Value: 'MXN' }
      ChartEntryValue { Access: 738805.577453704 Color: '$0015FE' Value: '百慕大元(百慕大元)' }
      ChartEntryValue { Access: 738805.577453704 Color: '$C351CB' Value: '伦皮拉' }
      ChartEntryValue { Access: 738805.577453704 Color: '$4CB4FE' Value: '澳元' }
      ChartEntryValue { Access: 738805.577453704 Color: '$3561B2' Value: '捷克克朗' }
      ChartEntryValue { Access: 738805.577453704 Color: '$9572E5' Value: '福克兰群岛镑' }
      ChartEntryValue { Access: 738805.577453704 Color: '$2D34E5' Value: '比索可折换' }
      ChartEntryValue { Access: 738805.577453704 Color: '$984C50' Value: 'CAD' }
      ChartEntryValue { Access: 738805.577453704 Color: '$3556B2' Value: '伊拉克第纳尔' }
      ChartEntryValue { Access: 738805.577453704 Color: '$E5DF2D' Value: '巴基斯坦卢比' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB5196' Value: '人民币' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB8214' Value: '卢布' }
      ChartEntryValue { Access: 738805.577453704 Color: '$B2358A' Value: '兹罗提' }
      ChartEntryValue { Access: 738805.577453704 Color: '$8B72E5' Value: 'IDR' }
      ChartEntryValue { Access: 738805.577453704 Color: '$00FF3F' Value: 'CZK' }
      ChartEntryValue { Access: 738805.577453704 Color: '$CB14AA' Value: '巴林第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B22900' Value: 'HUF' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2004D' Value: '港元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B2A6' Value: '黎巴嫩镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$AFE572' Value: '乌兹别克斯坦苏姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0B00B2' Value: '圭亚那元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E58B' Value: '苏丹第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$729CE5' Value: '托拉尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E572CC' Value: '津巴布韦元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6AFE00' Value: '格查尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E5CE' Value: '菲律宾比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5A872' Value: 'TRY' }
      ChartEntryValue { Access: 738766.584444444 Color: '$981E4D' Value: '第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$003FFF' Value: 'DKK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B2B0' Value: '阿曼里亚尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FEA54C' Value: '巴波亚' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6BB235' Value: '智利比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$98824C' Value: 'ZAR' }
      ChartEntryValue { Access: 738766.584444444 Color: '$144ECB' Value: '巴西雷阿尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B23542' Value: '塔拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E572DF' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 17 (E.U.A.-17)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFE6A' Value: '摩尔多瓦列伊' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00B282' Value: '也门第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7B4C98' Value: '墨西哥比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A000B2' Value: '斯里兰卡卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4C6A' Value: '债券市场单位 - æ¬§æ´²è´§å¸åˆæˆå•位 (EURCO)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7C35B2' Value: 'CFA æ³•郎 BEAC' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984C89' Value: 'CHF' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6A4CFE' Value: '澳门元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B28635' Value: '喜名' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5C472' Value: '加纳塞迪(旧)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB5178' Value: '卢旺达法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5BFE4C' Value: '安道尔比塞塔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E1FE4C' Value: '巴巴多斯元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$8200B2' Value: 'EEK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFED2' Value: '阿富汗尼' }
      ChartEntryValue { Access: 738766.584444444 Color: '$754C98' Value: '元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$981E94' Value: '西班牙比塞塔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C9862' Value: '刚果法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$143FCB' Value: '可兑换比塞塔帐户' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6E4C98' Value: 'CNY' }
      ChartEntryValue { Access: 738766.584444444 Color: '$63984C' Value: '摩洛哥迪拉姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DE583' Value: '尼泊尔卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5742D' Value: '拉里' }
      ChartEntryValue { Access: 738766.584444444 Color: '$70984C' Value: 'Uruguary Peso en Unidades Indexadas' }
      ChartEntryValue { Access: 738766.584444444 Color: '$69984C' Value: '塞尔维亚第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFEE1' Value: '约旦第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$411E98' Value: '新加坡元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E52D8F' Value: '北朝鲜元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$52E52D' Value: '新谢克尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E9822' Value: '乌吉亚' }
      ChartEntryValue { Access: 738766.584444444 Color: '$20B200' Value: '苏克雷' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CBA114' Value: '马来西亚林吉特' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE3F00' Value: '可兑换马克' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E6198' Value: '布隆迪法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E582' Value: '苏里南元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$988E4C' Value: '塞舌尔卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72A6E5' Value: '新南斯拉夫第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14CB36' Value: '钯' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C8998' Value: '新索尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B4FE4C' Value: '利比里亚元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00FE7F' Value: '普拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CDE52D' Value: '新宽扎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00B256' Value: 'KRW' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14CB26' Value: '文莱元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5196CB' Value: '马达加斯加阿里亚里' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B23800' Value: '金' }
      ChartEntryValue { Access: 738766.584444444 Color: '$F04CFE' Value: '澳大拉西亚' }
      ChartEntryValue { Access: 738766.584444444 Color: '$372DE5' Value: '特殊结算币种 - é‡‘法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DE592' Value: '图格里克' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B267' Value: '里兰吉尼' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FF00BF' Value: 'PHP' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2005C' Value: 'RON' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B23595' Value: '东加勒比元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E6C98' Value: '达拉西' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CCE572' Value: 'JPY' }
      ChartEntryValue { Access: 738766.584444444 Color: '$78CB51' Value: 'USD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7F00FF' Value: 'PLN' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE007F' Value: '克鲁扎多' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E5C4' Value: 'NOK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E5798' Value: '新台币' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2AF00' Value: 'HKD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C9868' Value: '萨尔瓦多科郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E57289' Value: '福林' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B12DE5' Value: '比利时法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51ABCB' Value: '南斯拉夫第纳尔(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7135B2' Value: '阿鲁巴岛盾' }
      ChartEntryValue { Access: 738766.584444444 Color: '$3FFE00' Value: '克鲁恩' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2900B2' Value: '加拿大元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE00AA' Value: '古德' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2C1E98' Value: '荷属安的列斯群岛盾' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4CF0' Value: '银' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0079B2' Value: '荷兰盾' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6ECB51' Value: '阿塞拜疆马奈特(旧)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$359FB2' Value: '统计' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7CCB14' Value: '牙买加元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C6398' Value: 'INR' }
      ChartEntryValue { Access: 738766.584444444 Color: '$BFCB51' Value: '奈拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B5CB51' Value: '卢森堡法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B29B35' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 9 (E.U.A.-9)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$D2FE4C' Value: '阿塞拜疆马奈特' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51CB9B' Value: '瑞典克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$8A981E' Value: '丹麦克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C9895' Value: 'SEK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$63CB51' Value: '努尔特鲁姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A872E5' Value: '卡尔伯瓦聂兹' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4C5B' Value: '美元(次日)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2FB200' Value: 'MYR' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C5D98' Value: '委内瑞拉博利瓦' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB14B9' Value: '列克' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C9098' Value: '纳克法' }
      ChartEntryValue { Access: 738766.584444444 Color: '$8635B2' Value: '先令' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FEFE00' Value: '克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A551CB' Value: 'Euro' }
      ChartEntryValue { Access: 738766.584444444 Color: '$54FE00' Value: '白俄罗斯卢布' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00FE6A' Value: '保加利亚列弗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0000FE' Value: '克罗地亚第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$8BCB14' Value: '特殊结算币种 - UIC æ³•郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$97B200' Value: '几内亚比绍比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E52D9F' Value: '马达加斯加法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$824C98' Value: '苏里南盾' }
      ChartEntryValue { Access: 738766.584444444 Color: '$61E52D' Value: '缅元(已废弃)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0002B2' Value: 'THB' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFE5B' Value: '扎伊尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2359F' Value: '直布罗陀镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB518C' Value: '巴哈马元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$794CFE' Value: '债券市场单位 - æ¬§æ´²è´§å¸å•位 (E.M.U.-6)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B25600' Value: 'CFP æ³•郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2002F' Value: '几内亚法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$9E72E5' Value: 'Unidades de formento' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A22DE5' Value: '利昂' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2A635' Value: '宽札' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB149B' Value: '科摩罗法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C986E' Value: '乌干达先令(作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14CBB0' Value: '瓜拉尼' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE0094' Value: '索莫尼' }
      ChartEntryValue { Access: 738766.584444444 Color: '$981E39' Value: '乌拉圭比索(1)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFE4C' Value: '白俄罗斯卢布(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$AF00B2' Value: '津巴布韦元(不再使用)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$874CFE' Value: '印地' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB7251' Value: '瑞尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E9874' Value: '马纳特(不再使用)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E578' Value: '玛纳特' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6735B2' Value: 'WIR æ¬§å…ƒ' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4C87' Value: '埃及镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984B1E' Value: '德国马克' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E987E' Value: '新土耳其里拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$80B235' Value: '盾' }
      ChartEntryValue { Access: 738766.584444444 Color: '$88B200' Value: '科多巴币' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFEC3' Value: '爱尔兰镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB5182' Value: '挪威克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B23537' Value: '阿拉伯联合酋长国迪拉姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB7C51' Value: '梅迪卡尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5D02D' Value: '多米尼加比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0088B2' Value: 'RUB' }
      ChartEntryValue { Access: 738766.584444444 Color: '$80981E' Value: '伯利兹元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2D43E5' Value: '东帝汶埃库多' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1A00B2' Value: '斯洛伐克克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5B172' Value: '克瓦查' }
      ChartEntryValue { Access: 738766.584444444 Color: '$24981E' Value: '铂' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B951CB' Value: '欧洲货币单位 (E.C.U.)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$005CB2' Value: '加纳塞迪' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00E9FE' Value: '哥斯达黎加科郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51A1CB' Value: '瑞士法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: 'Red' Value: 'EUR' }
      ChartEntryValue { Access: 738766.584444444 Color: '$964CFE' Value: '克瓦查(1)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6314CB' Value: '拉菲亚' }
      ChartEntryValue { Access: 738766.584444444 Color: '$BF00FE' Value: '洛蒂' }
      ChartEntryValue { Access: 738766.584444444 Color: '$3542B2' Value: '立陶宛里塔斯' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B248' Value: '新扎伊尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E57280' Value: '所罗门群岛元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14C8CB' Value: '无币种' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00BFFE' Value: '索姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2E981E' Value: '兹罗提(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B23580' Value: '拉脱维亚卢布' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984C76' Value: '列弗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72AFE5' Value: 'NZD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C87FE' Value: '日圆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E5D8' Value: '塔卡' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB142F' Value: '俄罗斯卢布(旧币)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4CE1' Value: '克罗地亚库纳' }
      ChartEntryValue { Access: 738766.584444444 Color: '$985F1E' Value: '土耳其里拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E172E5' Value: 'GBP' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51CB90' Value: '佛得角埃斯库多' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4CFE' Value: '阿尔及利亚第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5642D' Value: '伊朗里亚尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$354CB2' Value: 'Mexican Unidad de Inversion (UDI)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A900FE' Value: '拉脱维亚拉特' }
      ChartEntryValue { Access: 738766.584444444 Color: '$76B235' Value: '阿富汗尼(旧)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51CBA5' Value: '美提卡(旧)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B24700' Value: '吉布提法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14CBBF' Value: '新罗马尼亚列伊' }
      ChartEntryValue { Access: 738766.584444444 Color: '$02B200' Value: '开曼群岛元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$61B235' Value: '宽札(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$72E5E1' Value: '卡塔尔里亚尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FFBF00' Value: 'AUD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$DCE52D' Value: 'CFA æ³•郎 BCEAO' }
      ChartEntryValue { Access: 738766.584444444 Color: '$9100B2' Value: '马耳他里拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$98954C' Value: '纳米比亚元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984C83' Value: '财政法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$98884C' Value: '亚美尼亚德拉姆' }
      ChartEntryValue { Access: 738766.584444444 Color: '$11B200' Value: '墨西哥比索(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5414CB' Value: '俄罗斯卢布' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C9698' Value: '沙特里亚尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$002AFE' Value: '哥伦比亚比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00B274' Value: '苏丹镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$C3E572' Value: '斐济元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5D51CB' Value: '葡萄牙埃斯库多' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DBDE5' Value: '冰岛克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$981E43' Value: '法国法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C5698' Value: '姆维多' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35AAB2' Value: 'Unidad de Valor Constante (UVC)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6DCB14' Value: '毛里求斯卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$6851CB' Value: 'WIR æ³•郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B9E572' Value: '意大利里拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB1420' Value: '也门里亚尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E57276' Value: '坚戈' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FEE900' Value: '乌干达先令' }
      ChartEntryValue { Access: 738766.584444444 Color: 'Cyan' Value: 'HRK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00D4FE' Value: '邦加' }
      ChartEntryValue { Access: 738766.584444444 Color: '$76984C' Value: 'SGD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$1E986A' Value: '测试' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5351CB' Value: '埃塞俄比亚比尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00B265' Value: '赫莱' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984C7C' Value: '美元(同日)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$371E98' Value: '美元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B29135' Value: '债券市场单位 - æ¬§æ´²è®°å¸å•位 17(已作废)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FEB44C' Value: '坦桑尼亚先令' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E52D80' Value: '特别提款权' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CFEF0' Value: '肯尼亚先令' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51B5CB' Value: 'RMB' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FED400' Value: '格鲁吉亚息票' }
      ChartEntryValue { Access: 738766.584444444 Color: '$AF51CB' Value: '金融兰德' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C96FE' Value: '印度卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CBC351' Value: 'BRL' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B25D' Value: 'Unidad de Valor Real' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DCDE5' Value: '乌拉圭比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$35B252' Value: '阿根廷比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$881E98' Value: '韩元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$76981E' Value: '瓦努阿图' }
      ChartEntryValue { Access: 738766.584444444 Color: '$C02DE5' Value: '特立尼达和多巴哥元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$A6B200' Value: '基普' }
      ChartEntryValue { Access: 738766.584444444 Color: '$5159CB' Value: 'TWD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$006BB2' Value: '叙利亚镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7293E5' Value: '新西兰元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB8651' Value: '卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7FFF00' Value: 'BGN' }
      ChartEntryValue { Access: 738766.584444444 Color: '$921E98' Value: '博利瓦' }
      ChartEntryValue { Access: 738766.584444444 Color: '$98551E' Value: '玻利维亚比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$51CB86' Value: 'Dollar' }
      ChartEntryValue { Access: 738766.584444444 Color: '$C9CB51' Value: '南斯拉夫第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$14CB45' Value: '可兑换的法郎' }
      ChartEntryValue { Access: 738766.584444444 Color: '$C3FE4C' Value: '英镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$9400FE' Value: '古巴比索' }
      ChartEntryValue { Access: 738766.584444444 Color: '$76E572' Value: 'LVL' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE964C' Value: '欧元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB9114' Value: '科多巴' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DAEE5' Value: '突尼斯第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$71E52D' Value: '泰铢' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C5098' Value: '列伊' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FEC34C' Value: '利比亚第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$FE4C79' Value: '兰特' }
      ChartEntryValue { Access: 738766.584444444 Color: '$59CB51' Value: '塔吉克斯坦卢布' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2003E' Value: '圣赫勒拿镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5BB72' Value: '苏丹第纳尔(旧)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$145DCB' Value: '德拉克马' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00FE55' Value: '马克' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CA5FE' Value: '塞浦路斯镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2DE574' Value: '多布拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E572D6' Value: '索马里先令' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E57293' Value: 'LTL' }
      ChartEntryValue { Access: 738766.584444444 Color: '$7314CB' Value: '科威特第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4C985B' Value: 'MXN' }
      ChartEntryValue { Access: 738766.584444444 Color: '$0015FE' Value: '百慕大元(百慕大元)' }
      ChartEntryValue { Access: 738766.584444444 Color: '$C351CB' Value: '伦皮拉' }
      ChartEntryValue { Access: 738766.584444444 Color: '$4CB4FE' Value: '澳元' }
      ChartEntryValue { Access: 738766.584444444 Color: '$3561B2' Value: '捷克克朗' }
      ChartEntryValue { Access: 738766.584444444 Color: '$9572E5' Value: '福克兰群岛镑' }
      ChartEntryValue { Access: 738766.584444444 Color: '$2D34E5' Value: '比索可折换' }
      ChartEntryValue { Access: 738766.584444444 Color: '$984C50' Value: 'CAD' }
      ChartEntryValue { Access: 738766.584444444 Color: '$3556B2' Value: '伊拉克第纳尔' }
      ChartEntryValue { Access: 738766.584444444 Color: '$E5DF2D' Value: '巴基斯坦卢比' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB5196' Value: '人民币' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB8214' Value: '卢布' }
      ChartEntryValue { Access: 738766.584444444 Color: '$B2358A' Value: '兹罗提' }
      ChartEntryValue { Access: 738766.584444444 Color: '$8B72E5' Value: 'IDR' }
      ChartEntryValue { Access: 738766.584444444 Color: '$00FF3F' Value: 'CZK' }
      ChartEntryValue { Access: 738766.584444444 Color: '$CB14AA' Value: '巴林第纳尔' }
    }
    ColorSchemeEntry
    {