合并订单拆行Merge branch 'dev_cyy20231026'
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_DT_CustomOrder_Child_S_DT_CustomOrder_Parent |
| | | { |
| | | #keys: '1[414724.0.301487674]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Child |
| | | { |
| | | #keys: '3[414724.0.301487676][414724.0.301487675][414724.0.301487677]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_DT_CustomOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Parent |
| | | { |
| | | #keys: '3[414724.0.301487679][414724.0.301487678][414724.0.301487680]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: S_DT_CustomOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_DT_CustomOrder_MacroPlan_MacroPlan_S_DT_CustomOrder |
| | | { |
| | | #keys: '1[414724.0.292616032]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414724.0.292616034][414724.0.292616033][414724.0.292616035]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_DT_CustomOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide S_DT_CustomOrder |
| | | { |
| | | #keys: '3[414724.0.292616037][414724.0.292616036][414724.0.292616038]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_DT_OrderSpliteRow_MacroPlan_MacroPlan_S_DT_OrderSpliteRow |
| | | { |
| | | #keys: '1[414724.0.289871273]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414724.0.289871275][414724.0.289871274][414724.0.289871276]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_DT_OrderSpliteRow |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide S_DT_OrderSpliteRow |
| | | { |
| | | #keys: '3[414724.0.289871278][414724.0.289871277][414724.0.289871279]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_DT_OrderSpliteRow_S_DT_CustomOrder_S_DT_CustomOrder_S_DT_OrderSpliteRow |
| | | { |
| | | #keys: '1[414724.0.292600485]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide S_DT_CustomOrder |
| | | { |
| | | #keys: '3[414724.0.292600487][414724.0.292600486][414724.0.292600488]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_DT_OrderSpliteRow |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide S_DT_OrderSpliteRow |
| | | { |
| | | #keys: '3[414724.0.292600490][414724.0.292600489][414724.0.292600491]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: S_DT_CustomOrder |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_DT_SpliteStruct_MacroPlan_MacroPlan_S_DT_SpliteStruct |
| | | { |
| | | #keys: '1[414724.0.291485612]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414724.0.291485614][414724.0.291485613][414724.0.291485615]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_DT_SpliteStruct |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide S_DT_SpliteStruct |
| | | { |
| | | #keys: '3[414724.0.291485617][414724.0.291485616][414724.0.291485618]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation S_FunctionClass_MacroPlan_MacroPlan_S_FunctionClass |
| | | { |
| | | #keys: '1[414724.0.288796777]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[414724.0.288796779][414724.0.288796778][414724.0.288796780]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: S_FunctionClass |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide S_FunctionClass |
| | | { |
| | | #keys: '3[414724.0.288796782][414724.0.288796781][414724.0.288796783]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute BusinessType |
| | | { |
| | | #keys: '3[414724.0.292616049][414724.0.292616048][414724.0.292616050]' |
| | | Description: 'äºä¸é¨' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CurrencyID |
| | | { |
| | | #keys: '3[414724.0.292600064][414724.0.292600063][414724.0.292600065]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerID |
| | | { |
| | | #keys: '3[414724.0.292600051][414724.0.292600050][414724.0.292600052]' |
| | | Description: 'CustomerID' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerName |
| | | { |
| | | #keys: '3[414724.0.292600074][414724.0.292600073][414724.0.292600075]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute CustomerPolicy |
| | | { |
| | | #keys: '3[414724.0.292600039][414724.0.292600038][414724.0.292600040]' |
| | | Description: '客æ·çç¥' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DefaultUOMConversionFactor |
| | | { |
| | | #keys: '3[414724.0.292600084][414724.0.292600083][414724.0.292600085]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DemandUncertaintyPercentage |
| | | { |
| | | #keys: '3[414724.0.292600099][414724.0.292600098][414724.0.292600100]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute DerivedPriorityName |
| | | { |
| | | #keys: '3[414724.0.292600109][414724.0.292600108][414724.0.292600110]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[414724.0.292600119][414724.0.292600118][414724.0.292600120]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ExpectedQuantity |
| | | { |
| | | #keys: '3[414724.0.292600129][414724.0.292600128][414724.0.292600130]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FulfilledQuantity |
| | | { |
| | | #keys: '3[414724.0.292600139][414724.0.292600138][414724.0.292600140]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute HasPostponedSalesDemand |
| | | { |
| | | #keys: '3[414724.0.292600152][414724.0.292600151][414724.0.292600153]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute HasValidConversionFactor |
| | | { |
| | | #keys: '3[414724.0.292600162][414724.0.292600161][414724.0.292600163]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414724.0.292600172][414724.0.292600171][414724.0.292600173]' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID_SpliteStruct |
| | | { |
| | | #keys: '3[414724.0.314769076][414724.0.314769075][414724.0.314769077]' |
| | | Description: 'S_DT_SpliteStruct表ID' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsAvailable |
| | | { |
| | | #keys: '3[414724.0.292600045][414724.0.292600044][414724.0.292600046]' |
| | | Description: 'è®¢åæ¯å¦åä¸è®¡å' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsEligibleForNetting |
| | | { |
| | | #keys: '3[414724.0.292600182][414724.0.292600181][414724.0.292600183]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsExcludedFromFulfillmentKPI |
| | | { |
| | | #keys: '3[414724.0.292600192][414724.0.292600191][414724.0.292600193]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsExcludedFromFulfillmentKPIUser |
| | | { |
| | | #keys: '3[414724.0.292600202][414724.0.292600201][414724.0.292600203]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsFirmed |
| | | { |
| | | #keys: '3[414724.0.292600212][414724.0.292600211][414724.0.292600213]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsLeaf |
| | | { |
| | | #keys: '3[414724.0.292600222][414724.0.292600221][414724.0.292600223]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsLocked |
| | | { |
| | | #keys: '3[414724.0.292600232][414724.0.292600231][414724.0.292600233]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsManuallyConfigured |
| | | { |
| | | #keys: '3[414724.0.292600242][414724.0.292600241][414724.0.292600243]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsPostponed |
| | | { |
| | | #keys: '3[414724.0.292600252][414724.0.292600251][414724.0.292600253]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsSoftDeleted |
| | | { |
| | | #keys: '3[414724.0.292600262][414724.0.292600261][414724.0.292600263]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsValidData |
| | | { |
| | | #keys: '3[414724.0.292600272][414724.0.292600271][414724.0.292600273]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModify |
| | | { |
| | | #keys: '3[414724.0.292600033][414724.0.292600032][414724.0.292600034]' |
| | | Description: 'æåä¿®æ¹äºº' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute LastModifyTime |
| | | { |
| | | #keys: '3[414724.0.292600021][414724.0.292600020][414724.0.292600022]' |
| | | Description: 'æåæä½æ¶é´' |
| | | ValueType: DateTime |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[414724.0.292600282][414724.0.292600281][414724.0.292600283]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderLineID |
| | | { |
| | | #keys: '3[414724.0.292600292][414724.0.292600291][414724.0.292600293]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderTag |
| | | { |
| | | #keys: '3[414724.0.292600042][414724.0.292600041][414724.0.292600043]' |
| | | Description: '订åç¶æï¼å²ååèµå¼ï¼çº¯é¢æµ,æé¢æµï¼æ 颿µï¼åç¾ï¼ææ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderTime |
| | | { |
| | | #keys: '3[414724.0.292600024][414724.0.292600023][414724.0.292600025]' |
| | | Description: '订åä¸åæ¶é´' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderType |
| | | { |
| | | #keys: '3[414724.0.292600018][414724.0.292600017][414724.0.292600019]' |
| | | Description: '订åç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OutsideOfPlanningHorizonQuantity |
| | | { |
| | | #keys: '3[414724.0.292600302][414724.0.292600301][414724.0.292600303]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PISPConversionFactor |
| | | { |
| | | #keys: '3[414724.0.292600312][414724.0.292600311][414724.0.292600313]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ParentID |
| | | { |
| | | #keys: '3[414724.0.301487657][414724.0.301487656][414724.0.301487658]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Price |
| | | { |
| | | #keys: '3[414724.0.292600322][414724.0.292600321][414724.0.292600323]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriceUoM |
| | | { |
| | | #keys: '3[414724.0.292600332][414724.0.292600331][414724.0.292600333]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute PriorityName |
| | | { |
| | | #keys: '3[414724.0.292600342][414724.0.292600341][414724.0.292600343]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductGrade |
| | | { |
| | | #keys: '3[414724.0.292600036][414724.0.292600035][414724.0.292600037]' |
| | | Description: '产åç级' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[414724.0.292600352][414724.0.292600351][414724.0.292600353]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[414724.0.292600368][414724.0.292600367][414724.0.292600369]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute QuantityInDefaultUoM |
| | | { |
| | | #keys: '3[414724.0.292600378][414724.0.292600377][414724.0.292600379]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute QuantityPerDay |
| | | { |
| | | #keys: '3[414724.0.292600388][414724.0.292600387][414724.0.292600389]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesDemandConversionFactor |
| | | { |
| | | #keys: '3[414724.0.292600398][414724.0.292600397][414724.0.292600399]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SalesSegmentName |
| | | { |
| | | #keys: '3[414724.0.292600408][414724.0.292600407][414724.0.292600409]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SanityCheckDataMostSevere |
| | | { |
| | | #keys: '3[414724.0.292600416][414724.0.292600415][414724.0.292600417]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SanityCheckDataMostSevereCount |
| | | { |
| | | #keys: '3[414724.0.292600426][414724.0.292600425][414724.0.292600427]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SanityCheckDataTotalViolationCount |
| | | { |
| | | #keys: '3[414724.0.292600436][414724.0.292600435][414724.0.292600437]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SegmentPriority |
| | | { |
| | | #keys: '3[414724.0.292600030][414724.0.292600029][414724.0.292600031]' |
| | | Description: 'ç»åå¸åºä¼å
级' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SheetProfitability |
| | | { |
| | | #keys: '3[414724.0.292600027][414724.0.292600026][414724.0.292600028]' |
| | | Description: 'å¤§å¼ ç婿°´å¹³' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SplitCount |
| | | { |
| | | #keys: '3[414724.0.297907220][414724.0.297907219][414724.0.297907221]' |
| | | Description: 'æè¡è¡æ°' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SpliteReason |
| | | { |
| | | #keys: '3[414724.0.297907210][414724.0.297907209][414724.0.297907211]' |
| | | Description: 'æè¡åå ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SpliteRenmain |
| | | { |
| | | #keys: '3[414724.0.297907230][414724.0.297907229][414724.0.297907231]' |
| | | Description: 'æè¡å©ä½é' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[414724.0.292600446][414724.0.292600445][414724.0.292600447]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Status_Splite |
| | | { |
| | | #keys: '3[414724.0.297907200][414724.0.297907199][414724.0.297907201]' |
| | | Description: 'æè¡ç¶æï¼æªæè¡ï¼å·²æè¡' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414724.0.292600456][414724.0.292600455][414724.0.292600457]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute UnitOfMeasureName |
| | | { |
| | | #keys: '3[414724.0.292600466][414724.0.292600465][414724.0.292600467]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Variance |
| | | { |
| | | #keys: '3[414724.0.292600476][414724.0.292600475][414724.0.292600477]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DeclarativeTypeIndexRelation CalcChild |
| | | { |
| | | #keys: '1[414724.0.314769003]' |
| | | Relation: Child |
| | | TypeIndex: PrimaryKey_ID |
| | | TypeIndexExpressions: |
| | | [ |
| | | DeclarativeRelationTypeIndexExpression |
| | | { |
| | | #keys: '1[414724.0.314769004]' |
| | | TypeIndexExpression: 'this.ParentID()' |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: BusinessType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: CustomerPolicy |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: LastModify |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderTag |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: OrderType |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductGrade |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SegmentPriority |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: SheetProfitability |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | TypeIndex PrimaryKey_ID |
| | | { |
| | | Attributes: |
| | | [ |
| | | TypeIndexAttribute |
| | | { |
| | | ModelElement: ID |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type S_DT_CustomOrder |
| | | { |
| | | #keys: '5[414724.0.292616028][414724.0.292616026][0.0.0][414724.0.292616027][414724.0.292616029]' |
| | | BaseType: Object |
| | | Description: '颿è¡è®¢å' |
| | | StructuredName: 'S_DT_CustomOrders' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute NewAttribute |
| | | { |
| | | #keys: '3[414724.0.289871335][414724.0.289871334][414724.0.289871336]' |
| | | ValueType: BinaryValue |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type S_DT_OrderSpliteRow |
| | | { |
| | | #keys: '5[414724.0.289871270][414724.0.289871268][0.0.0][414724.0.289871269][414724.0.289871271]' |
| | | BaseType: Object |
| | | Description: '颿è¡è®¢å' |
| | | StructuredName: 'S_DT_OrderSpliteRows' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ForecastDate |
| | | { |
| | | #keys: '3[414724.0.291485648][414724.0.291485647][414724.0.291485649]' |
| | | Description: 'éæ±æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[414724.0.291485698][414724.0.291485697][414724.0.291485699]' |
| | | Description: '主é®ID' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID_S_DT_CustomOrder |
| | | { |
| | | #keys: '3[414724.0.320004537][414724.0.320004536][414724.0.320004538]' |
| | | Description: 'S_DT_CustomOrder表ID,å¤é®å
³èï¼OrderIDå¨è®¢å表ä¸å¯ä¸ï¼æ æ³ä½¿ç¨ï¼' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute OrderID |
| | | { |
| | | #keys: '3[414724.0.291485665][414724.0.291485664][414724.0.291485666]' |
| | | Description: '订åID' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Qty |
| | | { |
| | | #keys: '3[414724.0.291485658][414724.0.291485657][414724.0.291485659]' |
| | | Description: 'æ°é' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute SpliteReason |
| | | { |
| | | #keys: '3[414724.0.320004525][414724.0.320004524][414724.0.320004526]' |
| | | Description: 'æååå ' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Status |
| | | { |
| | | #keys: '3[414724.0.291485678][414724.0.291485677][414724.0.291485679]' |
| | | Description: 'ç¶æï¼null/1 ææï¼0å é¤' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | ISOValue: '1' |
| | | TargetAttribute: Status |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type S_DT_SpliteStruct |
| | | { |
| | | #keys: '5[414724.0.291485609][414724.0.291485607][0.0.0][414724.0.291485608][414724.0.291485610]' |
| | | BaseType: Object |
| | | Description: 'æåç»æ' |
| | | StructuredName: 'S_DT_SpliteStructs' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod SM_OrderToSpliteOrder ( |
| | | MacroPlan Owner, |
| | | CustomerOrder OrderInfo, |
| | | String SpliteReason |
| | | ) as owning JSON |
| | | { |
| | | Description: '订åè½¬ä¸ºé¢æå订å彿°' |
| | | TextBody: |
| | | [* |
| | | /************************************订å转æ¢ä¸ºé¢æå订å****************************** |
| | | *彿°åï¼SM_OrderToSpliteOrder |
| | | *å建人ï¼yunying |
| | | *å建æ¶é´ï¼2023-10-26 |
| | | *æè¿°ï¼è®¢åæè¡ï¼å°ä¼ å
¥ç订ååå
¥é¢æå表ï¼å¹¶å¨è®¢å表ä¸å°è¯¥è®¢åç§»é¤ã |
| | | åæ¶çæå订åï¼è¥S_DT_SpliteStructåå¨ç¸å订åå·ï¼ |
| | | *----------------------------- |
| | | *åæ°ï¼Owner MacroPlan |
| | | * OrderInfo è¦è½¬ä¸ºé¢æåç订å |
| | | * SpliteReason æååå |
| | | *****************************************************************************/ |
| | | // åå§åç»æ |
| | | bStatus := false; |
| | | strMsg :=""; |
| | | // è·åçæ¬å·,è¿éæ¯å¦éè¦åçæ¬å·åè½å¯¹æ¥ |
| | | VCode :=H_FunctionClass::SM_GenerateID("VC"); |
| | | |
| | | try{ |
| | | if( not isnull( Owner)) |
| | | { |
| | | // æåè¡æ° |
| | | SplitCount := selectset( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1).Size(); |
| | | // æåæ°é |
| | | SpliteQty:= sum( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty()); |
| | | // å©ä½æ°é |
| | | UnSpliteQty:= OrderInfo.Quantity() - SpliteQty; |
| | | // ä¿ææåä¿¡æ¯ |
| | | SCustomOrder:=select( Owner,S_DT_CustomOrder,obj,obj.ID()=OrderInfo.ID()); |
| | | if( isnull( SCustomOrder)) |
| | | { |
| | | Owner.S_DT_CustomOrder(relnew,BusinessType:=OrderInfo.BusinessType() |
| | | ,CurrencyID:=OrderInfo.CurrencyID() |
| | | ,CustomerID:=OrderInfo.CustomerID() |
| | | ,CustomerName:=OrderInfo.CustomerName() |
| | | ,CustomerPolicy:=OrderInfo.CustomerPolicy() |
| | | ,DefaultUOMConversionFactor:=OrderInfo.DefaultUOMConversionFactor() |
| | | ,DemandUncertaintyPercentage:=OrderInfo.DemandUncertaintyPercentage() |
| | | ,DerivedPriorityName:=OrderInfo.DerivedPriorityName() |
| | | ,EndDate:=OrderInfo.EndDate() |
| | | ,ExpectedQuantity:=OrderInfo.ExpectedQuantity() |
| | | ,FulfilledQuantity:=OrderInfo.FulfilledQuantity() |
| | | ,HasPostponedSalesDemand:=OrderInfo.HasPostponedSalesDemand() |
| | | ,HasValidConversionFactor:=OrderInfo.HasValidConversionFactor() |
| | | ,ID:=OrderInfo.ID() |
| | | ,IsEligibleForNetting:=OrderInfo.IsEligibleForNetting() |
| | | ,IsExcludedFromFulfillmentKPI:=OrderInfo.IsExcludedFromFulfillmentKPI() |
| | | ,IsExcludedFromFulfillmentKPIUser:=OrderInfo.IsExcludedFromFulfillmentKPIUser() |
| | | ,IsFirmed:=OrderInfo.IsFirmed() |
| | | ,IsLeaf := OrderInfo.IsLeaf() |
| | | ,IsLocked:=OrderInfo.IsLocked() |
| | | ,IsAvailable := OrderInfo.IsAvailable() |
| | | ,IsManuallyConfigured:=OrderInfo.IsManuallyConfigured() |
| | | ,IsPostponed:=OrderInfo.IsPostponed() |
| | | ,IsSoftDeleted:=OrderInfo.IsSoftDeleted() |
| | | ,IsValidData:=OrderInfo.IsValidData() |
| | | ,LastModify:=OrderInfo.LastModify() |
| | | ,LastModifyTime:=OrderInfo.LastModifyTime() |
| | | ,OrderID:=OrderInfo.OrderID() |
| | | ,OrderLineID:=OrderInfo.OrderLineID() |
| | | ,OrderTag:=OrderInfo.OrderTag() |
| | | ,OrderTime:=OrderInfo.OrderTime() |
| | | ,OrderType:=OrderInfo.OrderType() |
| | | ,OutsideOfPlanningHorizonQuantity:=OrderInfo.OutsideOfPlanningHorizonQuantity() |
| | | ,PISPConversionFactor:=OrderInfo.PISPConversionFactor() |
| | | ,Price:=OrderInfo.Price() |
| | | ,PriceUoM:=OrderInfo.PriceUoM() |
| | | ,PriorityName:=OrderInfo.PriorityName() |
| | | ,ProductGrade:=OrderInfo.ProductGrade() |
| | | ,ProductID:=OrderInfo.ProductID() |
| | | ,Quantity:=OrderInfo.Quantity() |
| | | ,QuantityInDefaultUoM:=OrderInfo.QuantityInDefaultUoM() |
| | | ,QuantityPerDay:=OrderInfo.QuantityPerDay() |
| | | ,SalesDemandConversionFactor:=OrderInfo.SalesDemandConversionFactor() |
| | | ,SalesSegmentName:=OrderInfo.SalesSegmentName() |
| | | ,SanityCheckDataMostSevere:=OrderInfo.SanityCheckDataMostSevere() |
| | | ,SanityCheckDataMostSevereCount:=OrderInfo.SanityCheckDataMostSevereCount() |
| | | ,SanityCheckDataTotalViolationCount:=OrderInfo.SanityCheckDataTotalViolationCount() |
| | | ,SegmentPriority:=OrderInfo.SegmentPriority() |
| | | ,SheetProfitability:=OrderInfo.SheetProfitability() |
| | | ,StartDate:=OrderInfo.StartDate() |
| | | ,StockingPointID:=OrderInfo.StockingPointID() |
| | | ,UnitOfMeasureName:=OrderInfo.UnitOfMeasureName() |
| | | ,SplitCount := SplitCount |
| | | ,SpliteRenmain := UnSpliteQty); |
| | | } |
| | | else |
| | | { |
| | | SCustomOrder.SplitCount(SplitCount); |
| | | SCustomOrder.SpliteRenmain(UnSpliteQty); |
| | | } |
| | | OId:=0; |
| | | NewID:=""; |
| | | SpliteOrderInfo :=null( S_DT_CustomOrder,constcontent ); |
| | | // çæå订å |
| | | traverse( Owner,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID()) |
| | | { |
| | | OId:=OId+1; |
| | | // å¾å°å¯¹åºçå·²æå订å |
| | | SpliteOrderInfo := select( Owner,S_DT_CustomOrder,objSO,objSO.ID_SpliteStruct()=obj.ID()); |
| | | // æå被å é¤ï¼å°å·²ç»ä¿æçæå订åè·éå é¤ |
| | | if(obj.Status()=0) |
| | | { |
| | | if(not isnull( SpliteOrderInfo)) |
| | | { |
| | | SpliteOrderInfo.Delete(); |
| | | } |
| | | obj.Delete(); |
| | | } |
| | | else |
| | | { |
| | | // ä¿åæ°å¢çæå |
| | | if(isnull( SpliteOrderInfo)) |
| | | { |
| | | NewID:=OrderInfo.ID()+"_"+OId.AsQUILL()+"_"+DateTime::ActualGMTTime().Format( "hms"); |
| | | Owner.S_DT_CustomOrder(relnew,BusinessType:=OrderInfo.BusinessType() |
| | | ,CurrencyID:=OrderInfo.CurrencyID() |
| | | ,CustomerID:=OrderInfo.CustomerID() |
| | | ,CustomerName:=OrderInfo.CustomerName() |
| | | ,CustomerPolicy:=OrderInfo.CustomerPolicy() |
| | | ,DefaultUOMConversionFactor:=OrderInfo.DefaultUOMConversionFactor() |
| | | ,DemandUncertaintyPercentage:=OrderInfo.DemandUncertaintyPercentage() |
| | | ,DerivedPriorityName:=OrderInfo.DerivedPriorityName() |
| | | ,EndDate:=obj.ForecastDate() |
| | | ,ExpectedQuantity:=OrderInfo.ExpectedQuantity() |
| | | ,FulfilledQuantity:=OrderInfo.FulfilledQuantity() |
| | | ,HasPostponedSalesDemand:=OrderInfo.HasPostponedSalesDemand() |
| | | ,HasValidConversionFactor:=OrderInfo.HasValidConversionFactor() |
| | | ,ID:=NewID |
| | | ,IsEligibleForNetting:=OrderInfo.IsEligibleForNetting() |
| | | ,IsExcludedFromFulfillmentKPI:=OrderInfo.IsExcludedFromFulfillmentKPI() |
| | | ,IsExcludedFromFulfillmentKPIUser:=OrderInfo.IsExcludedFromFulfillmentKPIUser() |
| | | ,IsFirmed:=OrderInfo.IsFirmed() |
| | | ,IsLeaf := OrderInfo.IsLeaf() |
| | | ,IsLocked:=OrderInfo.IsLocked() |
| | | ,IsAvailable := OrderInfo.IsAvailable() |
| | | ,IsManuallyConfigured:=OrderInfo.IsManuallyConfigured() |
| | | ,IsPostponed:=OrderInfo.IsPostponed() |
| | | ,IsSoftDeleted:=OrderInfo.IsSoftDeleted() |
| | | ,IsValidData:=OrderInfo.IsValidData() |
| | | ,LastModify:=OrderInfo.LastModify() |
| | | ,LastModifyTime:=OrderInfo.LastModifyTime() |
| | | ,OrderID:=OrderInfo.OrderID() |
| | | ,OrderLineID:=OrderInfo.OrderLineID() |
| | | ,OrderTag:=OrderInfo.OrderTag() |
| | | ,OrderTime:=OrderInfo.OrderTime() |
| | | ,OrderType:=OrderInfo.OrderType() |
| | | ,OutsideOfPlanningHorizonQuantity:=OrderInfo.OutsideOfPlanningHorizonQuantity() |
| | | ,PISPConversionFactor:=OrderInfo.PISPConversionFactor() |
| | | ,Price:=OrderInfo.Price() |
| | | ,PriceUoM:=OrderInfo.PriceUoM() |
| | | ,PriorityName:=OrderInfo.PriorityName() |
| | | ,ProductGrade:=OrderInfo.ProductGrade() |
| | | ,ProductID:=OrderInfo.ProductID() |
| | | ,Quantity:=obj.Qty() |
| | | ,QuantityInDefaultUoM:=OrderInfo.QuantityInDefaultUoM() |
| | | ,QuantityPerDay:=OrderInfo.QuantityPerDay() |
| | | ,SalesDemandConversionFactor:=OrderInfo.SalesDemandConversionFactor() |
| | | ,SalesSegmentName:=OrderInfo.SalesSegmentName() |
| | | ,SanityCheckDataMostSevere:=OrderInfo.SanityCheckDataMostSevere() |
| | | ,SanityCheckDataMostSevereCount:=OrderInfo.SanityCheckDataMostSevereCount() |
| | | ,SanityCheckDataTotalViolationCount:=OrderInfo.SanityCheckDataTotalViolationCount() |
| | | ,SegmentPriority:=OrderInfo.SegmentPriority() |
| | | ,SheetProfitability:=OrderInfo.SheetProfitability() |
| | | ,StartDate:=OrderInfo.StartDate() |
| | | ,StockingPointID:=OrderInfo.StockingPointID() |
| | | ,UnitOfMeasureName:=OrderInfo.UnitOfMeasureName() |
| | | ,ParentID := OrderInfo.ID() |
| | | ,SpliteReason := obj.SpliteReason() |
| | | ,ID_SpliteStruct := obj.ID()); |
| | | } |
| | | } |
| | | } |
| | | // å é¤è®¢å |
| | | //Order:=select( Owner,SalesDemand.astype( CustomerOrder ),obj,obj.ID()=OrderInfo.ID()); |
| | | //OrderInfo.Delete(); |
| | | bStatus:=true; |
| | | strMsg:="订åï¼"+OrderInfo.OrderID()+"已转å
¥é¢æåè®°å½ï¼å¯ä½¿ç¨è¿ååè½æ¢å¤ï¼"; |
| | | } |
| | | else |
| | | { |
| | | strMsg:="åºæ¯åå§å失败ï¼è¯·éæ©åºæ¯å使ç¨è¯¥åè½ã"; |
| | | } |
| | | } |
| | | onerror |
| | | { |
| | | strMsg :="è®¾ç½®ä¸ºé¢æåè¡å¤±è´¥ï¼è¯·è系系ç»ç®¡çåï¼"; |
| | | // è®°å½é误æ¥å¿ |
| | | Owner.H_ErrorLogs(relnew,EClassName := "S_FunctionClass",EDateTime := DateTime::ActualGMTTime(),EFunctionName := "SM_OrderToSpliteOrder", |
| | | DeveloperInformation := e.DeveloperInformation(),ErrorNr := e.ErrorNr(),DetailedInformation := e.DetailedInformation(), |
| | | GeneralInformation := e.GeneralInformation()); |
| | | } |
| | | return JSON::Object().Add( "Status",bStatus) |
| | | .Add( "VersionCode",VCode) |
| | | .Add( "Msg",strMsg).Build(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type S_FunctionClass |
| | | { |
| | | #keys: '5[414724.0.288796771][414724.0.288796769][0.0.0][414724.0.288796770][414724.0.288796772]' |
| | | BaseType: Object |
| | | Description: '订åæè¡æä½ç±»' |
| | | StructuredName: 'S_FunctionClasss' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListSDIP #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component DataExtractorSDIP #extension |
| | | { |
| | | Properties: |
| | | [ |
| | | FixedFilter: 'object.ProductInStockingPoint_MP().Product_MP().IsLeaf()and isnull( object.OriginalSalesDemand() )' |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelSDIP #extension |
| | | { |
| | | Children: |
| | | [ |
| | | #child: ListSDIP |
| | | ] |
| | | } |
| | |
| | | Children: |
| | | [ |
| | | #child: PanelAllSalesDemands |
| | | #child: PanelSDIP |
| | | ] |
| | | } |
| | |
| | | Title: 'ä¿®æ¹å®¢æ·è®¢åä¼å
级å åä¿¡æ¯' |
| | | ] |
| | | } |
| | | Component MenuSpliteOrder |
| | | { |
| | | #keys: '[414724.0.284248096]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Description: '订åæè¡' |
| | | Image: 'ARROW_FORK' |
| | | Taborder: 13 |
| | | Title: 'æè¡' |
| | | ] |
| | | } |
| | | Component Menu189 |
| | | { |
| | | #keys: '[414724.0.314997570]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Separator: true |
| | | Taborder: 12 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListSalesDemands |
| | | Response OnClick ( |
| | | SalesDemandBase selection |
| | | ) id:Response_ListSalesDemands_MenuSpliteOrder_OnClick |
| | | { |
| | | #keys: '[414724.0.284211940]' |
| | | CanBindMultiple: false |
| | | DefinitionID => //FormSalesDemands/ListSalesDemands/Responsedef_ListSalesDemands_WebMenu_OnClick |
| | | Initiator: 'MenuSpliteOrder' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | data := selection.astype( CustomerOrder ); |
| | | frmOrderSplite := construct( FrmCustomOrderSpliteRow ); |
| | | frmOrderSplite.dh_Paramer_FCOS().Data( data); |
| | | frmOrderSplite.ShowModal(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel700 |
| | | { |
| | | #keys: '[414724.0.286088539]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_OK_FCOS |
| | | { |
| | | #keys: '[414724.0.286088604]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Image: 'CHECKS' |
| | | Label: 'ç¡®å®' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btn_Cancel_FCOS |
| | | { |
| | | #keys: '[414724.0.286088615]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Image: 'NAVIGATE_CROSS_ORANGE' |
| | | Label: 'åæ¶' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPage229 id:listActionBarPage229_1 |
| | | { |
| | | #keys: '[414724.0.290316538]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenu950 id:listContextMenu950_1 |
| | | { |
| | | #keys: '[414724.0.290316540]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component m_delete_list_SD |
| | | { |
| | | #keys: '[414724.0.312760935]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Description: 'å é¤-æåæç»è¡¨' |
| | | Image: 'GARBAGE' |
| | | Taborder: 3 |
| | | Title: 'å é¤' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component list_SpliteDetails id:list_SpliteDetails_136 |
| | | { |
| | | #keys: '[414724.0.290316536]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component de_splisteDetailsFCOS |
| | | { |
| | | #keys: '[414724.0.290316537]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'S_DT_SpliteStruct' |
| | | ] |
| | | } |
| | | #child: listActionBarPage229_1 |
| | | Component DataSetLevel583 |
| | | { |
| | | #keys: '[414724.0.290316539]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenu950_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDate","title":"éæ±æ¥æ","subtotals":"","tooltip":"","width":10,"display":"shown","editable":false,"attribute":"ForecastDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Qty","title":"æ°é","subtotals":"","tooltip":"","width":8,"display":"shown","editable":true,"attribute":"Qty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"æååå ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]' |
| | | ContextMenu: 'listContextMenu950' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: 'æåæç»' |
| | | MinimumRows: 6 |
| | | Taborder: 1 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_list_SpliteDetails_136_WebMenu_OnClick |
| | | { |
| | | #keys: '[414724.0.312731020]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[593.0.13413230]' |
| | | Binding: 'list_SpliteDetails.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_OperateBtns_FCOS |
| | | { |
| | | #keys: '[414724.0.286058675]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: Panel700 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | FixedSize: true |
| | | Taborder: 6 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_function_FCOS |
| | | { |
| | | #keys: '[414724.0.285282557]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_add_FCOS |
| | | { |
| | | #keys: '[414724.0.290316633]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Image: 'LINK_ADD' |
| | | Label: '颿è¡' |
| | | Taborder: 1 |
| | | Visible: false |
| | | ] |
| | | } |
| | | Component lb_OrderID_FCOS id:lb_OrderID_FCOS_652 |
| | | { |
| | | #keys: '[414724.0.290316653]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Description: '订åID' |
| | | Label: '订åå·ï¼' |
| | | Taborder: 0 |
| | | Text: '2021564445' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Border: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_spliteDetails |
| | | { |
| | | #keys: '[414724.0.294615998]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: list_SpliteDetails_136 |
| | | Component Label130 |
| | | { |
| | | #keys: '[414724.0.290316544]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'æè¡æç»ï¼' |
| | | NumberOfColumns: 0 |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 5 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_splite_info |
| | | { |
| | | #keys: '[414724.0.289968198]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ds_ForcastDate_FCOS id:ds_ForcastDate_FCOS_675 |
| | | { |
| | | #keys: '[414724.0.289968265]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'éæ±æ¶é´ï¼' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component np_Qty_FCOS id:np_Qty_FCOS_656 |
| | | { |
| | | #keys: '[414724.0.289968285]' |
| | | BaseType: 'WebNumberPicker' |
| | | Properties: |
| | | [ |
| | | Label: 'æ°éï¼' |
| | | Min: '0' |
| | | PlaceHolder: 'æ°éä¸å¤§äºè®¢åéé' |
| | | Step: 200 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component btn_splite_add |
| | | { |
| | | #keys: '[414724.0.289968313]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Image: 'DOWN_PLUS' |
| | | Label: 'æ' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel700/btn_Cancel_FCOS |
| | | Response OnClick () id:Response_Panel700_btn_Cancel_FCOS_OnClick |
| | | { |
| | | #keys: '[414724.0.294294721]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // æä½æ¢å¤ï¼å 餿°å¢çæåæä½ï¼è¿åå é¤çæåæä½ |
| | | OrderInfo:=dh_Paramer_FCOS.Data(); |
| | | if( not isnull( OrderInfo)) |
| | | { |
| | | SOrder:=null( S_DT_CustomOrder,constcontent ); |
| | | // å¾å°æææåæä½è®°å½ |
| | | traverse( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder() = OrderInfo.ID()) |
| | | { |
| | | SOrder:=select( MacroPlan,S_DT_CustomOrder,objSO,objSO.ID_SpliteStruct() = obj.ID()); |
| | | // æ 对åºçæå订åï¼è§ä¸ºæ°å¢çæä½ï¼è¿è¡ç§»é¤ |
| | | if( isnull( SOrder)) |
| | | { |
| | | obj.Delete(); |
| | | } |
| | | else |
| | | { |
| | | // å¦æç¶æä¸ºå é¤ç¶æï¼åæ¢å¤å é¤ |
| | | if( obj.Status()=0) |
| | | { |
| | | obj.Status(1); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | FrmCustomOrderSpliteRow.Close(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel700/btn_OK_FCOS |
| | | Response OnClick () id:Response_Panel700_btn_OK_FCOS_OnClick |
| | | { |
| | | #keys: '[414724.0.294747709]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // ä»è®¢åè¿å
¥æè¡ |
| | | if( not isnull( dh_Paramer_FCOS.Data())) |
| | | { |
| | | // å°è®¢åç§»é¤å¹¶æ·»å å°é¢æè¡è®¢åä¸ |
| | | JResult := S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,dh_Paramer_FCOS.Data(),ef_SpliteReason_FCOS.Text()); |
| | | if( JResult.Get( "Status").GetBoolean()) |
| | | { |
| | | // çææè¡è®¢å |
| | | FrmCustomOrderSpliteRow.Close(); |
| | | if( JResult.Get( "Msg").GetString().Length()>0) |
| | | { |
| | | WebMessageBox::Information(JResult.Get( "Msg").GetString()); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Warning(JResult.Get( "Msg").GetString()); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | // çææè¡è®¢å |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: dh_Paramer_FCOS |
| | | Response OnDataChanged () id:Response_FrmCustomOrderSpliteRow_dh_Paramer_FCOS_OnDataChanged |
| | | { |
| | | #keys: '[414724.0.285614685]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.lb_OrderID_FCOS().Text(this.Data().OrderID()); |
| | | Form.lb_CustomName_FCOS().Text(this.Data().CustomerName()); |
| | | Form.lb_OrderRowNum_FCOS().Text(this.Data().OrderLineID()); |
| | | Form.ds_ForcastDate_FCOS().Date(this.Data().EndDate()); |
| | | Form.de_splisteDetailsFCOS().FixedFilter( "object.ID_S_DT_CustomOrder() = " + this.Data().ID().AsQUILL() + "and object.Status()=1"); |
| | | HQty:=sum( MacroPlan,S_DT_SpliteStruct,Obj,Obj.ID_S_DT_CustomOrder()=this.Data().ID() and Obj.Status()=1,Obj.Qty()); |
| | | Form.np_Qty_FCOS().Max(this.Data().Quantity()-HQty); |
| | | Form.np_Qty_FCOS().Number(this.Data().Quantity()-HQty); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: dh_Paramer_SCustomOrder_FCOS |
| | | Response OnDataChanged () id:Response_FrmCustomOrderSpliteRow_dh_Paramer_SCustomOrder_FCOS_OnDataChanged |
| | | { |
| | | #keys: '[414724.0.303295647]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnDataChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.lb_OrderID_FCOS().Text(this.Data().OrderID()); |
| | | Form.lb_CustomName_FCOS().Text(this.Data().CustomerName()); |
| | | Form.lb_OrderRowNum_FCOS().Text(this.Data().OrderLineID()); |
| | | //Form.np_Qty_FCOS().Max(this.Data().Quantity()); |
| | | //Form.np_Qty_FCOS().Number(this.Data().Quantity()); |
| | | Form.ds_ForcastDate_FCOS().Date(this.Data().EndDate()); |
| | | Form.de_splisteDetailsFCOS().FixedFilter( "object.OrderID() = " + this.Data().OrderID().AsQUILL()); |
| | | HQty:=sum( MacroPlan,S_DT_SpliteStruct,Obj,Obj.OrderID()=this.Data().OrderID(),Obj.Qty()); |
| | | Form.np_Qty_FCOS().Max(this.Data().Quantity()-HQty); |
| | | Form.np_Qty_FCOS().Number(this.Data().Quantity()-HQty); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: list_SpliteDetails_136 |
| | | Response OnClick ( |
| | | S_DT_SpliteStruct selection |
| | | ) id:Response_list_SpliteDetails_136_m_delete_list_SD_OnClick |
| | | { |
| | | #keys: '[414724.0.314884983]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /list_SpliteDetails_136/Responsedef_list_SpliteDetails_136_WebMenu_OnClick |
| | | Initiator: 'm_delete_list_SD' |
| | | Precondition: |
| | | [* |
| | | return not isnull( selection); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | OrderInfo:=dh_Paramer_FCOS.Data(); |
| | | if( isnull( OrderInfo)) |
| | | { |
| | | WebMessageBox::Warning( "æä½å¤±è´¥ï¼è¯·éæ°éæ©è®¢åè¿è¡æè¡ï¼"); |
| | | } |
| | | else |
| | | { |
| | | selection.Status(0); |
| | | Qty_Rows:=sum( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty()); |
| | | Qty_Max:=0.0; |
| | | Qty_Max:= OrderInfo.Quantity()-Qty_Rows; |
| | | |
| | | np_Qty_FCOS.Max(Qty_Max); |
| | | np_Qty_FCOS.Number(Qty_Max); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_function_FCOS/btn_add_FCOS |
| | | Response OnClick () id:Response_FrmCustomOrderSpliteRow_btn_add_FCOS_OnClick |
| | | { |
| | | #keys: '[414724.0.290316632]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( dh_Paramer_FCOS.Data()); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | JResult := S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,dh_Paramer_FCOS.Data(),ef_SpliteReason_FCOS.Text()); |
| | | if( JResult.Get( "Status").GetBoolean()) |
| | | { |
| | | FrmCustomOrderSpliteRow.Close(); |
| | | if( JResult.Get( "Msg").GetString().Length()>0) |
| | | { |
| | | WebMessageBox::Information(JResult.Get( "Msg").GetString()); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Warning(JResult.Get( "Msg").GetString()); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_splite_info/btn_splite_add |
| | | Response OnClick () id:Response_pl_splite_info_btn_splite_add_OnClick |
| | | { |
| | | #keys: '[414724.0.292801656]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( dh_Paramer_FCOS.Data()); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // æåä¸ä¸ªè®¢å |
| | | SQty:=[Number]np_Qty_FCOS.Number().Round( 0); |
| | | if(SQty>0) |
| | | { |
| | | OrderInfo :=dh_Paramer_FCOS.Data(); |
| | | MacroPlan.S_DT_SpliteStruct(relnew,ID := H_FunctionClass::SM_GenerateID( "OSR") |
| | | ,OrderID := OrderInfo.OrderID() |
| | | ,ID_S_DT_CustomOrder := OrderInfo.ID() |
| | | ,SpliteReason := ef_SpliteReason_FCOS.Text() |
| | | ,Qty :=SQty |
| | | ,Status := 1 |
| | | ,ForecastDate:= ds_ForcastDate_FCOS.Date()); |
| | | // 计ç®å©ä½æå |
| | | LQty:= OrderInfo.Quantity()-sum(MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=OrderInfo.ID() and obj.Status()=1,obj.Qty()) ; |
| | | np_Qty_FCOS.Max(LQty); |
| | | np_Qty_FCOS.Number(LQty); |
| | | if( np_Qty_FCOS.Max()=0) |
| | | { |
| | | WebMessageBox::Information( "订åå·²ç»å
¨é¨æå®ï¼"); |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if( np_Qty_FCOS.Max()=0) |
| | | { |
| | | WebMessageBox::Information( "订åå·²ç»å
¨é¨æå®ï¼"); |
| | | } |
| | | else |
| | | { |
| | | WebMessageBox::Information( "è¯·è°æ´ è®¢åæ°é"); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FrmCustomOrderSpliteRow |
| | | { |
| | | #keys: '[414724.0.285177352]' |
| | | Accessibility: 'Extensible' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pl_function_FCOS |
| | | Component lb_OrderRowNum_FCOS |
| | | { |
| | | #keys: '[414724.0.285570507]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: '订åè¡å·ï¼' |
| | | Taborder: 1 |
| | | Text: '1.1' |
| | | ] |
| | | } |
| | | Component lb_CustomName_FCOS |
| | | { |
| | | #keys: '[414724.0.284201013]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: '客æ·åç§°ï¼' |
| | | Taborder: 2 |
| | | Text: '--å°ç±³' |
| | | ] |
| | | } |
| | | Component ef_SpliteReason_FCOS |
| | | { |
| | | #keys: '[414724.0.285687770]' |
| | | BaseType: 'WebEditField' |
| | | Properties: |
| | | [ |
| | | Label: 'æè¡åå ï¼' |
| | | MaxRows: 3 |
| | | Multiline: true |
| | | PlaceHolder: '请å½å
¥' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component dh_Paramer_FCOS |
| | | { |
| | | #keys: '[414724.0.285920379]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'CustomerOrder' |
| | | Properties: |
| | | [ |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | #child: pl_OperateBtns_FCOS |
| | | #child: pl_splite_info |
| | | Component dh_splitestruct |
| | | { |
| | | #keys: '[414724.0.294099522]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'structured[S_DT_SpliteStruct]*' |
| | | Children: |
| | | [ |
| | | Component DataExtractor645 |
| | | { |
| | | #keys: '[414724.0.293956350]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'S_DT_SpliteStruct' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | #child: pl_spliteDetails |
| | | Component dh_Paramer_SCustomOrder_FCOS |
| | | { |
| | | #keys: '[414724.0.303602526]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'S_DT_CustomOrder' |
| | | Properties: |
| | | [ |
| | | Taborder: 9 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '订åæè¡è¡¨å' |
| | | Image: 'ARROW_FORK' |
| | | Title: '订åæè¡' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel651 |
| | | { |
| | | #keys: '[414724.0.302810875]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_delete_FCOV id:btn_delete_FCOV_902 |
| | | { |
| | | #keys: '[414724.0.302810937]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'GARBAGE' |
| | | Label: 'å é¤' |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_Panel651_btn_delete_FCOV_902_OnClick |
| | | { |
| | | #keys: '[414724.0.303035901]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[575.0.41049375]' |
| | | Binding: 'lisplitedetails.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component Panel713 |
| | | { |
| | | #keys: '[414724.0.302735923]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: lisplitedetails_450 |
| | | #child: Panel651 |
| | | Component Label963 |
| | | { |
| | | #keys: '[414724.0.302811066]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'æè¡æç»ï¼' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Visible: false |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component lisplitedetails id:lisplitedetails_450 |
| | | { |
| | | #keys: '[414724.0.302735971]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component de_liSpliteDetails |
| | | { |
| | | #keys: '[414724.0.302735972]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'S_DT_SpliteStruct' |
| | | ] |
| | | } |
| | | #child: listActionBarPage243_1 |
| | | Component DataSetLevel404 |
| | | { |
| | | #keys: '[414724.0.302735974]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenu199_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"å订åID","subtotals":"","tooltip":"","width":10,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ForecastDate","title":"éæ±æ¥æ","subtotals":"","tooltip":"","width":8,"display":"shown","editable":false,"attribute":"ForecastDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Qty","title":"æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Qty"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Status","title":"ç¶æ","subtotals":"","tooltip":"","width":6,"display":"shown","editable":false,"attribute":"Status"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SDateTime","title":"åéè³ERPæ¶é´","subtotals":"","tooltip":"","width":8,"display":"shown","editable":false,"attribute":"SDateTime"}}]' |
| | | ContextMenu: 'listContextMenu199' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | MinimumColumns: 5 |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPage243 id:listActionBarPage243_1 |
| | | { |
| | | #keys: '[414724.0.302735973]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPage978 id:listActionBarPage978_1 |
| | | { |
| | | #keys: '[414724.0.300320629]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenu199 id:listContextMenu199_1 |
| | | { |
| | | #keys: '[414724.0.302735975]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenu655 id:listContextMenu655_1 |
| | | { |
| | | #keys: '[414724.0.300320631]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listOrders id:listOrders_635 |
| | | { |
| | | #keys: '[414724.0.300320627]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractor726 |
| | | { |
| | | #keys: '[414724.0.300320628]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'MacroPlan' |
| | | FixedFilter: 'object.ParentID()=""' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'S_DT_CustomOrder' |
| | | ] |
| | | } |
| | | #child: listActionBarPage978_1 |
| | | Component DataSetLevel439 |
| | | { |
| | | #keys: '[414724.0.300320630]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenu655_1 |
| | | Component DataSetLevel422 |
| | | { |
| | | #keys: '[414724.0.315209998]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"éå®é¨é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"åºåç¹","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"éæ±æ¥æ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerID","title":"CustomerID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderLineID","title":"OrderLineID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderLineID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"åä½","subtotals":"","tooltip":"","width":2,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SplitCount","title":"å·²æè¡æ°","subtotals":"","tooltip":"","width":3,"display":"shown","editable":false,"attribute":"SplitCount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteRenmain","title":"å©ä½æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteRenmain"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"æè¡åå ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]' |
| | | RelationFromParent: 'Parent' |
| | | RelationRepeating: 'Parent' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SalesSegmentName","title":"éå®é¨é¨","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SalesSegmentName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"åºåç¹","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"EndDate","title":"éæ±æ¥æ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"EndDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CustomerID","title":"CustomerID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CustomerID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderID","title":"OrderID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"OrderLineID","title":"OrderLineID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"OrderLineID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"åä½","subtotals":"","tooltip":"","width":2,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SplitCount","title":"å·²æè¡æ°","subtotals":"","tooltip":"","width":3,"display":"shown","editable":false,"attribute":"SplitCount"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteRenmain","title":"å©ä½æ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteRenmain"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SpliteReason","title":"æè¡åå ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SpliteReason"}}]' |
| | | ContextMenu: 'listContextMenu655' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_DataView |
| | | { |
| | | #keys: '[414724.0.300320579]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: listOrders_635 |
| | | #child: Panel713 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pl_Function_FCOV |
| | | { |
| | | #keys: '[414724.0.295131518]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btn_sendERP_FCOV |
| | | { |
| | | #keys: '[414724.0.295131536]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'EXPORT1' |
| | | Label: 'åéè³ERP' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btn_huanyuan_FCOV |
| | | { |
| | | #keys: '[414724.0.295131559]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'ARROW_INTO' |
| | | Label: 'è¿å' |
| | | Taborder: 1 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.303365423]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[575.0.65737681]' |
| | | Binding: 'listOrders.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | Component btn_splitRow_FCOV |
| | | { |
| | | #keys: '[414724.0.295131572]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'GRAPH_FORK' |
| | | Label: 'æè¡' |
| | | Taborder: 2 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_splitRow_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.303295769]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[575.0.74590107]' |
| | | Binding: 'listOrders.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | Component btn_deleteOrder_FCOV |
| | | { |
| | | #keys: '[414724.0.323807222]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | ButtonSize: 'compact' |
| | | Description: 'å é¤å订åæé®' |
| | | Image: 'GARBAGE' |
| | | Label: 'å é¤' |
| | | Taborder: 3 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | ResponseDefinition OnClick id:Responsedef_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.323889224]' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[607.0.62176891]' |
| | | Binding: 'listOrders.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: Panel651/btn_delete_FCOV_902 |
| | | Response OnClick ( |
| | | S_DT_SpliteStruct selection |
| | | ) id:Response_Panel651_btn_delete_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.302931548]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /Panel651/Responsedef_Panel651_btn_delete_FCOV_902_OnClick |
| | | Precondition: |
| | | [* |
| | | return not isnull( selection); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | selection.Delete(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: listOrders_635 |
| | | Response OnSelectionChanged ( |
| | | S_DT_CustomOrder selection |
| | | ) id:Response_listOrders_635_OnSelectionChanged |
| | | { |
| | | #keys: '[414724.0.302697813]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.de_liSpliteDetails().FixedFilter( "object.OrderID() = " + selection.OrderID().AsQUILL()); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_Function_FCOV/btn_deleteOrder_FCOV |
| | | Response OnClick ( |
| | | S_DT_CustomOrder selection |
| | | ) id:Response_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.321284302]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_deleteOrder_FCOV_OnClick |
| | | Precondition: |
| | | [* |
| | | return not isnull( selection) and selection.ParentID()<>""; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Num:=WebMessageBox::Question("确认å é¤ï¼",true); |
| | | if( Num=0) |
| | | { |
| | | OrderInfo:=select( MacroPlan,SalesDemand.astype( CustomerOrder ),obj,obj.ID()=selection.ParentID()); |
| | | SSI := select(MacroPlan,S_DT_SpliteStruct,obj,obj.ID() = selection.ID_SpliteStruct()); |
| | | if( not isnull( SSI)) |
| | | { |
| | | SSI.Status(0); |
| | | } |
| | | S_FunctionClass::SM_OrderToSpliteOrder( MacroPlan,OrderInfo,""); |
| | | if( not isnull( selection)) |
| | | { |
| | | selection.Delete(); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_Function_FCOV/btn_huanyuan_FCOV |
| | | Response OnClick ( |
| | | S_DT_CustomOrder selection |
| | | ) id:Response_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.303365693]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_huanyuan_FCOV_OnClick |
| | | Precondition: |
| | | [* |
| | | return not isnull( selection) and selection.ParentID()=""; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Num:=WebMessageBox::Question( "确认è¦è¿åæå订ååï¼ |
| | | |
| | | 注æï¼è¿ååå·²æåç»æå°è¢«æ¸
空",true); |
| | | if(Num=0) |
| | | { |
| | | // æ¸
çæåè®°å½è¡¨ |
| | | traverse( MacroPlan,S_DT_SpliteStruct,obj,obj.ID_S_DT_CustomOrder()=selection.ID()) |
| | | { |
| | | obj.Delete(); |
| | | } |
| | | // æ¸
çæå订å |
| | | traverse( MacroPlan,S_DT_CustomOrder,obj,obj.ParentID()=selection.ID()) |
| | | { |
| | | obj.Delete(); |
| | | } |
| | | // æ¸
ç订å |
| | | selection.Delete(); |
| | | WebMessageBox::Information( "订åå·²ç»è¿å"); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_Function_FCOV/btn_sendERP_FCOV |
| | | Response OnClick () id:Response_pl_Function_FCOV_btn_sendERP_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.295170066]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | WebMessageBox::Information( "åè½å°æªå®ç°ï¼äºä»¶æ§è¡æåï¼"); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pl_Function_FCOV/btn_splitRow_FCOV |
| | | Response OnClick ( |
| | | S_DT_CustomOrder selection |
| | | ) id:Response_pl_Function_FCOV_btn_splitRow_FCOV_OnClick |
| | | { |
| | | #keys: '[414724.0.303198250]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /pl_Function_FCOV/Responsedef_pl_Function_FCOV_btn_splitRow_FCOV_OnClick |
| | | Precondition: |
| | | [* |
| | | return not isnull( selection) and selection.ParentID()=""; |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | frmOrderSplite := construct( FrmCustomOrderSpliteRow ); |
| | | orderInfo:= select( MacroPlan,SalesDemand.astype(CustomerOrder ),obj,obj.ID()=selection.ID()); |
| | | frmOrderSplite.dh_Paramer_FCOS().Data(orderInfo); |
| | | frmOrderSplite.ShowModal(); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FrmCustomOrderView |
| | | { |
| | | #keys: '[414724.0.294851286]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pl_Function_FCOV |
| | | #child: pl_DataView |
| | | ] |
| | | Properties: |
| | | [ |
| | | Description: '颿è¡çªä½' |
| | | Image: 'ARROW_FORK' |
| | | Title: 'æè¡è®¢å' |
| | | ] |
| | | } |
| | |
| | | ProjectProperties |
| | | { |
| | | ApplicationComponentName: 'ApplicationMacroPlanner' |
| | | BuildVersion: '2022.3.0.32' |
| | | BuildVersion: '2022.3.0.33' |
| | | Description: 'Quintiq Macro Planner' |
| | | ProjectKind: 'WebClient' |
| | | } |