From 9b1380399c9326124406cc9fdad8e57dcd9062a6 Mon Sep 17 00:00:00 2001 From: limj <limj@taizhitech.com> Date: 星期一, 18 九月 2023 19:15:09 +0800 Subject: [PATCH] 填产VIEW添加菜单 修改中文描述 优先级因子 --- _Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw | 16 _Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorName.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_PanelPriorityFactorSelect.def | 23 _Main/BL/Relations/Relation_PriorityFactorDetails_GlobalOTDTable_GlobalOTDTable_PriorityFactorD.qbl | 23 _var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrder.vw | 12 _Main/BL/Relations/Relation_PriorityFactor_GlobalOTDTable_GlobalOTDTable_PriorityFactor.qbl | 23 _Main/BL/Type_PriorityFactorDetails/Function_CalcGradeValueStr.qbl | 19 _Main/BL/Type_PriorityFactor/Attribute_coefficient.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listActionBarPagePriorityFactor.def | 10 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingS#360.def | 18 _Main/BL/Type_PriorityFactorDetails/StaticMethod_InitData.qbl | 35 + _Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl | 4 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def | 13 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def | 4 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def | 8 _Main/BL/Relations/Relation_PriorityFactorDetails_PriorityFactor_PriorityFactor_PriorityFactorD.qbl | 23 _Main/BL/Type_PriorityFactorDetails/Attribute_GradingName.qbl | 7 _Main/BL/Type_PriorityFactor/_ROOT_Type_PriorityFactor.qbl | 9 _Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrder.vw | 194 +++++++ _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def | 3 _Main/BL/Type_PriorityFactorDetails/Attribute_BusinessType.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listContextMenuPriorityFactor.def | 34 + _Main/BL/Type_PriorityFactorDetails/StaticMethod_CreateTestData.qbl | 15 _Main/BL/Type_PriorityFactorDetails/Attribute_IsBusinessType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def | 3 _Main/BL/Type_PriorityFactorDetails/Function_CalcIsBusinessType.qbl | 18 _Main/BL/Type_PriorityFactorDetails/Attribute_GroupName.qbl | 7 _var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw | 434 ++++++++++++++++ _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail#802.def | 2 _Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp | 2 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def | 4 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def | 2 _Main/BL/Type_PriorityFactor/Attribute_Desc.qbl | 7 _Main/BL/Type_PriorityFactorDetails/Attribute_RangeMax.qbl | 7 _Main/BL/Type_PriorityFactorDetails/_ROOT_Type_PriorityFactorDetails.qbl | 9 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def | 12 _var/_Main/ProjSettings/MacroPlannerWebApp/Views/Priority_Factor.vw | 194 +++++++ _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/_ROOT_Component_FormPriorityFactor.def | 32 + _Main/BL/Type_PriorityFactorDetails/Attribute_IsRange.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuClearTestData_OnClick.def | 17 _Main/BL/Type_PriorityFactor/Attribute_Name.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuTestData_OnClick.def | 17 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_PanelPriorityFactorSelect_BusinessTypeSelectStringList_OnCreated.def | 17 _Main/BL/Type_PriorityFactorDetails/Attribute_RangeMin.qbl | 7 _Main/BL/Type_PriorityFactorDetails/StaticMethod_GetDataByBusinessType.qbl | 18 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnSelectionChanged.def | 17 _Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorDesc.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def | 2 _Main/BL/Type_PriorityFactor/StaticMethod_GetDataByBusinessType.qbl | 18 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def | 2 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnCreated.def | 17 _Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_ListPriorityFactor.def | 59 ++ _Main/BL/Type_PriorityFactorDetails/StaticMethod_ClearTestData.qbl | 17 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def | 2 _Main/BL/Type_PriorityFactor/Attribute_BusinessType.qbl | 7 _Main/BL/Type_PriorityFactor/StaticMethod_InitData.qbl | 41 + _Main/BL/Type_PriorityFactorDetails/Attribute_coefficient.qbl | 8 _Main/BL/Type_PriorityFactorDetails/Attribute_GradeTarget.qbl | 7 _Main/BL/Type_PriorityFactorDetails/Attribute_GradeValueStr.qbl | 7 64 files changed, 1,540 insertions(+), 27 deletions(-) diff --git a/_Main/BL/Relations/Relation_PriorityFactorDetails_GlobalOTDTable_GlobalOTDTable_PriorityFactorD.qbl b/_Main/BL/Relations/Relation_PriorityFactorDetails_GlobalOTDTable_GlobalOTDTable_PriorityFactorD.qbl new file mode 100644 index 0000000..81e03b6 --- /dev/null +++ b/_Main/BL/Relations/Relation_PriorityFactorDetails_GlobalOTDTable_GlobalOTDTable_PriorityFactorD.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PriorityFactorDetails_GlobalOTDTable_GlobalOTDTable_PriorityFactorDetails +{ + #keys: '1[414382.0.444830151]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide GlobalOTDTable + { + #keys: '3[414382.0.444830153][414382.0.444830152][414382.0.444830154]' + Cardinality: '0to1' + ObjectDefinition: PriorityFactorDetails + OwningSide: 'Reference' + } + RelationSide.RightSide PriorityFactorDetails + { + #keys: '3[414382.0.444830156][414382.0.444830155][414382.0.444830157]' + Cardinality: '1toN' + ObjectDefinition: GlobalOTDTable + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PriorityFactorDetails_PriorityFactor_PriorityFactor_PriorityFactorD.qbl b/_Main/BL/Relations/Relation_PriorityFactorDetails_PriorityFactor_PriorityFactor_PriorityFactorD.qbl new file mode 100644 index 0000000..ded778d --- /dev/null +++ b/_Main/BL/Relations/Relation_PriorityFactorDetails_PriorityFactor_PriorityFactor_PriorityFactorD.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PriorityFactorDetails_PriorityFactor_PriorityFactor_PriorityFactorDetails +{ + #keys: '1[414382.0.444850082]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PriorityFactor + { + #keys: '3[414382.0.444850084][414382.0.444850083][414382.0.444850085]' + Cardinality: '0to1' + ObjectDefinition: PriorityFactorDetails + OwningSide: 'Reference' + } + RelationSide.RightSide PriorityFactorDetails + { + #keys: '3[414382.0.444850087][414382.0.444850086][414382.0.444850088]' + Cardinality: '1toN' + ObjectDefinition: PriorityFactor + OwningSide: 'Reference' + } +} diff --git a/_Main/BL/Relations/Relation_PriorityFactor_GlobalOTDTable_GlobalOTDTable_PriorityFactor.qbl b/_Main/BL/Relations/Relation_PriorityFactor_GlobalOTDTable_GlobalOTDTable_PriorityFactor.qbl new file mode 100644 index 0000000..14911e1 --- /dev/null +++ b/_Main/BL/Relations/Relation_PriorityFactor_GlobalOTDTable_GlobalOTDTable_PriorityFactor.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PriorityFactor_GlobalOTDTable_GlobalOTDTable_PriorityFactor +{ + #keys: '1[414382.0.444830037]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide GlobalOTDTable + { + #keys: '3[414382.0.444830039][414382.0.444830038][414382.0.444830040]' + Cardinality: '0to1' + ObjectDefinition: PriorityFactor + OwningSide: 'Reference' + } + RelationSide.RightSide PriorityFactor + { + #keys: '3[414382.0.444830042][414382.0.444830041][414382.0.444830043]' + Cardinality: '1toN' + ObjectDefinition: GlobalOTDTable + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl index 02ecd32..eb62f70 100644 --- a/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl +++ b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl @@ -23,6 +23,10 @@ { result := businessTypeList.Concatenate( ";" ); } + + // 娴嬭瘯鏁版嵁 + result := "闆嗗洟闈㈡澘;涓撲笟鏄剧ず浜嬩笟閮�;澶栧崠CELL;闈炴樉;杩愬姩鍋ュ悍;杩愬姩鍋ュ悍浜嬩笟閮�;鎵嬫満浜嬩笟閮�;鐗圭鏄剧ず;姹借溅鐢靛瓙浜嬩笟閮�;杞﹁浇鏄剧ず浜嬩笟閮�;IT浜嬩笟閮�"; + return result; *] } diff --git a/_Main/BL/Type_PriorityFactor/Attribute_BusinessType.qbl b/_Main/BL/Type_PriorityFactor/Attribute_BusinessType.qbl new file mode 100644 index 0000000..8aac689 --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/Attribute_BusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.456067060][414382.0.456067059][414382.0.456067061]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactor/Attribute_Desc.qbl b/_Main/BL/Type_PriorityFactor/Attribute_Desc.qbl new file mode 100644 index 0000000..bb97070 --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/Attribute_Desc.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Desc +{ + #keys: '3[414382.0.440655066][414382.0.440655065][414382.0.440655067]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactor/Attribute_Name.qbl b/_Main/BL/Type_PriorityFactor/Attribute_Name.qbl new file mode 100644 index 0000000..80792db --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/Attribute_Name.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Name +{ + #keys: '3[414382.0.440655046][414382.0.440655045][414382.0.440655047]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactor/Attribute_coefficient.qbl b/_Main/BL/Type_PriorityFactor/Attribute_coefficient.qbl new file mode 100644 index 0000000..732396f --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/Attribute_coefficient.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute coefficient +{ + #keys: '3[414382.0.456067070][414382.0.456067069][414382.0.456067071]' + Description: '浼樺厛鍥犲瓙绯绘暟' + ValueType: Real +} diff --git a/_Main/BL/Type_PriorityFactor/StaticMethod_GetDataByBusinessType.qbl b/_Main/BL/Type_PriorityFactor/StaticMethod_GetDataByBusinessType.qbl new file mode 100644 index 0000000..128d2cc --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/StaticMethod_GetDataByBusinessType.qbl @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetDataByBusinessType ( + GlobalOTDTable owner, + String businessType +) as owning PriorityFactors +{ + TextBody: + [* + // NBoTk Sep-18-2023 (created) + + list := selectset( owner,PriorityFactor,p, + p.BusinessType() = businessType + ); + info("list size :" + [String]list.Size()); + return &list; + *] +} diff --git a/_Main/BL/Type_PriorityFactor/StaticMethod_InitData.qbl b/_Main/BL/Type_PriorityFactor/StaticMethod_InitData.qbl new file mode 100644 index 0000000..45688a6 --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/StaticMethod_InitData.qbl @@ -0,0 +1,41 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod InitData ( + GlobalOTDTable owner +) +{ + TextBody: + [* + // NBoTk Sep-15-2023 (created) + + info(" init PriorutyFactor"); + + // businessType + // result := "闆嗗洟闈㈡澘;涓撲笟鏄剧ず浜嬩笟閮�;澶栧崠CELL;闈炴樉;杩愬姩鍋ュ悍;杩愬姩鍋ュ悍浜嬩笟閮�;鎵嬫満浜嬩笟閮�;鐗圭鏄剧ず;姹借溅鐢靛瓙浜嬩笟閮�;杞﹁浇鏄剧ず浜嬩笟閮�;IT浜嬩笟閮�"; + businessTypeList := construct( structured[String]); + businessTypeList.Add( "闆嗗洟闈㈡澘"); + businessTypeList.Add( "涓撲笟鏄剧ず浜嬩笟閮�"); + businessTypeList.Add( "澶栧崠CELL"); + businessTypeList.Add( "闈炴樉"); + businessTypeList.Add( "杩愬姩鍋ュ悍"); + businessTypeList.Add( "杩愬姩鍋ュ悍浜嬩笟閮�"); + businessTypeList.Add( "鎵嬫満浜嬩笟閮ㄩ潰鏉�"); + businessTypeList.Add( "鐗圭鏄剧ず"); + businessTypeList.Add( "姹借溅鐢靛瓙浜嬩笟閮ㄩ潰鏉�"); + businessTypeList.Add( "杞﹁浇鏄剧ず浜嬩笟閮�"); + businessTypeList.Add( "IT浜嬩笟閮�"); + + traverse( businessTypeList,Elements,b) + { + owner.PriorityFactor(relnew,Name := "瀹㈡埛绛栫暐" ,Desc := "灏嗕簨涓氶儴璁$畻鐨勪紭鍏堢骇锛屾寜璇ョ粏鍒嗛」姣斾緥闃舵纭畾璇ラ」寰楀垎銆傚锛�81%鈮鈮�100% 5鍒嗭紝61%鈮鈮�80% 4鍒�", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "瀹㈡埛绛夌骇" ,Desc := "鏍规嵁闇�姹傛暟鎹腑瀹㈡埛锛屽尮閰嶅鎴风瓑绾�",BusinessType := b); + owner.PriorityFactor(relnew,Name := "澶у紶鐩堝埄姘村钩" ,Desc := "1銆佽幏鍙栧鎴�*SKU澶у紶鐩堝埄鏁� 2銆佸畾涔夊鎴�*SKU澶у紶鐩堝埄鏁伴樁姊緱鍒� 3銆佸尮閰嶉渶姹傛暟鎹腑瀹㈡埛鍙奡KU鏁版嵁锛屽緱鍒板搴旈樁姊緱鍒�", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "缁嗗垎甯傚満绛夌骇" ,Desc := "1銆佽幏鍙栧鎴�*SKU瀵瑰簲缁嗗垎甯傚満绛夌骇 2銆佸尮閰嶉渶姹傛暟鎹腑瀹㈡埛鍙奡KU瀵瑰簲缁嗗垎甯傚満璇勫垎绛夌骇锛屽緱鍒板搴旈樁姊緱鍒�", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "闇�姹傜被鍨�" ,Desc := "鍖归厤涓嶅悓闇�姹傜绫伙紝寰楀埌瀵瑰簲寰楀垎", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "璁㈠崟涓嬪崟鏃堕棿" ,Desc := "鏍规嵁闇�姹傝鍗曚腑涓嬪崟鏃堕棿涓庨渶姹傛椂闂村樊鍊硷紝鍖归厤闃舵寰楀垎", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "浜у搧绛夌骇" ,Desc := "1銆佽幏鍙栧鎴�*SKU DOI&DSI鏁� 2銆佸畾涔夊鎴�*SKUDOI&DSI鏁伴樁姊緱鍒� 3銆佸尮閰嶉渶姹傛暟鎹腑瀹㈡埛鍙奡KU鏁版嵁锛屽緱鍒板搴旈樁姊緱鍒�", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "DOI" ,Desc := "1銆佽幏鍙栧鎴�*SKU DOI&DSI鏁� 2銆佸畾涔夊鎴�*SKUDOI&DSI鏁伴樁姊緱鍒� 3銆佸尮閰嶉渶姹傛暟鎹腑瀹㈡埛鍙奡KU鏁版嵁锛屽緱鍒板搴旈樁姊緱鍒�", BusinessType := b ); + owner.PriorityFactor(relnew,Name := "DSI" ,Desc := "1銆佽幏鍙栧鎴�*SKU DOI&DSI鏁� 2銆佸畾涔夊鎴�*SKUDOI&DSI鏁伴樁姊緱鍒� 3銆佸尮閰嶉渶姹傛暟鎹腑瀹㈡埛鍙奡KU鏁版嵁锛屽緱鍒板搴旈樁姊緱鍒�", BusinessType := b ); + } + *] +} diff --git a/_Main/BL/Type_PriorityFactor/_ROOT_Type_PriorityFactor.qbl b/_Main/BL/Type_PriorityFactor/_ROOT_Type_PriorityFactor.qbl new file mode 100644 index 0000000..fcac9ad --- /dev/null +++ b/_Main/BL/Type_PriorityFactor/_ROOT_Type_PriorityFactor.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PriorityFactor +{ + #keys: '5[414382.0.440655008][414382.0.440655006][0.0.0][414382.0.440655007][414382.0.440655009]' + BaseType: Object + StructuredName: 'PriorityFactors' +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_BusinessType.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_BusinessType.qbl new file mode 100644 index 0000000..ec15488 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_BusinessType.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.444830097][414382.0.444830096][414382.0.444830098]' + Description: '浜嬩笟閮�' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeTarget.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeTarget.qbl new file mode 100644 index 0000000..9ae65b9 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeTarget.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute GradeTarget +{ + #keys: '3[414382.0.440655126][414382.0.440655125][414382.0.440655127]' + ValueType: Real +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeValueStr.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeValueStr.qbl new file mode 100644 index 0000000..e84d510 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradeValueStr.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute GradeValueStr +{ + #keys: '3[414382.0.440655139][414382.0.440655138][414382.0.440655140]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_GradingName.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradingName.qbl new file mode 100644 index 0000000..e38eb27 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_GradingName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute GradingName +{ + #keys: '3[414382.0.440655086][414382.0.440655085][414382.0.440655087]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_GroupName.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_GroupName.qbl new file mode 100644 index 0000000..7dc0270 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_GroupName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute GroupName +{ + #keys: '3[414382.0.444830133][414382.0.444830132][414382.0.444830134]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_IsBusinessType.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_IsBusinessType.qbl new file mode 100644 index 0000000..b5b33ba --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_IsBusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsBusinessType +{ + #keys: '3[414382.0.444830107][414382.0.444830106][414382.0.444830108]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_IsRange.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_IsRange.qbl new file mode 100644 index 0000000..8b4b84c --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_IsRange.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsRange +{ + #keys: '3[414382.0.440655096][414382.0.440655095][414382.0.440655097]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorDesc.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorDesc.qbl new file mode 100644 index 0000000..265d712 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorDesc.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityFactorDesc +{ + #keys: '3[414382.0.452050072][414382.0.452050071][414382.0.452050073]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorName.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorName.qbl new file mode 100644 index 0000000..6d4a629 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_PriorityFactorName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityFactorName +{ + #keys: '3[414382.0.444830222][414382.0.444830221][414382.0.444830223]' + ValueType: String +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMax.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMax.qbl new file mode 100644 index 0000000..4193c14 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMax.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute RangeMax +{ + #keys: '3[414382.0.440655106][414382.0.440655105][414382.0.440655107]' + ValueType: Real +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMin.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMin.qbl new file mode 100644 index 0000000..1af51cb --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_RangeMin.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute RangeMin +{ + #keys: '3[414382.0.440655116][414382.0.440655115][414382.0.440655117]' + ValueType: Real +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Attribute_coefficient.qbl b/_Main/BL/Type_PriorityFactorDetails/Attribute_coefficient.qbl new file mode 100644 index 0000000..e23d822 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Attribute_coefficient.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute coefficient +{ + #keys: '3[414382.0.444850041][414382.0.444850040][414382.0.444850042]' + Description: '浼樺厛鍥犲瓙绯绘暟' + ValueType: Real +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Function_CalcGradeValueStr.qbl b/_Main/BL/Type_PriorityFactorDetails/Function_CalcGradeValueStr.qbl new file mode 100644 index 0000000..b002f55 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Function_CalcGradeValueStr.qbl @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: #root +Function CalcGradeValueStr +{ + TextBody: + [* + // NBoTk Sep-18-2023 (created) + + + value := [String]this.GradeTarget(); + + if(this.IsRange()) + { + value := [String]this.RangeMin() + "~" + [String]this.RangeMax(); + } + + this.GradeValueStr( value ); + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/Function_CalcIsBusinessType.qbl b/_Main/BL/Type_PriorityFactorDetails/Function_CalcIsBusinessType.qbl new file mode 100644 index 0000000..96a9f70 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/Function_CalcIsBusinessType.qbl @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: #root +Function CalcIsBusinessType +{ + TextBody: + [* + // NBoTk Sep-17-2023 (created) + + value := true; + + if( this.GroupName() <> "" ) + { + value := false; + } + + this.IsBusinessType( value ); + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/StaticMethod_ClearTestData.qbl b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_ClearTestData.qbl new file mode 100644 index 0000000..7df229b --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_ClearTestData.qbl @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ClearTestData ( + GlobalOTDTable owner +) +{ + TextBody: + [* + // NBoTk Sep-18-2023 (created) + + info(1111 ); + owner.PriorityFactorDetails(relflush ); + info(2222); + owner.PriorityFactor(relflush ); + info(3333 ); + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/StaticMethod_CreateTestData.qbl b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_CreateTestData.qbl new file mode 100644 index 0000000..1c95944 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_CreateTestData.qbl @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod CreateTestData ( + GlobalOTDTable owner +) +{ + TextBody: + [* + // NBoTk Sep-18-2023 (created) + + info( "init data" ); + PriorityFactor::InitData( owner); + PriorityFactorDetails::InitData( owner); + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/StaticMethod_GetDataByBusinessType.qbl b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_GetDataByBusinessType.qbl new file mode 100644 index 0000000..3b64a2a --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_GetDataByBusinessType.qbl @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetDataByBusinessType ( + GlobalOTDTable owner, + String businessType +) as owning PriorityFactorDetailss +{ + TextBody: + [* + // NBoTk Sep-18-2023 (created) + + list := selectset( owner,PriorityFactorDetails,p, + p.BusinessType() = businessType + ); + info("list size :" + [String]list.Size()); + return &list; + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/StaticMethod_InitData.qbl b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_InitData.qbl new file mode 100644 index 0000000..4ecde5e --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/StaticMethod_InitData.qbl @@ -0,0 +1,35 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod InitData ( + GlobalOTDTable owner +) +{ + TextBody: + [* + // NBoTk Sep-17-2023 (created) + + info(" init PriorutyFactorDetails" ); + + + + traverse( owner, PriorityFactor , p) + { + isBusinessType := false; + if( p.BusinessType() <> "闆嗗洟闈㈡澘" ) + { + isBusinessType := true; + } + + owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 5, + IsRange := false,GradingName := "澶х泩",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); + owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 3, + IsRange := false,GradingName := "灏忕泩",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); + owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := 0, + IsRange := false,GradingName := "鎸佸钩",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); + owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -3, + IsRange := false,GradingName := "灏忎簭",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); + owner.PriorityFactorDetails(relnew,BusinessType := p.BusinessType(), IsBusinessType := isBusinessType,GradeTarget := -5, + IsRange := false,GradingName := "澶т簭",RangeMin := 0.0,RangeMax := 0.0,PriorityFactorName := p.Name()); + } + *] +} diff --git a/_Main/BL/Type_PriorityFactorDetails/_ROOT_Type_PriorityFactorDetails.qbl b/_Main/BL/Type_PriorityFactorDetails/_ROOT_Type_PriorityFactorDetails.qbl new file mode 100644 index 0000000..7c4a1f4 --- /dev/null +++ b/_Main/BL/Type_PriorityFactorDetails/_ROOT_Type_PriorityFactorDetails.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PriorityFactorDetails +{ + #keys: '5[414382.0.440655013][414382.0.440655011][0.0.0][414382.0.440655012][414382.0.440655014]' + BaseType: Object + StructuredName: 'PriorityFactorDetailss' +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def index 3dddc43..4e6377b 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def @@ -13,7 +13,7 @@ [ Image: 'ELEMENT_BLUE' Taborder: 0 - Title: 'Filling Capacity Scheme List' + Title: '澶栧崠CELL' Tooltip: 'Filling Capacity Scheme List' ] } @@ -25,6 +25,17 @@ [ Image: 'ELEMENT_ORANGE' Taborder: 1 + Title: '濉骇鏂规鍒楄〃' + ] + } + Component MenuSalesFillingSchemeHistorical + { + #keys: '[414382.0.455751651]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ELEMENT_ORANGE' + Taborder: 2 Title: '濉骇鍘嗗彶璁㈠崟鍒楄〃' ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def index 3aa17b6..3bd914f 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def @@ -11,7 +11,8 @@ [* // Open view //ApplicationMacroPlanner.OpenView( 'Filling Capacity Scheme List',ButtonSalesFillingCapacity); - ApplicationMacroPlanner.OpenView( 'View Sales Segments', ButtonSalesFillingCapacity ); + + ApplicationMacroPlanner.OpenView( 'FillingCapacityOrder', ButtonSalesFillingCapacity ); *] GroupServerCalls: false } diff --git "a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingS\043360.def" "b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingS\043360.def" new file mode 100644 index 0000000..2d1e1f4 --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingS\043360.def" @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: ContextMenuSalesFillingCapacity/MenuSalesFillingSchemeHistorical +Response OnClick () id:Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchemeHistorical_OnClick +{ + #keys: '[414382.0.455751650]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebMenu_OnClick' + QuillAction + { + Body: + [* + // Open view + //ApplicationMacroPlanner.OpenView( "FillingCapacitySchemeList",ButtonSalesFillingCapacity); + ApplicationMacroPlanner.OpenView( "FillingCapacityOrderHistorical"); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def index 0fd125b..0ad306d 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def @@ -11,8 +11,7 @@ [* // Open view //ApplicationMacroPlanner.OpenView( "FillingCapacitySchemeList",ButtonSalesFillingCapacity); - ApplicationMacroPlanner.OpenViewAndFocusButton( "FillingCapacitySchemeList"); - //Application.OpenForm( "FormFillingScheme"); + ApplicationMacroPlanner.OpenView( "FillingCapacitySchemeList"); *] GroupServerCalls: false } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def index d951132..7ff6bcd 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def @@ -29,7 +29,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"OrderType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"鐗堟湰鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"鍟嗗搧缂栫爜","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"浜嬩笟閮�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"閿�鍞儴闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"搴撳瓨鐐�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"鏁伴噺鍗曚綅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"闈㈡澘澶у紶鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"閿�鍞","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"棰勬祴闇�姹傛棩鏈�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"闇�姹傛棩鏈�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"璁㈠崟绫诲瀷","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' ContextMenu: 'listContextMenuFillingCapacityOrder' Taborder: 2 ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def index ebf5356..594ffdc 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def @@ -11,6 +11,6 @@ ] Properties: [ - Title: 'Filling Capacity Orders' + Title: '濉骇璁㈠崟鍒楄〃' ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def index 9982fb6..7023bea 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def @@ -28,7 +28,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"鐗堟湰鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"浜嬩笟閮�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"閿�鍞儴闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"搴撳瓨鐐�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"鏁伴噺鍗曚綅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"闈㈡澘澶у紶鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"閿�鍞","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"棰勬祴闇�姹傛椂闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"闇�姹傛椂闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"璁㈠崟绫诲瀷","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' ContextMenu: 'listContextMenuFillingSchemeDetail' Taborder: 2 ] diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" index 39f6e98..556ddb8 100644 --- "a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" +++ "b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" @@ -36,6 +36,6 @@ ] Properties: [ - Title: 'Filling Capacity Orders' + Title: '濉骇鏂规璇︽儏' ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def index 529f05f..5ea0d0a 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def @@ -28,7 +28,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ServiceType","title":"ServiceType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ServiceType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"鐗堟湰鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"璁㈠崟鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"鍟嗗搧缂栫爜","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"浜嬩笟閮�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ServiceType","title":"涓氬姟绫诲瀷","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ServiceType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"鏁伴噺鍗曚綅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"闈㈡澘澶у紶鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"閿�鍞","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"棰勬祴闇�姹傛椂闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"闇�姹傛椂闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}}]' ContextMenu: 'listContextMenuCustomerAndFillingCapacityOrder' Taborder: 2 ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def index 7a7dea3..a456ad1 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def @@ -11,6 +11,6 @@ ] Properties: [ - Title: 'Customer And Forecast Order' + Title: '璁㈠崟鍒楄〃' ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def index 30b376c..ebdc6ed 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def @@ -28,7 +28,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeName","title":"SchemeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeDate","title":"SchemeDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeDate"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeName","title":"鏂规鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"浜嬩笟閮�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"閿�鍞儴闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeDate","title":"鏂规鐢熸垚鏃堕棿","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeDate"}}]' ContextMenu: 'Menurelease' Taborder: 2 ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def index 7b75d26..cbe1b9f 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def @@ -12,20 +12,8 @@ Body: [* schemeName := selection.SchemeName(); - info( "schemeName : " + schemeName ); list := selectset( MacroPlan,FillingCapacityOrder,order,order.SchemeName() = selection.SchemeName()); - - traverse( list,Elements,e) - { - info( e.SchemeName() ); - } - DataHolderFillingScheme.Data(&list); - holderlist := DataHolderFillingScheme.Data(); - traverse( holderlist,Elements,e) - { - info( e.SchemeName() ); - } *] GroupServerCalls: false } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def index b95b12f..77502a9 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def @@ -19,4 +19,8 @@ ] } ] + Properties: + [ + Title: '濉骇鏂规鍒楄〃' + ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def index 017d092..84aa507 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def @@ -28,7 +28,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"OrderType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FillingType","title":"FillingType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FillingType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"RewindsQuantityToReduced","title":"RewindsQuantityToReduced","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"RewindsQuantityToReduced"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"OrderDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProfitabilityLevel","title":"ProfitabilityLevel","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProfitabilityLevel"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"鐗堟湰鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"璁㈠崟鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"鍟嗗搧缂栫爜","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"璁㈠崟绫诲瀷","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FillingType","title":"濉骇绫诲瀷","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FillingType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"浜嬩笟閮�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"搴撳瓨鐐�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"RewindsQuantityToReduced","title":"寰呭噺鍐叉暟閲�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"RewindsQuantityToReduced"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"鏁伴噺鍗曚綅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"閿�鍞","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"璁㈠崟鏃ユ湡","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"棰勬祴闇�姹傛椂闂�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProfitabilityLevel","title":"鐩堝埄姘村钩","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProfitabilityLevel"}}]' ContextMenu: 'listContextMenuHistoricalFillingCapacityOrder' Taborder: 2 ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def index 9a378bc..4562d53 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def @@ -9,4 +9,8 @@ [ #child: ListHistoricalFillingCapacityOrder ] + Properties: + [ + Title: '濉骇璁㈠崟鍒楄〃' + ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def index 9abf0cb..5c5ae1b 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def @@ -28,7 +28,7 @@ ] Properties: [ - Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"OrderDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}}]' + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"鐗堟湰鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"濉骇鍘嗗彶鍟嗗搧缂栫爜","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"瀹㈡埛鍚嶇О","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"鏁伴噺","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"鏁伴噺鍗曚綅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"璁㈠崟鏃ユ湡","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}}]' ContextMenu: 'listContextMenuHistoricalSalesOrders' Taborder: 2 ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def index 0b63738..2bddaac 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def @@ -11,6 +11,6 @@ ] Properties: [ - Title: 'Historical Sales Orders' + Title: '澶栧崠CELL鍘嗗彶璁㈠崟' ] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_ListPriorityFactor.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_ListPriorityFactor.def new file mode 100644 index 0000000..5880d9b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_ListPriorityFactor.def @@ -0,0 +1,59 @@ +Quintiq file version 2.0 +Component ListPriorityFactor +{ + #keys: '[414382.0.453382063]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorPriorityFactor + { + #keys: '[414382.0.453382064]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'structured[PriorityFactorDetails]' + Source: 'DataHolderPriorityFactorSelect' + Taborder: 0 + Transformation: 'Elements' + ] + } + #child: listActionBarPagePriorityFactor + Component DataSetLevelPriorityFactor + { + #keys: '[414382.0.453382069]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuPriorityFactor + ] + Properties: + [ + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorName","title":"PriorityFactorName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"coefficient","title":"coefficient","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"coefficient"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PriorityFactorDesc","title":"PriorityFactorDesc","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PriorityFactorDesc"}}]' + ContextMenu: 'listContextMenuPriorityFactor' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 1 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListPriorityFactor_WebMenu_OnClick + { + #keys: '[414382.0.452290439]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1187.0.7063875]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_PanelPriorityFactorSelect.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_PanelPriorityFactorSelect.def new file mode 100644 index 0000000..905d4a7 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_PanelPriorityFactorSelect.def @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +Component PanelPriorityFactorSelect +{ + #keys: '[414382.0.447270206]' + BaseType: 'WebPanel' + Children: + [ + Component BusinessTypeSelectStringList + { + #keys: '[414382.0.447270221]' + BaseType: 'WebDropDownStringList' + Properties: + [ + Label: '浜嬩笟閮�: ' + Taborder: 0 + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listActionBarPagePriorityFactor.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listActionBarPagePriorityFactor.def new file mode 100644 index 0000000..2c9ba6f --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listActionBarPagePriorityFactor.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPagePriorityFactor +{ + #keys: '[414382.0.453382066]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listContextMenuPriorityFactor.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listContextMenuPriorityFactor.def new file mode 100644 index 0000000..484aad4 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Component_listContextMenuPriorityFactor.def @@ -0,0 +1,34 @@ +Quintiq file version 2.0 +Component listContextMenuPriorityFactor +{ + #keys: '[414382.0.453382071]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuTestData + { + #keys: '[414382.0.452290464]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'GEAR' + Taborder: 3 + Title: 'Test' + ] + } + Component MenuClearTestData + { + #keys: '[414382.0.453953843]' + BaseType: 'WebMenu' + Properties: + [ + Taborder: 4 + Title: 'ClearTestData' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnCreated.def new file mode 100644 index 0000000..64ef34c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnCreated.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: BusinessTypeSelectStringList +Response OnCreated () id:Response_FormPriorityFactor_BusinessTypeSelectStringList_OnCreated +{ + #keys: '[414382.0.454113391]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebComponent_OnCreated' + QuillAction + { + Body: + [* + strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); + this.Strings(strings); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnSelectionChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnSelectionChanged.def new file mode 100644 index 0000000..d45eac2 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_BusinessTypeSelectStringList_OnSelectionChanged.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: BusinessTypeSelectStringList +Response OnSelectionChanged () id:Response_FormPriorityFactor_BusinessTypeSelectStringList_OnSelectionChanged +{ + #keys: '[414382.0.454113392]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' + QuillAction + { + Body: + [* + list := PriorityFactor::GetDataByBusinessType( GlobalOTDTable, BusinessTypeSelectStringList.Text()); + DataHolderPriorityFactorSelect.Data(&list); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuClearTestData_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuClearTestData_OnClick.def new file mode 100644 index 0000000..45d4098 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuClearTestData_OnClick.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: ListPriorityFactor +Response OnClick () id:Response_ListPriorityFactor_MenuClearTestData_OnClick +{ + #keys: '[414382.0.453592300]' + CanBindMultiple: false + DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick + Initiator: 'MenuClearTestData' + QuillAction + { + Body: + [* + PriorityFactorDetails::ClearTestData( GlobalOTDTable); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuTestData_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuTestData_OnClick.def new file mode 100644 index 0000000..c7d9f86 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuTestData_OnClick.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: ListPriorityFactor +Response OnClick () id:Response_ListPriorityFactor_MenuTestData_OnClick +{ + #keys: '[414382.0.453471285]' + CanBindMultiple: false + DefinitionID => /ListPriorityFactor/Responsedef_ListPriorityFactor_WebMenu_OnClick + Initiator: 'MenuTestData' + QuillAction + { + Body: + [* + PriorityFactorDetails::CreateTestData( GlobalOTDTable); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_PanelPriorityFactorSelect_BusinessTypeSelectStringList_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_PanelPriorityFactorSelect_BusinessTypeSelectStringList_OnCreated.def new file mode 100644 index 0000000..85e7767 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_PanelPriorityFactorSelect_BusinessTypeSelectStringList_OnCreated.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: PanelPriorityFactorSelect/BusinessTypeSelectStringList +Response OnCreated () id:Response_PanelPriorityFactorSelect_BusinessTypeSelectStringList_OnCreated +{ + #keys: '[414382.0.446101961]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebComponent_OnCreated' + QuillAction + { + Body: + [* + strings := BusinessType::GetBusinessNameStr( GlobalOTDTable ); + this.Strings(strings); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/_ROOT_Component_FormPriorityFactor.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/_ROOT_Component_FormPriorityFactor.def new file mode 100644 index 0000000..26acdc7 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/_ROOT_Component_FormPriorityFactor.def @@ -0,0 +1,32 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormPriorityFactor +{ + #keys: '[414382.0.447270044]' + BaseType: 'WebForm' + Children: + [ + #child: ListPriorityFactor + Component DataHolderPriorityFactorSelect + { + #keys: '[414382.0.453562359]' + BaseType: 'WebDataHolder' + Databinding: 'structured[PriorityFactor]*' + Properties: + [ + Taborder: 2 + ] + } + Component BusinessTypeSelectStringList + { + #keys: '[414382.0.454113393]' + BaseType: 'WebDropDownStringList' + Properties: + [ + Label: '浜嬩笟閮�: ' + Taborder: 0 + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def new file mode 100644 index 0000000..6f24830 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormPriorityFactorGrading +{ + #keys: '[414382.0.447270082]' + BaseType: 'WebForm' +} diff --git a/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrder.vw b/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrder.vw new file mode 100644 index 0000000..21e8b5a --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrder.vw @@ -0,0 +1,194 @@ +Quintiq file version 2.0 +{ + viewcontents + { + forms + { + form_FormFillingScheme + { + title: 'QTIANMA_JITUAN::FormFillingScheme' + shown: true + componentID: 'QTIANMA_JITUAN::FormFillingScheme' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 1 + columnSpan: 4 + } + components + { + FormFillingScheme_ListFillingScheme + { + } + FormFillingScheme_DataSetLevelFillingScheme + { + groupDepth: -1 + column_SchemeName + { + columnId: 'SchemeName' + dataPath: 'SchemeName' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_SalesSegmentName + { + columnId: 'SalesSegmentName' + dataPath: 'SalesSegmentName' + dataType: 'string' + index: 2 + subtotals: '' + width: 150 + } + column_Customer + { + columnId: 'Customer' + dataPath: 'Customer' + dataType: 'string' + index: 3 + subtotals: '' + width: 150 + } + column_SchemeDate + { + columnId: 'SchemeDate' + dataPath: 'SchemeDate' + dataType: 'date' + index: 4 + subtotals: '' + width: 150 + } + } + } + } + form_FormFillingSchemeDetail + { + title: 'QTIANMA_JITUAN::FormFillingSchemeDetail' + shown: true + componentID: 'QTIANMA_JITUAN::FormFillingSchemeDetail' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 5 + columnSpan: 4 + } + components + { + FormFillingSchemeDetail_ListFillingSchemeDetail + { + } + FormFillingSchemeDetail_DataSetLevelFillingSchemeDetail + { + groupDepth: -1 + column_VerNo + { + columnId: 'VerNo' + dataPath: 'VerNo' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + } + } + } + form_FormPriorities + { + title: 'Priorities' + shown: true + componentID: 'FormPriorities' + layout + { + mode: 'dockright' + index: 0 + } + components + { + FormPriorities_ListPriority + { + } + FormPriorities_DataSetLevelPriority + { + groupDepth: -1 + column_All_constraints + { + columnId: 'All constraints' + dataPath: 'All constraints' + dataType: 'string' + title: 'All constraints' + index: 0 + subtotals: '' + width: 33 + } + column_ImgHasSalesDemand + { + columnId: 'ImgHasSalesDemand' + dataPath: 'ImgHasSalesDemand' + dataType: 'string' + title: 'ImgHasSalesDemand' + index: 1 + subtotals: '' + width: 30 + } + column_Name + { + columnId: 'Name' + dataPath: 'Name' + dataType: 'string' + title: '鍚嶇О' + index: 2 + subtotals: '' + width: 95 + } + column_Weight + { + columnId: 'Weight' + dataPath: 'Weight' + dataType: 'real' + title: '鏉冮噸' + index: 3 + subtotals: '' + width: 95 + } + } + } + } + } + userconfigurableinformation + { + } + page: '' + group: '' + index: 14 + image: '' + description: '' + } + formatversion: 2 + id: 'FillingCapacityOrder' + name: 'FillingCapacityOrder' + isglobal: false + isroot: true +} diff --git a/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw b/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw new file mode 100644 index 0000000..e8b9ad7 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +{ + viewcontents + { + page: '' + group: '' + index: 0 + image: '' + description: '' + } + formatversion: 2 + id: 'FillingCapacityOrderHistorical' + name: 'FillingCapacityOrderHistorical' + isglobal: false + isroot: true +} diff --git a/_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp b/_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp index 27e4778..b0553a3 100644 --- a/_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp +++ b/_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp @@ -5,7 +5,7 @@ ProjectProperties { ApplicationComponentName: 'ApplicationMacroPlanner' - BuildVersion: '2022.3.0.52' + BuildVersion: '2022.3.0.125' Description: 'Quintiq Macro Planner' ProjectKind: 'WebClient' } diff --git a/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrder.vw b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrder.vw new file mode 100644 index 0000000..e143a99 --- /dev/null +++ b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrder.vw @@ -0,0 +1,12 @@ +Quintiq file version 2.0 +{ + viewcontents + { + index: 0 + } + formatversion: 2 + id: 'FillingCapacityOrder' + name: 'FillingCapacityOrder' + isglobal: false + isroot: false +} diff --git a/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw new file mode 100644 index 0000000..1323ac5 --- /dev/null +++ b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/FillingCapacityOrderHistorical.vw @@ -0,0 +1,434 @@ +Quintiq file version 2.0 +{ + viewcontents + { + forms + { + form_FormCustomerAndForecastOrder + { + title: 'QTIANMA_JITUAN::FormCustomerAndForecastOrder' + shown: true + componentID: 'QTIANMA_JITUAN::FormCustomerAndForecastOrder' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 9 + columnSpan: 4 + } + components + { + FormCustomerAndForecastOrder_ListCustomerAndFillingCapacityOrder + { + } + FormCustomerAndForecastOrder_DataSetLevelCustomerAndFillingCapacityOrder + { + groupDepth: -1 + column_VerNo + { + columnId: 'VerNo' + dataPath: 'VerNo' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_OrderID + { + columnId: 'OrderID' + dataPath: 'OrderID' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_ProductID + { + columnId: 'ProductID' + dataPath: 'ProductID' + dataType: 'string' + index: 2 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 3 + subtotals: '' + width: 150 + } + column_Customer + { + columnId: 'Customer' + dataPath: 'Customer' + dataType: 'string' + index: 4 + subtotals: '' + width: 150 + } + column_ServiceType + { + columnId: 'ServiceType' + dataPath: 'ServiceType' + dataType: 'string' + index: 5 + subtotals: '' + width: 150 + } + column_Quantity + { + columnId: 'Quantity' + dataPath: 'Quantity' + dataType: 'real' + index: 6 + subtotals: '' + width: 150 + } + column_UnitOfMeasureName + { + columnId: 'UnitOfMeasureName' + dataPath: 'UnitOfMeasureName' + dataType: 'string' + index: 7 + subtotals: '' + width: 150 + } + column_PanelBigSheetQuantity + { + columnId: 'PanelBigSheetQuantity' + dataPath: 'PanelBigSheetQuantity' + dataType: 'real' + index: 8 + subtotals: '' + width: 150 + } + column_SalesAmount + { + columnId: 'SalesAmount' + dataPath: 'SalesAmount' + dataType: 'number' + index: 9 + subtotals: '' + width: 150 + } + column_ForecastDemandDate + { + columnId: 'ForecastDemandDate' + dataPath: 'ForecastDemandDate' + dataType: 'date' + index: 10 + subtotals: '' + width: 150 + } + column_DemandDate + { + columnId: 'DemandDate' + dataPath: 'DemandDate' + dataType: 'date' + index: 11 + subtotals: '' + width: 150 + } + } + } + } + form_FormHistoricalSalesOrders + { + title: 'QTIANMA_JITUAN::FormHistoricalSalesOrders' + shown: true + componentID: 'QTIANMA_JITUAN::FormHistoricalSalesOrders' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 1 + columnSpan: 4 + } + components + { + FormHistoricalSalesOrders_ListHistoricalSalesOrders + { + } + FormHistoricalSalesOrders_DataSetLevelHistoricalSalesOrders + { + groupDepth: -1 + column_VerNo + { + columnId: 'VerNo' + dataPath: 'VerNo' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_ProductID + { + columnId: 'ProductID' + dataPath: 'ProductID' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_Customer + { + columnId: 'Customer' + dataPath: 'Customer' + dataType: 'string' + index: 2 + subtotals: '' + width: 150 + } + column_Quantity + { + columnId: 'Quantity' + dataPath: 'Quantity' + dataType: 'real' + index: 3 + subtotals: '' + width: 150 + } + column_UnitOfMeasureName + { + columnId: 'UnitOfMeasureName' + dataPath: 'UnitOfMeasureName' + dataType: 'string' + index: 4 + subtotals: '' + width: 150 + } + column_OrderDate + { + columnId: 'OrderDate' + dataPath: 'OrderDate' + dataType: 'date' + index: 5 + subtotals: '' + width: 150 + } + } + } + } + form_FormFillingCapacityOrder + { + title: 'QTIANMA_JITUAN::FormFillingCapacityOrder' + shown: true + componentID: 'QTIANMA_JITUAN::FormFillingCapacityOrder' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 5 + columnSpan: 4 + } + components + { + FormFillingCapacityOrder_ListFillingCapacityOrder + { + } + FormFillingCapacityOrder_DataSetLevelFillingCapacityOrder + { + groupDepth: -1 + column_VerNo + { + columnId: 'VerNo' + dataPath: 'VerNo' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_ProductID + { + columnId: 'ProductID' + dataPath: 'ProductID' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 2 + subtotals: '' + width: 150 + } + column_SalesSegmentName + { + columnId: 'SalesSegmentName' + dataPath: 'SalesSegmentName' + dataType: 'string' + index: 3 + subtotals: '' + width: 150 + } + column_StockingPointID + { + columnId: 'StockingPointID' + dataPath: 'StockingPointID' + dataType: 'string' + index: 4 + subtotals: '' + width: 150 + } + column_Customer + { + columnId: 'Customer' + dataPath: 'Customer' + dataType: 'string' + index: 5 + subtotals: '' + width: 150 + } + column_Quantity + { + columnId: 'Quantity' + dataPath: 'Quantity' + dataType: 'real' + index: 6 + subtotals: '' + width: 150 + } + column_UnitOfMeasureName + { + columnId: 'UnitOfMeasureName' + dataPath: 'UnitOfMeasureName' + dataType: 'string' + index: 7 + subtotals: '' + width: 150 + } + column_PanelBigSheetQuantity + { + columnId: 'PanelBigSheetQuantity' + dataPath: 'PanelBigSheetQuantity' + dataType: 'real' + index: 8 + subtotals: '' + width: 150 + } + column_SalesAmount + { + columnId: 'SalesAmount' + dataPath: 'SalesAmount' + dataType: 'number' + index: 9 + subtotals: '' + width: 150 + } + column_ForecastDemandDate + { + columnId: 'ForecastDemandDate' + dataPath: 'ForecastDemandDate' + dataType: 'date' + index: 10 + subtotals: '' + width: 150 + } + column_DemandDate + { + columnId: 'DemandDate' + dataPath: 'DemandDate' + dataType: 'date' + index: 11 + subtotals: '' + width: 150 + } + column_OrderType + { + columnId: 'OrderType' + dataPath: 'OrderType' + dataType: 'string' + index: 12 + subtotals: '' + width: 150 + } + } + } + } + form_FormPriorities + { + title: 'Priorities' + shown: true + componentID: 'FormPriorities' + layout + { + mode: 'dockright' + index: 0 + } + components + { + FormPriorities_ListPriority + { + } + FormPriorities_DataSetLevelPriority + { + groupDepth: -1 + column_All_constraints + { + columnId: 'All constraints' + dataPath: 'All constraints' + dataType: 'string' + title: 'All constraints' + index: 0 + subtotals: '' + width: 33 + } + column_ImgHasSalesDemand + { + columnId: 'ImgHasSalesDemand' + dataPath: 'ImgHasSalesDemand' + dataType: 'string' + title: 'ImgHasSalesDemand' + index: 1 + subtotals: '' + width: 30 + } + column_Name + { + columnId: 'Name' + dataPath: 'Name' + dataType: 'string' + title: '鍚嶇О' + index: 2 + subtotals: '' + width: 95 + } + column_Weight + { + columnId: 'Weight' + dataPath: 'Weight' + dataType: 'real' + title: '鏉冮噸' + index: 3 + subtotals: '' + width: 95 + } + } + } + } + } + userconfigurableinformation + { + } + page: '' + group: '' + index: 15 + image: '' + description: '' + } + formatversion: 2 + id: 'FillingCapacityOrderHistorical' + name: 'FillingCapacityOrderHistorical' + isglobal: false + isroot: true +} diff --git a/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/Priority_Factor.vw b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/Priority_Factor.vw new file mode 100644 index 0000000..cfc6d88 --- /dev/null +++ b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/Priority_Factor.vw @@ -0,0 +1,194 @@ +Quintiq file version 2.0 +{ + viewcontents + { + forms + { + form_FormFillingScheme + { + title: 'QTIANMA_JITUAN::FormFillingScheme' + shown: true + componentID: 'QTIANMA_JITUAN::FormFillingScheme' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 1 + columnSpan: 4 + } + components + { + FormFillingScheme_ListFillingScheme + { + } + FormFillingScheme_DataSetLevelFillingScheme + { + groupDepth: -1 + column_SchemeName + { + columnId: 'SchemeName' + dataPath: 'SchemeName' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + column_SalesSegmentName + { + columnId: 'SalesSegmentName' + dataPath: 'SalesSegmentName' + dataType: 'string' + index: 2 + subtotals: '' + width: 150 + } + column_Customer + { + columnId: 'Customer' + dataPath: 'Customer' + dataType: 'string' + index: 3 + subtotals: '' + width: 150 + } + column_SchemeDate + { + columnId: 'SchemeDate' + dataPath: 'SchemeDate' + dataType: 'date' + index: 4 + subtotals: '' + width: 150 + } + } + } + } + form_FormFillingSchemeDetail + { + title: 'QTIANMA_JITUAN::FormFillingSchemeDetail' + shown: true + componentID: 'QTIANMA_JITUAN::FormFillingSchemeDetail' + layout + { + mode: 'open' + rowPosition: 1 + rowSpan: 6 + columnPosition: 5 + columnSpan: 4 + } + components + { + FormFillingSchemeDetail_ListFillingSchemeDetail + { + } + FormFillingSchemeDetail_DataSetLevelFillingSchemeDetail + { + groupDepth: -1 + column_VerNo + { + columnId: 'VerNo' + dataPath: 'VerNo' + dataType: 'string' + index: 0 + subtotals: '' + width: 150 + } + column_BusinessType + { + columnId: 'BusinessType' + dataPath: 'BusinessType' + dataType: 'string' + index: 1 + subtotals: '' + width: 150 + } + } + } + } + form_FormPriorities + { + title: 'Priorities' + shown: true + componentID: 'FormPriorities' + layout + { + mode: 'dockright' + index: 0 + } + components + { + FormPriorities_ListPriority + { + } + FormPriorities_DataSetLevelPriority + { + groupDepth: -1 + column_All_constraints + { + columnId: 'All constraints' + dataPath: 'All constraints' + dataType: 'string' + title: 'All constraints' + index: 0 + subtotals: '' + width: 33 + } + column_ImgHasSalesDemand + { + columnId: 'ImgHasSalesDemand' + dataPath: 'ImgHasSalesDemand' + dataType: 'string' + title: 'ImgHasSalesDemand' + index: 1 + subtotals: '' + width: 30 + } + column_Name + { + columnId: 'Name' + dataPath: 'Name' + dataType: 'string' + title: '鍚嶇О' + index: 2 + subtotals: '' + width: 95 + } + column_Weight + { + columnId: 'Weight' + dataPath: 'Weight' + dataType: 'real' + title: '鏉冮噸' + index: 3 + subtotals: '' + width: 95 + } + } + } + } + } + userconfigurableinformation + { + } + page: '' + group: '' + index: 13 + image: '' + description: '' + } + formatversion: 2 + id: 'Priority_Factor' + name: 'Priority Factor' + isglobal: false + isroot: true +} -- Gitblit v1.9.3