陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Quintiq file version 2.0
#parent: #root
Method Update (
  IOUnit importedobject,
  String datasource
)
{
  Description: 'Update attributes for IOUnit'
  TextBody:
  [*
    //Update the input out object according to the given imported object
    //the attribute speak for themselves
    this.CampaignTypeDuration            ( importedobject.CampaignTypeDuration()             );
    this.CapacitySmoothingPercentageDelta( importedobject.CapacitySmoothingPercentageDelta() );
    this.CapacityType                    ( importedobject.CapacityType()                     );
    this.CurrencyID                      ( importedobject.CurrencyID()                       );
    this.DataSource                      ( datasource                                        );
    this.DisplayIndex                    ( importedobject.DisplayIndex()                     );
    this.EndDate                         ( importedobject.EndDate()                          );
    this.GISCity                         ( importedobject.GISCity()                          );
    this.GISCountryCode                  ( importedobject.GISCountryCode()                   );
    this.GISPostalCode                   ( importedobject.GISPostalCode()                    );
    this.GroupName                       ( importedobject.GroupName()                        );
    this.HasCapacitySmoothing            ( importedobject.HasCapacitySmoothing()             );
    this.HasMaximumQuantity              ( importedobject.HasMaximumQuantity()               );
    this.HasUserFrozenFutureDuration     ( importedobject.HasUserFrozenFutureDuration()      );
    this.IconName                        ( importedobject.IconName()                         );
    this.IsIncludedInSupplySpecification ( importedobject.IsIncludedInSupplySpecification()  );
    this.IsSupplier                      ( importedobject.IsSupplier()                       );
    this.IsOverlapCapacitySmoothing      ( importedobject.IsOverlapCapacitySmoothing()       );
    this.IsPlannedInfinite               ( importedobject.IsPlannedInfinite()                );
    this.IsSmoothCapacityOverAllPeriods  ( importedobject.IsSmoothCapacityOverAllPeriods()   );
    this.LotSize                         ( importedobject.LotSize()                          );
    this.MaximumQuantity                 ( importedobject.MaximumQuantity()                  );
    this.MinimumQuantity                 ( importedobject.MinimumQuantity()                  );
    this.Mode                            ( importedobject.Mode()                             );
    this.Name                            ( importedobject.Name()                             );
    this.Notes                           ( importedobject.Notes()                            );
    this.ParentUnitID                    ( importedobject.ParentUnitID()                     );
    this.QuantityToProcess               ( importedobject.QuantityToProcess()                );
    this.StartDate                       ( importedobject.StartDate()                        );
    this.Timestamp                       ( importedobject.Timestamp()                        );
    this.UnitOfMeasureName               ( importedobject.UnitOfMeasureName()                );
    this.UserCapacitySmoothingLength     ( importedobject.UserCapacitySmoothingLength()      );
    this.UserFrozenFutureDuration        ( importedobject.UserFrozenFutureDuration()         );
    this.UseShiftOptimization            ( importedobject.UseShiftOptimization()             );
    
    this.CustomUpdate( importedobject );
  *]
}