_Main/BL/Type_FinancialProductionReport/Method_ImportVerification.qbl
@@ -27,11 +27,9 @@ error( Translations::MP_FinancialProductionReport_ImportIndetifyIllegalTime() ); } period := cnv2.Convert( indexcolumn.Name() ); // info( "å¼å§æ¶é´ï¼", this.SalesForecastInputSource().PlanningStartDate().Format( "Y-M2-D2" ), // "ç»ææ¶é´ï¼", this.SalesForecastInputSource().PlanningEndDate().Format( "Y-M2-D2" ), // "åæ¶é´ï¼", cnv2.Convert( indexColumn.name() ).Format( "Y-M2-D2" ) ); // 夿æ¯å¦å¨è®¡å卿å if ( period <= startofthisyear or period >= startofnextyear ) { if ( period < startofthisyear or period > startofnextyear ) { error( Translations::MP_FinancialProductionReport_ImportIndetifyOverPeriod() ); } indexcolumn := indexcolumn.NextColumn(); @@ -42,8 +40,8 @@ unitcolumn := selectobject( this, FinancialProductionColumn, column, column.Index() = 1 ); units := selectuniquevalues( unitcolumn, FinancialProductionCell, cell, cell.Value() ); if( units.Size() <> 2 or ( units.Find( FinancialProductionReport::GetDefaultCCUnit() ) >= 0 and units.Find( FinancialProductionReport::GetDefaultDLUnit() ) >= 0 ) ){ if( units.Size() > 2 or ( units.Find( FinancialProductionReport::GetDefaultCCUnit() ) < 0 and units.Find( FinancialProductionReport::GetDefaultDLUnit() ) < 0 ) ){ error( Translations::MP_FinancialProductionReport_ImportIndetifyFactoryNoExist() ); } _Main/BL/Type_FinancialProductionSource/Method_ReadStructure.qbl
@@ -16,9 +16,9 @@ FinancialProductionReport::XMLImportFinancialProductionReportXMLHeaders( tableXML ); xlstable := FinancialProductionReport::XMLImportFinancialProductionReportXML( tableXML ); xlstable.SyncRows(); xlstable.Name( sheetName ); xlstable.IsImport( true ); this.FinancialProductionReport( relinsert, &xlstable ); @@ -27,7 +27,7 @@ // ï¼å¯¼å ¥åï¼ç»ç©ºå¼èµäºé»è®¤å¼ï¼N/Aï¼,å¹¶ä¸å é¤ç©ºè¡æ°æ®åæ°æ®æ ¡éª xlstable.IdentifyNullValues(); xlstable.ImportVerification(); } //å¯¼å ¥åå¤çæ°æ® _Main/BL/Type_FinancialSalesReport/Method_ImportVerification.qbl
@@ -31,7 +31,7 @@ // "ç»ææ¶é´ï¼", this.SalesForecastInputSource().PlanningEndDate().Format( "Y-M2-D2" ), // "åæ¶é´ï¼", cnv2.Convert( indexColumn.name() ).Format( "Y-M2-D2" ) ); // 夿æ¯å¦å¨è®¡å卿å if ( period <= startofthisyear or period >= startofnextyear ) { if ( period < startofthisyear or period > startofnextyear ) { error( Translations::MP_FinancialProductionReport_ImportIndetifyOverPeriod() ); } indexcolumn := indexcolumn.NextColumn(); @@ -42,8 +42,8 @@ unitcolumn := selectobject( this, FinancialSalesColumn, column, column.Index() = 1 ); units := selectuniquevalues( unitcolumn, FinancialSalesCell, cell, cell.Value() ); if( units.Size() <> 2 or ( units.Find( FinancialProductionReport::GetDefaultCCUnit() ) >= 0 and units.Find( FinancialProductionReport::GetDefaultDLUnit() ) >= 0 ) ){ if( units.Size() > 2 or ( units.Find( FinancialSalesReport::GetDefaultCCUnit() ) < 0 and units.Find( FinancialSalesReport::GetDefaultDLUnit() ) < 0 ) ){ error( Translations::MP_FinancialProductionReport_ImportIndetifyFactoryNoExist() ); } _Main/BL/Type_FinancialWeeklyReport/StaticMethod_GetDefaultCCUnit.qbl
@@ -5,7 +5,7 @@ TextBody: [* // çå °é¸½ Jun-28-2024 (created) return 'é¿æ¥'; return 'é¿æ¥å·¥å'; //return 'Assembly Plant (France)'; *] } _Main/BL/Type_FinancialWeeklyReport/StaticMethod_GetDefaultDLUnit.qbl
@@ -5,7 +5,7 @@ TextBody: [* // çå °é¸½ Jun-28-2024 (created) return '大è¿'; return '大è¿å·¥å'; //return 'Assembly Plant (Spain)'; *] } _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupReport.def
@@ -93,6 +93,17 @@ Taborder: 7 ] } Component ButtonScenarioComparisonDemandComparison id:ButtonScenarioComparisonDemandComparison_256 { #keys: '[412672.1.90201789]' BaseType: 'WebButton' Properties: [ Image: 'EQUALS' Label: '鿱坹æ¯' Taborder: 8 ] } ] Properties: [ _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupScenarioComparisonViews#859.def
@@ -1,18 +1,4 @@ Quintiq file version 2.0 Component ActionBarGroupScenarioComparisonViews #extension { Children: [ Component ButtonScenarioComparisonDemandComparison { #keys: '[412672.0.1090347286]' BaseType: 'WebButton' Properties: [ Image: 'EQUALS' Label: '鿱坹æ¯' Taborder: 8 ] } ] } _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonScenarioComparisonDeman#968.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupScenarioComparisonViews_ButtonScenarioCo.def ÐÞ¸Ä @@ -1,8 +1,8 @@ Quintiq file version 2.0 #parent: ActionBarGroupScenarioComparisonViews/ButtonScenarioComparisonDemandComparison Response OnClick () id:Response_MacroPlanner_ActionBarGroupScenarioComparisonViews_ButtonScenarioComparisonDemandComparison_OnClick #parent: ActionBarGroupReport/ButtonScenarioComparisonDemandComparison_256 Response OnClick () id:Response_MacroPlanner_ActionBarGroupScenarioComparisonViews_ButtonScenarioComparisonDemandComparison_OnClick_968 { #keys: '[412672.0.1090347405]' #keys: '[412672.1.90201788]' CanBindMultiple: false DefinitionID: 'Responsedef_WebButton_OnClick' QuillAction