From e92d0373bfb5aa79097480580fc5df90c0ea147d Mon Sep 17 00:00:00 2001 From: hongjli <3117313295@qq.com> Date: 星期四, 14 九月 2023 15:37:18 +0800 Subject: [PATCH] 拉料数据建模 --- _Main/BL/Type_PanelMaterialTM17/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialIT/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterialIT/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/_ROOT_Type_PanelMaterialAutomotiveElectronics.qbl | 10 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/_ROOT_Type_PanelMaterialSportsHealth.qbl | 10 _Main/BL/Type_PanelMaterialTM17/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialIT/_ROOT_Type_PanelMaterialIT.qbl | 10 _Main/BL/Type_PanelMaterialTM18/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialIT/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/_ROOT_Type_PanelMaterialTianHua.qbl | 10 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialIT/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Relations/Relation_PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT.qbl | 23 _Main/BL/Relations/Relation_PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl | 23 _Main/BL/Type_PanelMaterialTM18/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialTM18/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTM17/_ROOT_Type_PanelMaterialTM17.qbl | 10 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Relations/Relation_PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_P.qbl | 23 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl | 18 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialIT/Attribute_Customer.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterialTM18/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_CustomerID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_CustomerID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialIT/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Price.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def | 2 _Main/BL/Type_PanelMaterialTianHua/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Customer.qbl | 6 _Main/BL/Type_PanelMaterialTianHua/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/_ROOT_Type_PanelMaterialSpecializedDisplay.qbl | 10 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_ID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Relations/Relation_PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMateria.qbl | 23 _Main/BL/Type_PanelMaterialTM17/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterialIT/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Relations/Relation_PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAl.qbl | 23 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/_ROOT_Type_PanelMaterialTM18.qbl | 10 _Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_IsExcludedFromFulfillmentKPIUser.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_StockingPointID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialTM17/Attribute_Price.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl | 14 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_OrderID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_SalesSegmentName.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderLineID.qbl | 6 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Quantity.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_CustomerID.qbl | 6 _Main/BL/Relations/Relation_PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMa.qbl | 23 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ID.qbl | 6 _Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialTM18/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_UnitOfMeasureName.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Price.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Customer.qbl | 6 _Main/BL/Relations/Relation_PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl | 23 _Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl | 65 + _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderID.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ProductID.qbl | 6 _Main/BL/Type_PanelMaterialIT/Attribute_OrderLineID.qbl | 7 _Main/BL/Type_PanelMaterialIT/Attribute_IsFirmed.qbl | 7 _Main/BL/Type_PanelMaterialTM18/Attribute_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ID.qbl | 7 _Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def | 10 _Main/BL/Type_PanelMaterialTM17/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialTM18/DefaultValue_Quantity.qbl | 6 _Main/BL/Type_PanelMaterialTM17/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialTM17/Attribute_CurrencyID.qbl | 7 _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ProductID.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderDate.qbl | 7 _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_PriorityName.qbl | 7 _Main/BL/Type_PanelMaterialIT/DefaultValue_IsEligibleForNetting.qbl | 7 _Main/BL/Type_PanelMaterialTM17/DefaultValue_SalesSegmentName.qbl | 6 _Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl | 3 _Main/BL/Type_PanelMaterialTM17/DefaultValue_StockingPointID.qbl | 7 257 files changed, 2,284 insertions(+), 10 deletions(-) diff --git a/_Main/BL/Relations/Relation_PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAl.qbl b/_Main/BL/Relations/Relation_PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAl.qbl new file mode 100644 index 0000000..dfdd092 --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAl.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAll_PanelMaterialAutomotiveElectronics +{ + #keys: '1[414702.0.203680165]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203680167][414702.0.203680166][414702.0.203680168]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialAutomotiveElectronics + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialAutomotiveElectronics + { + #keys: '3[414702.0.203680170][414702.0.203680169][414702.0.203680171]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT.qbl b/_Main/BL/Relations/Relation_PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT.qbl new file mode 100644 index 0000000..40a8aba --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT +{ + #keys: '1[414702.0.203680281]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203680283][414702.0.203680282][414702.0.203680284]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialIT + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialIT + { + #keys: '3[414702.0.203680286][414702.0.203680285][414702.0.203680287]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_P.qbl b/_Main/BL/Relations/Relation_PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_P.qbl new file mode 100644 index 0000000..630692f --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_P.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_PanelMaterialSpecializedDisplay +{ + #keys: '1[414702.0.203671496]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203671498][414702.0.203671497][414702.0.203671499]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialSpecializedDisplay + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialSpecializedDisplay + { + #keys: '3[414702.0.203671501][414702.0.203671500][414702.0.203671502]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMa.qbl b/_Main/BL/Relations/Relation_PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMa.qbl new file mode 100644 index 0000000..08521bd --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMa.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMaterialSportsHealth +{ + #keys: '1[414702.0.203680203]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203680205][414702.0.203680204][414702.0.203680206]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialSportsHealth + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialSportsHealth + { + #keys: '3[414702.0.203680208][414702.0.203680207][414702.0.203680209]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl b/_Main/BL/Relations/Relation_PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl new file mode 100644 index 0000000..611fa89 --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM17 +{ + #keys: '1[414702.0.203671572]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203671574][414702.0.203671573][414702.0.203671575]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialTM17 + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialTM17 + { + #keys: '3[414702.0.203671577][414702.0.203671576][414702.0.203671578]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl b/_Main/BL/Relations/Relation_PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl new file mode 100644 index 0000000..88f9dbc --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM18 +{ + #keys: '1[414702.0.203680361]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203680363][414702.0.203680362][414702.0.203680364]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialTM18 + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialTM18 + { + #keys: '3[414702.0.203680366][414702.0.203680365][414702.0.203680367]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Relations/Relation_PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMateria.qbl b/_Main/BL/Relations/Relation_PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMateria.qbl new file mode 100644 index 0000000..cb988d9 --- /dev/null +++ b/_Main/BL/Relations/Relation_PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMateria.qbl @@ -0,0 +1,23 @@ +Quintiq file version 2.0 +#parent: #root +Relation PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMaterialTianHua +{ + #keys: '1[414702.0.203671469]' + DefaultRelationStrategy + { + } + RelationSide.LeftSide PanelMaterialAll + { + #keys: '3[414702.0.203671471][414702.0.203671470][414702.0.203671472]' + Cardinality: '0to1' + ObjectDefinition: PanelMaterialTianHua + OwningSide: 'Reference' + } + RelationSide.RightSide PanelMaterialTianHua + { + #keys: '3[414702.0.203671474][414702.0.203671473][414702.0.203671475]' + Cardinality: '1toN' + ObjectDefinition: PanelMaterialAll + OwningSide: 'Owned' + } +} diff --git a/_Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl b/_Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl index 6c43776..7a92a12 100644 --- a/_Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl +++ b/_Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl @@ -20,8 +20,24 @@ businessTypeHandle := requestnvt.GetHandle( "businessType" ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); - if ( businessTypeNameValue.GetValueAsString() = "杞﹁浇" ) { + businessType := businessTypeNameValue.GetValueAsString(); + + if ( businessType = "杞﹁浇" ) { PanelMaterialVehicle::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "姹借溅鐢靛瓙" ) { + PanelMaterialAutomotiveElectronics::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "澶╁崕" ) { + PanelMaterialTianHua::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "杩愬姩鍋ュ悍" ) { + PanelMaterialSportsHealth::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "涓撴樉" ) { + PanelMaterialSpecializedDisplay::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "IT" ) { + PanelMaterialIT::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "TM17" ) { + PanelMaterialTM17::ReceiveDataGeneration( this, requestnvt ); + } else if ( businessType = "TM18" ) { + PanelMaterialTM18::ReceiveDataGeneration( this, requestnvt ); } diff --git a/_Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl b/_Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl index 620a059..d1dcf3b 100644 --- a/_Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl +++ b/_Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl @@ -3,7 +3,8 @@ StaticMethod Send ( MacroPlan macroPlan, Scenario scenario, - String businessType + String businessType, + String address ) { TextBody: diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..fc74b78 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203680160][414702.0.203680159][414702.0.203680161]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Customer.qbl new file mode 100644 index 0000000..d9269fa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203680121][414702.0.203680120][414702.0.203680122]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CustomerID.qbl new file mode 100644 index 0000000..13c1686 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203680130][414702.0.203680129][414702.0.203680131]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ID.qbl new file mode 100644 index 0000000..58841e2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203680118][414702.0.203680117][414702.0.203680119]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..5f38c00 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203680148][414702.0.203680147][414702.0.203680149]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..a2238f1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203680157][414702.0.203680156][414702.0.203680158]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..26ca570 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203680127][414702.0.203680126][414702.0.203680128]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderDate.qbl new file mode 100644 index 0000000..85de69d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203680136][414702.0.203680135][414702.0.203680137]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderID.qbl new file mode 100644 index 0000000..a0e0c47 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203680142][414702.0.203680141][414702.0.203680143]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..8d3d87b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203680151][414702.0.203680150][414702.0.203680152]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Price.qbl new file mode 100644 index 0000000..7bf7192 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203680133][414702.0.203680132][414702.0.203680134]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_PriorityName.qbl new file mode 100644 index 0000000..daed52a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203680154][414702.0.203680153][414702.0.203680155]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ProductID.qbl new file mode 100644 index 0000000..ce2771f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203680112][414702.0.203680111][414702.0.203680113]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Quantity.qbl new file mode 100644 index 0000000..6496814 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203680115][414702.0.203680114][414702.0.203680116]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..561bb1c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203680145][414702.0.203680144][414702.0.203680146]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..e980d9b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203680139][414702.0.203680138][414702.0.203680140]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..313af13 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203680124][414702.0.203680123][414702.0.203680125]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..2d21864 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialAutomotiveElectronics( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialAutomotiveElectronics/_ROOT_Type_PanelMaterialAutomotiveElectronics.qbl b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/_ROOT_Type_PanelMaterialAutomotiveElectronics.qbl new file mode 100644 index 0000000..c63be50 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialAutomotiveElectronics/_ROOT_Type_PanelMaterialAutomotiveElectronics.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialAutomotiveElectronics +{ + #keys: '5[414702.0.203680106][414702.0.203680104][0.0.0][414702.0.203680105][414702.0.203680107]' + BaseType: Object + Description: '姹借溅鐢靛瓙' + StructuredName: 'PanelMaterialAutomotiveElectronicss' +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..e3c8994 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203680339][414702.0.203680338][414702.0.203680340]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_Customer.qbl new file mode 100644 index 0000000..555bae6 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203680306][414702.0.203680305][414702.0.203680307]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_CustomerID.qbl new file mode 100644 index 0000000..3ba73d5 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203680330][414702.0.203680329][414702.0.203680331]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_ID.qbl new file mode 100644 index 0000000..5653f06 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203680318][414702.0.203680317][414702.0.203680319]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..816b1ac --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203680309][414702.0.203680308][414702.0.203680310]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..149a11e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203680342][414702.0.203680341][414702.0.203680343]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..03c684f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203680333][414702.0.203680332][414702.0.203680334]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderDate.qbl new file mode 100644 index 0000000..4ffafb0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203680297][414702.0.203680296][414702.0.203680298]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderID.qbl new file mode 100644 index 0000000..2bf9636 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203680303][414702.0.203680302][414702.0.203680304]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..138cf52 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203680327][414702.0.203680326][414702.0.203680328]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_Price.qbl new file mode 100644 index 0000000..3a5f704 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203680300][414702.0.203680299][414702.0.203680301]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_PriorityName.qbl new file mode 100644 index 0000000..4779ec2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203680345][414702.0.203680344][414702.0.203680346]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_ProductID.qbl new file mode 100644 index 0000000..2699c22 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203680312][414702.0.203680311][414702.0.203680313]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_Quantity.qbl new file mode 100644 index 0000000..497c494 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203680321][414702.0.203680320][414702.0.203680322]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..5fce212 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203680324][414702.0.203680323][414702.0.203680325]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..dacd3b8 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203680336][414702.0.203680335][414702.0.203680337]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialIT/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..036c2b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203680315][414702.0.203680314][414702.0.203680316]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialIT/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialIT/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..195adab --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialIT( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialIT/_ROOT_Type_PanelMaterialIT.qbl b/_Main/BL/Type_PanelMaterialIT/_ROOT_Type_PanelMaterialIT.qbl new file mode 100644 index 0000000..9e43a52 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialIT/_ROOT_Type_PanelMaterialIT.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialIT +{ + #keys: '5[414702.0.203680278][414702.0.203680276][0.0.0][414702.0.203680277][414702.0.203680279]' + BaseType: Object + Description: 'IT' + StructuredName: 'PanelMaterialITs' +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..8dd0c12 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203671554][414702.0.203671553][414702.0.203671555]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Customer.qbl new file mode 100644 index 0000000..4feca35 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203671521][414702.0.203671520][414702.0.203671522]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CustomerID.qbl new file mode 100644 index 0000000..f3ff58f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203671545][414702.0.203671544][414702.0.203671546]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ID.qbl new file mode 100644 index 0000000..243d94b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203671533][414702.0.203671532][414702.0.203671534]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..192c647 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203671524][414702.0.203671523][414702.0.203671525]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..0ec007c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203671557][414702.0.203671556][414702.0.203671558]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..a7b488f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203671548][414702.0.203671547][414702.0.203671549]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderDate.qbl new file mode 100644 index 0000000..385b4cd --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203671512][414702.0.203671511][414702.0.203671513]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderID.qbl new file mode 100644 index 0000000..70937cf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203671518][414702.0.203671517][414702.0.203671519]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..6d6f80a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203671542][414702.0.203671541][414702.0.203671543]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Price.qbl new file mode 100644 index 0000000..06ea926 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203671515][414702.0.203671514][414702.0.203671516]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_PriorityName.qbl new file mode 100644 index 0000000..65441bd --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203671560][414702.0.203671559][414702.0.203671561]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ProductID.qbl new file mode 100644 index 0000000..a0b2ab2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203671527][414702.0.203671526][414702.0.203671528]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Quantity.qbl new file mode 100644 index 0000000..65e10f2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203671536][414702.0.203671535][414702.0.203671537]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..fba40f3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203671539][414702.0.203671538][414702.0.203671540]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..f2917a8 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203671551][414702.0.203671550][414702.0.203671552]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..9b9e6ed --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203671530][414702.0.203671529][414702.0.203671531]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..ddb0119 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialSpecializedDisplay( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialSpecializedDisplay/_ROOT_Type_PanelMaterialSpecializedDisplay.qbl b/_Main/BL/Type_PanelMaterialSpecializedDisplay/_ROOT_Type_PanelMaterialSpecializedDisplay.qbl new file mode 100644 index 0000000..483a567 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSpecializedDisplay/_ROOT_Type_PanelMaterialSpecializedDisplay.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialSpecializedDisplay +{ + #keys: '5[414702.0.203671493][414702.0.203671491][0.0.0][414702.0.203671492][414702.0.203671494]' + BaseType: Object + Description: '涓撴樉' + StructuredName: 'PanelMaterialSpecializedDisplays' +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..c6ac9c1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203680261][414702.0.203680260][414702.0.203680262]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Customer.qbl new file mode 100644 index 0000000..16ba69e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203680228][414702.0.203680227][414702.0.203680229]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CustomerID.qbl new file mode 100644 index 0000000..b8c149a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203680252][414702.0.203680251][414702.0.203680253]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ID.qbl new file mode 100644 index 0000000..3ad1519 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203680240][414702.0.203680239][414702.0.203680241]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..c1f2e29 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203680231][414702.0.203680230][414702.0.203680232]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..eae8b92 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203680264][414702.0.203680263][414702.0.203680265]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..d9180af --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203680255][414702.0.203680254][414702.0.203680256]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderDate.qbl new file mode 100644 index 0000000..b67fd64 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203680219][414702.0.203680218][414702.0.203680220]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderID.qbl new file mode 100644 index 0000000..917dbd5 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203680225][414702.0.203680224][414702.0.203680226]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..ba6e8fa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203680249][414702.0.203680248][414702.0.203680250]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Price.qbl new file mode 100644 index 0000000..8952ea0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203680222][414702.0.203680221][414702.0.203680223]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_PriorityName.qbl new file mode 100644 index 0000000..6142149 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203680267][414702.0.203680266][414702.0.203680268]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ProductID.qbl new file mode 100644 index 0000000..ef4fa53 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203680234][414702.0.203680233][414702.0.203680235]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Quantity.qbl new file mode 100644 index 0000000..b5c0fe2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203680243][414702.0.203680242][414702.0.203680244]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..a2b09be --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203680246][414702.0.203680245][414702.0.203680247]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..423aada --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203680258][414702.0.203680257][414702.0.203680259]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..b2fd490 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203680237][414702.0.203680236][414702.0.203680238]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..4ccf91b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialSportsHealth( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialSportsHealth/_ROOT_Type_PanelMaterialSportsHealth.qbl b/_Main/BL/Type_PanelMaterialSportsHealth/_ROOT_Type_PanelMaterialSportsHealth.qbl new file mode 100644 index 0000000..1ac291b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialSportsHealth/_ROOT_Type_PanelMaterialSportsHealth.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialSportsHealth +{ + #keys: '5[414702.0.203680200][414702.0.203680198][0.0.0][414702.0.203680199][414702.0.203680201]' + BaseType: Object + Description: '杩愬姩鍋ュ悍' + StructuredName: 'PanelMaterialSportsHealths' +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..20cd108 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203671609][414702.0.203671608][414702.0.203671610]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_Customer.qbl new file mode 100644 index 0000000..bee172b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203671594][414702.0.203671593][414702.0.203671595]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_CustomerID.qbl new file mode 100644 index 0000000..e689c52 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203671621][414702.0.203671620][414702.0.203671622]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_ID.qbl new file mode 100644 index 0000000..63b5c99 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203671615][414702.0.203671614][414702.0.203671616]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..5b15de6 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203671612][414702.0.203671611][414702.0.203671613]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..63575af --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203671603][414702.0.203671602][414702.0.203671604]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..f311335 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203671591][414702.0.203671590][414702.0.203671592]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderDate.qbl new file mode 100644 index 0000000..f83a64f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203671630][414702.0.203671629][414702.0.203671631]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderID.qbl new file mode 100644 index 0000000..3fe99f4 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203671606][414702.0.203671605][414702.0.203671607]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..f20d582 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203671636][414702.0.203671635][414702.0.203671637]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_Price.qbl new file mode 100644 index 0000000..3234d7d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203671588][414702.0.203671587][414702.0.203671589]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_PriorityName.qbl new file mode 100644 index 0000000..3ecd304 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203671627][414702.0.203671626][414702.0.203671628]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_ProductID.qbl new file mode 100644 index 0000000..a2edc37 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203671600][414702.0.203671599][414702.0.203671601]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_Quantity.qbl new file mode 100644 index 0000000..3f43e48 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203671624][414702.0.203671623][414702.0.203671625]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..e4979c4 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203671633][414702.0.203671632][414702.0.203671634]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..0c70a04 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203671618][414702.0.203671617][414702.0.203671619]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTM17/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..f2df14f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203671597][414702.0.203671596][414702.0.203671598]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialTM17/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..9f7f71a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialTM17( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialTM17/_ROOT_Type_PanelMaterialTM17.qbl b/_Main/BL/Type_PanelMaterialTM17/_ROOT_Type_PanelMaterialTM17.qbl new file mode 100644 index 0000000..54c85a7 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM17/_ROOT_Type_PanelMaterialTM17.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialTM17 +{ + #keys: '5[414702.0.203671569][414702.0.203671567][0.0.0][414702.0.203671568][414702.0.203671570]' + BaseType: Object + Description: 'TM17' + StructuredName: 'PanelMaterialTM17s' +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..9fa6c69 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203680386][414702.0.203680385][414702.0.203680387]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_Customer.qbl new file mode 100644 index 0000000..afffc3c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203680395][414702.0.203680394][414702.0.203680396]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_CustomerID.qbl new file mode 100644 index 0000000..05564f1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203680413][414702.0.203680412][414702.0.203680414]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_ID.qbl new file mode 100644 index 0000000..37d4aed --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203680401][414702.0.203680400][414702.0.203680402]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..d994032 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203680416][414702.0.203680415][414702.0.203680417]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..0868269 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203680419][414702.0.203680418][414702.0.203680420]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..157903f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203680380][414702.0.203680379][414702.0.203680381]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderDate.qbl new file mode 100644 index 0000000..fcd19b6 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203680407][414702.0.203680406][414702.0.203680408]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderID.qbl new file mode 100644 index 0000000..867df94 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203680392][414702.0.203680391][414702.0.203680393]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..61afc1f --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203680398][414702.0.203680397][414702.0.203680399]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_Price.qbl new file mode 100644 index 0000000..2446765 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203680389][414702.0.203680388][414702.0.203680390]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_PriorityName.qbl new file mode 100644 index 0000000..57ab630 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203680422][414702.0.203680421][414702.0.203680423]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_ProductID.qbl new file mode 100644 index 0000000..976c946 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203680377][414702.0.203680376][414702.0.203680378]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_Quantity.qbl new file mode 100644 index 0000000..f7d8717 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203680425][414702.0.203680424][414702.0.203680426]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..deeb9c2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203680404][414702.0.203680403][414702.0.203680405]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..b98b82a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203680383][414702.0.203680382][414702.0.203680384]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTM18/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..4c162ed --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203680410][414702.0.203680409][414702.0.203680411]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialTM18/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..9145c77 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialTM18( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialTM18/_ROOT_Type_PanelMaterialTM18.qbl b/_Main/BL/Type_PanelMaterialTM18/_ROOT_Type_PanelMaterialTM18.qbl new file mode 100644 index 0000000..75ea3ae --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTM18/_ROOT_Type_PanelMaterialTM18.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialTM18 +{ + #keys: '5[414702.0.203680356][414702.0.203680354][0.0.0][414702.0.203680355][414702.0.203680357]' + BaseType: Object + Description: 'TM18' + StructuredName: 'PanelMaterialTM18s' +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_CurrencyID.qbl new file mode 100644 index 0000000..3733f5b --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CurrencyID +{ + #keys: '3[414702.0.203671460][414702.0.203671459][414702.0.203671461]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_Customer.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Customer.qbl new file mode 100644 index 0000000..9f58ae5 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Customer.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Customer +{ + #keys: '3[414702.0.203671427][414702.0.203671426][414702.0.203671428]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_CustomerID.qbl new file mode 100644 index 0000000..c563be0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_CustomerID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute CustomerID +{ + #keys: '3[414702.0.203671451][414702.0.203671450][414702.0.203671452]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_ID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_ID.qbl new file mode 100644 index 0000000..1cebdcf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_ID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ID +{ + #keys: '3[414702.0.203671439][414702.0.203671438][414702.0.203671440]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsEligibleForNetting.qbl new file mode 100644 index 0000000..99eb60c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsEligibleForNetting +{ + #keys: '3[414702.0.203671430][414702.0.203671429][414702.0.203671431]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..4efa43a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsExcludedFromFulfillmentKPIUser +{ + #keys: '3[414702.0.203671463][414702.0.203671462][414702.0.203671464]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsFirmed.qbl new file mode 100644 index 0000000..0603138 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute IsFirmed +{ + #keys: '3[414702.0.203671454][414702.0.203671453][414702.0.203671455]' + ValueType: Boolean +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderDate.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderDate.qbl new file mode 100644 index 0000000..87acd44 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderDate.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderDate +{ + #keys: '3[414702.0.203671418][414702.0.203671417][414702.0.203671419]' + ValueType: Date +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderID.qbl new file mode 100644 index 0000000..ecf37e0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderID +{ + #keys: '3[414702.0.203671424][414702.0.203671423][414702.0.203671425]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderLineID.qbl new file mode 100644 index 0000000..c0a4a24 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_OrderLineID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute OrderLineID +{ + #keys: '3[414702.0.203671448][414702.0.203671447][414702.0.203671449]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_Price.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Price.qbl new file mode 100644 index 0000000..05e48bd --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Price +{ + #keys: '3[414702.0.203671421][414702.0.203671420][414702.0.203671422]' + ValueType: Real +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_PriorityName.qbl new file mode 100644 index 0000000..a11a6ca --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute PriorityName +{ + #keys: '3[414702.0.203671466][414702.0.203671465][414702.0.203671467]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_ProductID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_ProductID.qbl new file mode 100644 index 0000000..1148598 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_ProductID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute ProductID +{ + #keys: '3[414702.0.203671433][414702.0.203671432][414702.0.203671434]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_Quantity.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Quantity.qbl new file mode 100644 index 0000000..458dd84 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_Quantity.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute Quantity +{ + #keys: '3[414702.0.203671442][414702.0.203671441][414702.0.203671443]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_SalesSegmentName.qbl new file mode 100644 index 0000000..748894c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_SalesSegmentName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute SalesSegmentName +{ + #keys: '3[414702.0.203671445][414702.0.203671444][414702.0.203671446]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_StockingPointID.qbl new file mode 100644 index 0000000..8c31b00 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute StockingPointID +{ + #keys: '3[414702.0.203671457][414702.0.203671456][414702.0.203671458]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/Attribute_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTianHua/Attribute_UnitOfMeasureName.qbl new file mode 100644 index 0000000..f3ecefc --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/Attribute_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +Attribute UnitOfMeasureName +{ + #keys: '3[414702.0.203671436][414702.0.203671435][414702.0.203671437]' + ValueType: String +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CurrencyID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CurrencyID.qbl new file mode 100644 index 0000000..9a0e812 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CurrencyID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'CNY' + TargetAttribute: CurrencyID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Customer.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Customer.qbl new file mode 100644 index 0000000..e02a336 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Customer.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Customer +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CustomerID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CustomerID.qbl new file mode 100644 index 0000000..66ae438 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_CustomerID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: CustomerID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ID.qbl new file mode 100644 index 0000000..049abc0 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsEligibleForNetting.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsEligibleForNetting.qbl new file mode 100644 index 0000000..8b36496 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsEligibleForNetting.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsEligibleForNetting +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl new file mode 100644 index 0000000..d0e348d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'false' + TargetAttribute: IsExcludedFromFulfillmentKPIUser +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsFirmed.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsFirmed.qbl new file mode 100644 index 0000000..0f7ae4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsFirmed.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'true' + TargetAttribute: IsFirmed +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderID.qbl new file mode 100644 index 0000000..05c5cf1 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderLineID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderLineID.qbl new file mode 100644 index 0000000..01ff2bf --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderLineID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: OrderLineID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Price.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Price.qbl new file mode 100644 index 0000000..577db4c --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Price.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '0' + TargetAttribute: Price +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_PriorityName.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_PriorityName.qbl new file mode 100644 index 0000000..7c6efaa --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_PriorityName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'Normal' + TargetAttribute: PriorityName +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ProductID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ProductID.qbl new file mode 100644 index 0000000..98649b2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_ProductID.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: ProductID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Quantity.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Quantity.qbl new file mode 100644 index 0000000..9e759b3 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_Quantity.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: Quantity +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_SalesSegmentName.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_SalesSegmentName.qbl new file mode 100644 index 0000000..521966d --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_SalesSegmentName.qbl @@ -0,0 +1,6 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + TargetAttribute: SalesSegmentName +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_StockingPointID.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_StockingPointID.qbl new file mode 100644 index 0000000..6110bce --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_StockingPointID.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: '鎴愬搧浠�' + TargetAttribute: StockingPointID +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_UnitOfMeasureName.qbl b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_UnitOfMeasureName.qbl new file mode 100644 index 0000000..7f9ab5e --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/DefaultValue_UnitOfMeasureName.qbl @@ -0,0 +1,7 @@ +Quintiq file version 2.0 +#parent: #root +DefaultValue +{ + ISOValue: 'SHT' + TargetAttribute: UnitOfMeasureName +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl new file mode 100644 index 0000000..042dc4a --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl @@ -0,0 +1,65 @@ +Quintiq file version 2.0 +#parent: #root +StaticMethod ReceiveDataGeneration ( + GlobalOTDTable globalOTDTable, + NamedValueTree requestnvt +) +{ + TextBody: + [* + nameValue := requestnvt.Root(); + + bodyHandle := requestnvt.GetHandle( "Body" ); + restHandle := requestnvt.GetHandle( "Rest" ); + restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); + + bodyNameValue := nameValue.Child( bodyHandle ); + restNameValue := bodyNameValue.Child( restHandle ); + restPayloadNameValue := restNameValue.Child( restPayloadHandle ); + + releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); + businessTypeHandle := requestnvt.GetHandle( "businessType" ); + scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); + + releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); + businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); + scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); + + panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); + if ( not isnull( panelMaterialAll ) ) { + panelMaterialAll.Delete(); + } + panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, + ReleaseDate := releaseDateNameValue.GetValueAsString(), + BusinessType := businessTypeNameValue.GetValueAsString(), + ScenarioName := scenarioNameNameValue.GetValueAsString() + ); + + panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); + panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); + childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); + productIDHandle := requestnvt.GetHandle( "productID" ); + productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); + startDateHandle := requestnvt.GetHandle( "startDate" ); + quantityHandle := requestnvt.GetHandle( "quantity" ); + + cnv2 := StringToDate::StandardConverter(); + cnv2.SetCustomConversion(); + cnv2.CustomFormatString( 'yyyy-MM-dd' ); + + traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { + info( "浜у搧锛�", cpmnv.Child( productIDHandle ).GetValueAsString() ); + info( "浜у搧鎻忚堪锛�", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); + info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); + info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); + panelMaterialAll.PanelMaterialTianHua( relnew, + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); + } + *] +} diff --git a/_Main/BL/Type_PanelMaterialTianHua/_ROOT_Type_PanelMaterialTianHua.qbl b/_Main/BL/Type_PanelMaterialTianHua/_ROOT_Type_PanelMaterialTianHua.qbl new file mode 100644 index 0000000..d2d2fa2 --- /dev/null +++ b/_Main/BL/Type_PanelMaterialTianHua/_ROOT_Type_PanelMaterialTianHua.qbl @@ -0,0 +1,10 @@ +Quintiq file version 2.0 +#root +#parent: #DomainModel +Type PanelMaterialTianHua +{ + #keys: '5[414702.0.203671414][414702.0.203671412][0.0.0][414702.0.203671413][414702.0.203671415]' + BaseType: Object + Description: '澶╄姳' + StructuredName: 'PanelMaterialTianHuas' +} diff --git a/_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl b/_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl index 3a64a54..3174738 100644 --- a/_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl +++ b/_Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl @@ -53,13 +53,13 @@ info( "寮�濮嬫椂闂达細", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "鏁伴噺锛�", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialVehicle( relnew, - Customer := businessTypeNameValue.GetValueAsString(), - ID := OS::GenerateGUIDAsString(), - OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), - ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), - Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), - SalesSegmentName := businessTypeNameValue.GetValueAsString() - ); + Customer := businessTypeNameValue.GetValueAsString(), + ID := OS::GenerateGUIDAsString(), + OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), + ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), + Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), + SalesSegmentName := businessTypeNameValue.GetValueAsString() + ); } *] } diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def b/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def index 9d84240..59898ad 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def @@ -38,6 +38,16 @@ Taborder: 2 ] } + Component EditFieldAddress + { + #keys: '[414702.0.203870768]' + BaseType: 'WebEditField' + Properties: + [ + Label: '鍙戦�佸湴鍧�' + Taborder: 3 + ] + } ] Properties: [ diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def index acdfa4f..c52a5f6 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def @@ -15,7 +15,7 @@ [* scenario := DataHolderActiveScenario.Data(); - PanelMaterial::Send( MacroPlan, scenario, DropDownStringListBusinessType.Text() ); + PanelMaterial::Send( MacroPlan, scenario, DropDownStringListBusinessType.Text(), EditFieldAddress.Text() ); WebMessageBox::Success( "鍙戦�佹垚鍔燂紒", true ); *] -- Gitblit v1.9.3