From a88fe6630f15c12d5c35d6b8a6dd4c8c4635d202 Mon Sep 17 00:00:00 2001 From: hongji.li <hongji.a.li@capgemini.com> Date: 星期一, 18 九月 2023 11:56:52 +0800 Subject: [PATCH] 合并填产功能 --- _Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl | 9 _Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl | 7 _Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def | 36 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_MenuRelease_OnClick.def | 24 _Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_CustomerID.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlActions.def | 40 _Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl | 6 _Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl | 21 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl | 28 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def | 57 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProfitabilityLevel.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def | 19 _Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl | 8 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeName.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_CreateFillingCapacityOrderScheme.qbl | 48 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def | 41 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_UnitOfMeasureName.qbl | 6 _Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl | 7 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def | 86 + _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail#802.def | 41 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def | 46 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_VerNo.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def | 15 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def | 125 + _Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/_ROOT_Type_FilllingCapacityOrderScheme.qbl | 9 _Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def | 40 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_Menurelease.def | 23 _Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl | 10 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType#675.def | 10 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def | 41 _Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl | 25 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def | 17 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def | 35 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_RewindsQuantityToReduced.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderDate.qbl | 7 _Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl | 23 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def | 17 _Main/BL/Relations/Relation_FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrd.qbl | 23 _Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl | 9 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def | 25 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlContent.def | 24 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def | 19 _Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_BusinessType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def | 15 _Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def | 15 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def | 17 _Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl | 28 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupSalesViews#633.def | 22 _Main/BL/Relations/Relation_FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrd.qbl | 23 _Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_GetFillingSchemeDetails.qbl | 16 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def | 42 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl | 8 _Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_ReleaseFillingScheme.qbl | 22 _Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl | 7 _Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def | 19 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Quantity.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def | 17 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def | 10 _Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl | 23 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl | 8 _Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def | 18 _Main/BL/Relations/Relation_HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillin.qbl | 23 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def | 46 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def | 59 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def | 10 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl | 6 _Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl | 7 _Main/BL/Type_FillingCapacityOrder/DefaultValue_IsFilling.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl | 26 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def | 20 _Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl | 23 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def | 15 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def | 18 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def | 32 _Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl | 7 _Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageSales.def | 8 _Main/UI/MacroPlannerWebApp/Views/填产方案列表.vw | 194 ++ _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl | 19 _Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl | 17 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def | 41 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def | 26 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def | 15 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def | 10 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def | 16 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def | 10 _Main/BL/Type_FillingCapacityOrder/Attribute_IsFilling.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ForecastDemandDate.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_SalesAmount.qbl | 7 _Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def | 42 _var/_Main/ProjSettings/MacroPlannerWebApp/Views/填产方案列表.vw | 11 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl | 26 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/_ROOT_Component_DialogFillingOrderScheme.def | 32 _Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_BusinessType.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_OrderType.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def | 40 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def | 16 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl | 7 _Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_BusinessType.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_StockingPointID.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def | 109 + _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def | 15 _Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl | 9 _Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listContextMenuFillingSchemeDetail.def | 10 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderType.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl | 28 _Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_BusinessType/Method_UpdateData.qbl | 13 _Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl | 8 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def | 28 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def | 15 _Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl | 6 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnOk_OnClick.def | 21 _Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl | 23 _Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl | 8 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID0.qbl | 6 _Main/BL/Type_FillingCapacityOrder/Attribute_SchemeName.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnCancel_OnClick.def | 15 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_CustomerID.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def | 59 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl | 64 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Customer.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def | 60 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def | 20 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def | 25 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl | 6 _Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def | 20 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def | 42 _Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl | 8 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_Customer.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def | 15 _Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeDate.qbl | 7 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_BusinessType.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_FillingType.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_IsRelease.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def | 19 _Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_Customer.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/_ROOT_Type_HistoricalFillingCapacityOrder.qbl | 9 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listActionBarPageHistoricalFillingCapacityOrder.def | 10 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def | 12 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl | 25 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Method_OpenScheme.def | 10 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def | 25 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def | 15 _Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def | 19 _Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl | 6 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_VerNo.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl | 8 _Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SchemeName.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl | 8 _Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def | 22 _Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType#367.def | 16 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listActionBarPageFillingSchemeDetail.def | 10 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def | 16 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def | 15 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def | 20 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def | 18 _Main/BL/Type_BusinessType/Method_DeleteData.qbl | 11 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def | 1 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def | 59 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listContextMenuHistoricalFillingCapacityOrder.def | 10 _Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl | 8 _Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl | 27 _Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_listActionBarPageFillingScheme.def | 10 _Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def | 40 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def | 40 _Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def | 16 _Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def | 59 _Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl | 7 _Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl | 7 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID0.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def | 25 _Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderID.qbl | 7 _Main/BL/Type_FilllingCapacityOrderScheme/Attribute_Customer.qbl | 7 _Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl | 8 _Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def | 15 226 files changed, 3,972 insertions(+), 0 deletions(-) diff --git a/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl b/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl new file mode 100644 index 0000000..be40076 --- /dev/null +++ b/_Main/BL/Relations/Relation_BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType +{ + #keys: '1[414382.0.362030054]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide GlobalOTDTable + { + #keys: '3[414382.0.362030056][414382.0.362030055][414382.0.362030057]' + Cardinality: '0to1' + ObjectDefinition: BusinessType + OwningSide: 'Reference' + } + RelationSide.RightSide BusinessType + { + #keys: '3[414382.0.362030059][414382.0.362030058][414382.0.362030060]' + Cardinality: '1toN' + ObjectDefinition: GlobalOTDTable + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl b/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl new file mode 100644 index 0000000..dc73c2b --- /dev/null +++ b/_Main/BL/Relations/Relation_CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrd.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrder +{ + #keys: '1[414382.0.412354687]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide MacroPlan + { + #keys: '3[414382.0.412354689][414382.0.412354688][414382.0.412354690]' + Cardinality: '0to1' + ObjectDefinition: CustomerAndForecastOrder + OwningSide: 'Reference' + } + RelationSide.RightSide CustomerAndForecastOrder + { + #keys: '3[414382.0.412354692][414382.0.412354691][414382.0.412354693]' + Cardinality: '1toN' + ObjectDefinition: MacroPlan + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl b/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl new file mode 100644 index 0000000..2b0f0bc --- /dev/null +++ b/_Main/BL/Relations/Relation_FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder +{ + #keys: '1[414382.0.394820063]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide MacroPlan + { + #keys: '3[414382.0.394820065][414382.0.394820064][414382.0.394820066]' + Cardinality: '0to1' + ObjectDefinition: FillingCapacityOrder + OwningSide: 'Reference' + } + RelationSide.RightSide FillingCapacityOrder + { + #keys: '3[414382.0.394820068][414382.0.394820067][414382.0.394820069]' + Cardinality: '1toN' + ObjectDefinition: MacroPlan + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrd.qbl b/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrd.qbl new file mode 100644 index 0000000..037c40a --- /dev/null +++ b/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrd.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrder_FilllingCapacityOrderScheme +{ + #keys: '1[414382.0.424779922]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide FillingCapacityOrder + { + #keys: '3[414382.0.424779924][414382.0.424779923][414382.0.424779925]' + Cardinality: '1toN' + ObjectDefinition: FilllingCapacityOrderScheme + OwningSide: 'Reference' + } + RelationSide.RightSide FilllingCapacityOrderScheme + { + #keys: '3[414382.0.424779927][414382.0.424779926][414382.0.424779928]' + Cardinality: '0to1' + ObjectDefinition: FillingCapacityOrder + OwningSide: 'Reference' + } +} diff --git a/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrd.qbl b/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrd.qbl new file mode 100644 index 0000000..ed28adb --- /dev/null +++ b/_Main/BL/Relations/Relation_FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrd.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrderScheme +{ + #keys: '1[414382.0.424779906]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide MacroPlan + { + #keys: '3[414382.0.424779908][414382.0.424779907][414382.0.424779909]' + Cardinality: '0to1' + ObjectDefinition: FilllingCapacityOrderScheme + OwningSide: 'Reference' + } + RelationSide.RightSide FilllingCapacityOrderScheme + { + #keys: '3[414382.0.424779911][414382.0.424779910][414382.0.424779912]' + Cardinality: '1toN' + ObjectDefinition: MacroPlan + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillin.qbl b/_Main/BL/Relations/Relation_HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillin.qbl new file mode 100644 index 0000000..c894832 --- /dev/null +++ b/_Main/BL/Relations/Relation_HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillin.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillingCapacityOrder +{ + #keys: '1[414382.0.440654894]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide MacroPlan + { + #keys: '3[414382.0.440654896][414382.0.440654895][414382.0.440654897]' + Cardinality: '0to1' + ObjectDefinition: HistoricalFillingCapacityOrder + OwningSide: 'Reference' + } + RelationSide.RightSide HistoricalFillingCapacityOrder + { + #keys: '3[414382.0.440654899][414382.0.440654898][414382.0.440654900]' + Cardinality: '1toN' + ObjectDefinition: MacroPlan + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl b/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl new file mode 100644 index 0000000..3a7a8c1 --- /dev/null +++ b/_Main/BL/Relations/Relation_HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder +{ + #keys: '1[414382.0.385610086]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide MacroPlan + { + #keys: '3[414382.0.385610088][414382.0.385610087][414382.0.385610089]' + Cardinality: '0to1' + ObjectDefinition: HistoricalSalesOrder + OwningSide: 'Reference' + } + RelationSide.RightSide HistoricalSalesOrder + { + #keys: '3[414382.0.385610091][414382.0.385610090][414382.0.385610092]' + Cardinality: '1toN' + ObjectDefinition: MacroPlan + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl b/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl new file mode 100644 index 0000000..f2fb6a3 --- /dev/null +++ b/_Main/BL/Type_BusinessType/Attribute_BusinessTypeName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessTypeName +{ + #keys: '3[414382.0.361554811][414382.0.361554810][414382.0.361554812]' + ValueType: String +} diff --git a/_Main/BL/Type_BusinessType/Method_DeleteData.qbl b/_Main/BL/Type_BusinessType/Method_DeleteData.qbl new file mode 100644 index 0000000..3bc2d98 --- /dev/null +++ b/_Main/BL/Type_BusinessType/Method_DeleteData.qbl @@ -0,0 +1,11 @@ +Quintiq file version 2.0 +#parent: #root +Method DeleteData +{ + TextBody: + [* + // NBoTk Sep-7-2023 (created) + + this.Delete(); + *] +} diff --git a/_Main/BL/Type_BusinessType/Method_UpdateData.qbl b/_Main/BL/Type_BusinessType/Method_UpdateData.qbl new file mode 100644 index 0000000..6a63c02 --- /dev/null +++ b/_Main/BL/Type_BusinessType/Method_UpdateData.qbl @@ -0,0 +1,13 @@ +Quintiq file version 2.0 +#parent: #root +Method UpdateData ( + String businessTypeName +) +{ + TextBody: + [* + // NBoTk Sep-7-2023 (created) + + this.BusinessTypeName(businessTypeName); + *] +} diff --git a/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl b/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl new file mode 100644 index 0000000..0606111 --- /dev/null +++ b/_Main/BL/Type_BusinessType/StaticMethod_CreateData.qbl @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod CreateData ( + GlobalOTDTable owner, + String businessName +) +{ + TextBody: + [* + // NBoTk Sep-7-2023 (created) + // 鍒涘缓businessType + + // 鍒ゆ柇鍚嶇О鏄惁瀛樺湪 + + checkExist := exists( owner,BusinessType,b, + true, + b.BusinessTypeName() = businessName + ); + + // 濡傛灉涓嶅瓨鍦ㄥ垯娣诲姞 + if( not checkExist ){ + owner.BusinessType(relnew,BusinessTypeName := businessName); + } + *] +} diff --git a/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl new file mode 100644 index 0000000..02ecd32 --- /dev/null +++ b/_Main/BL/Type_BusinessType/StaticMethod_GetBusinessNameStr.qbl @@ -0,0 +1,28 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetBusinessNameStr ( + GlobalOTDTable owner +) as String +{ + TextBody: + [* + // NBoTk Sep-7-2023 (created) + + // 鑾峰彇businessType 闆嗗悎 + result := ""; + businessTypeList := construct( structured[String]); + + traverse( owner,BusinessType,b) + { + businessTypeList.Add( b.BusinessTypeName()); + } + + // 濡傛灉瀛樺湪businessType鏁版嵁 鍒欒繑鍥� : a,b,c + + if( not isnull( businessTypeList ) ) + { + result := businessTypeList.Concatenate( ";" ); + } + return result; + *] +} diff --git a/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl b/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl new file mode 100644 index 0000000..3074c70 --- /dev/null +++ b/_Main/BL/Type_BusinessType/_ROOT_Type_BusinessType.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type BusinessType +{ + #keys: '5[414382.0.361591349][414382.0.361591347][0.0.0][414382.0.361591348][414382.0.361591350]' + BaseType: Object + Description: 'business type' + StructuredName: 'BusinessTypes' +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl new file mode 100644 index 0000000..40608d9 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_BusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.412354709][414382.0.412354708][414382.0.412354710]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl new file mode 100644 index 0000000..b2e8166 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414382.0.412354716][414382.0.412354715][414382.0.412354717]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl new file mode 100644 index 0000000..23b41c4 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414382.0.412354719][414382.0.412354718][414382.0.412354720]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl new file mode 100644 index 0000000..17582b0 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_DemandDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute DemandDate +{ + #keys: '3[414382.0.412354743][414382.0.412354742][414382.0.412354744]' + ValueType: Date +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl new file mode 100644 index 0000000..eeecbc3 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ForecastDemandDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ForecastDemandDate +{ + #keys: '3[414382.0.412354746][414382.0.412354745][414382.0.412354747]' + ValueType: Date +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl new file mode 100644 index 0000000..4cc6f85 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_OrderID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414382.0.412354701][414382.0.412354700][414382.0.412354702]' + Description: '璁㈠崟鍙�' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl new file mode 100644 index 0000000..a18cc58 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_PanelBigSheetQuantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PanelBigSheetQuantity +{ + #keys: '3[414382.0.412354739][414382.0.412354738][414382.0.412354740]' + ValueType: Real +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl new file mode 100644 index 0000000..28586d6 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414382.0.412354712][414382.0.412354711][414382.0.412354713]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl new file mode 100644 index 0000000..d6f3095 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414382.0.412354736][414382.0.412354735][414382.0.412354737]' + ValueType: Real +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl new file mode 100644 index 0000000..8fcddce --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_SalesAmount.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesAmount +{ + #keys: '3[414382.0.412354749][414382.0.412354748][414382.0.412354750]' + ValueType: Number +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl new file mode 100644 index 0000000..5aa25d1 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_ServiceType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ServiceType +{ + #keys: '3[414382.0.412354723][414382.0.412354722][414382.0.412354724]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..c7034c3 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414382.0.412354733][414382.0.412354732][414382.0.412354734]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl new file mode 100644 index 0000000..7baf45d --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/Attribute_VerNo.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute VerNo +{ + #keys: '3[414382.0.412354705][414382.0.412354704][414382.0.412354706]' + ValueType: String +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl new file mode 100644 index 0000000..1672b03 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_BusinessType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: BusinessType +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..b2012de --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl new file mode 100644 index 0000000..0edfadc --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/DefaultValue_VerNo.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: VerNo +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl new file mode 100644 index 0000000..720a7bb --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateFillingCapacityOrder.qbl @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod CreateFillingCapacityOrder ( + MacroPlan owner, + CustomerAndForecastOrder data +) +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + owner.FillingCapacityOrder(relnew,ProductID := data.ProductID(),BusinessType := data.BusinessType(),Customer := data.Customer(),CustomerID := data.CustomerID(), + Quantity := data.Quantity(),UnitOfMeasureName := data.UnitOfMeasureName(),PanelBigSheetQuantity := data.PanelBigSheetQuantity(),SalesAmount := data.SalesAmount(), + ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate(),VerNo := data.VerNo() + ); + *] +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl new file mode 100644 index 0000000..94354eb --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/StaticMethod_CreateTestData.qbl @@ -0,0 +1,21 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod CreateTestData ( + MacroPlan owner +) +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + stringdate := '20230901'; + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyyMMdd' ); + date := cnv2.Convert( stringdate ); + + owner.CustomerAndForecastOrder(relnew,OrderID := "001",ProductID := "001",BusinessType := "浜嬩笟涓�閮�",Customer := "瀹㈡埛",CustomerID := "001", + Quantity := 100,UnitOfMeasureName := "PCS",PanelBigSheetQuantity := 200,SalesAmount := 1000,ForecastDemandDate := date,DemandDate := date + ); + *] +} diff --git a/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl b/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl new file mode 100644 index 0000000..1239f5b --- /dev/null +++ b/_Main/BL/Type_CustomerAndForecastOrder/_ROOT_Type_CustomerAndForecastOrder.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type CustomerAndForecastOrder +{ + #keys: '5[414382.0.412354684][414382.0.412354682][0.0.0][414382.0.412354683][414382.0.412354685]' + BaseType: Object + StructuredName: 'CustomerAndForecastOrders' +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl new file mode 100644 index 0000000..20f4d01 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_BusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.394820097][414382.0.394820096][414382.0.394820098]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl new file mode 100644 index 0000000..75ac73a --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414382.0.394820200][414382.0.394820199][414382.0.394820201]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl new file mode 100644 index 0000000..1809787 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414382.0.394820210][414382.0.394820209][414382.0.394820211]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl new file mode 100644 index 0000000..b347899 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_DemandDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute DemandDate +{ + #keys: '3[414382.0.394820180][414382.0.394820179][414382.0.394820181]' + ValueType: Date +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl new file mode 100644 index 0000000..8bfc0f9 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_ForecastDemandDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ForecastDemandDate +{ + #keys: '3[414382.0.394820170][414382.0.394820169][414382.0.394820171]' + ValueType: Date +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_IsFilling.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_IsFilling.qbl new file mode 100644 index 0000000..71fc4b0 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_IsFilling.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFilling +{ + #keys: '3[414382.0.419264586][414382.0.419264585][414382.0.419264587]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl new file mode 100644 index 0000000..6f4e9b4 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414382.0.394815955][414382.0.394815954][414382.0.394815956]' + ValueType: Date +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl new file mode 100644 index 0000000..da22dcc --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_OrderType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderType +{ + #keys: '3[414382.0.394820190][414382.0.394820189][414382.0.394820191]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl new file mode 100644 index 0000000..107f871 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_PanelBigSheetQuantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PanelBigSheetQuantity +{ + #keys: '3[414382.0.394820150][414382.0.394820149][414382.0.394820151]' + ValueType: Real +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl new file mode 100644 index 0000000..e1d2f3e --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414382.0.394820087][414382.0.394820086][414382.0.394820088]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl new file mode 100644 index 0000000..335de16 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414382.0.394820127][414382.0.394820126][414382.0.394820128]' + ValueType: Real +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl new file mode 100644 index 0000000..246ad4b --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesAmount.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesAmount +{ + #keys: '3[414382.0.394820160][414382.0.394820159][414382.0.394820161]' + ValueType: Number +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..b51495f --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414382.0.394820107][414382.0.394820106][414382.0.394820108]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_SchemeName.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_SchemeName.qbl new file mode 100644 index 0000000..ff6d517 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_SchemeName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SchemeName +{ + #keys: '3[414382.0.424779892][414382.0.424779891][414382.0.424779893]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..2e85dae --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414382.0.394820117][414382.0.394820116][414382.0.394820118]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..fc5f64b --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414382.0.394820137][414382.0.394820136][414382.0.394820138]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl b/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl new file mode 100644 index 0000000..be3aead --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/Attribute_VerNo.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute VerNo +{ + #keys: '3[414382.0.394820077][414382.0.394820076][414382.0.394820078]' + ValueType: String +} diff --git a/_Main/BL/Type_FillingCapacityOrder/DefaultValue_IsFilling.qbl b/_Main/BL/Type_FillingCapacityOrder/DefaultValue_IsFilling.qbl new file mode 100644 index 0000000..aa634ef --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/DefaultValue_IsFilling.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsFilling +} diff --git a/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl b/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl new file mode 100644 index 0000000..4158fc2 --- /dev/null +++ b/_Main/BL/Type_FillingCapacityOrder/_ROOT_Type_FillingCapacityOrder.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type FillingCapacityOrder +{ + #keys: '5[414382.0.394820060][414382.0.394820058][0.0.0][414382.0.394820059][414382.0.394820061]' + BaseType: Object + StructuredName: 'FillingCapacityOrders' +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_BusinessType.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_BusinessType.qbl new file mode 100644 index 0000000..f3ff6a3 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_BusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.424779940][414382.0.424779939][414382.0.424779941]' + ValueType: String +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_Customer.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_Customer.qbl new file mode 100644 index 0000000..a8ac1aa --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414382.0.424779948][414382.0.424779947][414382.0.424779949]' + ValueType: String +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_CustomerID.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_CustomerID.qbl new file mode 100644 index 0000000..75c43a9 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414382.0.424779952][414382.0.424779951][414382.0.424779953]' + ValueType: String +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_IsRelease.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_IsRelease.qbl new file mode 100644 index 0000000..37a6c75 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_IsRelease.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsRelease +{ + #keys: '3[414382.0.428376803][414382.0.428376802][414382.0.428376804]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..0beee5a --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414382.0.424779944][414382.0.424779943][414382.0.424779945]' + ValueType: String +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeDate.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeDate.qbl new file mode 100644 index 0000000..f6d81ba --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SchemeDate +{ + #keys: '3[414382.0.424779957][414382.0.424779956][414382.0.424779958]' + ValueType: Date +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeName.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeName.qbl new file mode 100644 index 0000000..eae286a --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/Attribute_SchemeName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SchemeName +{ + #keys: '3[414382.0.424779936][414382.0.424779935][414382.0.424779937]' + ValueType: String +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_BusinessType.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_BusinessType.qbl new file mode 100644 index 0000000..1672b03 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_BusinessType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: BusinessType +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_Customer.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_CustomerID.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SchemeName.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SchemeName.qbl new file mode 100644 index 0000000..d8220c4 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/DefaultValue_SchemeName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SchemeName +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_CreateFillingCapacityOrderScheme.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_CreateFillingCapacityOrderScheme.qbl new file mode 100644 index 0000000..48ac995 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_CreateFillingCapacityOrderScheme.qbl @@ -0,0 +1,48 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod CreateFillingCapacityOrderScheme ( + MacroPlan owner, + String schemeName +) +{ + TextBody: + [* + // NBoTk Sep-14-2023 (created) + + fillingCapacityOrders := selectset( owner,FillingCapacityOrder,fillingOrder, + not fillingOrder.IsFilling() + ); + + // customer + customerList := selectvalues( fillingCapacityOrders,Elements,e, + e.Customer()); + customer := customerList.Concatenate( ",") + + // customerID + customerIDList := selectvalues( fillingCapacityOrders,Elements,e, + e.CustomerID()); + customerID := customerIDList.Concatenate( ",") + + // businessType + businessTypeList := selectvalues( fillingCapacityOrders,Elements,e, + e.BusinessType()); + businessType := businessTypeList.Concatenate( ",") + + // salesSegmentName + salesSegmentNameList := selectvalues( fillingCapacityOrders,Elements,e, + e.SalesSegmentName()); + salesSegmentName := salesSegmentNameList.Concatenate( ",") + + schemeDate := Date::Today(); + + filllingCapacityOrderScheme := owner.FilllingCapacityOrderScheme(relnew,SchemeName := schemeName,SchemeDate := schemeDate,BusinessType := businessType,Customer := customer,CustomerID := customerID, + SalesSegmentName := salesSegmentName); + + traverse( fillingCapacityOrders,Elements,e) + { + e.SchemeName(schemeName); + e.IsFilling(true); + filllingCapacityOrderScheme.FillingCapacityOrder(relinsert, e); + } + *] +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_GetFillingSchemeDetails.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_GetFillingSchemeDetails.qbl new file mode 100644 index 0000000..f5de5fb --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_GetFillingSchemeDetails.qbl @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetFillingSchemeDetails ( + MacroPlan owner, + String schemeName +) as owning FillingCapacityOrders +{ + TextBody: + [* + // NBoTk Sep-14-2023 (created) + + + return selectset( owner,FillingCapacityOrder,order, + order.SchemeName() = schemeName); + *] +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_ReleaseFillingScheme.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_ReleaseFillingScheme.qbl new file mode 100644 index 0000000..1cb3797 --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/StaticMethod_ReleaseFillingScheme.qbl @@ -0,0 +1,22 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReleaseFillingScheme ( + MacroPlan owner, + FilllingCapacityOrderScheme scheme +) +{ + TextBody: + [* + // NBoTk Sep-14-2023 (created) + + traverse( scheme,FillingCapacityOrder,order) + { + owner.HistoricalFillingCapacityOrder(relnew,BusinessType := order.BusinessType(),Customer := order.Customer(),CustomerID := order.CustomerID(), + OrderDate := order.OrderDate(),OrderID := "",OrderType := "", + ProductID := order.ProductID(),Quantity := order.Quantity(),SalesAmount := order.SalesAmount(), + StockingPointID := order.StockingPointID(),UnitOfMeasureName := order.UnitOfMeasureName(), + VerNo := order.VerNo() + ); + } + *] +} diff --git a/_Main/BL/Type_FilllingCapacityOrderScheme/_ROOT_Type_FilllingCapacityOrderScheme.qbl b/_Main/BL/Type_FilllingCapacityOrderScheme/_ROOT_Type_FilllingCapacityOrderScheme.qbl new file mode 100644 index 0000000..f6cd8ba --- /dev/null +++ b/_Main/BL/Type_FilllingCapacityOrderScheme/_ROOT_Type_FilllingCapacityOrderScheme.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type FilllingCapacityOrderScheme +{ + #keys: '5[414382.0.424779903][414382.0.424779901][0.0.0][414382.0.424779902][414382.0.424779904]' + BaseType: Object + StructuredName: 'FilllingCapacityOrderSchemes' +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_BusinessType.qbl new file mode 100644 index 0000000..b115460 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_BusinessType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.440654932][414382.0.440654931][414382.0.440654933]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Customer.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Customer.qbl new file mode 100644 index 0000000..93c7c88 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414382.0.440654949][414382.0.440654948][414382.0.440654950]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_CustomerID.qbl new file mode 100644 index 0000000..d19bfe9 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414382.0.440654952][414382.0.440654951][414382.0.440654953]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_FillingType.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_FillingType.qbl new file mode 100644 index 0000000..ed1f80b --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_FillingType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute FillingType +{ + #keys: '3[414382.0.440654936][414382.0.440654935][414382.0.440654937]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ForecastDemandDate.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ForecastDemandDate.qbl new file mode 100644 index 0000000..af79bdf --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ForecastDemandDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ForecastDemandDate +{ + #keys: '3[414382.0.440654980][414382.0.440654979][414382.0.440654981]' + ValueType: Date +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderDate.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderDate.qbl new file mode 100644 index 0000000..f308319 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414382.0.440654925][414382.0.440654924][414382.0.440654926]' + ValueType: Date +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderID.qbl new file mode 100644 index 0000000..d60f646 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414382.0.440654912][414382.0.440654911][414382.0.440654913]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderType.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderType.qbl new file mode 100644 index 0000000..96c9741 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_OrderType.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderType +{ + #keys: '3[414382.0.440654922][414382.0.440654921][414382.0.440654923]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID.qbl new file mode 100644 index 0000000..924a48b --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414382.0.440654928][414382.0.440654927][414382.0.440654929]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID0.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID0.qbl new file mode 100644 index 0000000..a2af94e --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProductID0.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID0 +{ + #keys: '3[414382.0.440654946][414382.0.440654945][414382.0.440654947]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProfitabilityLevel.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProfitabilityLevel.qbl new file mode 100644 index 0000000..ce076d7 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_ProfitabilityLevel.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProfitabilityLevel +{ + #keys: '3[414382.0.440654985][414382.0.440654984][414382.0.440654986]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Quantity.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Quantity.qbl new file mode 100644 index 0000000..bcb4ab9 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414382.0.440654966][414382.0.440654965][414382.0.440654967]' + ValueType: Real +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_RewindsQuantityToReduced.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_RewindsQuantityToReduced.qbl new file mode 100644 index 0000000..80f06ab --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_RewindsQuantityToReduced.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute RewindsQuantityToReduced +{ + #keys: '3[414382.0.440654956][414382.0.440654955][414382.0.440654957]' + ValueType: Real +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_SalesAmount.qbl new file mode 100644 index 0000000..1b25f3d --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_SalesAmount.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesAmount +{ + #keys: '3[414382.0.440654976][414382.0.440654975][414382.0.440654977]' + ValueType: Number +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_StockingPointID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..b5cbcb8 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414382.0.440730114][414382.0.440730113][414382.0.440730115]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..568e244 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414382.0.440654973][414382.0.440654972][414382.0.440654974]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_VerNo.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_VerNo.qbl new file mode 100644 index 0000000..a951c14 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/Attribute_VerNo.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute VerNo +{ + #keys: '3[414382.0.440654908][414382.0.440654907][414382.0.440654909]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_BusinessType.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_BusinessType.qbl new file mode 100644 index 0000000..1672b03 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_BusinessType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: BusinessType +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_Customer.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_CustomerID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_OrderType.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_OrderType.qbl new file mode 100644 index 0000000..36871b8 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_OrderType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderType +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID0.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID0.qbl new file mode 100644 index 0000000..fcdd0b0 --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_ProductID0.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID0 +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..fbb83fc --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_StockingPointID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..b2012de --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_VerNo.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_VerNo.qbl new file mode 100644 index 0000000..0edfadc --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/DefaultValue_VerNo.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: VerNo +} diff --git a/_Main/BL/Type_HistoricalFillingCapacityOrder/_ROOT_Type_HistoricalFillingCapacityOrder.qbl b/_Main/BL/Type_HistoricalFillingCapacityOrder/_ROOT_Type_HistoricalFillingCapacityOrder.qbl new file mode 100644 index 0000000..23855ad --- /dev/null +++ b/_Main/BL/Type_HistoricalFillingCapacityOrder/_ROOT_Type_HistoricalFillingCapacityOrder.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type HistoricalFillingCapacityOrder +{ + #keys: '5[414382.0.440654891][414382.0.440654889][0.0.0][414382.0.440654890][414382.0.440654892]' + BaseType: Object + StructuredName: 'HistoricalFillingCapacityOrders' +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl new file mode 100644 index 0000000..c91ccf2 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_BusinessType.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute BusinessType +{ + #keys: '3[414382.0.385610070][414382.0.385610069][414382.0.385610071]' + Description: '浜嬩笟閮�' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..6e3ea82 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CurrencyID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414382.0.385610058][414382.0.385610057][414382.0.385610059]' + Description: '璐у竵' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl new file mode 100644 index 0000000..de33204 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Customer.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414382.0.385610043][414382.0.385610042][414382.0.385610044]' + Description: '瀹㈡埛鍚嶇О' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl new file mode 100644 index 0000000..5236115 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414382.0.385610052][414382.0.385610051][414382.0.385610053]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl new file mode 100644 index 0000000..ab18ec7 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414382.0.385610061][414382.0.385610060][414382.0.385610062]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl new file mode 100644 index 0000000..7b79b6c --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_IsAvailable.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsAvailable +{ + #keys: '3[414382.0.385610046][414382.0.385610045][414382.0.385610047]' + Description: '璁㈠崟鏄惁鍙備笌璁″垝' + ValueType: Boolean +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl new file mode 100644 index 0000000..c8eca1a --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414382.0.385610082][414382.0.385610081][414382.0.385610083]' + ValueType: Date +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl new file mode 100644 index 0000000..993c964 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414382.0.385610049][414382.0.385610048][414382.0.385610050]' + Description: '璁㈠崟鍙�' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..33b2a30 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderLineID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414382.0.385610040][414382.0.385610039][414382.0.385610041]' + Description: '璁㈠崟琛屽彿' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl new file mode 100644 index 0000000..f539ba0 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_OrderType.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderType +{ + #keys: '3[414382.0.385610034][414382.0.385610033][414382.0.385610035]' + Description: '璁㈠崟绫诲瀷' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl new file mode 100644 index 0000000..50d7084 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Price.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414382.0.385610055][414382.0.385610054][414382.0.385610056]' + Description: '鍗曚环' + ValueType: Real +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl new file mode 100644 index 0000000..38db16d --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_PriorityName.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414382.0.385610079][414382.0.385610078][414382.0.385610080]' + Description: '浼樺厛绾�' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl new file mode 100644 index 0000000..018fc15 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_ProductID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414382.0.385610067][414382.0.385610066][414382.0.385610068]' + Description: '浜у搧缂栫爜' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl new file mode 100644 index 0000000..06b7d7d --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_Quantity.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414382.0.385610076][414382.0.385610075][414382.0.385610077]' + Description: '鏁伴噺' + ValueType: Real +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl new file mode 100644 index 0000000..b5fe9ed --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesAmount.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesAmount +{ + #keys: '3[414382.0.394810026][414382.0.394810025][414382.0.394810027]' + ValueType: Number +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..5c59143 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_SalesSegmentName.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414382.0.385610064][414382.0.385610063][414382.0.385610065]' + Description: '閿�鍞儴闂ㄥ悕绉�' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl new file mode 100644 index 0000000..ae7cbb1 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_StockPointID.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockPointID +{ + #keys: '3[414382.0.385610073][414382.0.385610072][414382.0.385610074]' + Description: '搴撳瓨鐐瑰敮涓�鏍囪瘑' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..d6b4ecf --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414382.0.385610037][414382.0.385610036][414382.0.385610038]' + Description: '鍗曚綅' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl b/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl new file mode 100644 index 0000000..fdb397d --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Attribute_VerNo.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute VerNo +{ + #keys: '3[414382.0.385610106][414382.0.385610105][414382.0.385610107]' + ValueType: String +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl new file mode 100644 index 0000000..1672b03 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_BusinessType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: BusinessType +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..cae9679 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CurrencyID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl new file mode 100644 index 0000000..efaa00d --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_IsAvailable.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsAvailable +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl new file mode 100644 index 0000000..36871b8 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_OrderType.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderType +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..59ad087 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_PriorityName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl new file mode 100644 index 0000000..7c0c612 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/DefaultValue_StockPointID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: StockPointID +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl b/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl new file mode 100644 index 0000000..25fd342 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/Method_GetProductIdString.qbl @@ -0,0 +1,26 @@ +Quintiq file version 2.0 +#parent: #root +Method GetProductIdString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + productIDs := selectuniquevalues( owner,MappingProduct,product, + product.BusinessType() = businessType, + product.ID() + ); + + value := "TC067FYMM05-00;B26700040"; + + if( not isnull( productIDs) ) + { + value := productIDs.Concatenate( ";"); + } + + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl new file mode 100644 index 0000000..d7d5927 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerID.qbl @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetCustomerID ( + MacroPlan owner, + String customer +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + + cunstomer := select( owner,MappingCustomerOrder,order, + order.Customer() = customer + ); + + return cunstomer.CustomerID(); + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl new file mode 100644 index 0000000..c039119 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetCustomerString.qbl @@ -0,0 +1,28 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetCustomerString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + customers := selectuniquevalues( owner,MappingCustomerOrder,order, + order.BusinessType() = businessType, + order.Customer() + ); + + + + value := customers.Concatenate( ";"); + + if( value = "" ) + { + value := "灏忕背閫氳鎶�鏈湁闄愬叕鍙�"; + } + + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl new file mode 100644 index 0000000..2a8fe90 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetHistoricalSalesOrders.qbl @@ -0,0 +1,64 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetHistoricalSalesOrders ( + String businessType, + String customer, + String sheetProfitability, + String productID, + Date end, + MacroPlan owner, + Date start +) as owning HistoricalSalesOrders +{ + Description: 'Get historical sales orders of deleiveryCells' + TextBody: + [* + // NBoTk Sep-11-2023 (created) + + // filter businessType start end + // start default 3 years, end is today + value := selectset( owner,HistoricalSalesOrder,order, + true, + order.BusinessType() = businessType + and order.OrderDate() >= start + and order.OrderDate() <= end + ); + + // filter customer + if(customer <> '' ) + { + value := selectset( value,Elements,orer, + true, + orer.Customer() = customer + ); + } + + // filter sheetProfitability + //if(sheetProfitability <> '' ) + //{ + // value := selectset( value,Elements,orer, + // true, + // orer.S() = sheetProfitability + // ); + //} + + // filter productID + if(productID <> '' ) + { + value := selectset( value,Elements,orer, + true, + orer.ProductID() = productID + ); + } + + // order by 鐩堝埄姘村钩 闇�姹傛椂闂� + + value := selectsortedset( value,Elements,order, + true, + //order.SheetProfitability(), + order.OrderDate() + ); + + return &value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl new file mode 100644 index 0000000..faa36c9 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetProductIdString.qbl @@ -0,0 +1,27 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetProductIdString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + productIDs := selectuniquevalues( owner,MappingProduct,product, + product.BusinessType() = businessType, + product.ID() + ); + + value := productIDs.Concatenate( ";"); + + + if( value = "" ) + { + value := "TC067FYMM05-00;B26700040"; + } + + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl new file mode 100644 index 0000000..e76aaec --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetSalesSegmentString.qbl @@ -0,0 +1,28 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetSalesSegmentString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + salesSegments := selectuniquevalues( owner,MappingSalesSegment,salesSegment, + salesSegment.BusinessType() = businessType, + salesSegment.ParentName() + ); + + + + value := salesSegments.Concatenate( ";"); + + + if( value = "" ) + { + value := "娑堣垂鍝佽惀閿�涓績;閿�鍞竴绉�"; + } + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl new file mode 100644 index 0000000..d7ce897 --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetStockingPointString.qbl @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetStockingPointString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + stockingPointIDs := selectuniquevalues( owner,StockingPoint_MP,stock, + stock.ID() + ); + + value := stockingPointIDs.Concatenate( ";"); + + if( value = "" ) + { + value := "I13_P;I13_SA"; + } + + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl new file mode 100644 index 0000000..58570ab --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/StaticMethod_GetUnitOfMeasuresString.qbl @@ -0,0 +1,26 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod GetUnitOfMeasuresString ( + MacroPlan owner, + String businessType +) as String +{ + TextBody: + [* + // NBoTk Sep-13-2023 (created) + + units := selectuniquevalues( owner,MappingUnitOfMeasure,unit, + unit.Name() + ); + + + value := units.Concatenate( ";"); + + if( value = "" ) + { + value := "PCS;MPC"; + } + + return value; + *] +} diff --git a/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl b/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl new file mode 100644 index 0000000..3e9f0af --- /dev/null +++ b/_Main/BL/Type_HistoricalSalesOrder/_ROOT_Type_HistoricalSalesOrder.qbl @@ -0,0 +1,9 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type HistoricalSalesOrder +{ + #keys: '5[414382.0.385610030][414382.0.385610028][0.0.0][414382.0.385610029][414382.0.385610031]' + BaseType: Object + StructuredName: 'HistoricalSalesOrders' +} diff --git "a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupSalesViews\043633.def" "b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupSalesViews\043633.def" new file mode 100644 index 0000000..82df44f --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupSalesViews\043633.def" @@ -0,0 +1,22 @@ +Quintiq file version 2.0 +Component ActionBarGroupSalesViews #extension +{ + Children: + [ + Component ButtonSalesFillingCapacity + { + #keys: '[414382.0.436830247]' + BaseType: 'WebButton' + Children: + [ + #child: ContextMenuSalesFillingCapacity + ] + Properties: + [ + Image: 'BLOT' + Label: '濉骇' + Taborder: 3 + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageSales.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageSales.def new file mode 100644 index 0000000..173d640 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageSales.def @@ -0,0 +1,8 @@ +Quintiq file version 2.0 +Component ActionBarPageSales #extension +{ + Children: + [ + #child: ActionBarGroupSalesViews + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def new file mode 100644 index 0000000..3dddc43 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuSalesFillingCapacity.def @@ -0,0 +1,36 @@ +Quintiq file version 2.0 +Component ContextMenuSalesFillingCapacity +{ + #keys: '[414382.0.437003283]' + BaseType: 'WebContextMenu' + Children: + [ + Component MenuSalesFillingCapacity + { + #keys: '[414382.0.437003284]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ELEMENT_BLUE' + Taborder: 0 + Title: 'Filling Capacity Scheme List' + Tooltip: 'Filling Capacity Scheme List' + ] + } + Component MenuSalesFillingSchemeDetail + { + #keys: '[414382.0.436840646]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ELEMENT_ORANGE' + Taborder: 1 + Title: '濉骇鍘嗗彶璁㈠崟鍒楄〃' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} 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 new file mode 100644 index 0000000..3aa17b6 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapac.def @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: ContextMenuSalesFillingCapacity/MenuSalesFillingCapacity +Response OnClick () id:Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapacity_OnClick +{ + #keys: '[414382.0.437390498]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebMenu_OnClick' + QuillAction + { + Body: + [* + // Open view + //ApplicationMacroPlanner.OpenView( 'Filling Capacity Scheme List',ButtonSalesFillingCapacity); + ApplicationMacroPlanner.OpenView( 'View Sales Segments', ButtonSalesFillingCapacity ); + *] + 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 new file mode 100644 index 0000000..0fd125b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchem.def @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: ContextMenuSalesFillingCapacity/MenuSalesFillingSchemeDetail +Response OnClick () id:Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchemeDetail_OnClick +{ + #keys: '[414382.0.439022595]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebMenu_OnClick' + QuillAction + { + Body: + [* + // Open view + //ApplicationMacroPlanner.OpenView( "FillingCapacitySchemeList",ButtonSalesFillingCapacity); + ApplicationMacroPlanner.OpenViewAndFocusButton( "FillingCapacitySchemeList"); + //Application.OpenForm( "FormFillingScheme"); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def index 719ed35..075a217 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def +++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def @@ -10,6 +10,7 @@ Children: [ #child: ActionBarPageData + #child: ActionBarPageSales ] } ] diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def new file mode 100644 index 0000000..53808c5 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlActions.def @@ -0,0 +1,40 @@ +Quintiq file version 2.0 +Component pnlActions +{ + #keys: '[414382.0.375080433]' + BaseType: 'WebPanel' + Children: + [ + Component btnOk + { + #keys: '[414382.0.375080437]' + BaseType: 'WebButton' + Properties: + [ + Label: 'OK' + Taborder: 0 + ] + } + Component btnCancel + { + #keys: '[414382.0.375080439]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Cancel' + Taborder: 1 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + Border: true + ExcludeFromActiveComponent: true + FixedSize: true + Orientation: 'horizontal' + Padding: 'true' + Style: 'footer' + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def new file mode 100644 index 0000000..b6cdcbb --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Component_pnlContent.def @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +Component pnlContent +{ + #keys: '[414382.0.375080431]' + BaseType: 'WebPanel' + Children: + [ + Component edtBusinessTypeName + { + #keys: '[414382.0.376790705]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderBusinessType.Data.BusinessTypeName' + Label: 'Business Type Name' + Taborder: 0 + ] + } + ] + Properties: + [ + Padding: 'true' + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def new file mode 100644 index 0000000..54a2fe2 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_ClickBtnOk.def @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +#parent: #root +Method ClickBtnOk () id:Method_DialogBusinessType_ClickBtnOk +{ + #keys: '[414382.0.377972914]' + Body: + [* + // Disabled button to prevent the possibility of multiple firing + + btnOk.Enabled(false,''); + + // OnOk + this.ApplyChanges(); + + DataHolderBusinessType.Data().Commit(); + + //if( not isnull( DataHolderForm.Data() ) ) + //{ + // // Access the form, select the new assumption + // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); + //} + + this.Close(); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def new file mode 100644 index 0000000..25e0b31 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_Edit.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: #root +Method Edit ( + BusinessType selection +) id:Method_DialogBusinessType_Edit +{ + #keys: '[414382.0.377851336]' + Body: + [* + // Edits assumption + data := shadow( selection ); + + DataHolderBusinessType.Data( &data ); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def new file mode 100644 index 0000000..53d05de --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Method_New.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: #root +Method New ( + GlobalOTDTable owner +) id:Method_DialogBusinessType_New +{ + #keys: '[414382.0.376712323]' + Body: + [* + data := owner.BusinessType(relshadow); + DataHolderBusinessType.Data( &data); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def new file mode 100644 index 0000000..02f853a --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnCancel_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnCancel +Response OnClick () id:Response_pnlActions_btnCancel_OnClick +{ + #keys: '[414382.0.375080443]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def new file mode 100644 index 0000000..b0478e7 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/Response_pnlActions_btnOk_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnOk +Response OnClick () id:Response_pnlActions_btnOk_OnClick +{ + #keys: '[414382.0.375080442]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.ClickBtnOk() + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def new file mode 100644 index 0000000..c08a626 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogBusinessType/_ROOT_Component_DialogBusinessType.def @@ -0,0 +1,41 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent DialogBusinessType +{ + #keys: '[414382.0.375080429]' + BaseType: 'WebForm' + Children: + [ + #child: pnlContent + #child: pnlActions + Component DataHolderBusinessType + { + #keys: '[414382.0.375080516]' + BaseType: 'WebDataHolder' + Databinding: 'shadow[BusinessType]*' + Properties: + [ + Taborder: 2 + ] + } + Component DataHolderForm id:DataHolderForm_568 + { + #keys: '[414382.0.376741089]' + BaseType: 'WebDataHolder' + Databinding: 'BusinessType' + Properties: + [ + Taborder: 3 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + EnterButton: 'btnOk' + EscapeButton: 'btnCancel' + ExcludeFromActiveComponent: true + Padding: 'false' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def new file mode 100644 index 0000000..18c3540 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlActions.def @@ -0,0 +1,40 @@ +Quintiq file version 2.0 +Component pnlActions +{ + #keys: '[414382.0.400131325]' + BaseType: 'WebPanel' + Children: + [ + Component btnOk + { + #keys: '[414382.0.400131329]' + BaseType: 'WebButton' + Properties: + [ + Label: 'OK' + Taborder: 0 + ] + } + Component btnCancel + { + #keys: '[414382.0.400131331]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Cancel' + Taborder: 1 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + Border: true + ExcludeFromActiveComponent: true + FixedSize: true + Orientation: 'horizontal' + Padding: 'true' + Style: 'footer' + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def new file mode 100644 index 0000000..63e6384 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Component_pnlContent.def @@ -0,0 +1,125 @@ +Quintiq file version 2.0 +Component pnlContent +{ + #keys: '[414382.0.400131323]' + BaseType: 'WebPanel' + Children: + [ + Component dropDownStringListProductID id:dropDownStringListProductID_387 + { + #keys: '[414382.0.400311344]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderFillingCapacityOrder.Data.ProductID' + Label: 'ProductID' + Strings: 'productID' + Taborder: 0 + ] + } + Component dropDownStringListSalesSegmentName id:dropDownStringListSalesSegmentName_325 + { + #keys: '[414382.0.400731492]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesSegmentName' + Label: 'SalesSegmentName' + Strings: 'SalesSagmentName' + Taborder: 1 + ] + } + Component dropDownStringListStockPointID id:dropDownStringListStockPointID_801 + { + #keys: '[414382.0.400731675]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderFillingCapacityOrder.Data.StockingPointID' + Label: 'StockPointID' + Strings: 'StockPointID' + Taborder: 2 + ] + } + Component dropDownStringListCustomer id:dropDownStringListCustomer_957 + { + #keys: '[414382.0.400703550]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer' + Label: 'Customer' + Strings: 'Customer' + Taborder: 3 + ] + } + Component edtQuantity id:edtQuantity_995 + { + #keys: '[414382.0.400551344]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFillingCapacityOrder.Data.Quantity' + Label: 'Quantity' + Mask: 'REAL' + Taborder: 4 + ] + } + Component dropDownStringListUnitOfMeasureName id:dropDownStringListUnitOfMeasureName_750 + { + #keys: '[414382.0.400892044]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderFillingCapacityOrder.Data.UnitOfMeasureName' + Label: 'UnitOfMeasureName' + Strings: 'UnitName' + Taborder: 5 + ] + } + Component edtSalesAmount id:edtSalesAmount_608 + { + #keys: '[414382.0.400892099]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesAmount' + Label: 'SalesAmount' + Mask: 'NUMBER' + Taborder: 6 + ] + } + Component dsDemandDate + { + #keys: '[414382.0.400892150]' + BaseType: 'WebDateSelector' + Properties: + [ + DataBinding: 'DataHolderFillingCapacityOrder.Data.DemandDate' + Label: 'Demand Date' + Taborder: 8 + ] + } + Component dsForecastDemandDate + { + #keys: '[414382.0.408660329]' + BaseType: 'WebDateSelector' + Properties: + [ + DataBinding: 'DataHolderFillingCapacityOrder.Data.ForecastDemandDate' + Label: 'Forecast Demand Date' + Taborder: 7 + ] + } + ] + Properties: + [ + Padding: 'true' + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def new file mode 100644 index 0000000..c345b5c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_ClickBtnOk.def @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +#parent: #root +Method ClickBtnOk () id:Method_DialogFillingCapacityOrder_ClickBtnOk +{ + #keys: '[414382.0.402531772]' + Body: + [* + // Disabled button to prevent the possibility of multiple firing + + btnOk.Enabled(false,''); + + // OnOk + this.ApplyChanges(); + + DataHolderFillingCapacityOrder.Data().Commit(); + + //if( not isnull( DataHolderForm.Data() ) ) + //{ + // // Access the form, select the new assumption + // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); + //} + + this.Close(); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def new file mode 100644 index 0000000..2d5dc2d --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: #root +Method Edit ( + FillingCapacityOrder selection +) id:Method_DialogFillingCapacityOrder_Edit +{ + #keys: '[414382.0.402531258]' + Body: + [* + // Edits assumption + data := shadow( selection ); + + DataHolderFillingCapacityOrder.Data( &data ); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def new file mode 100644 index 0000000..cd0fc2c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_New.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: #root +Method New ( + MacroPlan owner +) id:Method_DialogFillingCapacityOrder_New +{ + #keys: '[414382.0.401211772]' + Body: + [* + + data := owner.FillingCapacityOrder(relshadow); + + DataHolderFillingCapacityOrder.Data(&data); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def new file mode 100644 index 0000000..d18a682 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnCancel_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnCancel +Response OnClick () id:Response_pnlActions_btnCancel_OnClick +{ + #keys: '[414382.0.400131335]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def new file mode 100644 index 0000000..87cbc8c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Response_pnlActions_btnOk_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnOk +Response OnClick () id:Response_pnlActions_btnOk_OnClick +{ + #keys: '[414382.0.400131334]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.ClickBtnOk() + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def new file mode 100644 index 0000000..3050a29 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/_ROOT_Component_DialogFillingCapacityOrder.def @@ -0,0 +1,42 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent DialogFillingCapacityOrder +{ + #keys: '[414382.0.400131321]' + BaseType: 'WebForm' + Children: + [ + #child: pnlContent + #child: pnlActions + Component DataHolderFillingCapacityOrder + { + #keys: '[414382.0.400311371]' + BaseType: 'WebDataHolder' + Databinding: 'shadow[FillingCapacityOrder]*' + Properties: + [ + Taborder: 2 + ] + } + Component DataHolderForm id:DataHolderForm_450 + { + #keys: '[414382.0.400311390]' + BaseType: 'WebDataHolder' + Databinding: 'FillingCapacityOrder' + Properties: + [ + Taborder: 3 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + EnterButton: 'btnOk' + EscapeButton: 'btnCancel' + ExcludeFromActiveComponent: true + Padding: 'false' + Title: 'Filling Capacity Order' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def new file mode 100644 index 0000000..8a9f4fa --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlActions.def @@ -0,0 +1,40 @@ +Quintiq file version 2.0 +Component pnlActions +{ + #keys: '[414382.0.415330994]' + BaseType: 'WebPanel' + Children: + [ + Component btnOk + { + #keys: '[414382.0.415330998]' + BaseType: 'WebButton' + Properties: + [ + Label: 'OK' + Taborder: 0 + ] + } + Component btnCancel + { + #keys: '[414382.0.415331000]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Cancel' + Taborder: 1 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + Border: true + ExcludeFromActiveComponent: true + FixedSize: true + Orientation: 'horizontal' + Padding: 'true' + Style: 'footer' + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def new file mode 100644 index 0000000..99073e6 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Component_pnlContent.def @@ -0,0 +1,86 @@ +Quintiq file version 2.0 +Component pnlContent +{ + #keys: '[414382.0.415330992]' + BaseType: 'WebPanel' + Children: + [ + Component efVerNo + { + #keys: '[414382.0.415451216]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.VerNo' + Label: 'VerNo' + Taborder: 0 + ] + } + Component efBusinessType + { + #keys: '[414382.0.413702519]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.BusinessType' + Enabled: false + Label: 'BusinessType' + ReadOnly: true + Taborder: 1 + ] + } + Component efCustomer + { + #keys: '[414382.0.415542596]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.Customer' + Enabled: false + Label: 'Customer' + ReadOnly: true + Taborder: 2 + ] + } + Component edtSalesAmount + { + #keys: '[414382.0.414851317]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.SalesAmount' + Label: 'SalesAmount' + Taborder: 3 + ] + } + Component dsDemandDate id:dsDemandDate_768 + { + #keys: '[414382.0.413703310]' + BaseType: 'WebDateSelector' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.DemandDate' + Enabled: false + Label: 'Demand Date' + ReadOnly: true + Taborder: 4 + ] + } + Component dsForecastDemandDate id:dsForecastDemandDate_515 + { + #keys: '[414382.0.413703326]' + BaseType: 'WebDateSelector' + Properties: + [ + DataBinding: 'DataHolderFilling.Data.ForecastDemandDate' + Label: 'Forecast Demand Date' + Taborder: 5 + ] + } + ] + Properties: + [ + Padding: 'true' + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def new file mode 100644 index 0000000..6519f81 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_ClickBtnOk.def @@ -0,0 +1,28 @@ +Quintiq file version 2.0 +#parent: #root +Method ClickBtnOk () id:Method_DialogFillingCustomerAndForecast_ClickBtnOk +{ + #keys: '[414382.0.415784532]' + Body: + [* + // Disabled button to prevent the possibility of multiple firing + + btnOk.Enabled(false,''); + + // OnOk + this.ApplyChanges(); + DataHolderFilling.Data().Commit(); + + fillingData := DataHolderFilling.Data(); + + CustomerAndForecastOrder::CreateFillingCapacityOrder( MacroPlan, fillingData.WrappedInstance()); + + //if( not isnull( DataHolderForm.Data() ) ) + //{ + // // Access the form, select the new assumption + // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); + //} + + this.Close(); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def new file mode 100644 index 0000000..81f41e9 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Method_Filling.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: #root +Method Filling ( + CustomerAndForecastOrder selection +) id:Method_DialogFillingCustomerAndForecast_Filling +{ + #keys: '[414382.0.415572412]' + Body: + [* + data := shadow( selection ); + + DataHolderFilling.Data( &data); + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def new file mode 100644 index 0000000..405e6f4 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnCancel_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnCancel +Response OnClick () id:Response_pnlActions_btnCancel_OnClick +{ + #keys: '[414382.0.415331004]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def new file mode 100644 index 0000000..ca39440 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/Response_pnlActions_btnOk_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnOk +Response OnClick () id:Response_pnlActions_btnOk_OnClick +{ + #keys: '[414382.0.415331003]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.ClickBtnOk(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def new file mode 100644 index 0000000..57c6988 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCustomerAndForecast/_ROOT_Component_DialogFillingCustomerAndForecast.def @@ -0,0 +1,42 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent DialogFillingCustomerAndForecast +{ + #keys: '[414382.0.415330990]' + BaseType: 'WebForm' + Children: + [ + #child: pnlContent + #child: pnlActions + Component DataHolderFilling + { + #keys: '[414382.0.415483316]' + BaseType: 'WebDataHolder' + Databinding: 'shadow[CustomerAndForecastOrder]*' + Properties: + [ + Taborder: 2 + ] + } + Component DataHolderFillingCapacityOrder + { + #keys: '[414382.0.416323029]' + BaseType: 'WebDataHolder' + Databinding: 'shadow[FillingCapacityOrder]*' + Properties: + [ + Taborder: 3 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + EnterButton: 'btnOk' + EscapeButton: 'btnCancel' + ExcludeFromActiveComponent: true + Padding: 'false' + Title: 'Filling' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlActions.def new file mode 100644 index 0000000..b759db3 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlActions.def @@ -0,0 +1,40 @@ +Quintiq file version 2.0 +Component pnlActions +{ + #keys: '[414382.0.423200498]' + BaseType: 'WebPanel' + Children: + [ + Component btnOk + { + #keys: '[414382.0.423200502]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Save' + Taborder: 0 + ] + } + Component btnCancel + { + #keys: '[414382.0.423200504]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Cancel' + Taborder: 1 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + Border: true + ExcludeFromActiveComponent: true + FixedSize: true + Orientation: 'horizontal' + Padding: 'true' + Style: 'footer' + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlContent.def new file mode 100644 index 0000000..b5e0e86 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Component_pnlContent.def @@ -0,0 +1,24 @@ +Quintiq file version 2.0 +Component pnlContent +{ + #keys: '[414382.0.423200496]' + BaseType: 'WebPanel' + Children: + [ + Component efSchemeName + { + #keys: '[414382.0.424860819]' + BaseType: 'WebEditField' + Properties: + [ + Label: 'Scheme Name' + Taborder: 0 + ] + } + ] + Properties: + [ + Padding: 'true' + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Method_OpenScheme.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Method_OpenScheme.def new file mode 100644 index 0000000..a48a494 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Method_OpenScheme.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#parent: #root +Method OpenScheme () id:Method_DialogFillingOrderScheme_OpenScheme +{ + #keys: '[414382.0.424440675]' + Body: + [* + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnCancel_OnClick.def new file mode 100644 index 0000000..dbe627b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnCancel_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnCancel +Response OnClick () id:Response_pnlActions_btnCancel_OnClick +{ + #keys: '[414382.0.423200508]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnOk_OnClick.def new file mode 100644 index 0000000..855c43b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/Response_pnlActions_btnOk_OnClick.def @@ -0,0 +1,21 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnOk +Response OnClick () id:Response_pnlActions_btnOk_OnClick +{ + #keys: '[414382.0.423200507]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.ApplyChanges(); + + schemeName := DialogFillingOrderScheme.efSchemeName().Text(); + + FilllingCapacityOrderScheme::CreateFillingCapacityOrderScheme( MacroPlan,schemeName); + + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/_ROOT_Component_DialogFillingOrderScheme.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/_ROOT_Component_DialogFillingOrderScheme.def new file mode 100644 index 0000000..83e0bff --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingOrderScheme/_ROOT_Component_DialogFillingOrderScheme.def @@ -0,0 +1,32 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent DialogFillingOrderScheme +{ + #keys: '[414382.0.423200494]' + BaseType: 'WebForm' + Children: + [ + #child: pnlContent + #child: pnlActions + Component DataHolderFillingScheme + { + #keys: '[414382.0.424891357]' + BaseType: 'WebDataHolder' + Databinding: 'FillingCapacityOrder' + Properties: + [ + Taborder: 2 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + EnterButton: 'btnOk' + EscapeButton: 'btnCancel' + ExcludeFromActiveComponent: true + Padding: 'false' + Title: 'Save Scheme' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def new file mode 100644 index 0000000..73be06b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlActions.def @@ -0,0 +1,40 @@ +Quintiq file version 2.0 +Component pnlActions +{ + #keys: '[414382.0.391970675]' + BaseType: 'WebPanel' + Children: + [ + Component btnOk + { + #keys: '[414382.0.391970679]' + BaseType: 'WebButton' + Properties: + [ + Label: 'OK' + Taborder: 0 + ] + } + Component btnCancel + { + #keys: '[414382.0.391970681]' + BaseType: 'WebButton' + Properties: + [ + Label: 'Cancel' + Taborder: 1 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + Border: true + ExcludeFromActiveComponent: true + FixedSize: true + Orientation: 'horizontal' + Padding: 'true' + Style: 'footer' + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def new file mode 100644 index 0000000..827d86f --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Component_pnlContent.def @@ -0,0 +1,109 @@ +Quintiq file version 2.0 +Component pnlContent +{ + #keys: '[414382.0.391970673]' + BaseType: 'WebPanel' + Children: + [ + Component dropDownStringListProductID + { + #keys: '[414382.0.397670774]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderHistoricalSalesOrder.Data.ProductID' + Label: 'ProductID' + Taborder: 0 + ] + } + Component dropDownStringListSalesSegmentName + { + #keys: '[414382.0.397792089]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesSegmentName' + Label: 'SalesSegmentName' + Taborder: 1 + ] + } + Component dropDownStringListStockPointID + { + #keys: '[414382.0.397613350]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderHistoricalSalesOrder.Data.StockingPointID' + Label: 'StockPointID' + Taborder: 2 + ] + } + Component dropDownStringListCustomer + { + #keys: '[414382.0.396181827]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderHistoricalSalesOrder.Data.Customer' + Label: 'Customer' + Taborder: 3 + ] + } + Component dropDownStringListUnitOfMeasureName + { + #keys: '[414382.0.400160473]' + BaseType: 'WebDropDownStringList' + Properties: + [ + AllowEmpty: true + DataBinding: 'DataHolderHistoricalSalesOrder.Data.UnitOfMeasureName' + Label: 'UnitOfMeasureName' + Taborder: 5 + ] + } + Component edtQuantity + { + #keys: '[414382.0.400120730]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderHistoricalSalesOrder.Data.Quantity' + Label: 'Quantity' + Mask: 'REAL' + Taborder: 4 + ] + } + Component dsOrderDate + { + #keys: '[414382.0.400121793]' + BaseType: 'WebDateSelector' + Properties: + [ + DataBinding: 'DataHolderHistoricalSalesOrder.Data.OrderDate' + Label: 'Demand Date' + Taborder: 7 + ] + } + Component edtSalesAmount + { + #keys: '[414382.0.400160672]' + BaseType: 'WebEditField' + Properties: + [ + DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesAmount' + Label: 'SalesAmount' + Mask: 'NUMBER' + Taborder: 6 + ] + } + ] + Properties: + [ + Padding: 'true' + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def new file mode 100644 index 0000000..9472a57 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_ClickBtnOk.def @@ -0,0 +1,25 @@ +Quintiq file version 2.0 +#parent: #root +Method ClickBtnOk () id:Method_DialogHistoricalSalesOrders_ClickBtnOk +{ + #keys: '[414382.0.400401230]' + Body: + [* + // Disabled button to prevent the possibility of multiple firing + + btnOk.Enabled(false,''); + + // OnOk + this.ApplyChanges(); + + DataHolderHistoricalSalesOrder.Data().Commit(); + + //if( not isnull( DataHolderForm.Data() ) ) + //{ + // // Access the form, select the new assumption + // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); + //} + + this.Close(); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def new file mode 100644 index 0000000..8db2d4e --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_Edit.def @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#parent: #root +Method Edit ( + FillingCapacityOrder selection +) id:Method_DialogHistoricalSalesOrders_Edit +{ + #keys: '[414382.0.402531395]' + Body: + [* + // Edits assumption + data := shadow( selection ); + + DataHolderHistoricalSalesOrder.Data( &data); + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def new file mode 100644 index 0000000..db4476b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Method_New.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: #root +Method New ( + MacroPlan owner +) id:Method_DialogHistoricalSalesOrders_New +{ + #keys: '[414382.0.393020968]' + Body: + [* + data := owner.FillingCapacityOrder(relshadow); + DataHolderHistoricalSalesOrder.Data( &data); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def new file mode 100644 index 0000000..33de4f2 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnCancel_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnCancel +Response OnClick () id:Response_pnlActions_btnCancel_OnClick +{ + #keys: '[414382.0.391970685]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.Close(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def new file mode 100644 index 0000000..009143e --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/Response_pnlActions_btnOk_OnClick.def @@ -0,0 +1,15 @@ +Quintiq file version 2.0 +#parent: pnlActions/btnOk +Response OnClick () id:Response_pnlActions_btnOk_OnClick +{ + #keys: '[414382.0.391970684]' + DefinitionID: 'Responsedef_WebButton_OnClick' + GroupServerCalls: true + QuillAction + { + Body: + [* + Form.ClickBtnOk() + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def new file mode 100644 index 0000000..6ec8904 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogHistoricalSalesOrders/_ROOT_Component_DialogHistoricalSalesOrders.def @@ -0,0 +1,42 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent DialogHistoricalSalesOrders +{ + #keys: '[414382.0.391970671]' + BaseType: 'WebForm' + Children: + [ + #child: pnlContent + #child: pnlActions + Component DataHolderHistoricalSalesOrder + { + #keys: '[414382.0.394331150]' + BaseType: 'WebDataHolder' + Databinding: 'shadow[FillingCapacityOrder]*' + Properties: + [ + Taborder: 2 + ] + } + Component DataHolderForm + { + #keys: '[414382.0.394362557]' + BaseType: 'WebDataHolder' + Databinding: 'FillingCapacityOrder' + Properties: + [ + Taborder: 3 + ] + } + ] + Properties: + [ + Alignment: 'trailing' + EnterButton: 'btnOk' + EscapeButton: 'btnCancel' + ExcludeFromActiveComponent: true + Padding: 'false' + Title: 'Historical Sales Order' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def new file mode 100644 index 0000000..b0713d9 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_ListBusinessType.def @@ -0,0 +1,59 @@ +Quintiq file version 2.0 +Component ListBusinessType +{ + #keys: '[414382.0.373071310]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorBusinessType + { + #keys: '[414382.0.373071311]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'GlobalOTDTable' + Source: 'GlobalOTDTable' + Taborder: 0 + Transformation: 'BusinessType' + ] + } + #child: listActionBarPageBusinessType + Component DataSetLevelBusinessType + { + #keys: '[414382.0.373071313]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuBusinessType655 + ] + Properties: + [ + Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessTypeName","title":"BusinessTypeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessTypeName"}}]' + ContextMenu: 'listContextMenuBusinessType655' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListBusinessType_WebMenu_OnClick + { + #keys: '[414382.0.377975283]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1051.0.24454044]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git "a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def" "b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def" new file mode 100644 index 0000000..f8612f8 --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listActionBarPageBusinessType\043675.def" @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageBusinessType +{ + #keys: '[414382.0.373071312]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def new file mode 100644 index 0000000..30edf41 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Component_listContextMenuBusinessType655.def @@ -0,0 +1,46 @@ +Quintiq file version 2.0 +Component listContextMenuBusinessType655 +{ + #keys: '[414382.0.373071314]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuNew + { + #keys: '[414382.0.374151049]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ADD2' + Taborder: 3 + Title: 'New' + ] + } + Component MenuEdit + { + #keys: '[414382.0.373031364]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'PENCIL' + Taborder: 4 + Title: 'Edit' + ] + } + Component MenuDelete + { + #keys: '[414382.0.374361100]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'DELETE' + Taborder: 5 + Title: 'Delete' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def new file mode 100644 index 0000000..c5aa30a --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuDelete_OnClick.def @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: ListBusinessType +Response OnClick ( + BusinessType selection +) id:Response_ListBusinessType_MenuDelete_OnClick +{ + #keys: '[414382.0.378330518]' + CanBindMultiple: false + DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuDelete' + QuillAction + { + Body: + [* + selection.Delete(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def new file mode 100644 index 0000000..aaecca8 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuEdit_OnClick.def @@ -0,0 +1,20 @@ +Quintiq file version 2.0 +#parent: ListBusinessType +Response OnClick ( + BusinessType selection +) id:Response_ListBusinessType_MenuEdit_OnClick +{ + #keys: '[414382.0.378121511]' + CanBindMultiple: false + DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuEdit' + QuillAction + { + Body: + [* + dlg := construct( DialogBusinessType ); + dlg.Edit( selection ); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def new file mode 100644 index 0000000..f81f38b --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_Form367/Response_ListBusinessType_MenuNew_OnClick.def @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: ListBusinessType +Response OnClick () id:Response_ListBusinessType_MenuNew_OnClick +{ + #keys: '[414382.0.377975353]' + CanBindMultiple: false + DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuNew' + QuillAction + { + Body: + [* + dlg := construct( DialogBusinessType ); + dlg.New( GlobalOTDTable ); + *] + } +} diff --git "a/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def" "b/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def" new file mode 100644 index 0000000..e23342a --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Component_Form367/_ROOT_Component_FormBusinessType\043367.def" @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormBusinessType +{ + #keys: '[414382.0.367630242]' + BaseType: 'WebForm' + Children: + [ + #child: ListBusinessType + ] + Properties: + [ + Title: 'Business Type' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def new file mode 100644 index 0000000..d951132 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_ListFillingCapacityOrder.def @@ -0,0 +1,60 @@ +Quintiq file version 2.0 +Component ListFillingCapacityOrder +{ + #keys: '[414382.0.397311976]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorFillingCapacityOrder + { + #keys: '[414382.0.397311977]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'MacroPlan' + FixedFilter: 'not object.IsFilling()' + Source: 'MacroPlan' + Taborder: 0 + Transformation: 'FillingCapacityOrder' + ] + } + #child: listActionBarPageFillingCapacityOrder + Component DataSetLevelFillingCapacityOrder + { + #keys: '[414382.0.397311982]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuFillingCapacityOrder + ] + 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"}}]' + ContextMenu: 'listContextMenuFillingCapacityOrder' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListFillingCapacityOrder_WebMenu_OnClick + { + #keys: '[414382.0.401230580]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1099.0.7418521]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def new file mode 100644 index 0000000..ec644c5 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listActionBarPageFillingCapacityOrder.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageFillingCapacityOrder +{ + #keys: '[414382.0.397311979]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def new file mode 100644 index 0000000..42e181a --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Component_listContextMenuFillingCapacityOrder.def @@ -0,0 +1,57 @@ +Quintiq file version 2.0 +Component listContextMenuFillingCapacityOrder +{ + #keys: '[414382.0.397311984]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuNew + { + #keys: '[414382.0.401230548]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ADD2' + Taborder: 3 + Title: 'New' + ] + } + Component MenuEdit id:MenuEdit_100 + { + #keys: '[414382.0.402500725]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'PENCIL' + Taborder: 4 + Title: 'Edit' + ] + } + Component MenuDelete id:MenuDelete_129 + { + #keys: '[414382.0.402500768]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'DELETE' + Taborder: 5 + Title: 'Delete' + ] + } + Component MenuSaveScheme + { + #keys: '[414382.0.409871758]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'DISK_BLUE' + Taborder: 6 + Title: 'Save Scheme' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def new file mode 100644 index 0000000..243c7c1 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuDelete_OnClick.def @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: ListFillingCapacityOrder +Response OnClick ( + FillingCapacityOrder selection +) id:Response_ListFillingCapacityOrder_MenuDelete_OnClick +{ + #keys: '[414382.0.402561135]' + CanBindMultiple: false + DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuDelete' + QuillAction + { + Body: + [* + selection.Delete(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def new file mode 100644 index 0000000..de377cf --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuEdit_OnClick.def @@ -0,0 +1,20 @@ +Quintiq file version 2.0 +#parent: ListFillingCapacityOrder +Response OnClick ( + FillingCapacityOrder selection +) id:Response_ListFillingCapacityOrder_MenuEdit_OnClick +{ + #keys: '[414382.0.404212572]' + CanBindMultiple: false + DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuEdit' + QuillAction + { + Body: + [* + dlg := construct( DialogFillingCapacityOrder );; + dlg.Edit( selection); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def new file mode 100644 index 0000000..1d6970c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuNew_OnClick.def @@ -0,0 +1,18 @@ +Quintiq file version 2.0 +#parent: ListFillingCapacityOrder +Response OnClick () id:Response_ListFillingCapacityOrder_MenuNew_OnClick +{ + #keys: '[414382.0.402410520]' + CanBindMultiple: false + DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuNew' + QuillAction + { + Body: + [* + dlg := construct( DialogFillingCapacityOrder ); + dlg.New( MacroPlan); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def new file mode 100644 index 0000000..0dd6b1d --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick.def @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: ListFillingCapacityOrder +Response OnClick () id:Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick +{ + #keys: '[414382.0.410851847]' + CanBindMultiple: false + DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuSaveScheme' + QuillAction + { + Body: + [* + dlg := construct( DialogFillingOrderScheme ); + dlg.OpenScheme(); + //dlg.Edit( selection); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def new file mode 100644 index 0000000..ebf5356 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder/_ROOT_Component_FormFillingCapacityOrder.def @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormFillingCapacityOrder +{ + #keys: '[414382.0.396111858]' + BaseType: 'WebForm' + Children: + [ + #child: ListFillingCapacityOrder + ] + Properties: + [ + Title: 'Filling Capacity Orders' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def new file mode 100644 index 0000000..9982fb6 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_ListFillingSchemeDetail.def @@ -0,0 +1,41 @@ +Quintiq file version 2.0 +Component ListFillingSchemeDetail +{ + #keys: '[414382.0.434111695]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorFillingSchemeDetail + { + #keys: '[414382.0.434111696]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'structured[FillingCapacityOrder]' + Source: 'DataHolderFillingSchemeDetails' + Taborder: 0 + Transformation: 'Elements' + ] + } + #child: listActionBarPageFillingSchemeDetail + Component DataSetLevelFillingSchemeDetail + { + #keys: '[414382.0.434111701]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuFillingSchemeDetail + ] + 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"}}]' + ContextMenu: 'listContextMenuFillingSchemeDetail' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listActionBarPageFillingSchemeDetail.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listActionBarPageFillingSchemeDetail.def new file mode 100644 index 0000000..25791d7 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listActionBarPageFillingSchemeDetail.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageFillingSchemeDetail +{ + #keys: '[414382.0.434111698]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listContextMenuFillingSchemeDetail.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listContextMenuFillingSchemeDetail.def new file mode 100644 index 0000000..21ba05d --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/Component_listContextMenuFillingSchemeDetail.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listContextMenuFillingSchemeDetail +{ + #keys: '[414382.0.434111703]' + BaseType: 'listContextMenu' + Properties: + [ + Taborder: 0 + ] +} diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" new file mode 100644 index 0000000..39f6e98 --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityOrder802/_ROOT_Component_FormFillingSchemeDetail\043802.def" @@ -0,0 +1,41 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormFillingSchemeDetail +{ + #keys: '[414382.0.424331085]' + BaseType: 'WebForm' + Children: + [ + #child: ListFillingSchemeDetail + Component DataHolderFillingSchemeDetails id:DataHolderFillingSchemeDetails_71 + { + #keys: '[414382.0.438570912]' + BaseType: 'WebDataHolder' + Databinding: 'structured[FillingCapacityOrder]*' + Children: + [ + Component DataExtractorFillingSchemeDetails + { + #keys: '[414382.0.438691291]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'structured[FillingCapacityOrder]' + Source: 'FormFillingScheme.DataHolderFillingScheme' + Taborder: 0 + Transformation: 'Elements' + ] + } + ] + Properties: + [ + Taborder: 1 + ] + } + ] + Properties: + [ + Title: 'Filling Capacity Orders' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def new file mode 100644 index 0000000..529f05f --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_ListCustomerAndFillingCapacityOrder.def @@ -0,0 +1,59 @@ +Quintiq file version 2.0 +Component ListCustomerAndFillingCapacityOrder +{ + #keys: '[414382.0.413740609]' + BaseType: 'WebList' + Children: + [ + #child: listActionBarPageCustomerAndFillingCapacityOrder + Component DataExtractorCustomerAndFillingCapacityOrder + { + #keys: '[414382.0.413740610]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'MacroPlan' + Source: 'MacroPlan' + Taborder: 0 + Transformation: 'CustomerAndForecastOrder' + ] + } + Component DataSetLevelCustomerAndFillingCapacityOrder + { + #keys: '[414382.0.413740615]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuCustomerAndFillingCapacityOrder + ] + 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"}}]' + ContextMenu: 'listContextMenuCustomerAndFillingCapacityOrder' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick + { + #keys: '[414382.0.415541555]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1121.0.30421200]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def new file mode 100644 index 0000000..ac6bc73 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listActionBarPageCustomerAndFillingCapacityOrder.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageCustomerAndFillingCapacityOrder +{ + #keys: '[414382.0.413740612]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def new file mode 100644 index 0000000..01848c5 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Component_listContextMenuCustomerAndFillingCapacityOrder.def @@ -0,0 +1,35 @@ +Quintiq file version 2.0 +Component listContextMenuCustomerAndFillingCapacityOrder +{ + #keys: '[414382.0.413740617]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuFilling + { + #keys: '[414382.0.414941796]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ADD2' + Taborder: 3 + Title: 'Filling' + ] + } + Component MenuTest + { + #keys: '[414382.0.415603149]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ADD2' + Taborder: 4 + Title: 'Test' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def new file mode 100644 index 0000000..152a2c0 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Method_OpenScheme.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#parent: #root +Method OpenScheme () id:Method_FormCustomerAndForecastOrder_OpenScheme +{ + #keys: '[414382.0.410362701]' + Body: + [* + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def new file mode 100644 index 0000000..ec8076c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick.def @@ -0,0 +1,20 @@ +Quintiq file version 2.0 +#parent: ListCustomerAndFillingCapacityOrder +Response OnClick ( + CustomerAndForecastOrder selection +) id:Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick +{ + #keys: '[414382.0.415301299]' + CanBindMultiple: false + DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuFilling' + QuillAction + { + Body: + [* + dlg := construct( DialogFillingCustomerAndForecast ); + dlg.Filling( selection); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def new file mode 100644 index 0000000..f292299 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick.def @@ -0,0 +1,17 @@ +Quintiq file version 2.0 +#parent: ListCustomerAndFillingCapacityOrder +Response OnClick () id:Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick +{ + #keys: '[414382.0.415724061]' + CanBindMultiple: false + DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuTest' + QuillAction + { + Body: + [* + CustomerAndForecastOrder::CreateTestData( MacroPlan); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def new file mode 100644 index 0000000..7a7dea3 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingCapacityScheme/_ROOT_Component_FormCustomerAndForecastOrder.def @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormCustomerAndForecastOrder +{ + #keys: '[414382.0.410884055]' + BaseType: 'WebForm' + Children: + [ + #child: ListCustomerAndFillingCapacityOrder + ] + Properties: + [ + Title: 'Customer And Forecast Order' + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def new file mode 100644 index 0000000..30b376c --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_ListFillingScheme.def @@ -0,0 +1,59 @@ +Quintiq file version 2.0 +Component ListFillingScheme +{ + #keys: '[414382.0.426811656]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorFillingScheme + { + #keys: '[414382.0.426811657]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'MacroPlan' + Source: 'MacroPlan' + Taborder: 0 + Transformation: 'FilllingCapacityOrderScheme' + ] + } + #child: listActionBarPageFillingScheme + Component DataSetLevelFillingScheme + { + #keys: '[414382.0.426811662]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: Menurelease + ] + 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"}}]' + ContextMenu: 'Menurelease' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListFillingScheme_WebMenu_OnClick + { + #keys: '[414382.0.428592707]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1143.0.45315951]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_Menurelease.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_Menurelease.def new file mode 100644 index 0000000..db68912 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_Menurelease.def @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +Component Menurelease +{ + #keys: '[414382.0.426811664]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuRelease + { + #keys: '[414382.0.428743342]' + BaseType: 'WebMenu' + Properties: + [ + Taborder: 3 + Title: 'Release' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_listActionBarPageFillingScheme.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_listActionBarPageFillingScheme.def new file mode 100644 index 0000000..14ace1f --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Component_listActionBarPageFillingScheme.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageFillingScheme +{ + #keys: '[414382.0.426811659]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_MenuRelease_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_MenuRelease_OnClick.def new file mode 100644 index 0000000..5d50bdf --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_MenuRelease_OnClick.def @@ -0,0 +1,24 @@ +Quintiq file version 2.0 +#parent: ListFillingScheme +Response OnClick ( + FilllingCapacityOrderScheme selection +) id:Response_ListFillingScheme_MenuRelease_OnClick +{ + #keys: '[414382.0.428592726]' + CanBindMultiple: false + DefinitionID => /ListFillingScheme/Responsedef_ListFillingScheme_WebMenu_OnClick + Initiator: 'MenuRelease' + Precondition: + [* + not selection.IsRelease(); + *] + QuillAction + { + Body: + [* + selection.IsRelease(true); + FilllingCapacityOrderScheme::ReleaseFillingScheme( MacroPlan,selection); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def new file mode 100644 index 0000000..7b75d26 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/Response_ListFillingScheme_OnClick.def @@ -0,0 +1,32 @@ +Quintiq file version 2.0 +#parent: ListFillingScheme +Response OnClick ( + FilllingCapacityOrderScheme selection +) id:Response_ListFillingScheme_OnClick +{ + #keys: '[414382.0.426812119]' + CanBindMultiple: false + DefinitionID: 'Responsedef_WebList_OnClick' + QuillAction + { + 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 new file mode 100644 index 0000000..b95b12f --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormFillingScheme/_ROOT_Component_FormFillingScheme.def @@ -0,0 +1,22 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormFillingScheme +{ + #keys: '[414382.0.426331772]' + BaseType: 'WebForm' + Children: + [ + #child: ListFillingScheme + Component DataHolderFillingScheme + { + #keys: '[414382.0.437300526]' + BaseType: 'WebDataHolder' + Databinding: 'structured[FillingCapacityOrder]*' + Properties: + [ + Taborder: 1 + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def new file mode 100644 index 0000000..017d092 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_ListHistoricalFillingCapacityOrder.def @@ -0,0 +1,41 @@ +Quintiq file version 2.0 +Component ListHistoricalFillingCapacityOrder +{ + #keys: '[414382.0.442221219]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorHistoricalFillingCapacityOrder + { + #keys: '[414382.0.442221220]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'MacroPlan' + Source: 'MacroPlan' + Taborder: 0 + Transformation: 'HistoricalFillingCapacityOrder' + ] + } + #child: listActionBarPageHistoricalFillingCapacityOrder + Component DataSetLevelHistoricalFillingCapacityOrder + { + #keys: '[414382.0.442221225]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuHistoricalFillingCapacityOrder + ] + 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"}}]' + ContextMenu: 'listContextMenuHistoricalFillingCapacityOrder' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listActionBarPageHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listActionBarPageHistoricalFillingCapacityOrder.def new file mode 100644 index 0000000..65995fb --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listActionBarPageHistoricalFillingCapacityOrder.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageHistoricalFillingCapacityOrder +{ + #keys: '[414382.0.442221222]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listContextMenuHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listContextMenuHistoricalFillingCapacityOrder.def new file mode 100644 index 0000000..c1ee9a0 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/Component_listContextMenuHistoricalFillingCapacityOrder.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listContextMenuHistoricalFillingCapacityOrder +{ + #keys: '[414382.0.442221227]' + BaseType: 'listContextMenu' + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def new file mode 100644 index 0000000..9a378bc --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalFillingCapacityOrder/_ROOT_Component_FormHistoricalFillingCapacityOrder.def @@ -0,0 +1,12 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormHistoricalFillingCapacityOrder +{ + #keys: '[414382.0.441950653]' + BaseType: 'WebForm' + Children: + [ + #child: ListHistoricalFillingCapacityOrder + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def new file mode 100644 index 0000000..9abf0cb --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_ListHistoricalSalesOrders.def @@ -0,0 +1,59 @@ +Quintiq file version 2.0 +Component ListHistoricalSalesOrders +{ + #keys: '[414382.0.388210753]' + BaseType: 'WebList' + Children: + [ + Component DataExtractorHistoricalSalesOrders + { + #keys: '[414382.0.388210754]' + BaseType: 'WebDataExtractor' + Properties: + [ + DataType: 'MacroPlan' + Source: 'MacroPlan' + Taborder: 0 + Transformation: 'HistoricalSalesOrder' + ] + } + #child: listActionBarPageHistoricalSalesOrders + Component DataSetLevelHistoricalSalesOrders + { + #keys: '[414382.0.388210759]' + BaseType: 'WebDataSetLevel' + Children: + [ + #child: listContextMenuHistoricalSalesOrders + ] + 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"}}]' + ContextMenu: 'listContextMenuHistoricalSalesOrders' + Taborder: 2 + ] + } + ] + Properties: + [ + Taborder: 0 + ] + ResponseDefinitions: + [ + DelegatedResponseDefinition OnClick id:Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick + { + #keys: '[414382.0.394390402]' + Initiator: 'WebMenu' + IsInherited: false + ResponseType: 'OnClick' + Arguments: + [ + ResponseDefinitionArgument selection + { + #keys: '[1083.0.17043214]' + Binding: 'this.Selection()' + } + ] + } + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def new file mode 100644 index 0000000..8597dfe --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listActionBarPageHistoricalSalesOrders.def @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +Component listActionBarPageHistoricalSalesOrders +{ + #keys: '[414382.0.388210756]' + BaseType: 'listActionBarPage' + Properties: + [ + Taborder: 1 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def new file mode 100644 index 0000000..08bafce --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Component_listContextMenuHistoricalSalesOrders.def @@ -0,0 +1,46 @@ +Quintiq file version 2.0 +Component listContextMenuHistoricalSalesOrders +{ + #keys: '[414382.0.388210761]' + BaseType: 'listContextMenu' + Children: + [ + Component MenuNew id:MenuNew_603 + { + #keys: '[414382.0.394390227]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'ADD2' + Taborder: 3 + Title: 'New' + ] + } + Component MenuEdit id:MenuEdit_847 + { + #keys: '[414382.0.394390242]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'PENCIL' + Taborder: 4 + Title: 'Edit' + ] + } + Component MenuDelete id:MenuDelete_646 + { + #keys: '[414382.0.394390257]' + BaseType: 'WebMenu' + Properties: + [ + Image: 'DELETE' + Taborder: 5 + Title: 'Delete' + ] + } + ] + Properties: + [ + Taborder: 0 + ] +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def new file mode 100644 index 0000000..c59123e --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuDelete_OnClick.def @@ -0,0 +1,19 @@ +Quintiq file version 2.0 +#parent: ListHistoricalSalesOrders +Response OnClick ( + HistoricalSalesOrder selection +) id:Response_ListHistoricalSalesOrders_MenuDelete_OnClick +{ + #keys: '[414382.0.402500799]' + CanBindMultiple: false + DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuDelete' + QuillAction + { + Body: + [* + selection.Delete(); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def new file mode 100644 index 0000000..6ad44a8 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuEdit_OnClick.def @@ -0,0 +1,20 @@ +Quintiq file version 2.0 +#parent: ListHistoricalSalesOrders +Response OnClick ( + FillingCapacityOrder selection +) id:Response_ListHistoricalSalesOrders_MenuEdit_OnClick +{ + #keys: '[414382.0.402531567]' + CanBindMultiple: false + DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick + GroupServerCalls: true + Initiator: 'MenuEdit' + QuillAction + { + Body: + [* + dlg := construct( DialogHistoricalSalesOrders ); + dlg.Edit( selection ); + *] + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def new file mode 100644 index 0000000..d151663 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/Response_ListHistoricalSalesOrders_MenuNew_OnClick.def @@ -0,0 +1,26 @@ +Quintiq file version 2.0 +#parent: ListHistoricalSalesOrders +Response OnClick () id:Response_ListHistoricalSalesOrders_MenuNew_OnClick +{ + #keys: '[414382.0.394390488]' + CanBindMultiple: false + DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick + Initiator: 'MenuNew' + QuillAction + { + Body: + [* + dlg := construct( DialogHistoricalSalesOrders ); + + dlg.dropDownStringListProductID().Strings( HistoricalSalesOrder::GetProductIdString( MacroPlan,"") ); + info( HistoricalSalesOrder::GetProductIdString( MacroPlan,"") ); + dlg.dropDownStringListCustomer().Strings( HistoricalSalesOrder::GetCustomerString( MacroPlan,"")); + dlg.dropDownStringListSalesSegmentName().Strings( HistoricalSalesOrder::GetSalesSegmentString( MacroPlan,"")); + dlg.dropDownStringListStockPointID().Strings( HistoricalSalesOrder::GetStockingPointString( MacroPlan,"")); + dlg.dropDownStringListUnitOfMeasureName().Strings( HistoricalSalesOrder::GetUnitOfMeasuresString( MacroPlan,"")); + + dlg.New( MacroPlan ); + *] + GroupServerCalls: false + } +} diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def new file mode 100644 index 0000000..0b63738 --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_FormHistoricalSalesOrders/_ROOT_Component_FormHistoricalSalesOrders.def @@ -0,0 +1,16 @@ +Quintiq file version 2.0 +#root +#parent: MacroPlannerWebApp +OrphanComponent FormHistoricalSalesOrders +{ + #keys: '[414382.0.386940324]' + BaseType: 'WebForm' + Children: + [ + #child: ListHistoricalSalesOrders + ] + Properties: + [ + Title: 'Historical Sales Orders' + ] +} diff --git "a/_Main/UI/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.vw" "b/_Main/UI/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.vw" new file mode 100644 index 0000000..da19691 --- /dev/null +++ "b/_Main/UI/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.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 + { + } + image: '' + page: '' + group: '' + index: 0 + description: '' + } + formatversion: 2 + id: '濉骇鏂规鍒楄〃' + name: 'FillingCapacitySchemeList' + isglobal: false + isroot: true +} diff --git "a/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.vw" "b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.vw" new file mode 100644 index 0000000..b90401b --- /dev/null +++ "b/_var/_Main/ProjSettings/MacroPlannerWebApp/Views/\345\241\253\344\272\247\346\226\271\346\241\210\345\210\227\350\241\250.vw" @@ -0,0 +1,11 @@ +Quintiq file version 2.0 +{ + viewcontents + { + } + formatversion: 2 + id: '濉骇鏂规鍒楄〃' + name: 'FillingCapacitySchemeList' + isglobal: false + isroot: false +} -- Gitblit v1.9.3