From f3dec8f5b480474c9a3b2ea0fabb0f6b9fdc0423 Mon Sep 17 00:00:00 2001 From: renhao <renhui.hao@capgemini.com> Date: 星期五, 13 十月 2023 17:11:34 +0800 Subject: [PATCH] Merge branch 'dev' --- _Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def new file mode 100644 index 0000000..f217f0d --- /dev/null +++ b/_Main/UI/MacroPlannerWebApp/Component_DialogFillingCapacityOrder/Method_Edit.def @@ -0,0 +1,32 @@ +Quintiq file version 2.0 +#parent: #root +Method Edit ( + FillingCapacityOrder selection +) id:Method_DialogFillingCapacityOrder_Edit +{ + #keys: '[414382.0.402531258]' + Body: + [* + // Edits assumption + data := shadow( selection ); + + DataHolderFillingCapacityOrder.Data( &data ); + + salesSegment_MP := select( MacroPlan, SalesSegment_MP, tempSSMP, tempSSMP.Name() = selection.SalesSegmentName() ); + ddlSalesSegment.Data( salesSegment_MP ); + + product_MP := select( MacroPlan, Product_MP, tempPMP, tempPMP.ID() = selection.ProductID() ); + ddlProduct_MP.Data( product_MP ); + + stockingPoint_MP := select( MacroPlan, StockingPoint_MP, tempSPMP, tempSPMP.ID() = selection.StockingPointID() ); + ddlStockingPoint_MP.Data( stockingPoint_MP ); + + businessType := select( GlobalOTDTable, BusinessType, tempBT, tempBT.BusinessTypeName() = selection.BusinessType() ); + ddlBusinessType.Data( businessType ); + + unitOfMeasure_MP := select( MacroPlan, UnitOfMeasure_MP, tempUOMMP, tempUOMMP.Name() = selection.UnitOfMeasureName() ); + ddlUnitOfMeasure_MP.Data( unitOfMeasure_MP ); + + ApplicationMacroPlanner.ShowFormModal( this ); + *] +} -- Gitblit v1.9.3