¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation BusinessType_GlobalOTDTable_GlobalOTDTable_BusinessType |
| | | { |
| | | #keys: '1[414382.0.362030054]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDTable |
| | | { |
| | | #keys: '3[414382.0.362030056][414382.0.362030055][414382.0.362030057]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: BusinessType |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide BusinessType |
| | | { |
| | | #keys: '3[414382.0.362030059][414382.0.362030058][414382.0.362030060]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDTable |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CustomerAndForecastOrder_MacroPlan_MacroPlan_CustomerAndForecastOrder |
| | | { |
| | | #keys: '1[414382.0.412354687]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.412354689][414382.0.412354688][414382.0.412354690]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CustomerAndForecastOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CustomerAndForecastOrder |
| | | { |
| | | #keys: '3[414382.0.412354692][414382.0.412354691][414382.0.412354693]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation FillingCapacityOrder_MacroPlan_MacroPlan_FillingCapacityOrder |
| | | { |
| | | #keys: '1[414382.0.394820063]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.394820065][414382.0.394820064][414382.0.394820066]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: FillingCapacityOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide FillingCapacityOrder |
| | | { |
| | | #keys: '3[414382.0.394820068][414382.0.394820067][414382.0.394820069]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation HistoricalSalesOrder_MacroPlan_MacroPlan_HistoricalSalesOrder |
| | | { |
| | | #keys: '1[414382.0.385610086]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.385610088][414382.0.385610087][414382.0.385610089]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: HistoricalSalesOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide HistoricalSalesOrder |
| | | { |
| | | #keys: '3[414382.0.385610091][414382.0.385610090][414382.0.385610092]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessTypeName |
| | | { |
| | | #keys: '3[414382.0.361554811][414382.0.361554810][414382.0.361554812]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method DeleteData |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-7-2023 (created) |
| | | |
| | | this.Delete(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method UpdateData ( |
| | | String businessTypeName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-7-2023 (created) |
| | | |
| | | this.BusinessTypeName(businessTypeName); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateData ( |
| | | GlobalOTDTable owner, |
| | | String businessName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-7-2023 (created) |
| | | // å建businessType |
| | | |
| | | // 夿åç§°æ¯å¦åå¨ |
| | | |
| | | checkExist := exists( owner,BusinessType,b, |
| | | true, |
| | | b.BusinessTypeName() = businessName |
| | | ); |
| | | |
| | | // 妿ä¸åå¨åæ·»å |
| | | if( not checkExist ){ |
| | | owner.BusinessType(relnew,BusinessTypeName := businessName); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetBusinessNameStr ( |
| | | GlobalOTDTable owner |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-7-2023 (created) |
| | | |
| | | // è·åbusinessType éå |
| | | result := ""; |
| | | businessTypeList := construct( structured[String]); |
| | | |
| | | traverse( owner,BusinessType,b) |
| | | { |
| | | businessTypeList.Add( b.BusinessTypeName()); |
| | | } |
| | | |
| | | // 妿åå¨businessTypeæ°æ® åè¿å : a,b,c |
| | | |
| | | if( not isnull( businessTypeList ) ) |
| | | { |
| | | result := businessTypeList.Concatenate( ";" ); |
| | | } |
| | | return result; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type BusinessType |
| | | { |
| | | #keys: '5[414382.0.361591349][414382.0.361591347][0.0.0][414382.0.361591348][414382.0.361591350]' |
| | | BaseType: Object |
| | | Description: 'business type' |
| | | StructuredName: 'BusinessTypes' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.412354709][414382.0.412354708][414382.0.412354710]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.412354716][414382.0.412354715][414382.0.412354717]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.412354719][414382.0.412354718][414382.0.412354720]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DemandDate |
| | | { |
| | | #keys: '3[414382.0.412354743][414382.0.412354742][414382.0.412354744]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ForecastDemandDate |
| | | { |
| | | #keys: '3[414382.0.412354746][414382.0.412354745][414382.0.412354747]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[414382.0.412354701][414382.0.412354700][414382.0.412354702]' |
| | | Description: '订åå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PanelBigSheetQuantity |
| | | { |
| | | #keys: '3[414382.0.412354739][414382.0.412354738][414382.0.412354740]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414382.0.412354712][414382.0.412354711][414382.0.412354713]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.412354736][414382.0.412354735][414382.0.412354737]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesAmount |
| | | { |
| | | #keys: '3[414382.0.412354749][414382.0.412354748][414382.0.412354750]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ServiceType |
| | | { |
| | | #keys: '3[414382.0.412354723][414382.0.412354722][414382.0.412354724]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.412354733][414382.0.412354732][414382.0.412354734]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VerNo |
| | | { |
| | | #keys: '3[414382.0.412354705][414382.0.412354704][414382.0.412354706]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: BusinessType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Customer |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: UnitOfMeasureName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: VerNo |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateFillingCapacityOrder ( |
| | | MacroPlan owner, |
| | | CustomerAndForecastOrder data |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | owner.CustomerAndForecastOrder(relnew,OrderID := data.OrderID(),ProductID := data.ProductID(),BusinessType := data.BusinessType(),Customer := data.BusinessType(),CustomerID := data.CustomerID(), |
| | | Quantity := data.Quantity(),UnitOfMeasureName := data.UnitOfMeasureName(),PanelBigSheetQuantity := data.PanelBigSheetQuantity(),SalesAmount := data.SalesAmount(), |
| | | ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate() |
| | | ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateTestData ( |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | stringdate := '20230901'; |
| | | cnv2 := StringToDate::StandardConverter(); |
| | | cnv2.SetCustomConversion(); |
| | | cnv2.CustomFormatString( 'yyyyMMdd' ); |
| | | date := cnv2.Convert( stringdate ); |
| | | |
| | | owner.CustomerAndForecastOrder(relnew,OrderID := "001",ProductID := "001",BusinessType := "äºä¸ä¸é¨",Customer := "客æ·",CustomerID := "001", |
| | | Quantity := 100,UnitOfMeasureName := "PCS",PanelBigSheetQuantity := 200,SalesAmount := 1000,ForecastDemandDate := date,DemandDate := date |
| | | ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CustomerAndForecastOrder |
| | | { |
| | | #keys: '5[414382.0.412354684][414382.0.412354682][0.0.0][414382.0.412354683][414382.0.412354685]' |
| | | BaseType: Object |
| | | StructuredName: 'CustomerAndForecastOrders' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.394820097][414382.0.394820096][414382.0.394820098]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.394820200][414382.0.394820199][414382.0.394820201]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.394820210][414382.0.394820209][414382.0.394820211]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DemandDate |
| | | { |
| | | #keys: '3[414382.0.394820180][414382.0.394820179][414382.0.394820181]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ForecastDemandDate |
| | | { |
| | | #keys: '3[414382.0.394820170][414382.0.394820169][414382.0.394820171]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderDate |
| | | { |
| | | #keys: '3[414382.0.394815955][414382.0.394815954][414382.0.394815956]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderType |
| | | { |
| | | #keys: '3[414382.0.394820190][414382.0.394820189][414382.0.394820191]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PanelBigSheetQuantity |
| | | { |
| | | #keys: '3[414382.0.394820150][414382.0.394820149][414382.0.394820151]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414382.0.394820087][414382.0.394820086][414382.0.394820088]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.394820127][414382.0.394820126][414382.0.394820128]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesAmount |
| | | { |
| | | #keys: '3[414382.0.394820160][414382.0.394820159][414382.0.394820161]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.394820107][414382.0.394820106][414382.0.394820108]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414382.0.394820117][414382.0.394820116][414382.0.394820118]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.394820137][414382.0.394820136][414382.0.394820138]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VerNo |
| | | { |
| | | #keys: '3[414382.0.394820077][414382.0.394820076][414382.0.394820078]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type FillingCapacityOrder |
| | | { |
| | | #keys: '5[414382.0.394820060][414382.0.394820058][0.0.0][414382.0.394820059][414382.0.394820061]' |
| | | BaseType: Object |
| | | StructuredName: 'FillingCapacityOrders' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.385610070][414382.0.385610069][414382.0.385610071]' |
| | | Description: 'äºä¸é¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CurrencyID |
| | | { |
| | | #keys: '3[414382.0.385610058][414382.0.385610057][414382.0.385610059]' |
| | | Description: 'è´§å¸' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.385610043][414382.0.385610042][414382.0.385610044]' |
| | | Description: '客æ·åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.385610052][414382.0.385610051][414382.0.385610053]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414382.0.385610061][414382.0.385610060][414382.0.385610062]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsAvailable |
| | | { |
| | | #keys: '3[414382.0.385610046][414382.0.385610045][414382.0.385610047]' |
| | | Description: 'è®¢åæ¯å¦åä¸è®¡å' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderDate |
| | | { |
| | | #keys: '3[414382.0.385610082][414382.0.385610081][414382.0.385610083]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[414382.0.385610049][414382.0.385610048][414382.0.385610050]' |
| | | Description: '订åå·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderLineID |
| | | { |
| | | #keys: '3[414382.0.385610040][414382.0.385610039][414382.0.385610041]' |
| | | Description: '订åè¡å·' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderType |
| | | { |
| | | #keys: '3[414382.0.385610034][414382.0.385610033][414382.0.385610035]' |
| | | Description: '订åç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Price |
| | | { |
| | | #keys: '3[414382.0.385610055][414382.0.385610054][414382.0.385610056]' |
| | | Description: 'åä»·' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityName |
| | | { |
| | | #keys: '3[414382.0.385610079][414382.0.385610078][414382.0.385610080]' |
| | | Description: 'ä¼å
级' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414382.0.385610067][414382.0.385610066][414382.0.385610068]' |
| | | Description: '产åç¼ç ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.385610076][414382.0.385610075][414382.0.385610077]' |
| | | Description: 'æ°é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesAmount |
| | | { |
| | | #keys: '3[414382.0.394810026][414382.0.394810025][414382.0.394810027]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.385610064][414382.0.385610063][414382.0.385610065]' |
| | | Description: 'éå®é¨é¨åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockPointID |
| | | { |
| | | #keys: '3[414382.0.385610073][414382.0.385610072][414382.0.385610074]' |
| | | Description: 'åºåç¹å¯ä¸æ è¯' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.385610037][414382.0.385610036][414382.0.385610038]' |
| | | Description: 'åä½' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VerNo |
| | | { |
| | | #keys: '3[414382.0.385610106][414382.0.385610105][414382.0.385610107]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: BusinessType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CurrencyID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Customer |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | ISOValue: 'true' |
| | | TargetAttribute: IsAvailable |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderLineID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: PriorityName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SalesSegmentName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: StockPointID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetProductIdString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | productIDs := selectuniquevalues( owner,MappingProduct,product, |
| | | product.BusinessType() = businessType, |
| | | product.ID() |
| | | ); |
| | | |
| | | value := "TC067FYMM05-00;B26700040"; |
| | | |
| | | if( not isnull( productIDs) ) |
| | | { |
| | | value := productIDs.Concatenate( ";"); |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetCustomerID ( |
| | | MacroPlan owner, |
| | | String customer |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | |
| | | cunstomer := select( owner,MappingCustomerOrder,order, |
| | | order.Customer() = customer |
| | | ); |
| | | |
| | | return cunstomer.CustomerID(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetCustomerString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | customers := selectuniquevalues( owner,MappingCustomerOrder,order, |
| | | order.BusinessType() = businessType, |
| | | order.Customer() |
| | | ); |
| | | |
| | | |
| | | |
| | | value := customers.Concatenate( ";"); |
| | | |
| | | if( value = "" ) |
| | | { |
| | | value := "å°ç±³éè®¯ææ¯æéå
¬å¸"; |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetHistoricalSalesOrders ( |
| | | String businessType, |
| | | String customer, |
| | | String sheetProfitability, |
| | | String productID, |
| | | Date end, |
| | | MacroPlan owner, |
| | | Date start |
| | | ) as owning HistoricalSalesOrders |
| | | { |
| | | Description: 'Get historical sales orders of deleiveryCells' |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-11-2023 (created) |
| | | |
| | | // filter businessType start end |
| | | // start default 3 years, end is today |
| | | value := selectset( owner,HistoricalSalesOrder,order, |
| | | true, |
| | | order.BusinessType() = businessType |
| | | and order.OrderDate() >= start |
| | | and order.OrderDate() <= end |
| | | ); |
| | | |
| | | // filter customer |
| | | if(customer <> '' ) |
| | | { |
| | | value := selectset( value,Elements,orer, |
| | | true, |
| | | orer.Customer() = customer |
| | | ); |
| | | } |
| | | |
| | | // filter sheetProfitability |
| | | //if(sheetProfitability <> '' ) |
| | | //{ |
| | | // value := selectset( value,Elements,orer, |
| | | // true, |
| | | // orer.S() = sheetProfitability |
| | | // ); |
| | | //} |
| | | |
| | | // filter productID |
| | | if(productID <> '' ) |
| | | { |
| | | value := selectset( value,Elements,orer, |
| | | true, |
| | | orer.ProductID() = productID |
| | | ); |
| | | } |
| | | |
| | | // order by ç婿°´å¹³ éæ±æ¶é´ |
| | | |
| | | value := selectsortedset( value,Elements,order, |
| | | true, |
| | | //order.SheetProfitability(), |
| | | order.OrderDate() |
| | | ); |
| | | |
| | | return &value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetProductIdString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | productIDs := selectuniquevalues( owner,MappingProduct,product, |
| | | product.BusinessType() = businessType, |
| | | product.ID() |
| | | ); |
| | | |
| | | value := productIDs.Concatenate( ";"); |
| | | |
| | | |
| | | if( value = "" ) |
| | | { |
| | | value := "TC067FYMM05-00;B26700040"; |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetSalesSegmentString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | salesSegments := selectuniquevalues( owner,MappingSalesSegment,salesSegment, |
| | | salesSegment.BusinessType() = businessType, |
| | | salesSegment.ParentName() |
| | | ); |
| | | |
| | | |
| | | |
| | | value := salesSegments.Concatenate( ";"); |
| | | |
| | | |
| | | if( value = "" ) |
| | | { |
| | | value := "æ¶è´¹åè¥éä¸å¿;éå®ä¸ç§"; |
| | | } |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetStockingPointString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | stockingPointIDs := selectuniquevalues( owner,StockingPoint_MP,stock, |
| | | stock.ID() |
| | | ); |
| | | |
| | | value := stockingPointIDs.Concatenate( ";"); |
| | | |
| | | if( value = "" ) |
| | | { |
| | | value := "I13_P;I13_SA"; |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetUnitOfMeasuresString ( |
| | | MacroPlan owner, |
| | | String businessType |
| | | ) as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-13-2023 (created) |
| | | |
| | | units := selectuniquevalues( owner,MappingUnitOfMeasure,unit, |
| | | unit.Name() |
| | | ); |
| | | |
| | | |
| | | value := units.Concatenate( ";"); |
| | | |
| | | if( value = "" ) |
| | | { |
| | | value := "PCS;MPC"; |
| | | } |
| | | |
| | | return value; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type HistoricalSalesOrder |
| | | { |
| | | #keys: '5[414382.0.385610030][414382.0.385610028][0.0.0][414382.0.385610029][414382.0.385610031]' |
| | | BaseType: Object |
| | | StructuredName: 'HistoricalSalesOrders' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.375080433]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.375080437]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.375080439]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[414382.0.375080431]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component edtBusinessTypeName |
| | | { |
| | | #keys: '[414382.0.376790705]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderBusinessType.Data.BusinessTypeName' |
| | | Label: 'Business Type Name' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogBusinessType_ClickBtnOk |
| | | { |
| | | #keys: '[414382.0.377972914]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderBusinessType.Data().Commit(); |
| | | |
| | | //if( not isnull( DataHolderForm.Data() ) ) |
| | | //{ |
| | | // // Access the form, select the new assumption |
| | | // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); |
| | | //} |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | BusinessType selection |
| | | ) id:Method_DialogBusinessType_Edit |
| | | { |
| | | #keys: '[414382.0.377851336]' |
| | | Body: |
| | | [* |
| | | // Edits assumption |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderBusinessType.Data( &data ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | GlobalOTDTable owner |
| | | ) id:Method_DialogBusinessType_New |
| | | { |
| | | #keys: '[414382.0.376712323]' |
| | | Body: |
| | | [* |
| | | data := owner.BusinessType(relshadow); |
| | | DataHolderBusinessType.Data( &data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.375080443]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[414382.0.375080442]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogBusinessType |
| | | { |
| | | #keys: '[414382.0.375080429]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderBusinessType |
| | | { |
| | | #keys: '[414382.0.375080516]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[BusinessType]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderForm id:DataHolderForm_568 |
| | | { |
| | | #keys: '[414382.0.376741089]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'BusinessType' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.400131325]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.400131329]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.400131331]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[414382.0.400131323]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dropDownStringListProductID id:dropDownStringListProductID_387 |
| | | { |
| | | #keys: '[414382.0.400311344]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.ProductID' |
| | | Label: 'ProductID' |
| | | Strings: 'productID' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dropDownStringListSalesSegmentName id:dropDownStringListSalesSegmentName_325 |
| | | { |
| | | #keys: '[414382.0.400731492]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesSegmentName' |
| | | Label: 'SalesSegmentName' |
| | | Strings: 'SalesSagmentName' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dropDownStringListStockPointID id:dropDownStringListStockPointID_801 |
| | | { |
| | | #keys: '[414382.0.400731675]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.StockingPointID' |
| | | Label: 'StockPointID' |
| | | Strings: 'StockPointID' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dropDownStringListCustomer id:dropDownStringListCustomer_957 |
| | | { |
| | | #keys: '[414382.0.400703550]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.Customer' |
| | | Label: 'Customer' |
| | | Strings: 'Customer' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component edtQuantity id:edtQuantity_995 |
| | | { |
| | | #keys: '[414382.0.400551344]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.Quantity' |
| | | Label: 'Quantity' |
| | | Mask: 'REAL' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dropDownStringListUnitOfMeasureName id:dropDownStringListUnitOfMeasureName_750 |
| | | { |
| | | #keys: '[414382.0.400892044]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.UnitOfMeasureName' |
| | | Label: 'UnitOfMeasureName' |
| | | Strings: 'UnitName' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component edtSalesAmount id:edtSalesAmount_608 |
| | | { |
| | | #keys: '[414382.0.400892099]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.SalesAmount' |
| | | Label: 'SalesAmount' |
| | | Mask: 'NUMBER' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component dsDemandDate |
| | | { |
| | | #keys: '[414382.0.400892150]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.DemandDate' |
| | | Label: 'Demand Date' |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | Component dsForecastDemandDate |
| | | { |
| | | #keys: '[414382.0.408660329]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFillingCapacityOrder.Data.ForecastDemandDate' |
| | | Label: 'Forecast Demand Date' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogFillingCapacityOrder_ClickBtnOk |
| | | { |
| | | #keys: '[414382.0.402531772]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderFillingCapacityOrder.Data().Commit(); |
| | | |
| | | //if( not isnull( DataHolderForm.Data() ) ) |
| | | //{ |
| | | // // Access the form, select the new assumption |
| | | // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); |
| | | //} |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | MacroPlan owner |
| | | ) id:Method_DialogFillingCapacityOrder_New |
| | | { |
| | | #keys: '[414382.0.401211772]' |
| | | Body: |
| | | [* |
| | | |
| | | data := owner.FillingCapacityOrder(relshadow); |
| | | |
| | | DataHolderFillingCapacityOrder.Data(&data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.400131335]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[414382.0.400131334]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.400131321]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.400311371]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[FillingCapacityOrder]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderForm id:DataHolderForm_450 |
| | | { |
| | | #keys: '[414382.0.400311390]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'FillingCapacityOrder' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Filling Capacity Order' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.415330994]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.415330998]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.415331000]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[414382.0.415330992]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efVerNo |
| | | { |
| | | #keys: '[414382.0.415451216]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.VerNo' |
| | | Label: 'VerNo' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component efBusinessType |
| | | { |
| | | #keys: '[414382.0.413702519]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.BusinessType' |
| | | Enabled: false |
| | | Label: 'BusinessType' |
| | | ReadOnly: true |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component efCustomer |
| | | { |
| | | #keys: '[414382.0.415542596]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.Customer' |
| | | Enabled: false |
| | | Label: 'Customer' |
| | | ReadOnly: true |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component edtSalesAmount |
| | | { |
| | | #keys: '[414382.0.414851317]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.SalesAmount' |
| | | Label: 'SalesAmount' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dsDemandDate id:dsDemandDate_768 |
| | | { |
| | | #keys: '[414382.0.413703310]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.DemandDate' |
| | | Enabled: false |
| | | Label: 'Demand Date' |
| | | ReadOnly: true |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dsForecastDemandDate id:dsForecastDemandDate_515 |
| | | { |
| | | #keys: '[414382.0.413703326]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderFilling.Data.ForecastDemandDate' |
| | | Label: 'Forecast Demand Date' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogFillingCustomerAndForecast_ClickBtnOk |
| | | { |
| | | #keys: '[414382.0.415784532]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderFilling.Data().Commit(); |
| | | |
| | | //if( not isnull( DataHolderForm.Data() ) ) |
| | | //{ |
| | | // // Access the form, select the new assumption |
| | | // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); |
| | | //} |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Filling ( |
| | | CustomerAndForecastOrder selection |
| | | ) id:Method_DialogFillingCustomerAndForecast_Filling |
| | | { |
| | | #keys: '[414382.0.415572412]' |
| | | Body: |
| | | [* |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderFilling.Data( &data); |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.415331004]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[414382.0.415331003]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | data := DataHolderFilling.Data(); |
| | | |
| | | CustomerAndForecastOrder::CreateFillingCapacityOrder( MacroPlan,data); |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogFillingCustomerAndForecast |
| | | { |
| | | #keys: '[414382.0.415330990]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderFilling |
| | | { |
| | | #keys: '[414382.0.415483316]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[CustomerAndForecastOrder]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.416323029]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[CustomerAndForecastOrder]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Filling' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[414382.0.391970675]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.391970679]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.391970681]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[414382.0.391970673]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dropDownStringListProductID |
| | | { |
| | | #keys: '[414382.0.397670774]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.ProductID' |
| | | Label: 'ProductID' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dropDownStringListSalesSegmentName |
| | | { |
| | | #keys: '[414382.0.397792089]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesSegmentName' |
| | | Label: 'SalesSegmentName' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dropDownStringListStockPointID |
| | | { |
| | | #keys: '[414382.0.397613350]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.StockingPointID' |
| | | Label: 'StockPointID' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component dropDownStringListCustomer |
| | | { |
| | | #keys: '[414382.0.396181827]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.Customer' |
| | | Label: 'Customer' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dropDownStringListUnitOfMeasureName |
| | | { |
| | | #keys: '[414382.0.400160473]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | AllowEmpty: true |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.UnitOfMeasureName' |
| | | Label: 'UnitOfMeasureName' |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component edtQuantity |
| | | { |
| | | #keys: '[414382.0.400120730]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.Quantity' |
| | | Label: 'Quantity' |
| | | Mask: 'REAL' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dsOrderDate |
| | | { |
| | | #keys: '[414382.0.400121793]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.OrderDate' |
| | | Label: 'Demand Date' |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component edtSalesAmount |
| | | { |
| | | #keys: '[414382.0.400160672]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | DataBinding: 'DataHolderHistoricalSalesOrder.Data.SalesAmount' |
| | | Label: 'SalesAmount' |
| | | Mask: 'NUMBER' |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method ClickBtnOk () id:Method_DialogHistoricalSalesOrders_ClickBtnOk |
| | | { |
| | | #keys: '[414382.0.400401230]' |
| | | Body: |
| | | [* |
| | | // Disabled button to prevent the possibility of multiple firing |
| | | |
| | | btnOk.Enabled(false,''); |
| | | |
| | | // OnOk |
| | | this.ApplyChanges(); |
| | | |
| | | DataHolderHistoricalSalesOrder.Data().Commit(); |
| | | |
| | | //if( not isnull( DataHolderForm.Data() ) ) |
| | | //{ |
| | | // // Access the form, select the new assumption |
| | | // DataHolderForm.Data().ListAssumptions().SelectByKey( DataHolderDialogData.Data().WrappedInstance().Key() ); |
| | | //} |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Edit ( |
| | | FillingCapacityOrder selection |
| | | ) id:Method_DialogHistoricalSalesOrders_Edit |
| | | { |
| | | #keys: '[414382.0.402531395]' |
| | | Body: |
| | | [* |
| | | // Edits assumption |
| | | data := shadow( selection ); |
| | | |
| | | DataHolderHistoricalSalesOrder.Data( &data); |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method New ( |
| | | MacroPlan owner |
| | | ) id:Method_DialogHistoricalSalesOrders_New |
| | | { |
| | | #keys: '[414382.0.393020968]' |
| | | Body: |
| | | [* |
| | | data := owner.FillingCapacityOrder(relshadow); |
| | | DataHolderHistoricalSalesOrder.Data( &data); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.391970685]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[414382.0.391970684]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ClickBtnOk() |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.391970671]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderHistoricalSalesOrder |
| | | { |
| | | #keys: '[414382.0.394331150]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'shadow[FillingCapacityOrder]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component DataHolderForm |
| | | { |
| | | #keys: '[414382.0.394362557]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'FillingCapacityOrder' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Historical Sales Order' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListBusinessType |
| | | { |
| | | #keys: '[414382.0.373071310]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorBusinessType |
| | | { |
| | | #keys: '[414382.0.373071311]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | Taborder: 0 |
| | | Transformation: 'BusinessType' |
| | | ] |
| | | } |
| | | #child: listActionBarPageBusinessType |
| | | Component DataSetLevelBusinessType |
| | | { |
| | | #keys: '[414382.0.373071313]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuBusinessType655 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessTypeName","title":"BusinessTypeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessTypeName"}}]' |
| | | ContextMenu: 'listContextMenuBusinessType655' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListBusinessType_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.377975283]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1051.0.24454044]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageBusinessType |
| | | { |
| | | #keys: '[414382.0.373071312]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuBusinessType655 |
| | | { |
| | | #keys: '[414382.0.373071314]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuNew |
| | | { |
| | | #keys: '[414382.0.374151049]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 3 |
| | | Title: 'New' |
| | | ] |
| | | } |
| | | Component MenuEdit |
| | | { |
| | | #keys: '[414382.0.373031364]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'PENCIL' |
| | | Taborder: 4 |
| | | Title: 'Edit' |
| | | ] |
| | | } |
| | | Component MenuDelete |
| | | { |
| | | #keys: '[414382.0.374361100]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 5 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListBusinessType |
| | | Response OnClick ( |
| | | BusinessType selection |
| | | ) id:Response_ListBusinessType_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414382.0.378330518]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListBusinessType |
| | | Response OnClick ( |
| | | BusinessType selection |
| | | ) id:Response_ListBusinessType_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.378121511]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogBusinessType ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListBusinessType |
| | | Response OnClick () id:Response_ListBusinessType_MenuNew_OnClick |
| | | { |
| | | #keys: '[414382.0.377975353]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListBusinessType/Responsedef_ListBusinessType_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuNew' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogBusinessType ); |
| | | dlg.New( GlobalOTDTable ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormBusinessType |
| | | { |
| | | #keys: '[414382.0.367630242]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListBusinessType |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Business Type' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.397311976]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.397311977]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'FillingCapacityOrder' |
| | | ] |
| | | } |
| | | #child: listActionBarPageFillingCapacityOrder |
| | | Component DataSetLevelFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.397311982]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuFillingCapacityOrder |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"SalesSegmentName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderType","title":"OrderType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}}]' |
| | | ContextMenu: 'listContextMenuFillingCapacityOrder' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListFillingCapacityOrder_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.401230580]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1099.0.7418521]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.397311979]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.397311984]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuNew |
| | | { |
| | | #keys: '[414382.0.401230548]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 3 |
| | | Title: 'New' |
| | | ] |
| | | } |
| | | Component MenuEdit id:MenuEdit_100 |
| | | { |
| | | #keys: '[414382.0.402500725]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'PENCIL' |
| | | Taborder: 4 |
| | | Title: 'Edit' |
| | | ] |
| | | } |
| | | Component MenuDelete id:MenuDelete_129 |
| | | { |
| | | #keys: '[414382.0.402500768]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 5 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | Component MenuSaveScheme |
| | | { |
| | | #keys: '[414382.0.409871758]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DISK_BLUE' |
| | | Taborder: 6 |
| | | Title: 'Save Scheme' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingCapacityOrder |
| | | Response OnClick ( |
| | | FillingCapacityOrder selection |
| | | ) id:Response_ListFillingCapacityOrder_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414382.0.402561135]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingCapacityOrder |
| | | Response OnClick ( |
| | | FillingCapacityOrder selection |
| | | ) id:Response_ListFillingCapacityOrder_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.404212572]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogFillingCapacityOrder );; |
| | | dlg.Edit( selection); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingCapacityOrder |
| | | Response OnClick () id:Response_ListFillingCapacityOrder_MenuNew_OnClick |
| | | { |
| | | #keys: '[414382.0.402410520]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuNew' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogFillingCapacityOrder ); |
| | | dlg.New( MacroPlan); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingCapacityOrder |
| | | Response OnClick () id:Response_ListFillingCapacityOrder_MenuSaveScheme_OnClick |
| | | { |
| | | #keys: '[414382.0.410851847]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingCapacityOrder/Responsedef_ListFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuSaveScheme' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | form := construct( FormCustomerAndForecastOrder ); |
| | | form.OpenScheme(); |
| | | //dlg.Edit( selection); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.396111858]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListFillingCapacityOrder |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Filling Capacity Orders' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740609]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740610]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'CustomerAndForecastOrder' |
| | | ] |
| | | } |
| | | #child: listActionBarPageCustomerAndFillingCapacityOrder |
| | | Component DataSetLevelCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740615]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuCustomerAndFillingCapacityOrder |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ServiceType","title":"ServiceType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ServiceType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelBigSheetQuantity","title":"PanelBigSheetQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelBigSheetQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandDate","title":"DemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandDate"}}]' |
| | | ContextMenu: 'listContextMenuCustomerAndFillingCapacityOrder' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.415541555]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1121.0.30421200]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740612]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740617]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuFilling |
| | | { |
| | | #keys: '[414382.0.414941796]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 3 |
| | | Title: 'Filling' |
| | | ] |
| | | } |
| | | Component MenuTest |
| | | { |
| | | #keys: '[414382.0.415603149]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 4 |
| | | Title: 'Test' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OpenScheme () id:Method_FormCustomerAndForecastOrder_OpenScheme |
| | | { |
| | | #keys: '[414382.0.410362701]' |
| | | Body: |
| | | [* |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCustomerAndFillingCapacityOrder |
| | | Response OnClick ( |
| | | CustomerAndForecastOrder selection |
| | | ) id:Response_ListCustomerAndFillingCapacityOrder_MenuFilling_OnClick |
| | | { |
| | | #keys: '[414382.0.415301299]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuFilling' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogFillingCustomerAndForecast ); |
| | | dlg.Filling( selection); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListCustomerAndFillingCapacityOrder |
| | | Response OnClick () id:Response_ListCustomerAndFillingCapacityOrder_MenuTest_OnClick |
| | | { |
| | | #keys: '[414382.0.415724061]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListCustomerAndFillingCapacityOrder/Responsedef_ListCustomerAndFillingCapacityOrder_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuTest' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | CustomerAndForecastOrder::CreateTestData( MacroPlan); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormCustomerAndForecastOrder |
| | | { |
| | | #keys: '[414382.0.410884055]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListCustomerAndFillingCapacityOrder |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Customer And Forecast Order' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.388210753]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.388210754]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'HistoricalSalesOrder' |
| | | ] |
| | | } |
| | | #child: listActionBarPageHistoricalSalesOrders |
| | | Component DataSetLevelHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.388210759]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuHistoricalSalesOrders |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"OrderDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}}]' |
| | | ContextMenu: 'listContextMenuHistoricalSalesOrders' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.394390402]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1083.0.17043214]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.388210756]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.388210761]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuNew id:MenuNew_603 |
| | | { |
| | | #keys: '[414382.0.394390227]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ADD2' |
| | | Taborder: 3 |
| | | Title: 'New' |
| | | ] |
| | | } |
| | | Component MenuEdit id:MenuEdit_847 |
| | | { |
| | | #keys: '[414382.0.394390242]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'PENCIL' |
| | | Taborder: 4 |
| | | Title: 'Edit' |
| | | ] |
| | | } |
| | | Component MenuDelete id:MenuDelete_646 |
| | | { |
| | | #keys: '[414382.0.394390257]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'DELETE' |
| | | Taborder: 5 |
| | | Title: 'Delete' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListHistoricalSalesOrders |
| | | Response OnClick ( |
| | | HistoricalSalesOrder selection |
| | | ) id:Response_ListHistoricalSalesOrders_MenuDelete_OnClick |
| | | { |
| | | #keys: '[414382.0.402500799]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuDelete' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListHistoricalSalesOrders |
| | | Response OnClick ( |
| | | FillingCapacityOrder selection |
| | | ) id:Response_ListHistoricalSalesOrders_MenuEdit_OnClick |
| | | { |
| | | #keys: '[414382.0.402531567]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'MenuEdit' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogHistoricalSalesOrders ); |
| | | dlg.Edit( selection ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListHistoricalSalesOrders |
| | | Response OnClick () id:Response_ListHistoricalSalesOrders_MenuNew_OnClick |
| | | { |
| | | #keys: '[414382.0.394390488]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListHistoricalSalesOrders/Responsedef_ListHistoricalSalesOrders_WebMenu_OnClick |
| | | Initiator: 'MenuNew' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogHistoricalSalesOrders ); |
| | | |
| | | dlg.dropDownStringListProductID().Strings( HistoricalSalesOrder::GetProductIdString( MacroPlan,"") ); |
| | | info( HistoricalSalesOrder::GetProductIdString( MacroPlan,"") ); |
| | | dlg.dropDownStringListCustomer().Strings( HistoricalSalesOrder::GetCustomerString( MacroPlan,"")); |
| | | dlg.dropDownStringListSalesSegmentName().Strings( HistoricalSalesOrder::GetSalesSegmentString( MacroPlan,"")); |
| | | dlg.dropDownStringListStockPointID().Strings( HistoricalSalesOrder::GetStockingPointString( MacroPlan,"")); |
| | | dlg.dropDownStringListUnitOfMeasureName().Strings( HistoricalSalesOrder::GetUnitOfMeasuresString( MacroPlan,"")); |
| | | |
| | | dlg.New( MacroPlan ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormHistoricalSalesOrders |
| | | { |
| | | #keys: '[414382.0.386940324]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListHistoricalSalesOrders |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Historical Sales Orders' |
| | | ] |
| | | } |
| | |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.connection=dbodbc1 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.maxcolumnnamelength=0 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.maxtablenamelength=0 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.parameters=/datasource=otd /owner=OTD /chardatatypeforstring /characterencoding=UTF-8 /appdatatypeforstring=wchar |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.password=1 A205E2668CFBD9365E030C36BB0A4297 730524bf-f9c9-426f-94a0-953687be1178 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.parameters=/datasource=tzinfo2 /owner=YUXTEST/chardatatypeforstring /characterencoding=UTF-8 /appdatatypeforstring=wchar |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.oracle.password=1 A0433953E05B9AAC375D151F13BB92C8 367057c5-12bf-424c-a6cf-a24ca4090210 |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel=template:domainmodel.ediremotedatasourcedefinition |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel.connection= |
| | | domainmodel.ediremotedatasourcedefinition.remotestorage.outputcampaignsfrommodel.parameters= |