| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod MenuEdit ( |  |   LibUTF_IterationRun run, |  |   MacroPlan macroplan, |  |   String id, |  |   NamedValueTree nvt_customerorder |  | ) |  | { |  |   TextBody: |  |   [* |  |     instance := UI_CustomerOrder::FindSingle( run, macroplan, id ); |  |     dto := DTO_CustomerOrder::ConstructEdit( run, instance, nvt_customerorder ); |  |      |  |     // Execute your product / model update method |  |     product := macroplan.FindProduct( dto.ProductID() ); |  |     stockingpoint := macroplan.FindStockingPoint( dto.StockingPointID() ); |  |     instance.Update( product, stockingpoint, dto.StartDate(), dto.Quantity(), dto.Price(),  |  |                      dto.PriorityName(), dto.SalesSegmentName(), dto.CurrencyID(), dto.UnitOfMeasureName(),  |  |                      dto.IsExcludedFromFulfillmentKPIUser(), instance.CustomerName(), instance.CustomerID(),  |  |                      instance.OrderID(),instance.OrderLineID(), dto.IsEligibleForNetting(), dto.IsFirmed(), false ); |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' } |  | } | 
 |