yunchai
2023-10-30 15370393cc3f133aeab243ffb3179af4391a9bc9
合并订单拆行Merge branch 'dev_cyy20231026'
已添加125个文件
已修改3个文件
2161 ■■■■■ 文件已修改
_Main/BL/Relations/Relation_S_DT_CustomOrder_Child_S_DT_CustomOrder_Parent.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_DT_CustomOrder_MacroPlan_MacroPlan_S_DT_CustomOrder.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_DT_OrderSpliteRow_MacroPlan_MacroPlan_S_DT_OrderSpliteRow.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_DT_OrderSpliteRow_S_DT_CustomOrder_S_DT_CustomOrder_S_DT_OrderSpl.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_DT_SpliteStruct_MacroPlan_MacroPlan_S_DT_SpliteStruct.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_FunctionClass_MacroPlan_MacroPlan_S_FunctionClass.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_BusinessType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_CurrencyID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerPolicy.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_DefaultUOMConversionFactor#413.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_DemandUncertaintyPercentage.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_DerivedPriorityName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_EndDate.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ExpectedQuantity.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_FulfilledQuantity.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_HasPostponedSalesDemand.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_HasValidConversionFactor.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ID_SpliteStruct.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsAvailable.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsEligibleForNetting.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsExcludedFromFulfillmentKPI.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsExcludedFromFulfillmentKPIUser.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsFirmed.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsLeaf.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsLocked.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsManuallyConfigured.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsPostponed.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsSoftDeleted.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsValidData.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_LastModify.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_LastModifyTime.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderLineID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderTag.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderTime.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderType.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_OutsideOfPlanningHorizonQuantity.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_PISPConversionFactor.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ParentID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_Price.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_PriceUoM.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_PriorityName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ProductGrade.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_ProductID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_Quantity.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_QuantityInDefaultUoM.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_QuantityPerDay.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SalesDemandConversionFactor.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SalesSegmentName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataMostSevere.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataMostSevereCount.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataTotalViolationCount.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SegmentPriority.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SheetProfitability.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SplitCount.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SpliteReason.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_SpliteRenmain.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_StartDate.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_Status_Splite.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_StockingPointID.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_UnitOfMeasureName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/Attribute_Variance.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DeclarativeTypeIndexRelation_CalcChild.qbl 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_BusinessType.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_CustomerPolicy.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_LastModify.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_OrderTag.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_OrderType.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_ProductGrade.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_SegmentPriority.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_SheetProfitability.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/TypeIndex_PrimaryKey_ID.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_CustomOrder/_ROOT_Type_S_DT_CustomOrder.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_OrderSpliteRow/Attribute_NewAttribute.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_OrderSpliteRow/_ROOT_Type_S_DT_OrderSpliteRow.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ForecastDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ID.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ID_S_DT_CustomOrder.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_OrderID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_Qty.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_SpliteReason.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/Attribute_Status.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/DefaultValue_Status.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_DT_SpliteStruct/_ROOT_Type_S_DT_SpliteStruct.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_FunctionClass/StaticMethod_SM_OrderToSpliteOrder.qbl 207 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_S_FunctionClass/_ROOT_Type_S_FunctionClass.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_ListSDIP.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_PanelSDIP.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_PanelSalesDemands.def 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_listContextMenuSD.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Response_TIANMA_JITUAN_ListSalesDemands_MenuSpliteOrder_OnClick.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_Panel700.def 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_listActionBarPage229#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_listContextMenu950#1.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_list_SpliteDetails#136.def 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_OperateBtns_FCOS.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_function_FCOS.def 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_spliteDetails.def 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_splite_info.def 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_Panel700_btn_Cancel_FCOS_OnClick.def 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_Panel700_btn_OK_FCOS_OnClick.def 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_dh_Paramer_FCOS_OnDataChanged.def 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_dh_Paramer_SCustomOrder_FCOS_OnDataChanged.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_list_SpliteDetails_136_m_delete_list_SD_OnClick.def 37 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_pl_function_FCOS_btn_add_FCOS_OnClick.def 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_pl_splite_info_btn_splite_add_OnClick.def 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/_ROOT_Component_FrmCustomOrderSpliteRow.def 102 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_Panel651.def 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_Panel713.def 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_lisplitedetails#450.def 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listActionBarPage243#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listActionBarPage978#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listContextMenu199#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listContextMenu655#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listOrders#635.def 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_pl_DataView.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_pl_Function_FCOV.def 114 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_Panel651_btn_delete_FCOV_OnClick.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_listOrders_635_OnSelectionChanged.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick.def 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick.def 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_sendERP_FCOV_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_splitRow_FCOV_OnClick.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/_ROOT_Component_FrmCustomOrderView.def 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_S_DT_CustomOrder_Child_S_DT_CustomOrder_Parent.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_DT_CustomOrder_Child_S_DT_CustomOrder_Parent
{
  #keys: '1[414724.0.301487674]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide Child
  {
    #keys: '3[414724.0.301487676][414724.0.301487675][414724.0.301487677]'
    Cardinality: '0to1'
    ObjectDefinition: S_DT_CustomOrder
    OwningSide: 'Reference'
  }
  RelationSide.RightSide Parent
  {
    #keys: '3[414724.0.301487679][414724.0.301487678][414724.0.301487680]'
    Cardinality: '1toN'
    ObjectDefinition: S_DT_CustomOrder
    OwningSide: 'Reference'
  }
}
_Main/BL/Relations/Relation_S_DT_CustomOrder_MacroPlan_MacroPlan_S_DT_CustomOrder.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_DT_CustomOrder_MacroPlan_MacroPlan_S_DT_CustomOrder
{
  #keys: '1[414724.0.292616032]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[414724.0.292616034][414724.0.292616033][414724.0.292616035]'
    Cardinality: '0to1'
    ObjectDefinition: S_DT_CustomOrder
    OwningSide: 'Reference'
  }
  RelationSide.RightSide S_DT_CustomOrder
  {
    #keys: '3[414724.0.292616037][414724.0.292616036][414724.0.292616038]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_S_DT_OrderSpliteRow_MacroPlan_MacroPlan_S_DT_OrderSpliteRow.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_DT_OrderSpliteRow_MacroPlan_MacroPlan_S_DT_OrderSpliteRow
{
  #keys: '1[414724.0.289871273]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[414724.0.289871275][414724.0.289871274][414724.0.289871276]'
    Cardinality: '0to1'
    ObjectDefinition: S_DT_OrderSpliteRow
    OwningSide: 'Reference'
  }
  RelationSide.RightSide S_DT_OrderSpliteRow
  {
    #keys: '3[414724.0.289871278][414724.0.289871277][414724.0.289871279]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_S_DT_OrderSpliteRow_S_DT_CustomOrder_S_DT_CustomOrder_S_DT_OrderSpl.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_DT_OrderSpliteRow_S_DT_CustomOrder_S_DT_CustomOrder_S_DT_OrderSpliteRow
{
  #keys: '1[414724.0.292600485]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide S_DT_CustomOrder
  {
    #keys: '3[414724.0.292600487][414724.0.292600486][414724.0.292600488]'
    Cardinality: '0to1'
    ObjectDefinition: S_DT_OrderSpliteRow
    OwningSide: 'Reference'
  }
  RelationSide.RightSide S_DT_OrderSpliteRow
  {
    #keys: '3[414724.0.292600490][414724.0.292600489][414724.0.292600491]'
    Cardinality: '1toN'
    ObjectDefinition: S_DT_CustomOrder
    OwningSide: 'Reference'
  }
}
_Main/BL/Relations/Relation_S_DT_SpliteStruct_MacroPlan_MacroPlan_S_DT_SpliteStruct.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_DT_SpliteStruct_MacroPlan_MacroPlan_S_DT_SpliteStruct
{
  #keys: '1[414724.0.291485612]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[414724.0.291485614][414724.0.291485613][414724.0.291485615]'
    Cardinality: '0to1'
    ObjectDefinition: S_DT_SpliteStruct
    OwningSide: 'Reference'
  }
  RelationSide.RightSide S_DT_SpliteStruct
  {
    #keys: '3[414724.0.291485617][414724.0.291485616][414724.0.291485618]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_S_FunctionClass_MacroPlan_MacroPlan_S_FunctionClass.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation S_FunctionClass_MacroPlan_MacroPlan_S_FunctionClass
{
  #keys: '1[414724.0.288796777]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[414724.0.288796779][414724.0.288796778][414724.0.288796780]'
    Cardinality: '0to1'
    ObjectDefinition: S_FunctionClass
    OwningSide: 'Reference'
  }
  RelationSide.RightSide S_FunctionClass
  {
    #keys: '3[414724.0.288796782][414724.0.288796781][414724.0.288796783]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute BusinessType
{
  #keys: '3[414724.0.292616049][414724.0.292616048][414724.0.292616050]'
  Description: '事业部'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute CurrencyID
{
  #keys: '3[414724.0.292600064][414724.0.292600063][414724.0.292600065]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute CustomerID
{
  #keys: '3[414724.0.292600051][414724.0.292600050][414724.0.292600052]'
  Description: 'CustomerID'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute CustomerName
{
  #keys: '3[414724.0.292600074][414724.0.292600073][414724.0.292600075]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_CustomerPolicy.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute CustomerPolicy
{
  #keys: '3[414724.0.292600039][414724.0.292600038][414724.0.292600040]'
  Description: '客户策略'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_DefaultUOMConversionFactor#413.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DefaultUOMConversionFactor
{
  #keys: '3[414724.0.292600084][414724.0.292600083][414724.0.292600085]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_DemandUncertaintyPercentage.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DemandUncertaintyPercentage
{
  #keys: '3[414724.0.292600099][414724.0.292600098][414724.0.292600100]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_DerivedPriorityName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute DerivedPriorityName
{
  #keys: '3[414724.0.292600109][414724.0.292600108][414724.0.292600110]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_EndDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute EndDate
{
  #keys: '3[414724.0.292600119][414724.0.292600118][414724.0.292600120]'
  ValueType: Date
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ExpectedQuantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ExpectedQuantity
{
  #keys: '3[414724.0.292600129][414724.0.292600128][414724.0.292600130]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_FulfilledQuantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute FulfilledQuantity
{
  #keys: '3[414724.0.292600139][414724.0.292600138][414724.0.292600140]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_HasPostponedSalesDemand.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute HasPostponedSalesDemand
{
  #keys: '3[414724.0.292600152][414724.0.292600151][414724.0.292600153]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_HasValidConversionFactor.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute HasValidConversionFactor
{
  #keys: '3[414724.0.292600162][414724.0.292600161][414724.0.292600163]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ID
{
  #keys: '3[414724.0.292600172][414724.0.292600171][414724.0.292600173]'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ID_SpliteStruct.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ID_SpliteStruct
{
  #keys: '3[414724.0.314769076][414724.0.314769075][414724.0.314769077]'
  Description: 'S_DT_SpliteStruct表ID'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsAvailable.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute IsAvailable
{
  #keys: '3[414724.0.292600045][414724.0.292600044][414724.0.292600046]'
  Description: '订单是否参与计划'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsEligibleForNetting
{
  #keys: '3[414724.0.292600182][414724.0.292600181][414724.0.292600183]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsExcludedFromFulfillmentKPI.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsExcludedFromFulfillmentKPI
{
  #keys: '3[414724.0.292600192][414724.0.292600191][414724.0.292600193]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsExcludedFromFulfillmentKPIUser
{
  #keys: '3[414724.0.292600202][414724.0.292600201][414724.0.292600203]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsFirmed
{
  #keys: '3[414724.0.292600212][414724.0.292600211][414724.0.292600213]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsLeaf.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsLeaf
{
  #keys: '3[414724.0.292600222][414724.0.292600221][414724.0.292600223]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsLocked.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsLocked
{
  #keys: '3[414724.0.292600232][414724.0.292600231][414724.0.292600233]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsManuallyConfigured.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsManuallyConfigured
{
  #keys: '3[414724.0.292600242][414724.0.292600241][414724.0.292600243]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsPostponed.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsPostponed
{
  #keys: '3[414724.0.292600252][414724.0.292600251][414724.0.292600253]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsSoftDeleted.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsSoftDeleted
{
  #keys: '3[414724.0.292600262][414724.0.292600261][414724.0.292600263]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_IsValidData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute IsValidData
{
  #keys: '3[414724.0.292600272][414724.0.292600271][414724.0.292600273]'
  ValueType: Boolean
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_LastModify.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute LastModify
{
  #keys: '3[414724.0.292600033][414724.0.292600032][414724.0.292600034]'
  Description: '最后修改人'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_LastModifyTime.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute LastModifyTime
{
  #keys: '3[414724.0.292600021][414724.0.292600020][414724.0.292600022]'
  Description: '最后操作时间'
  ValueType: DateTime
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderID
{
  #keys: '3[414724.0.292600282][414724.0.292600281][414724.0.292600283]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderLineID
{
  #keys: '3[414724.0.292600292][414724.0.292600291][414724.0.292600293]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderTag.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderTag
{
  #keys: '3[414724.0.292600042][414724.0.292600041][414724.0.292600043]'
  Description: '订单状态,冲减后赋值,纯预测,有预测,无预测,反签,授权'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderTime.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderTime
{
  #keys: '3[414724.0.292600024][414724.0.292600023][414724.0.292600025]'
  Description: '订单下单时间'
  ValueType: Date
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OrderType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderType
{
  #keys: '3[414724.0.292600018][414724.0.292600017][414724.0.292600019]'
  Description: '订单类型'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_OutsideOfPlanningHorizonQuantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute OutsideOfPlanningHorizonQuantity
{
  #keys: '3[414724.0.292600302][414724.0.292600301][414724.0.292600303]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_PISPConversionFactor.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PISPConversionFactor
{
  #keys: '3[414724.0.292600312][414724.0.292600311][414724.0.292600313]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ParentID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ParentID
{
  #keys: '3[414724.0.301487657][414724.0.301487656][414724.0.301487658]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Price
{
  #keys: '3[414724.0.292600322][414724.0.292600321][414724.0.292600323]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_PriceUoM.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PriceUoM
{
  #keys: '3[414724.0.292600332][414724.0.292600331][414724.0.292600333]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute PriorityName
{
  #keys: '3[414724.0.292600342][414724.0.292600341][414724.0.292600343]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ProductGrade.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductGrade
{
  #keys: '3[414724.0.292600036][414724.0.292600035][414724.0.292600037]'
  Description: '产品等级'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductID
{
  #keys: '3[414724.0.292600352][414724.0.292600351][414724.0.292600353]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Quantity
{
  #keys: '3[414724.0.292600368][414724.0.292600367][414724.0.292600369]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_QuantityInDefaultUoM.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute QuantityInDefaultUoM
{
  #keys: '3[414724.0.292600378][414724.0.292600377][414724.0.292600379]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_QuantityPerDay.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute QuantityPerDay
{
  #keys: '3[414724.0.292600388][414724.0.292600387][414724.0.292600389]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SalesDemandConversionFactor.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute SalesDemandConversionFactor
{
  #keys: '3[414724.0.292600398][414724.0.292600397][414724.0.292600399]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute SalesSegmentName
{
  #keys: '3[414724.0.292600408][414724.0.292600407][414724.0.292600409]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataMostSevere.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute SanityCheckDataMostSevere
{
  #keys: '3[414724.0.292600416][414724.0.292600415][414724.0.292600417]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataMostSevereCount.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute SanityCheckDataMostSevereCount
{
  #keys: '3[414724.0.292600426][414724.0.292600425][414724.0.292600427]'
  ValueType: Number
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SanityCheckDataTotalViolationCount.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute SanityCheckDataTotalViolationCount
{
  #keys: '3[414724.0.292600436][414724.0.292600435][414724.0.292600437]'
  ValueType: Number
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SegmentPriority.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SegmentPriority
{
  #keys: '3[414724.0.292600030][414724.0.292600029][414724.0.292600031]'
  Description: '细分市场优先级'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SheetProfitability.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SheetProfitability
{
  #keys: '3[414724.0.292600027][414724.0.292600026][414724.0.292600028]'
  Description: '大张盈利水平'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SplitCount.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SplitCount
{
  #keys: '3[414724.0.297907220][414724.0.297907219][414724.0.297907221]'
  Description: '拆行行数'
  ValueType: Number
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SpliteReason.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SpliteReason
{
  #keys: '3[414724.0.297907210][414724.0.297907209][414724.0.297907211]'
  Description: '拆行原因'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_SpliteRenmain.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SpliteRenmain
{
  #keys: '3[414724.0.297907230][414724.0.297907229][414724.0.297907231]'
  Description: '拆行剩余量'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_StartDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute StartDate
{
  #keys: '3[414724.0.292600446][414724.0.292600445][414724.0.292600447]'
  ValueType: Date
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_Status_Splite.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Status_Splite
{
  #keys: '3[414724.0.297907200][414724.0.297907199][414724.0.297907201]'
  Description: '拆行状态:未拆行,已拆行'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute StockingPointID
{
  #keys: '3[414724.0.292600456][414724.0.292600455][414724.0.292600457]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UnitOfMeasureName
{
  #keys: '3[414724.0.292600466][414724.0.292600465][414724.0.292600467]'
  ValueType: String
}
_Main/BL/Type_S_DT_CustomOrder/Attribute_Variance.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Variance
{
  #keys: '3[414724.0.292600476][414724.0.292600475][414724.0.292600477]'
  ValueType: Real
}
_Main/BL/Type_S_DT_CustomOrder/DeclarativeTypeIndexRelation_CalcChild.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: #root
DeclarativeTypeIndexRelation CalcChild
{
  #keys: '1[414724.0.314769003]'
  Relation: Child
  TypeIndex: PrimaryKey_ID
  TypeIndexExpressions:
  [
    DeclarativeRelationTypeIndexExpression
    {
      #keys: '1[414724.0.314769004]'
      TypeIndexExpression: 'this.ParentID()'
    }
  ]
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_BusinessType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: BusinessType
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_CustomerPolicy.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: CustomerPolicy
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_LastModify.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: LastModify
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_OrderTag.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: OrderTag
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_OrderType.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: OrderType
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_ProductGrade.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: ProductGrade
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_SegmentPriority.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: SegmentPriority
}
_Main/BL/Type_S_DT_CustomOrder/DefaultValue_SheetProfitability.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,6 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  TargetAttribute: SheetProfitability
}
_Main/BL/Type_S_DT_CustomOrder/TypeIndex_PrimaryKey_ID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: #root
TypeIndex PrimaryKey_ID
{
  Attributes:
  [
    TypeIndexAttribute
    {
      ModelElement: ID
    }
  ]
}
_Main/BL/Type_S_DT_CustomOrder/_ROOT_Type_S_DT_CustomOrder.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type S_DT_CustomOrder
{
  #keys: '5[414724.0.292616028][414724.0.292616026][0.0.0][414724.0.292616027][414724.0.292616029]'
  BaseType: Object
  Description: '预拆行订单'
  StructuredName: 'S_DT_CustomOrders'
}
_Main/BL/Type_S_DT_OrderSpliteRow/Attribute_NewAttribute.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute NewAttribute
{
  #keys: '3[414724.0.289871335][414724.0.289871334][414724.0.289871336]'
  ValueType: BinaryValue
}
_Main/BL/Type_S_DT_OrderSpliteRow/_ROOT_Type_S_DT_OrderSpliteRow.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type S_DT_OrderSpliteRow
{
  #keys: '5[414724.0.289871270][414724.0.289871268][0.0.0][414724.0.289871269][414724.0.289871271]'
  BaseType: Object
  Description: '预拆行订单'
  StructuredName: 'S_DT_OrderSpliteRows'
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ForecastDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ForecastDate
{
  #keys: '3[414724.0.291485648][414724.0.291485647][414724.0.291485649]'
  Description: '需求日期'
  ValueType: Date
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#parent: #root
Attribute ID
{
  #keys: '3[414724.0.291485698][414724.0.291485697][414724.0.291485699]'
  Description: '主键ID'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_ID_S_DT_CustomOrder.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ID_S_DT_CustomOrder
{
  #keys: '3[414724.0.320004537][414724.0.320004536][414724.0.320004538]'
  Description: 'S_DT_CustomOrder表ID,外键关联(OrderID在订单表不唯一,无法使用)'
  ValueType: String
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute OrderID
{
  #keys: '3[414724.0.291485665][414724.0.291485664][414724.0.291485666]'
  Description: '订单ID'
  ValueType: String
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_Qty.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Qty
{
  #keys: '3[414724.0.291485658][414724.0.291485657][414724.0.291485659]'
  Description: '数量'
  ValueType: Number
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_SpliteReason.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SpliteReason
{
  #keys: '3[414724.0.320004525][414724.0.320004524][414724.0.320004526]'
  Description: '拆分原因'
  ValueType: String
}
_Main/BL/Type_S_DT_SpliteStruct/Attribute_Status.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute Status
{
  #keys: '3[414724.0.291485678][414724.0.291485677][414724.0.291485679]'
  Description: '状态:null/1 æœ‰æ•ˆï¼Œ0删除'
  ValueType: Number
}
_Main/BL/Type_S_DT_SpliteStruct/DefaultValue_Status.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
DefaultValue
{
  ISOValue: '1'
  TargetAttribute: Status
}
_Main/BL/Type_S_DT_SpliteStruct/_ROOT_Type_S_DT_SpliteStruct.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type S_DT_SpliteStruct
{
  #keys: '5[414724.0.291485609][414724.0.291485607][0.0.0][414724.0.291485608][414724.0.291485610]'
  BaseType: Object
  Description: '拆分结构'
  StructuredName: 'S_DT_SpliteStructs'
}
_Main/BL/Type_S_FunctionClass/StaticMethod_SM_OrderToSpliteOrder.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,207 @@
Quintiq file version 2.0
#parent: #root
StaticMethod SM_OrderToSpliteOrder (
  MacroPlan Owner,
  CustomerOrder OrderInfo,
  String SpliteReason
) as owning JSON
{
  Description: '订单转为预拆分订单函数'
  TextBody:
  [*
    /************************************订单转换为预拆分订单******************************
    *函数名:SM_OrderToSpliteOrder
    *创建人:yunying
    *创建时间:2023-10-26
    *描述:订单拆行,将传入的订单存入预拆分表,并在订单表中将该订单移除。
          åŒæ—¶ç”Ÿæˆå­è®¢å•(若S_DT_SpliteStruct存在相同订单号)
    *-----------------------------
    *参数:Owner      MacroPlan
    *     OrderInfo  è¦è½¬ä¸ºé¢„拆分的订单
    *     SpliteReason æ‹†åˆ†åŽŸå› 
    *****************************************************************************/
    // åˆå§‹åŒ–结果
    bStatus := false;
    strMsg :="";
    // èŽ·å–ç‰ˆæœ¬å·,这里是否需要和版本号功能对接
    VCode :=H_FunctionClass::SM_GenerateID("VC");
    try{
      if( not isnull( Owner))
      {
        // æ‹†åˆ†è¡Œæ•°
        SplitCount := selectset( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1).Size();
        // æ‹†åˆ†æ•°é‡
        SpliteQty:= sum( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty());
        // å‰©ä½™æ•°é‡
        UnSpliteQty:= OrderInfo.Quantity() - SpliteQty;
        // ä¿æŒæ‹†åˆ†ä¿¡æ¯
        SCustomOrder:=select( Owner,S_DT_CustomOrder,obj,obj.ID()=OrderInfo.ID());
        if( isnull( SCustomOrder))
        {
          Owner.S_DT_CustomOrder(relnew,BusinessType:=OrderInfo.BusinessType()
                                        ,CurrencyID:=OrderInfo.CurrencyID()
                                        ,CustomerID:=OrderInfo.CustomerID()
                                        ,CustomerName:=OrderInfo.CustomerName()
                                        ,CustomerPolicy:=OrderInfo.CustomerPolicy()
                                        ,DefaultUOMConversionFactor:=OrderInfo.DefaultUOMConversionFactor()
                                        ,DemandUncertaintyPercentage:=OrderInfo.DemandUncertaintyPercentage()
                                        ,DerivedPriorityName:=OrderInfo.DerivedPriorityName()
                                        ,EndDate:=OrderInfo.EndDate()
                                        ,ExpectedQuantity:=OrderInfo.ExpectedQuantity()
                                        ,FulfilledQuantity:=OrderInfo.FulfilledQuantity()
                                        ,HasPostponedSalesDemand:=OrderInfo.HasPostponedSalesDemand()
                                        ,HasValidConversionFactor:=OrderInfo.HasValidConversionFactor()
                                        ,ID:=OrderInfo.ID()
                                        ,IsEligibleForNetting:=OrderInfo.IsEligibleForNetting()
                                        ,IsExcludedFromFulfillmentKPI:=OrderInfo.IsExcludedFromFulfillmentKPI()
                                        ,IsExcludedFromFulfillmentKPIUser:=OrderInfo.IsExcludedFromFulfillmentKPIUser()
                                        ,IsFirmed:=OrderInfo.IsFirmed()
                                        ,IsLeaf := OrderInfo.IsLeaf()
                                        ,IsLocked:=OrderInfo.IsLocked()
                                        ,IsAvailable := OrderInfo.IsAvailable()
                                        ,IsManuallyConfigured:=OrderInfo.IsManuallyConfigured()
                                        ,IsPostponed:=OrderInfo.IsPostponed()
                                        ,IsSoftDeleted:=OrderInfo.IsSoftDeleted()
                                        ,IsValidData:=OrderInfo.IsValidData()
                                        ,LastModify:=OrderInfo.LastModify()
                                        ,LastModifyTime:=OrderInfo.LastModifyTime()
                                        ,OrderID:=OrderInfo.OrderID()
                                        ,OrderLineID:=OrderInfo.OrderLineID()
                                        ,OrderTag:=OrderInfo.OrderTag()
                                        ,OrderTime:=OrderInfo.OrderTime()
                                        ,OrderType:=OrderInfo.OrderType()
                                        ,OutsideOfPlanningHorizonQuantity:=OrderInfo.OutsideOfPlanningHorizonQuantity()
                                        ,PISPConversionFactor:=OrderInfo.PISPConversionFactor()
                                        ,Price:=OrderInfo.Price()
                                        ,PriceUoM:=OrderInfo.PriceUoM()
                                        ,PriorityName:=OrderInfo.PriorityName()
                                        ,ProductGrade:=OrderInfo.ProductGrade()
                                        ,ProductID:=OrderInfo.ProductID()
                                        ,Quantity:=OrderInfo.Quantity()
                                        ,QuantityInDefaultUoM:=OrderInfo.QuantityInDefaultUoM()
                                        ,QuantityPerDay:=OrderInfo.QuantityPerDay()
                                        ,SalesDemandConversionFactor:=OrderInfo.SalesDemandConversionFactor()
                                        ,SalesSegmentName:=OrderInfo.SalesSegmentName()
                                        ,SanityCheckDataMostSevere:=OrderInfo.SanityCheckDataMostSevere()
                                        ,SanityCheckDataMostSevereCount:=OrderInfo.SanityCheckDataMostSevereCount()
                                        ,SanityCheckDataTotalViolationCount:=OrderInfo.SanityCheckDataTotalViolationCount()
                                        ,SegmentPriority:=OrderInfo.SegmentPriority()
                                        ,SheetProfitability:=OrderInfo.SheetProfitability()
                                        ,StartDate:=OrderInfo.StartDate()
                                        ,StockingPointID:=OrderInfo.StockingPointID()
                                        ,UnitOfMeasureName:=OrderInfo.UnitOfMeasureName()
                                        ,SplitCount := SplitCount
                                        ,SpliteRenmain := UnSpliteQty);
        }
        else
        {
          SCustomOrder.SplitCount(SplitCount);
          SCustomOrder.SpliteRenmain(UnSpliteQty);
        }
        OId:=0;
        NewID:="";
        SpliteOrderInfo :=null( S_DT_CustomOrder,constcontent );
        // ç”Ÿæˆå­è®¢å•
        traverse( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID())
        {
          OId:=OId+1;
          // å¾—到对应的已拆分订单
          SpliteOrderInfo := select( Owner,S_DT_CustomOrder,objSO,objSO.ID_SpliteStruct()=obj.ID());
          // æ‹†åˆ†è¢«åˆ é™¤ï¼Œå°†å·²ç»ä¿æŒçš„æ‹†åˆ†è®¢å•跟随删除
          if(obj.Status()=0)
          {
            if(not isnull( SpliteOrderInfo))
            {
              SpliteOrderInfo.Delete();
            }
            obj.Delete();
          }
          else
          {
            // ä¿å­˜æ–°å¢žçš„æ‹†åˆ†
            if(isnull( SpliteOrderInfo))
            {
              NewID:=OrderInfo.ID()+"_"+OId.AsQUILL()+"_"+DateTime::ActualGMTTime().Format( "hms");
              Owner.S_DT_CustomOrder(relnew,BusinessType:=OrderInfo.BusinessType()
                                          ,CurrencyID:=OrderInfo.CurrencyID()
                                          ,CustomerID:=OrderInfo.CustomerID()
                                          ,CustomerName:=OrderInfo.CustomerName()
                                          ,CustomerPolicy:=OrderInfo.CustomerPolicy()
                                          ,DefaultUOMConversionFactor:=OrderInfo.DefaultUOMConversionFactor()
                                          ,DemandUncertaintyPercentage:=OrderInfo.DemandUncertaintyPercentage()
                                          ,DerivedPriorityName:=OrderInfo.DerivedPriorityName()
                                          ,EndDate:=obj.ForecastDate()
                                          ,ExpectedQuantity:=OrderInfo.ExpectedQuantity()
                                          ,FulfilledQuantity:=OrderInfo.FulfilledQuantity()
                                          ,HasPostponedSalesDemand:=OrderInfo.HasPostponedSalesDemand()
                                          ,HasValidConversionFactor:=OrderInfo.HasValidConversionFactor()
                                          ,ID:=NewID
                                          ,IsEligibleForNetting:=OrderInfo.IsEligibleForNetting()
                                          ,IsExcludedFromFulfillmentKPI:=OrderInfo.IsExcludedFromFulfillmentKPI()
                                          ,IsExcludedFromFulfillmentKPIUser:=OrderInfo.IsExcludedFromFulfillmentKPIUser()
                                          ,IsFirmed:=OrderInfo.IsFirmed()
                                          ,IsLeaf := OrderInfo.IsLeaf()
                                          ,IsLocked:=OrderInfo.IsLocked()
                                          ,IsAvailable := OrderInfo.IsAvailable()
                                          ,IsManuallyConfigured:=OrderInfo.IsManuallyConfigured()
                                          ,IsPostponed:=OrderInfo.IsPostponed()
                                          ,IsSoftDeleted:=OrderInfo.IsSoftDeleted()
                                          ,IsValidData:=OrderInfo.IsValidData()
                                          ,LastModify:=OrderInfo.LastModify()
                                          ,LastModifyTime:=OrderInfo.LastModifyTime()
                                          ,OrderID:=OrderInfo.OrderID()
                                          ,OrderLineID:=OrderInfo.OrderLineID()
                                          ,OrderTag:=OrderInfo.OrderTag()
                                          ,OrderTime:=OrderInfo.OrderTime()
                                          ,OrderType:=OrderInfo.OrderType()
                                          ,OutsideOfPlanningHorizonQuantity:=OrderInfo.OutsideOfPlanningHorizonQuantity()
                                          ,PISPConversionFactor:=OrderInfo.PISPConversionFactor()
                                          ,Price:=OrderInfo.Price()
                                          ,PriceUoM:=OrderInfo.PriceUoM()
                                          ,PriorityName:=OrderInfo.PriorityName()
                                          ,ProductGrade:=OrderInfo.ProductGrade()
                                          ,ProductID:=OrderInfo.ProductID()
                                          ,Quantity:=obj.Qty()
                                          ,QuantityInDefaultUoM:=OrderInfo.QuantityInDefaultUoM()
                                          ,QuantityPerDay:=OrderInfo.QuantityPerDay()
                                          ,SalesDemandConversionFactor:=OrderInfo.SalesDemandConversionFactor()
                                          ,SalesSegmentName:=OrderInfo.SalesSegmentName()
                                          ,SanityCheckDataMostSevere:=OrderInfo.SanityCheckDataMostSevere()
                                          ,SanityCheckDataMostSevereCount:=OrderInfo.SanityCheckDataMostSevereCount()
                                          ,SanityCheckDataTotalViolationCount:=OrderInfo.SanityCheckDataTotalViolationCount()
                                          ,SegmentPriority:=OrderInfo.SegmentPriority()
                                          ,SheetProfitability:=OrderInfo.SheetProfitability()
                                          ,StartDate:=OrderInfo.StartDate()
                                          ,StockingPointID:=OrderInfo.StockingPointID()
                                          ,UnitOfMeasureName:=OrderInfo.UnitOfMeasureName()
                                          ,ParentID := OrderInfo.ID()
                                          ,SpliteReason := obj.SpliteReason()
                                          ,ID_SpliteStruct := obj.ID());
            }
          }
        }
        // åˆ é™¤è®¢å•
        //Order:=select( Owner,SalesDemand.astype( CustomerOrder ),obj,obj.ID()=OrderInfo.ID());
        //OrderInfo.Delete();
        bStatus:=true;
        strMsg:="订单:"+OrderInfo.OrderID()+"已转入预拆分记录,可使用还原功能恢复!";
      }
      else
      {
        strMsg:="场景初始化失败,请选择场景后使用该功能。";
      }
    }
    onerror
    {
      strMsg :="设置为预拆分行失败,请联系系统管理员!";
      // è®°å½•错误日志
      Owner.H_ErrorLogs(relnew,EClassName := "S_FunctionClass",EDateTime := DateTime::ActualGMTTime(),EFunctionName := "SM_OrderToSpliteOrder",
                         DeveloperInformation :=  e.DeveloperInformation(),ErrorNr := e.ErrorNr(),DetailedInformation := e.DetailedInformation(),
                         GeneralInformation := e.GeneralInformation());
    }
    return JSON::Object().Add( "Status",bStatus)
                         .Add( "VersionCode",VCode)
                         .Add( "Msg",strMsg).Build();
  *]
}
_Main/BL/Type_S_FunctionClass/_ROOT_Type_S_FunctionClass.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type S_FunctionClass
{
  #keys: '5[414724.0.288796771][414724.0.288796769][0.0.0][414724.0.288796770][414724.0.288796772]'
  BaseType: Object
  Description: '订单拆行操作类'
  StructuredName: 'S_FunctionClasss'
}
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_ListSDIP.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
Component ListSDIP #extension
{
  Children:
  [
    Component DataExtractorSDIP #extension
    {
      Properties:
      [
        FixedFilter: 'object.ProductInStockingPoint_MP().Product_MP().IsLeaf()and isnull( object.OriginalSalesDemand() )'
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_PanelSDIP.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component PanelSDIP #extension
{
  Children:
  [
    #child: ListSDIP
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_PanelSalesDemands.def
@@ -4,5 +4,6 @@
  Children:
  [
    #child: PanelAllSalesDemands
    #child: PanelSDIP
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Component_listContextMenuSD.def
@@ -23,5 +23,27 @@
        Title: '修改客户订单优先级因子信息'
      ]
    }
    Component MenuSpliteOrder
    {
      #keys: '[414724.0.284248096]'
      BaseType: 'WebMenu'
      Properties:
      [
        Description: '订单拆行'
        Image: 'ARROW_FORK'
        Taborder: 13
        Title: '拆行'
      ]
    }
    Component Menu189
    {
      #keys: '[414724.0.314997570]'
      BaseType: 'WebMenu'
      Properties:
      [
        Separator: true
        Taborder: 12
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormCustomerOrders/Response_TIANMA_JITUAN_ListSalesDemands_MenuSpliteOrder_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#parent: ListSalesDemands
Response OnClick (
  SalesDemandBase selection
) id:Response_ListSalesDemands_MenuSpliteOrder_OnClick
{
  #keys: '[414724.0.284211940]'
  CanBindMultiple: false
  DefinitionID => //FormSalesDemands/ListSalesDemands/Responsedef_ListSalesDemands_WebMenu_OnClick
  Initiator: 'MenuSpliteOrder'
  QuillAction
  {
    Body:
    [*
      data := selection.astype( CustomerOrder );
      frmOrderSplite := construct( FrmCustomOrderSpliteRow );
      frmOrderSplite.dh_Paramer_FCOS().Data( data);
      frmOrderSplite.ShowModal();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_Panel700.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,39 @@
Quintiq file version 2.0
Component Panel700
{
  #keys: '[414724.0.286088539]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btn_OK_FCOS
    {
      #keys: '[414724.0.286088604]'
      BaseType: 'WebButton'
      Properties:
      [
        ButtonSize: 'compact'
        Image: 'CHECKS'
        Label: '确定'
        Taborder: 0
      ]
    }
    Component btn_Cancel_FCOS
    {
      #keys: '[414724.0.286088615]'
      BaseType: 'WebButton'
      Properties:
      [
        ButtonSize: 'compact'
        Image: 'NAVIGATE_CROSS_ORANGE'
        Label: '取消'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_listActionBarPage229#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPage229 id:listActionBarPage229_1
{
  #keys: '[414724.0.290316538]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_listContextMenu950#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
Component listContextMenu950 id:listContextMenu950_1
{
  #keys: '[414724.0.290316540]'
  BaseType: 'listContextMenu'
  Children:
  [
    Component m_delete_list_SD
    {
      #keys: '[414724.0.312760935]'
      BaseType: 'WebMenu'
      Properties:
      [
        Description: '删除-拆分明细表'
        Image: 'GARBAGE'
        Taborder: 3
        Title: '删除'
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_list_SpliteDetails#136.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
Quintiq file version 2.0
Component list_SpliteDetails id:list_SpliteDetails_136
{
  #keys: '[414724.0.290316536]'
  BaseType: 'WebList'
  Children:
  [
    Component de_splisteDetailsFCOS
    {
      #keys: '[414724.0.290316537]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'MacroPlan'
        Source: 'MacroPlan'
        Taborder: 0
        Transformation: 'S_DT_SpliteStruct'
      ]
    }
    #child: listActionBarPage229_1
    Component DataSetLevel583
    {
      #keys: '[414724.0.290316539]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenu950_1
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDate","title":"需求日期","subtotals":"","tooltip":"","width":10,"display":"shown","editable":false,"attribute":"ForecastDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Qty","title":"数量","subtotals":"","tooltip":"","width":8,"display":"shown","editable":true,"attribute":"Qty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"拆分原因","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]'
        ContextMenu: 'listContextMenu950'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    Description: '拆分明细'
    MinimumRows: 6
    Taborder: 1
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_list_SpliteDetails_136_WebMenu_OnClick
    {
      #keys: '[414724.0.312731020]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[593.0.13413230]'
          Binding: 'list_SpliteDetails.Selection()'
        }
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_OperateBtns_FCOS.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
Component pl_OperateBtns_FCOS
{
  #keys: '[414724.0.286058675]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: Panel700
  ]
  Properties:
  [
    Border: true
    FixedSize: true
    Taborder: 6
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_function_FCOS.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,41 @@
Quintiq file version 2.0
Component pl_function_FCOS
{
  #keys: '[414724.0.285282557]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btn_add_FCOS
    {
      #keys: '[414724.0.290316633]'
      BaseType: 'WebButton'
      Properties:
      [
        ButtonSize: 'compact'
        Image: 'LINK_ADD'
        Label: '预拆行'
        Taborder: 1
        Visible: false
      ]
    }
    Component lb_OrderID_FCOS id:lb_OrderID_FCOS_652
    {
      #keys: '[414724.0.290316653]'
      BaseType: 'WebLabel'
      Properties:
      [
        Description: '订单ID'
        Label: '订单号:'
        Taborder: 0
        Text: '2021564445'
      ]
    }
  ]
  Properties:
  [
    Border: true
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_spliteDetails.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
Quintiq file version 2.0
Component pl_spliteDetails
{
  #keys: '[414724.0.294615998]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: list_SpliteDetails_136
    Component Label130
    {
      #keys: '[414724.0.290316544]'
      BaseType: 'WebLabel'
      Properties:
      [
        Label: '拆行明细:'
        NumberOfColumns: 0
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Orientation: 'horizontal'
    Taborder: 5
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Component_pl_splite_info.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,50 @@
Quintiq file version 2.0
Component pl_splite_info
{
  #keys: '[414724.0.289968198]'
  BaseType: 'WebPanel'
  Children:
  [
    Component ds_ForcastDate_FCOS id:ds_ForcastDate_FCOS_675
    {
      #keys: '[414724.0.289968265]'
      BaseType: 'WebDateSelector'
      Properties:
      [
        Label: '需求时间:'
        Taborder: 0
      ]
    }
    Component np_Qty_FCOS id:np_Qty_FCOS_656
    {
      #keys: '[414724.0.289968285]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: '数量:'
        Min: '0'
        PlaceHolder: '数量不大于订单重量'
        Step: 200
        Taborder: 1
      ]
    }
    Component btn_splite_add
    {
      #keys: '[414724.0.289968313]'
      BaseType: 'WebButton'
      Properties:
      [
        ButtonSize: 'compact'
        Image: 'DOWN_PLUS'
        Label: '拆'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 4
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_Panel700_btn_Cancel_FCOS_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,41 @@
Quintiq file version 2.0
#parent: Panel700/btn_Cancel_FCOS
Response OnClick () id:Response_Panel700_btn_Cancel_FCOS_OnClick
{
  #keys: '[414724.0.294294721]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      // æ“ä½œæ¢å¤ï¼šåˆ é™¤æ–°å¢žçš„æ‹†åˆ†æ“ä½œï¼Œè¿˜åŽŸåˆ é™¤çš„æ‹†åˆ†æ“ä½œ
      OrderInfo:=dh_Paramer_FCOS.Data();
      if( not isnull( OrderInfo))
      {
        SOrder:=null( S_DT_CustomOrder,constcontent );
        // å¾—到所有拆分操作记录
        traverse( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder() = OrderInfo.ID())
        {
          SOrder:=select( MacroPlan,S_DT_CustomOrder,objSO,objSO.ID_SpliteStruct() = obj.ID());
          // æ— å¯¹åº”的拆分订单,视为新增的操作,进行移除
          if( isnull( SOrder))
          {
              obj.Delete();
          }
          else
          {
            // å¦‚果状态为删除状态,则恢复删除
            if( obj.Status()=0)
            {
              obj.Status(1);
            }
          }
        }
      }
      FrmCustomOrderSpliteRow.Close();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_Panel700_btn_OK_FCOS_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,38 @@
Quintiq file version 2.0
#parent: Panel700/btn_OK_FCOS
Response OnClick () id:Response_Panel700_btn_OK_FCOS_OnClick
{
  #keys: '[414724.0.294747709]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      // ä»Žè®¢å•进入拆行
      if( not isnull( dh_Paramer_FCOS.Data()))
      {
        // å°†è®¢å•移除并添加到预拆行订单中
        JResult := S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,dh_Paramer_FCOS.Data(),ef_SpliteReason_FCOS.Text());
        if( JResult.Get( "Status").GetBoolean())
        {
          // ç”Ÿæˆæ‹†è¡Œè®¢å•
          FrmCustomOrderSpliteRow.Close();
          if( JResult.Get( "Msg").GetString().Length()>0)
          {
            WebMessageBox::Information(JResult.Get( "Msg").GetString());
          }
        }
        else
        {
          WebMessageBox::Warning(JResult.Get( "Msg").GetString());
        }
      }
      else
      {
        // ç”Ÿæˆæ‹†è¡Œè®¢å•
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_dh_Paramer_FCOS_OnDataChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: dh_Paramer_FCOS
Response OnDataChanged () id:Response_FrmCustomOrderSpliteRow_dh_Paramer_FCOS_OnDataChanged
{
  #keys: '[414724.0.285614685]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  QuillAction
  {
    Body:
    [*
      Form.lb_OrderID_FCOS().Text(this.Data().OrderID());
      Form.lb_CustomName_FCOS().Text(this.Data().CustomerName());
      Form.lb_OrderRowNum_FCOS().Text(this.Data().OrderLineID());
      Form.ds_ForcastDate_FCOS().Date(this.Data().EndDate());
      Form.de_splisteDetailsFCOS().FixedFilter( "object.ID_S_DT_CustomOrder() = " + this.Data().ID().AsQUILL() + "and object.Status()=1");
      HQty:=sum( MacroPlan,S_DT_SpliteStruct,Obj,Obj.ID_S_DT_CustomOrder()=this.Data().ID() and Obj.Status()=1,Obj.Qty());
      Form.np_Qty_FCOS().Max(this.Data().Quantity()-HQty);
      Form.np_Qty_FCOS().Number(this.Data().Quantity()-HQty);
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_dh_Paramer_SCustomOrder_FCOS_OnDataChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
#parent: dh_Paramer_SCustomOrder_FCOS
Response OnDataChanged () id:Response_FrmCustomOrderSpliteRow_dh_Paramer_SCustomOrder_FCOS_OnDataChanged
{
  #keys: '[414724.0.303295647]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.lb_OrderID_FCOS().Text(this.Data().OrderID());
      Form.lb_CustomName_FCOS().Text(this.Data().CustomerName());
      Form.lb_OrderRowNum_FCOS().Text(this.Data().OrderLineID());
      //Form.np_Qty_FCOS().Max(this.Data().Quantity());
      //Form.np_Qty_FCOS().Number(this.Data().Quantity());
      Form.ds_ForcastDate_FCOS().Date(this.Data().EndDate());
      Form.de_splisteDetailsFCOS().FixedFilter( "object.OrderID() = " + this.Data().OrderID().AsQUILL());
      HQty:=sum( MacroPlan,S_DT_SpliteStruct,Obj,Obj.OrderID()=this.Data().OrderID(),Obj.Qty());
      Form.np_Qty_FCOS().Max(this.Data().Quantity()-HQty);
      Form.np_Qty_FCOS().Number(this.Data().Quantity()-HQty);
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_list_SpliteDetails_136_m_delete_list_SD_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,37 @@
Quintiq file version 2.0
#parent: list_SpliteDetails_136
Response OnClick (
  S_DT_SpliteStruct selection
) id:Response_list_SpliteDetails_136_m_delete_list_SD_OnClick
{
  #keys: '[414724.0.314884983]'
  CanBindMultiple: false
  DefinitionID => /list_SpliteDetails_136/Responsedef_list_SpliteDetails_136_WebMenu_OnClick
  Initiator: 'm_delete_list_SD'
  Precondition:
  [*
    return not isnull( selection);
  *]
  QuillAction
  {
    Body:
    [*
      OrderInfo:=dh_Paramer_FCOS.Data();
      if( isnull( OrderInfo))
      {
        WebMessageBox::Warning( "操作失败,请重新选择订单进行拆行!");
      }
      else
      {
        selection.Status(0);
        Qty_Rows:=sum( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty());
        Qty_Max:=0.0;
        Qty_Max:= OrderInfo.Quantity()-Qty_Rows;
        np_Qty_FCOS.Max(Qty_Max);
        np_Qty_FCOS.Number(Qty_Max);
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_pl_function_FCOS_btn_add_FCOS_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,32 @@
Quintiq file version 2.0
#parent: pl_function_FCOS/btn_add_FCOS
Response OnClick () id:Response_FrmCustomOrderSpliteRow_btn_add_FCOS_OnClick
{
  #keys: '[414724.0.290316632]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( dh_Paramer_FCOS.Data());
  *]
  QuillAction
  {
    Body:
    [*
      JResult := S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,dh_Paramer_FCOS.Data(),ef_SpliteReason_FCOS.Text());
      if( JResult.Get( "Status").GetBoolean())
      {
        FrmCustomOrderSpliteRow.Close();
        if( JResult.Get( "Msg").GetString().Length()>0)
        {
         WebMessageBox::Information(JResult.Get( "Msg").GetString());
        }
      }
      else
      {
        WebMessageBox::Warning(JResult.Get( "Msg").GetString());
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/Response_pl_splite_info_btn_splite_add_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,51 @@
Quintiq file version 2.0
#parent: pl_splite_info/btn_splite_add
Response OnClick () id:Response_pl_splite_info_btn_splite_add_OnClick
{
  #keys: '[414724.0.292801656]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( dh_Paramer_FCOS.Data());
  *]
  QuillAction
  {
    Body:
    [*
      // æ‹†åˆ†ä¸€ä¸ªè®¢å•
      SQty:=[Number]np_Qty_FCOS.Number().Round( 0);
      if(SQty>0)
      {
        OrderInfo :=dh_Paramer_FCOS.Data();
        MacroPlan.S_DT_SpliteStruct(relnew,ID := H_FunctionClass::SM_GenerateID( "OSR")
                                            ,OrderID := OrderInfo.OrderID()
                                            ,ID_S_DT_CustomOrder := OrderInfo.ID()
                                            ,SpliteReason := ef_SpliteReason_FCOS.Text()
                                            ,Qty :=SQty
                                            ,Status := 1
                                            ,ForecastDate:= ds_ForcastDate_FCOS.Date());
        // è®¡ç®—剩余拆分
        LQty:= OrderInfo.Quantity()-sum(MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty()) ;
        np_Qty_FCOS.Max(LQty);
        np_Qty_FCOS.Number(LQty);
        if( np_Qty_FCOS.Max()=0)
        {
         WebMessageBox::Information( "订单已经全部拆完!");
        }
      }
      else
      {
        if( np_Qty_FCOS.Max()=0)
        {
         WebMessageBox::Information( "订单已经全部拆完!");
        }
        else
        {
          WebMessageBox::Information( "请调整 è®¢å•数量");
        }
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderSpliteRow/_ROOT_Component_FrmCustomOrderSpliteRow.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,102 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent FrmCustomOrderSpliteRow
{
  #keys: '[414724.0.285177352]'
  Accessibility: 'Extensible'
  BaseType: 'WebForm'
  Children:
  [
    #child: pl_function_FCOS
    Component lb_OrderRowNum_FCOS
    {
      #keys: '[414724.0.285570507]'
      BaseType: 'WebLabel'
      Properties:
      [
        Label: '订单行号:'
        Taborder: 1
        Text: '1.1'
      ]
    }
    Component lb_CustomName_FCOS
    {
      #keys: '[414724.0.284201013]'
      BaseType: 'WebLabel'
      Properties:
      [
        Label: '客户名称:'
        Taborder: 2
        Text: '--小米'
      ]
    }
    Component ef_SpliteReason_FCOS
    {
      #keys: '[414724.0.285687770]'
      BaseType: 'WebEditField'
      Properties:
      [
        Label: '拆行原因:'
        MaxRows: 3
        Multiline: true
        PlaceHolder: '请录入'
        Taborder: 3
      ]
    }
    Component dh_Paramer_FCOS
    {
      #keys: '[414724.0.285920379]'
      BaseType: 'WebDataHolder'
      Databinding: 'CustomerOrder'
      Properties:
      [
        Taborder: 8
      ]
    }
    #child: pl_OperateBtns_FCOS
    #child: pl_splite_info
    Component dh_splitestruct
    {
      #keys: '[414724.0.294099522]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[S_DT_SpliteStruct]*'
      Children:
      [
        Component DataExtractor645
        {
          #keys: '[414724.0.293956350]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'S_DT_SpliteStruct'
          ]
        }
      ]
      Properties:
      [
        Taborder: 7
      ]
    }
    #child: pl_spliteDetails
    Component dh_Paramer_SCustomOrder_FCOS
    {
      #keys: '[414724.0.303602526]'
      BaseType: 'WebDataHolder'
      Databinding: 'S_DT_CustomOrder'
      Properties:
      [
        Taborder: 9
      ]
    }
  ]
  Properties:
  [
    Description: '订单拆行表单'
    Image: 'ARROW_FORK'
    Title: '订单拆行'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_Panel651.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,44 @@
Quintiq file version 2.0
Component Panel651
{
  #keys: '[414724.0.302810875]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btn_delete_FCOV id:btn_delete_FCOV_902
    {
      #keys: '[414724.0.302810937]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'GARBAGE'
        Label: '删除'
        Taborder: 0
      ]
      ResponseDefinitions:
      [
        ResponseDefinition OnClick id:Responsedef_Panel651_btn_delete_FCOV_902_OnClick
        {
          #keys: '[414724.0.303035901]'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[575.0.41049375]'
              Binding: 'lisplitedetails.Selection()'
            }
          ]
        }
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_Panel713.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
Quintiq file version 2.0
Component Panel713
{
  #keys: '[414724.0.302735923]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: lisplitedetails_450
    #child: Panel651
    Component Label963
    {
      #keys: '[414724.0.302811066]'
      BaseType: 'WebLabel'
      Properties:
      [
        Label: '拆行明细:'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Taborder: 1
    Visible: false
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_lisplitedetails#450.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
Quintiq file version 2.0
Component lisplitedetails id:lisplitedetails_450
{
  #keys: '[414724.0.302735971]'
  BaseType: 'WebList'
  Children:
  [
    Component de_liSpliteDetails
    {
      #keys: '[414724.0.302735972]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'MacroPlan'
        Source: 'MacroPlan'
        Taborder: 0
        Transformation: 'S_DT_SpliteStruct'
      ]
    }
    #child: listActionBarPage243_1
    Component DataSetLevel404
    {
      #keys: '[414724.0.302735974]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenu199_1
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"原订单ID","subtotals":"","tooltip":"","width":10,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDate","title":"需求日期","subtotals":"","tooltip":"","width":8,"display":"shown","editable":false,"attribute":"ForecastDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Qty","title":"数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Qty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Status","title":"状态","subtotals":"","tooltip":"","width":6,"display":"shown","editable":false,"attribute":"Status"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SDateTime","title":"发送至ERP时间","subtotals":"","tooltip":"","width":8,"display":"shown","editable":false,"attribute":"SDateTime"}}]'
        ContextMenu: 'listContextMenu199'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    MinimumColumns: 5
    Taborder: 2
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listActionBarPage243#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPage243 id:listActionBarPage243_1
{
  #keys: '[414724.0.302735973]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listActionBarPage978#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPage978 id:listActionBarPage978_1
{
  #keys: '[414724.0.300320629]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listContextMenu199#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listContextMenu199 id:listContextMenu199_1
{
  #keys: '[414724.0.302735975]'
  BaseType: 'listContextMenu'
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listContextMenu655#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listContextMenu655 id:listContextMenu655_1
{
  #keys: '[414724.0.300320631]'
  BaseType: 'listContextMenu'
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_listOrders#635.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,54 @@
Quintiq file version 2.0
Component listOrders id:listOrders_635
{
  #keys: '[414724.0.300320627]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractor726
    {
      #keys: '[414724.0.300320628]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'MacroPlan'
        FixedFilter: 'object.ParentID()=""'
        Source: 'MacroPlan'
        Taborder: 0
        Transformation: 'S_DT_CustomOrder'
      ]
    }
    #child: listActionBarPage978_1
    Component DataSetLevel439
    {
      #keys: '[414724.0.300320630]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenu655_1
        Component DataSetLevel422
        {
          #keys: '[414724.0.315209998]'
          BaseType: 'WebDataSetLevel'
          Properties:
          [
            Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"销售部门","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"库存点","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产品","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"需求日期","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerID","title":"CustomerID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderLineID","title":"OrderLineID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderLineID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"单位","subtotals":"","tooltip":"","width":2,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SplitCount","title":"已拆行数","subtotals":"","tooltip":"","width":3,"display":"shown","editable":false,"attribute":"SplitCount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteRenmain","title":"剩余数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteRenmain"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"拆行原因","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]'
            RelationFromParent: 'Parent'
            RelationRepeating: 'Parent'
            Taborder: 1
          ]
        }
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"销售部门","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"库存点","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产品","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"需求日期","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerID","title":"CustomerID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderLineID","title":"OrderLineID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderLineID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"单位","subtotals":"","tooltip":"","width":2,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SplitCount","title":"已拆行数","subtotals":"","tooltip":"","width":3,"display":"shown","editable":false,"attribute":"SplitCount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteRenmain","title":"剩余数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteRenmain"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"拆行原因","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]'
        ContextMenu: 'listContextMenu655'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_pl_DataView.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
Component pl_DataView
{
  #keys: '[414724.0.300320579]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: listOrders_635
    #child: Panel713
  ]
  Properties:
  [
    Orientation: 'horizontal'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Component_pl_Function_FCOV.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,114 @@
Quintiq file version 2.0
Component pl_Function_FCOV
{
  #keys: '[414724.0.295131518]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btn_sendERP_FCOV
    {
      #keys: '[414724.0.295131536]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'EXPORT1'
        Label: '发送至ERP'
        Taborder: 0
      ]
    }
    Component btn_huanyuan_FCOV
    {
      #keys: '[414724.0.295131559]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'ARROW_INTO'
        Label: '还原'
        Taborder: 1
      ]
      ResponseDefinitions:
      [
        ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick
        {
          #keys: '[414724.0.303365423]'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[575.0.65737681]'
              Binding: 'listOrders.Selection()'
            }
          ]
        }
      ]
    }
    Component btn_splitRow_FCOV
    {
      #keys: '[414724.0.295131572]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'GRAPH_FORK'
        Label: '拆行'
        Taborder: 2
      ]
      ResponseDefinitions:
      [
        ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_splitRow_FCOV_OnClick
        {
          #keys: '[414724.0.303295769]'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[575.0.74590107]'
              Binding: 'listOrders.Selection()'
            }
          ]
        }
      ]
    }
    Component btn_deleteOrder_FCOV
    {
      #keys: '[414724.0.323807222]'
      BaseType: 'WebButton'
      Properties:
      [
        ButtonSize: 'compact'
        Description: '删除子订单按钮'
        Image: 'GARBAGE'
        Label: '删除'
        Taborder: 3
      ]
      ResponseDefinitions:
      [
        ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick
        {
          #keys: '[414724.0.323889224]'
          IsInherited: false
          ResponseType: 'OnClick'
          Arguments:
          [
            ResponseDefinitionArgument selection
            {
              #keys: '[607.0.62176891]'
              Binding: 'listOrders.Selection()'
            }
          ]
        }
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Border: true
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_Panel651_btn_delete_FCOV_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#parent: Panel651/btn_delete_FCOV_902
Response OnClick (
  S_DT_SpliteStruct selection
) id:Response_Panel651_btn_delete_FCOV_OnClick
{
  #keys: '[414724.0.302931548]'
  CanBindMultiple: false
  DefinitionID => /Panel651/Responsedef_Panel651_btn_delete_FCOV_902_OnClick
  Precondition:
  [*
    return not isnull( selection);
  *]
  QuillAction
  {
    Body:
    [*
      selection.Delete();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_listOrders_635_OnSelectionChanged.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: listOrders_635
Response OnSelectionChanged (
  S_DT_CustomOrder selection
) id:Response_listOrders_635_OnSelectionChanged
{
  #keys: '[414724.0.302697813]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebList_OnSelectionChanged'
  QuillAction
  {
    Body:
    [*
      Form.de_liSpliteDetails().FixedFilter( "object.OrderID() = " + selection.OrderID().AsQUILL());
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,36 @@
Quintiq file version 2.0
#parent: pl_Function_FCOV/btn_deleteOrder_FCOV
Response OnClick (
  S_DT_CustomOrder selection
) id:Response_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick
{
  #keys: '[414724.0.321284302]'
  CanBindMultiple: false
  DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick
  Precondition:
  [*
    return not isnull( selection) and selection.ParentID()<>"";
  *]
  QuillAction
  {
    Body:
    [*
      Num:=WebMessageBox::Question("确认删除?",true);
      if( Num=0)
      {
        OrderInfo:=select( MacroPlan,SalesDemand.astype( CustomerOrder ),obj,obj.ID()=selection.ParentID());
        SSI := select(MacroPlan,S_DT_SpliteStruct,obj,obj.ID() = selection.ID_SpliteStruct());
        if( not isnull( SSI))
        {
          SSI.Status(0);
        }
        S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,OrderInfo,"");
        if( not isnull( selection))
        {
          selection.Delete();
        }
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,40 @@
Quintiq file version 2.0
#parent: pl_Function_FCOV/btn_huanyuan_FCOV
Response OnClick (
  S_DT_CustomOrder selection
) id:Response_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick
{
  #keys: '[414724.0.303365693]'
  CanBindMultiple: false
  DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick
  Precondition:
  [*
    return not isnull( selection) and selection.ParentID()="";
  *]
  QuillAction
  {
    Body:
    [*
      Num:=WebMessageBox::Question(  "确认要还原拆分订单吗?
                                     æ³¨æ„ï¼šè¿˜åŽŸåŽå·²æ‹†åˆ†ç»“æžœå°†è¢«æ¸…ç©º",true);
      if(Num=0)
      {
        // æ¸…理拆分记录表
        traverse( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=selection.ID())
        {
          obj.Delete();
        }
        // æ¸…理拆分订单
        traverse( MacroPlan,S_DT_CustomOrder,obj,obj.ParentID()=selection.ID())
        {
            obj.Delete();
        }
        // æ¸…理订单
        selection.Delete();
        WebMessageBox::Information( "订单已经还原");
      }
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_sendERP_FCOV_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: pl_Function_FCOV/btn_sendERP_FCOV
Response OnClick () id:Response_pl_Function_FCOV_btn_sendERP_FCOV_OnClick
{
  #keys: '[414724.0.295170066]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      WebMessageBox::Information( "功能尚未实现,事件执行成功!");
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/Response_pl_Function_FCOV_btn_splitRow_FCOV_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
#parent: pl_Function_FCOV/btn_splitRow_FCOV
Response OnClick (
  S_DT_CustomOrder selection
) id:Response_pl_Function_FCOV_btn_splitRow_FCOV_OnClick
{
  #keys: '[414724.0.303198250]'
  CanBindMultiple: false
  DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_splitRow_FCOV_OnClick
  Precondition:
  [*
    return not isnull( selection) and selection.ParentID()="";
  *]
  QuillAction
  {
    Body:
    [*
      frmOrderSplite := construct( FrmCustomOrderSpliteRow );
      orderInfo:= select( MacroPlan,SalesDemand.astype(CustomerOrder ),obj,obj.ID()=selection.ID());
      frmOrderSplite.dh_Paramer_FCOS().Data(orderInfo);
      frmOrderSplite.ShowModal();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FrmCustomOrderView/_ROOT_Component_FrmCustomOrderView.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,19 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent FrmCustomOrderView
{
  #keys: '[414724.0.294851286]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pl_Function_FCOV
    #child: pl_DataView
  ]
  Properties:
  [
    Description: '预拆行窗体'
    Image: 'ARROW_FORK'
    Title: '拆行订单'
  ]
}
_Main/UI/MacroPlannerWebApp/_ROOT_Project_MacroPlannerWebApp.qp
@@ -5,7 +5,7 @@
  ProjectProperties
  {
    ApplicationComponentName: 'ApplicationMacroPlanner'
    BuildVersion: '2022.3.0.32'
    BuildVersion: '2022.3.0.33'
    Description: 'Quintiq Macro Planner'
    ProjectKind: 'WebClient'
  }