_Main/BL/Relations/Relation_PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAl.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialAutomotiveElectronics_PanelMaterialAll_PanelMaterialAll_PanelMaterialAutomotiveElectronics { #keys: '1[414702.0.203680165]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203680167][414702.0.203680166][414702.0.203680168]' Cardinality: '0to1' ObjectDefinition: PanelMaterialAutomotiveElectronics OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialAutomotiveElectronics { #keys: '3[414702.0.203680170][414702.0.203680169][414702.0.203680171]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialIT_PanelMaterialAll_PanelMaterialAll_PanelMaterialIT { #keys: '1[414702.0.203680281]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203680283][414702.0.203680282][414702.0.203680284]' Cardinality: '0to1' ObjectDefinition: PanelMaterialIT OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialIT { #keys: '3[414702.0.203680286][414702.0.203680285][414702.0.203680287]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_P.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialSpecializedDisplay_PanelMaterialAll_PanelMaterialAll_PanelMaterialSpecializedDisplay { #keys: '1[414702.0.203671496]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203671498][414702.0.203671497][414702.0.203671499]' Cardinality: '0to1' ObjectDefinition: PanelMaterialSpecializedDisplay OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialSpecializedDisplay { #keys: '3[414702.0.203671501][414702.0.203671500][414702.0.203671502]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMa.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialSportsHealth_PanelMaterialAll_PanelMaterialAll_PanelMaterialSportsHealth { #keys: '1[414702.0.203680203]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203680205][414702.0.203680204][414702.0.203680206]' Cardinality: '0to1' ObjectDefinition: PanelMaterialSportsHealth OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialSportsHealth { #keys: '3[414702.0.203680208][414702.0.203680207][414702.0.203680209]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialTM17_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM17 { #keys: '1[414702.0.203671572]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203671574][414702.0.203671573][414702.0.203671575]' Cardinality: '0to1' ObjectDefinition: PanelMaterialTM17 OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialTM17 { #keys: '3[414702.0.203671577][414702.0.203671576][414702.0.203671578]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialTM18_PanelMaterialAll_PanelMaterialAll_PanelMaterialTM18 { #keys: '1[414702.0.203680361]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203680363][414702.0.203680362][414702.0.203680364]' Cardinality: '0to1' ObjectDefinition: PanelMaterialTM18 OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialTM18 { #keys: '3[414702.0.203680366][414702.0.203680365][414702.0.203680367]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Relations/Relation_PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMateria.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,23 @@ Quintiq file version 2.0 #parent: #root Relation PanelMaterialTianHua_PanelMaterialAll_PanelMaterialAll_PanelMaterialTianHua { #keys: '1[414702.0.203671469]' DefaultRelationStrategy { } RelationSide.LeftSide PanelMaterialAll { #keys: '3[414702.0.203671471][414702.0.203671470][414702.0.203671472]' Cardinality: '0to1' ObjectDefinition: PanelMaterialTianHua OwningSide: 'Reference' } RelationSide.RightSide PanelMaterialTianHua { #keys: '3[414702.0.203671474][414702.0.203671473][414702.0.203671475]' Cardinality: '1toN' ObjectDefinition: PanelMaterialAll OwningSide: 'Owned' } } _Main/BL/Type_GlobalDTOTable/Method_ReceivingPanelMaterials.qbl
@@ -20,8 +20,24 @@ businessTypeHandle := requestnvt.GetHandle( "businessType" ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); if ( businessTypeNameValue.GetValueAsString() = "车载" ) { businessType := businessTypeNameValue.GetValueAsString(); if ( businessType = "车载" ) { PanelMaterialVehicle::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "汽车çµå" ) { PanelMaterialAutomotiveElectronics::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "天å" ) { PanelMaterialTianHua::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "è¿å¨å¥åº·" ) { PanelMaterialSportsHealth::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "䏿¾" ) { PanelMaterialSpecializedDisplay::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "IT" ) { PanelMaterialIT::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "TM17" ) { PanelMaterialTM17::ReceiveDataGeneration( this, requestnvt ); } else if ( businessType = "TM18" ) { PanelMaterialTM18::ReceiveDataGeneration( this, requestnvt ); } _Main/BL/Type_PanelMaterial/StaticMethod_Send.qbl
@@ -3,7 +3,8 @@ StaticMethod Send ( MacroPlan macroPlan, Scenario scenario, String businessType String businessType, String address ) { TextBody: _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203680160][414702.0.203680159][414702.0.203680161]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203680121][414702.0.203680120][414702.0.203680122]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203680130][414702.0.203680129][414702.0.203680131]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203680118][414702.0.203680117][414702.0.203680119]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203680148][414702.0.203680147][414702.0.203680149]' ValueType: Boolean } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203680157][414702.0.203680156][414702.0.203680158]' ValueType: Boolean } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203680127][414702.0.203680126][414702.0.203680128]' ValueType: Boolean } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203680136][414702.0.203680135][414702.0.203680137]' ValueType: Date } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203680142][414702.0.203680141][414702.0.203680143]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203680151][414702.0.203680150][414702.0.203680152]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203680133][414702.0.203680132][414702.0.203680134]' ValueType: Real } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203680154][414702.0.203680153][414702.0.203680155]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203680112][414702.0.203680111][414702.0.203680113]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203680115][414702.0.203680114][414702.0.203680116]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203680145][414702.0.203680144][414702.0.203680146]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203680139][414702.0.203680138][414702.0.203680140]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203680124][414702.0.203680123][414702.0.203680125]' ValueType: String } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialAutomotiveElectronics/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialAutomotiveElectronics/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialAutomotiveElectronics( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialAutomotiveElectronics/_ROOT_Type_PanelMaterialAutomotiveElectronics.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialAutomotiveElectronics { #keys: '5[414702.0.203680106][414702.0.203680104][0.0.0][414702.0.203680105][414702.0.203680107]' BaseType: Object Description: '汽车çµå' StructuredName: 'PanelMaterialAutomotiveElectronicss' } _Main/BL/Type_PanelMaterialIT/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203680339][414702.0.203680338][414702.0.203680340]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203680306][414702.0.203680305][414702.0.203680307]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203680330][414702.0.203680329][414702.0.203680331]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203680318][414702.0.203680317][414702.0.203680319]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203680309][414702.0.203680308][414702.0.203680310]' ValueType: Boolean } _Main/BL/Type_PanelMaterialIT/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203680342][414702.0.203680341][414702.0.203680343]' ValueType: Boolean } _Main/BL/Type_PanelMaterialIT/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203680333][414702.0.203680332][414702.0.203680334]' ValueType: Boolean } _Main/BL/Type_PanelMaterialIT/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203680297][414702.0.203680296][414702.0.203680298]' ValueType: Date } _Main/BL/Type_PanelMaterialIT/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203680303][414702.0.203680302][414702.0.203680304]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203680327][414702.0.203680326][414702.0.203680328]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203680300][414702.0.203680299][414702.0.203680301]' ValueType: Real } _Main/BL/Type_PanelMaterialIT/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203680345][414702.0.203680344][414702.0.203680346]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203680312][414702.0.203680311][414702.0.203680313]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203680321][414702.0.203680320][414702.0.203680322]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203680324][414702.0.203680323][414702.0.203680325]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203680336][414702.0.203680335][414702.0.203680337]' ValueType: String } _Main/BL/Type_PanelMaterialIT/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203680315][414702.0.203680314][414702.0.203680316]' ValueType: String } _Main/BL/Type_PanelMaterialIT/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialIT/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialIT/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialIT/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialIT/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialIT/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialIT/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialIT/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialIT/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialIT/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialIT/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialIT/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialIT/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialIT/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialIT/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialIT/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialIT/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialIT( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialIT/_ROOT_Type_PanelMaterialIT.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialIT { #keys: '5[414702.0.203680278][414702.0.203680276][0.0.0][414702.0.203680277][414702.0.203680279]' BaseType: Object Description: 'IT' StructuredName: 'PanelMaterialITs' } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203671554][414702.0.203671553][414702.0.203671555]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203671521][414702.0.203671520][414702.0.203671522]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203671545][414702.0.203671544][414702.0.203671546]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203671533][414702.0.203671532][414702.0.203671534]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203671524][414702.0.203671523][414702.0.203671525]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203671557][414702.0.203671556][414702.0.203671558]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203671548][414702.0.203671547][414702.0.203671549]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203671512][414702.0.203671511][414702.0.203671513]' ValueType: Date } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203671518][414702.0.203671517][414702.0.203671519]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203671542][414702.0.203671541][414702.0.203671543]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203671515][414702.0.203671514][414702.0.203671516]' ValueType: Real } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203671560][414702.0.203671559][414702.0.203671561]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203671527][414702.0.203671526][414702.0.203671528]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203671536][414702.0.203671535][414702.0.203671537]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203671539][414702.0.203671538][414702.0.203671540]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203671551][414702.0.203671550][414702.0.203671552]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203671530][414702.0.203671529][414702.0.203671531]' ValueType: String } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialSpecializedDisplay/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialSpecializedDisplay/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialSpecializedDisplay( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialSpecializedDisplay/_ROOT_Type_PanelMaterialSpecializedDisplay.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialSpecializedDisplay { #keys: '5[414702.0.203671493][414702.0.203671491][0.0.0][414702.0.203671492][414702.0.203671494]' BaseType: Object Description: '䏿¾' StructuredName: 'PanelMaterialSpecializedDisplays' } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203680261][414702.0.203680260][414702.0.203680262]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203680228][414702.0.203680227][414702.0.203680229]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203680252][414702.0.203680251][414702.0.203680253]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203680240][414702.0.203680239][414702.0.203680241]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203680231][414702.0.203680230][414702.0.203680232]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203680264][414702.0.203680263][414702.0.203680265]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203680255][414702.0.203680254][414702.0.203680256]' ValueType: Boolean } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203680219][414702.0.203680218][414702.0.203680220]' ValueType: Date } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203680225][414702.0.203680224][414702.0.203680226]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203680249][414702.0.203680248][414702.0.203680250]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203680222][414702.0.203680221][414702.0.203680223]' ValueType: Real } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203680267][414702.0.203680266][414702.0.203680268]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203680234][414702.0.203680233][414702.0.203680235]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203680243][414702.0.203680242][414702.0.203680244]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203680246][414702.0.203680245][414702.0.203680247]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203680258][414702.0.203680257][414702.0.203680259]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203680237][414702.0.203680236][414702.0.203680238]' ValueType: String } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialSportsHealth/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialSportsHealth/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialSportsHealth( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialSportsHealth/_ROOT_Type_PanelMaterialSportsHealth.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialSportsHealth { #keys: '5[414702.0.203680200][414702.0.203680198][0.0.0][414702.0.203680199][414702.0.203680201]' BaseType: Object Description: 'è¿å¨å¥åº·' StructuredName: 'PanelMaterialSportsHealths' } _Main/BL/Type_PanelMaterialTM17/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203671609][414702.0.203671608][414702.0.203671610]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203671594][414702.0.203671593][414702.0.203671595]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203671621][414702.0.203671620][414702.0.203671622]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203671615][414702.0.203671614][414702.0.203671616]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203671612][414702.0.203671611][414702.0.203671613]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM17/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203671603][414702.0.203671602][414702.0.203671604]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM17/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203671591][414702.0.203671590][414702.0.203671592]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM17/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203671630][414702.0.203671629][414702.0.203671631]' ValueType: Date } _Main/BL/Type_PanelMaterialTM17/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203671606][414702.0.203671605][414702.0.203671607]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203671636][414702.0.203671635][414702.0.203671637]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203671588][414702.0.203671587][414702.0.203671589]' ValueType: Real } _Main/BL/Type_PanelMaterialTM17/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203671627][414702.0.203671626][414702.0.203671628]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203671600][414702.0.203671599][414702.0.203671601]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203671624][414702.0.203671623][414702.0.203671625]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203671633][414702.0.203671632][414702.0.203671634]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203671618][414702.0.203671617][414702.0.203671619]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203671597][414702.0.203671596][414702.0.203671598]' ValueType: String } _Main/BL/Type_PanelMaterialTM17/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialTM17/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialTM17/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialTM17/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialTM17/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialTM17/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialTM17/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialTM17/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialTM17/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialTM17( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialTM17/_ROOT_Type_PanelMaterialTM17.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialTM17 { #keys: '5[414702.0.203671569][414702.0.203671567][0.0.0][414702.0.203671568][414702.0.203671570]' BaseType: Object Description: 'TM17' StructuredName: 'PanelMaterialTM17s' } _Main/BL/Type_PanelMaterialTM18/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203680386][414702.0.203680385][414702.0.203680387]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203680395][414702.0.203680394][414702.0.203680396]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203680413][414702.0.203680412][414702.0.203680414]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203680401][414702.0.203680400][414702.0.203680402]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203680416][414702.0.203680415][414702.0.203680417]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM18/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203680419][414702.0.203680418][414702.0.203680420]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM18/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203680380][414702.0.203680379][414702.0.203680381]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTM18/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203680407][414702.0.203680406][414702.0.203680408]' ValueType: Date } _Main/BL/Type_PanelMaterialTM18/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203680392][414702.0.203680391][414702.0.203680393]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203680398][414702.0.203680397][414702.0.203680399]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203680389][414702.0.203680388][414702.0.203680390]' ValueType: Real } _Main/BL/Type_PanelMaterialTM18/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203680422][414702.0.203680421][414702.0.203680423]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203680377][414702.0.203680376][414702.0.203680378]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203680425][414702.0.203680424][414702.0.203680426]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203680404][414702.0.203680403][414702.0.203680405]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203680383][414702.0.203680382][414702.0.203680384]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203680410][414702.0.203680409][414702.0.203680411]' ValueType: String } _Main/BL/Type_PanelMaterialTM18/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialTM18/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialTM18/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialTM18/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialTM18/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialTM18/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialTM18/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialTM18/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialTM18/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialTM18( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialTM18/_ROOT_Type_PanelMaterialTM18.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialTM18 { #keys: '5[414702.0.203680356][414702.0.203680354][0.0.0][414702.0.203680355][414702.0.203680357]' BaseType: Object Description: 'TM18' StructuredName: 'PanelMaterialTM18s' } _Main/BL/Type_PanelMaterialTianHua/Attribute_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CurrencyID { #keys: '3[414702.0.203671460][414702.0.203671459][414702.0.203671461]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Customer { #keys: '3[414702.0.203671427][414702.0.203671426][414702.0.203671428]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute CustomerID { #keys: '3[414702.0.203671451][414702.0.203671450][414702.0.203671452]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ID { #keys: '3[414702.0.203671439][414702.0.203671438][414702.0.203671440]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsEligibleForNetting { #keys: '3[414702.0.203671430][414702.0.203671429][414702.0.203671431]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTianHua/Attribute_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsExcludedFromFulfillmentKPIUser { #keys: '3[414702.0.203671463][414702.0.203671462][414702.0.203671464]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTianHua/Attribute_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute IsFirmed { #keys: '3[414702.0.203671454][414702.0.203671453][414702.0.203671455]' ValueType: Boolean } _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderDate.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderDate { #keys: '3[414702.0.203671418][414702.0.203671417][414702.0.203671419]' ValueType: Date } _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderID { #keys: '3[414702.0.203671424][414702.0.203671423][414702.0.203671425]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute OrderLineID { #keys: '3[414702.0.203671448][414702.0.203671447][414702.0.203671449]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Price { #keys: '3[414702.0.203671421][414702.0.203671420][414702.0.203671422]' ValueType: Real } _Main/BL/Type_PanelMaterialTianHua/Attribute_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute PriorityName { #keys: '3[414702.0.203671466][414702.0.203671465][414702.0.203671467]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute ProductID { #keys: '3[414702.0.203671433][414702.0.203671432][414702.0.203671434]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute Quantity { #keys: '3[414702.0.203671442][414702.0.203671441][414702.0.203671443]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute SalesSegmentName { #keys: '3[414702.0.203671445][414702.0.203671444][414702.0.203671446]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute StockingPointID { #keys: '3[414702.0.203671457][414702.0.203671456][414702.0.203671458]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/Attribute_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root Attribute UnitOfMeasureName { #keys: '3[414702.0.203671436][414702.0.203671435][414702.0.203671437]' ValueType: String } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_CurrencyID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'CNY' TargetAttribute: CurrencyID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Customer.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Customer } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_CustomerID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: CustomerID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_ID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsEligibleForNetting.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsEligibleForNetting } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsExcludedFromFulfillmentKPIUser.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'false' TargetAttribute: IsExcludedFromFulfillmentKPIUser } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_IsFirmed.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'true' TargetAttribute: IsFirmed } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_OrderLineID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: OrderLineID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Price.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: '0' TargetAttribute: Price } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_PriorityName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'Normal' TargetAttribute: PriorityName } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_ProductID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: ProductID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_Quantity.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: Quantity } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_SalesSegmentName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,6 @@ Quintiq file version 2.0 #parent: #root DefaultValue { TargetAttribute: SalesSegmentName } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_StockingPointID.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'æåä»' TargetAttribute: StockingPointID } _Main/BL/Type_PanelMaterialTianHua/DefaultValue_UnitOfMeasureName.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,7 @@ Quintiq file version 2.0 #parent: #root DefaultValue { ISOValue: 'SHT' TargetAttribute: UnitOfMeasureName } _Main/BL/Type_PanelMaterialTianHua/StaticMethod_ReceiveDataGeneration.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,65 @@ Quintiq file version 2.0 #parent: #root StaticMethod ReceiveDataGeneration ( GlobalOTDTable globalOTDTable, NamedValueTree requestnvt ) { TextBody: [* nameValue := requestnvt.Root(); bodyHandle := requestnvt.GetHandle( "Body" ); restHandle := requestnvt.GetHandle( "Rest" ); restPayloadHandle := requestnvt.GetHandle( "RestPayload" ); bodyNameValue := nameValue.Child( bodyHandle ); restNameValue := bodyNameValue.Child( restHandle ); restPayloadNameValue := restNameValue.Child( restPayloadHandle ); releaseDateHandle := requestnvt.GetHandle( "releaseDate" ); businessTypeHandle := requestnvt.GetHandle( "businessType" ); scenarioNameHandle := requestnvt.GetHandle( "scenarioName" ); releaseDateNameValue := restPayloadNameValue.Child( releaseDateHandle ); businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.ScenarioName() = scenarioNameNameValue.GetValueAsString() ); if ( not isnull( panelMaterialAll ) ) { panelMaterialAll.Delete(); } panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, ReleaseDate := releaseDateNameValue.GetValueAsString(), BusinessType := businessTypeNameValue.GetValueAsString(), ScenarioName := scenarioNameNameValue.GetValueAsString() ); panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); childPanelMaterialsNameValue := panelMaterialsNameValue.Children(); productIDHandle := requestnvt.GetHandle( "productID" ); productDescriptionHandle := requestnvt.GetHandle( "productDescription" ); startDateHandle := requestnvt.GetHandle( "startDate" ); quantityHandle := requestnvt.GetHandle( "quantity" ); cnv2 := StringToDate::StandardConverter(); cnv2.SetCustomConversion(); cnv2.CustomFormatString( 'yyyy-MM-dd' ); traverse ( childPanelMaterialsNameValue, Elements, cpmnv ) { info( "产åï¼", cpmnv.Child( productIDHandle ).GetValueAsString() ); info( "产åæè¿°ï¼", cpmnv.Child( productDescriptionHandle ).GetValueAsString() ); info( "å¼å§æ¶é´ï¼", cpmnv.Child( startDateHandle ).GetValueAsString() ); info( "æ°éï¼", cpmnv.Child( quantityHandle ).GetValueAsString() ); panelMaterialAll.PanelMaterialTianHua( relnew, Customer := businessTypeNameValue.GetValueAsString(), ID := OS::GenerateGUIDAsString(), OrderDate := cnv2.Convert( cpmnv.Child( startDateHandle ).GetValueAsString() ), ProductID := cpmnv.Child( productIDHandle ).GetValueAsString(), Quantity := cpmnv.Child( quantityHandle ).GetValueAsString(), SalesSegmentName := businessTypeNameValue.GetValueAsString() ); } *] } _Main/BL/Type_PanelMaterialTianHua/_ROOT_Type_PanelMaterialTianHua.qbl
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,10 @@ Quintiq file version 2.0 #root #parent: #DomainModel Type PanelMaterialTianHua { #keys: '5[414702.0.203671414][414702.0.203671412][0.0.0][414702.0.203671413][414702.0.203671415]' BaseType: Object Description: '天è±' StructuredName: 'PanelMaterialTianHuas' } _Main/BL/Type_PanelMaterialVehicle/StaticMethod_ReceiveDataGeneration.qbl
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def
@@ -38,6 +38,16 @@ Taborder: 2 ] } Component EditFieldAddress { #keys: '[414702.0.203870768]' BaseType: 'WebEditField' Properties: [ Label: 'åéå°å' Taborder: 3 ] } ] Properties: [ _Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonSend_OnClick.def
@@ -15,7 +15,7 @@ [* scenario := DataHolderActiveScenario.Data(); PanelMaterial::Send( MacroPlan, scenario, DropDownStringListBusinessType.Text() ); PanelMaterial::Send( MacroPlan, scenario, DropDownStringListBusinessType.Text(), EditFieldAddress.Text() ); WebMessageBox::Success( "åéæåï¼", true ); *]