Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lhj
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 FilllingCapacityOrderScheme_FillingCapacityOrder_FillingCapacityOrder_FilllingCapacityOrderScheme |
| | | { |
| | | #keys: '1[414382.0.424779922]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide FillingCapacityOrder |
| | | { |
| | | #keys: '3[414382.0.424779924][414382.0.424779923][414382.0.424779925]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: FilllingCapacityOrderScheme |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide FilllingCapacityOrderScheme |
| | | { |
| | | #keys: '3[414382.0.424779927][414382.0.424779926][414382.0.424779928]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: FillingCapacityOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation FilllingCapacityOrderScheme_MacroPlan_MacroPlan_FilllingCapacityOrderScheme |
| | | { |
| | | #keys: '1[414382.0.424779906]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.424779908][414382.0.424779907][414382.0.424779909]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: FilllingCapacityOrderScheme |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide FilllingCapacityOrderScheme |
| | | { |
| | | #keys: '3[414382.0.424779911][414382.0.424779910][414382.0.424779912]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation HistoricalFillingCapacityOrder_MacroPlan_MacroPlan_HistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '1[414382.0.440654894]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414382.0.440654896][414382.0.440654895][414382.0.440654897]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: HistoricalFillingCapacityOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide HistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '3[414382.0.440654899][414382.0.440654898][414382.0.440654900]' |
| | | 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.FillingCapacityOrder(relnew,ProductID := data.ProductID(),BusinessType := data.BusinessType(),Customer := data.Customer(),CustomerID := data.CustomerID(), |
| | | Quantity := data.Quantity(),UnitOfMeasureName := data.UnitOfMeasureName(),PanelBigSheetQuantity := data.PanelBigSheetQuantity(),SalesAmount := data.SalesAmount(), |
| | | ForecastDemandDate := data.ForecastDemandDate(),DemandDate := data.DemandDate(),VerNo := data.VerNo() |
| | | ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 IsFilling |
| | | { |
| | | #keys: '3[414382.0.419264586][414382.0.419264585][414382.0.419264587]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 SchemeName |
| | | { |
| | | #keys: '3[414382.0.424779892][414382.0.424779891][414382.0.424779893]' |
| | | 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 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | ISOValue: 'false' |
| | | TargetAttribute: IsFilling |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.424779940][414382.0.424779939][414382.0.424779941]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.424779948][414382.0.424779947][414382.0.424779949]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.424779952][414382.0.424779951][414382.0.424779953]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsRelease |
| | | { |
| | | #keys: '3[414382.0.428376803][414382.0.428376802][414382.0.428376804]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414382.0.424779944][414382.0.424779943][414382.0.424779945]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SchemeDate |
| | | { |
| | | #keys: '3[414382.0.424779957][414382.0.424779956][414382.0.424779958]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SchemeName |
| | | { |
| | | #keys: '3[414382.0.424779936][414382.0.424779935][414382.0.424779937]' |
| | | 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: SalesSegmentName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SchemeName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateFillingCapacityOrderScheme ( |
| | | MacroPlan owner, |
| | | String schemeName |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-14-2023 (created) |
| | | |
| | | fillingCapacityOrders := selectset( owner,FillingCapacityOrder,fillingOrder, |
| | | not fillingOrder.IsFilling() |
| | | ); |
| | | |
| | | // customer |
| | | customerList := selectvalues( fillingCapacityOrders,Elements,e, |
| | | e.Customer()); |
| | | customer := customerList.Concatenate( ",") |
| | | |
| | | // customerID |
| | | customerIDList := selectvalues( fillingCapacityOrders,Elements,e, |
| | | e.CustomerID()); |
| | | customerID := customerIDList.Concatenate( ",") |
| | | |
| | | // businessType |
| | | businessTypeList := selectvalues( fillingCapacityOrders,Elements,e, |
| | | e.BusinessType()); |
| | | businessType := businessTypeList.Concatenate( ",") |
| | | |
| | | // salesSegmentName |
| | | salesSegmentNameList := selectvalues( fillingCapacityOrders,Elements,e, |
| | | e.SalesSegmentName()); |
| | | salesSegmentName := salesSegmentNameList.Concatenate( ",") |
| | | |
| | | schemeDate := Date::Today(); |
| | | |
| | | filllingCapacityOrderScheme := owner.FilllingCapacityOrderScheme(relnew,SchemeName := schemeName,SchemeDate := schemeDate,BusinessType := businessType,Customer := customer,CustomerID := customerID, |
| | | SalesSegmentName := salesSegmentName); |
| | | |
| | | traverse( fillingCapacityOrders,Elements,e) |
| | | { |
| | | e.SchemeName(schemeName); |
| | | e.IsFilling(true); |
| | | filllingCapacityOrderScheme.FillingCapacityOrder(relinsert, e); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetFillingSchemeDetails ( |
| | | MacroPlan owner, |
| | | String schemeName |
| | | ) as owning FillingCapacityOrders |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-14-2023 (created) |
| | | |
| | | |
| | | return selectset( owner,FillingCapacityOrder,order, |
| | | order.SchemeName() = schemeName); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReleaseFillingScheme ( |
| | | MacroPlan owner, |
| | | FilllingCapacityOrderScheme scheme |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // NBoTk Sep-14-2023 (created) |
| | | |
| | | traverse( scheme,FillingCapacityOrder,order) |
| | | { |
| | | owner.HistoricalFillingCapacityOrder(relnew,BusinessType := order.BusinessType(),Customer := order.Customer(),CustomerID := order.CustomerID(), |
| | | OrderDate := order.OrderDate(),OrderID := "",OrderType := "", |
| | | ProductID := order.ProductID(),Quantity := order.Quantity(),SalesAmount := order.SalesAmount(), |
| | | StockingPointID := order.StockingPointID(),UnitOfMeasureName := order.UnitOfMeasureName(), |
| | | VerNo := order.VerNo() |
| | | ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type FilllingCapacityOrderScheme |
| | | { |
| | | #keys: '5[414382.0.424779903][414382.0.424779901][0.0.0][414382.0.424779902][414382.0.424779904]' |
| | | BaseType: Object |
| | | StructuredName: 'FilllingCapacityOrderSchemes' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414382.0.440654932][414382.0.440654931][414382.0.440654933]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Customer |
| | | { |
| | | #keys: '3[414382.0.440654949][414382.0.440654948][414382.0.440654950]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414382.0.440654952][414382.0.440654951][414382.0.440654953]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FillingType |
| | | { |
| | | #keys: '3[414382.0.440654936][414382.0.440654935][414382.0.440654937]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ForecastDemandDate |
| | | { |
| | | #keys: '3[414382.0.440654980][414382.0.440654979][414382.0.440654981]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderDate |
| | | { |
| | | #keys: '3[414382.0.440654925][414382.0.440654924][414382.0.440654926]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[414382.0.440654912][414382.0.440654911][414382.0.440654913]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderType |
| | | { |
| | | #keys: '3[414382.0.440654922][414382.0.440654921][414382.0.440654923]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414382.0.440654928][414382.0.440654927][414382.0.440654929]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID0 |
| | | { |
| | | #keys: '3[414382.0.440654946][414382.0.440654945][414382.0.440654947]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProfitabilityLevel |
| | | { |
| | | #keys: '3[414382.0.440654985][414382.0.440654984][414382.0.440654986]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414382.0.440654966][414382.0.440654965][414382.0.440654967]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RewindsQuantityToReduced |
| | | { |
| | | #keys: '3[414382.0.440654956][414382.0.440654955][414382.0.440654957]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesAmount |
| | | { |
| | | #keys: '3[414382.0.440654976][414382.0.440654975][414382.0.440654977]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414382.0.440730114][414382.0.440730113][414382.0.440730115]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414382.0.440654973][414382.0.440654972][414382.0.440654974]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute VerNo |
| | | { |
| | | #keys: '3[414382.0.440654908][414382.0.440654907][414382.0.440654909]' |
| | | 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: OrderType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID0 |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: StockingPointID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type HistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '5[414382.0.440654891][414382.0.440654889][0.0.0][414382.0.440654890][414382.0.440654892]' |
| | | BaseType: Object |
| | | StructuredName: 'HistoricalFillingCapacityOrders' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 ActionBarGroupSalesViews #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component ButtonSalesFillingCapacity |
| | | { |
| | | #keys: '[414382.0.436830247]' |
| | | BaseType: 'WebButton' |
| | | Children: |
| | | [ |
| | | #child: ContextMenuSalesFillingCapacity |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'BLOT' |
| | | Label: '填产' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarPageSales #extension |
| | | { |
| | | Children: |
| | | [ |
| | | #child: ActionBarGroupSalesViews |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ContextMenuSalesFillingCapacity |
| | | { |
| | | #keys: '[414382.0.437003283]' |
| | | BaseType: 'WebContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuSalesFillingCapacity |
| | | { |
| | | #keys: '[414382.0.437003284]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ELEMENT_BLUE' |
| | | Taborder: 0 |
| | | Title: 'Filling Capacity Scheme List' |
| | | Tooltip: 'Filling Capacity Scheme List' |
| | | ] |
| | | } |
| | | Component MenuSalesFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.436840646]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'ELEMENT_ORANGE' |
| | | Taborder: 1 |
| | | Title: '填产åå²è®¢åå表' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ContextMenuSalesFillingCapacity/MenuSalesFillingCapacity |
| | | Response OnClick () id:Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingCapacity_OnClick |
| | | { |
| | | #keys: '[414382.0.437390498]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Open view |
| | | //ApplicationMacroPlanner.OpenView( 'Filling Capacity Scheme List',ButtonSalesFillingCapacity); |
| | | ApplicationMacroPlanner.OpenView( 'View Sales Segments', ButtonSalesFillingCapacity ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ContextMenuSalesFillingCapacity/MenuSalesFillingSchemeDetail |
| | | Response OnClick () id:Response_TIANMA_JITUAN_ContextMenuSalesFillingCapacity_MenuSalesFillingSchemeDetail_OnClick |
| | | { |
| | | #keys: '[414382.0.439022595]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Open view |
| | | //ApplicationMacroPlanner.OpenView( "FillingCapacitySchemeList",ButtonSalesFillingCapacity); |
| | | ApplicationMacroPlanner.OpenViewAndFocusButton( "FillingCapacitySchemeList"); |
| | | //Application.OpenForm( "FormFillingScheme"); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | Children: |
| | | [ |
| | | #child: ActionBarPageData |
| | | #child: ActionBarPageSales |
| | | ] |
| | | } |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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(); |
| | | |
| | | fillingData := DataHolderFilling.Data(); |
| | | |
| | | CustomerAndForecastOrder::CreateFillingCapacityOrder( MacroPlan, fillingData.WrappedInstance()); |
| | | |
| | | //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: |
| | | [* |
| | | Form.ClickBtnOk(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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[FillingCapacityOrder]*' |
| | | 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.423200498]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[414382.0.423200502]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Save' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[414382.0.423200504]' |
| | | 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.423200496]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component efSchemeName |
| | | { |
| | | #keys: '[414382.0.424860819]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'Scheme Name' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OpenScheme () id:Method_DialogFillingOrderScheme_OpenScheme |
| | | { |
| | | #keys: '[414382.0.424440675]' |
| | | Body: |
| | | [* |
| | | ApplicationMacroPlanner.ShowFormModal( this ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[414382.0.423200508]' |
| | | 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.423200507]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.ApplyChanges(); |
| | | |
| | | schemeName := DialogFillingOrderScheme.efSchemeName().Text(); |
| | | |
| | | FilllingCapacityOrderScheme::CreateFillingCapacityOrderScheme( MacroPlan,schemeName); |
| | | |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogFillingOrderScheme |
| | | { |
| | | #keys: '[414382.0.423200494]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | Component DataHolderFillingScheme |
| | | { |
| | | #keys: '[414382.0.424891357]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'FillingCapacityOrder' |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Padding: 'false' |
| | | Title: 'Save Scheme' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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' |
| | | FixedFilter: 'not object.IsFilling()' |
| | | 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: |
| | | [* |
| | | dlg := construct( DialogFillingOrderScheme ); |
| | | dlg.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 ListFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111695]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111696]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[FillingCapacityOrder]' |
| | | Source: 'DataHolderFillingSchemeDetails' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | #child: listActionBarPageFillingSchemeDetail |
| | | Component DataSetLevelFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111701]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuFillingSchemeDetail |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"VerNo","title":"VerNo","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"VerNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}}]' |
| | | ContextMenu: 'listContextMenuFillingSchemeDetail' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111698]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.434111703]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormFillingSchemeDetail |
| | | { |
| | | #keys: '[414382.0.424331085]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListFillingSchemeDetail |
| | | Component DataHolderFillingSchemeDetails id:DataHolderFillingSchemeDetails_71 |
| | | { |
| | | #keys: '[414382.0.438570912]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[FillingCapacityOrder]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractorFillingSchemeDetails |
| | | { |
| | | #keys: '[414382.0.438691291]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'structured[FillingCapacityOrder]' |
| | | Source: 'FormFillingScheme.DataHolderFillingScheme' |
| | | Taborder: 0 |
| | | Transformation: 'Elements' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Filling Capacity Orders' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740609]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | #child: listActionBarPageCustomerAndFillingCapacityOrder |
| | | Component DataExtractorCustomerAndFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.413740610]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'CustomerAndForecastOrder' |
| | | ] |
| | | } |
| | | 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 ListFillingScheme |
| | | { |
| | | #keys: '[414382.0.426811656]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorFillingScheme |
| | | { |
| | | #keys: '[414382.0.426811657]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'FilllingCapacityOrderScheme' |
| | | ] |
| | | } |
| | | #child: listActionBarPageFillingScheme |
| | | Component DataSetLevelFillingScheme |
| | | { |
| | | #keys: '[414382.0.426811662]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: Menurelease |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeName","title":"SchemeName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeName"}},{"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":"Customer","title":"Customer","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Customer"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SchemeDate","title":"SchemeDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SchemeDate"}}]' |
| | | ContextMenu: 'Menurelease' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListFillingScheme_WebMenu_OnClick |
| | | { |
| | | #keys: '[414382.0.428592707]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[1143.0.45315951]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Menurelease |
| | | { |
| | | #keys: '[414382.0.426811664]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuRelease |
| | | { |
| | | #keys: '[414382.0.428743342]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Title: 'Release' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageFillingScheme |
| | | { |
| | | #keys: '[414382.0.426811659]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingScheme |
| | | Response OnClick ( |
| | | FilllingCapacityOrderScheme selection |
| | | ) id:Response_ListFillingScheme_MenuRelease_OnClick |
| | | { |
| | | #keys: '[414382.0.428592726]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListFillingScheme/Responsedef_ListFillingScheme_WebMenu_OnClick |
| | | Initiator: 'MenuRelease' |
| | | Precondition: |
| | | [* |
| | | not selection.IsRelease(); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.IsRelease(true); |
| | | FilllingCapacityOrderScheme::ReleaseFillingScheme( MacroPlan,selection); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListFillingScheme |
| | | Response OnClick ( |
| | | FilllingCapacityOrderScheme selection |
| | | ) id:Response_ListFillingScheme_OnClick |
| | | { |
| | | #keys: '[414382.0.426812119]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | schemeName := selection.SchemeName(); |
| | | info( "schemeName : " + schemeName ); |
| | | list := selectset( MacroPlan,FillingCapacityOrder,order,order.SchemeName() = selection.SchemeName()); |
| | | |
| | | traverse( list,Elements,e) |
| | | { |
| | | info( e.SchemeName() ); |
| | | } |
| | | |
| | | DataHolderFillingScheme.Data(&list); |
| | | holderlist := DataHolderFillingScheme.Data(); |
| | | traverse( holderlist,Elements,e) |
| | | { |
| | | info( e.SchemeName() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormFillingScheme |
| | | { |
| | | #keys: '[414382.0.426331772]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListFillingScheme |
| | | Component DataHolderFillingScheme |
| | | { |
| | | #keys: '[414382.0.437300526]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[FillingCapacityOrder]*' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.442221219]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.442221220]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'HistoricalFillingCapacityOrder' |
| | | ] |
| | | } |
| | | #child: listActionBarPageHistoricalFillingCapacityOrder |
| | | Component DataSetLevelHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.442221225]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuHistoricalFillingCapacityOrder |
| | | ] |
| | | 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":"OrderType","title":"OrderType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FillingType","title":"FillingType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FillingType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"BusinessType","title":"BusinessType","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"BusinessType"}},{"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":"RewindsQuantityToReduced","title":"RewindsQuantityToReduced","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"RewindsQuantityToReduced"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UnitOfMeasureName","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesAmount","title":"SalesAmount","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesAmount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderDate","title":"OrderDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDemandDate","title":"ForecastDemandDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ForecastDemandDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProfitabilityLevel","title":"ProfitabilityLevel","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProfitabilityLevel"}}]' |
| | | ContextMenu: 'listContextMenuHistoricalFillingCapacityOrder' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.442221222]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.442221227]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormHistoricalFillingCapacityOrder |
| | | { |
| | | #keys: '[414382.0.441950653]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: ListHistoricalFillingCapacityOrder |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormFillingScheme |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormFillingScheme' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormFillingScheme' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 6 |
| | | columnPosition: 1 |
| | | columnSpan: 4 |
| | | } |
| | | components |
| | | { |
| | | FormFillingScheme_ListFillingScheme |
| | | { |
| | | } |
| | | FormFillingScheme_DataSetLevelFillingScheme |
| | | { |
| | | groupDepth: -1 |
| | | column_SchemeName |
| | | { |
| | | columnId: 'SchemeName' |
| | | dataPath: 'SchemeName' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_BusinessType |
| | | { |
| | | columnId: 'BusinessType' |
| | | dataPath: 'BusinessType' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_SalesSegmentName |
| | | { |
| | | columnId: 'SalesSegmentName' |
| | | dataPath: 'SalesSegmentName' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_Customer |
| | | { |
| | | columnId: 'Customer' |
| | | dataPath: 'Customer' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_SchemeDate |
| | | { |
| | | columnId: 'SchemeDate' |
| | | dataPath: 'SchemeDate' |
| | | dataType: 'date' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormFillingSchemeDetail |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormFillingSchemeDetail' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormFillingSchemeDetail' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 6 |
| | | columnPosition: 5 |
| | | columnSpan: 4 |
| | | } |
| | | components |
| | | { |
| | | FormFillingSchemeDetail_ListFillingSchemeDetail |
| | | { |
| | | } |
| | | FormFillingSchemeDetail_DataSetLevelFillingSchemeDetail |
| | | { |
| | | groupDepth: -1 |
| | | column_VerNo |
| | | { |
| | | columnId: 'VerNo' |
| | | dataPath: 'VerNo' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_BusinessType |
| | | { |
| | | columnId: 'BusinessType' |
| | | dataPath: 'BusinessType' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormPriorities |
| | | { |
| | | title: 'Priorities' |
| | | shown: true |
| | | componentID: 'FormPriorities' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 0 |
| | | } |
| | | components |
| | | { |
| | | FormPriorities_ListPriority |
| | | { |
| | | } |
| | | FormPriorities_DataSetLevelPriority |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 33 |
| | | } |
| | | column_ImgHasSalesDemand |
| | | { |
| | | columnId: 'ImgHasSalesDemand' |
| | | dataPath: 'ImgHasSalesDemand' |
| | | dataType: 'string' |
| | | title: 'ImgHasSalesDemand' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 30 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'åç§°' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | column_Weight |
| | | { |
| | | columnId: 'Weight' |
| | | dataPath: 'Weight' |
| | | dataType: 'real' |
| | | title: 'æé' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 95 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | image: '' |
| | | page: '' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'å¡«äº§æ¹æ¡å表' |
| | | name: 'FillingCapacitySchemeList' |
| | | isglobal: false |
| | | isroot: true |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | } |
| | | formatversion: 2 |
| | | id: 'å¡«äº§æ¹æ¡å表' |
| | | name: 'FillingCapacitySchemeList' |
| | | isglobal: false |
| | | isroot: false |
| | | } |