已重命名3个文件
已修改56个文件
已添加3个文件
已删除3个文件
| | |
| | | { |
| | | Property: '_QI.Type' |
| | | Type: 'String' |
| | | Value: 'GlobalOTDTable' |
| | | Value: 'GlobalOTDSOP' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CapacityAllocationResultsRuleConfiguration_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocationResultsRuleConfiguration |
| | | { |
| | | #keys: '1[414702.1.138430337]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDSOP |
| | | { |
| | | #keys: '3[414702.1.138430339][414702.1.138430338][414702.1.138430340]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CapacityAllocationResultsRuleConfiguration |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CapacityAllocationResultsRuleConfiguration |
| | | { |
| | | #keys: '3[414702.1.138430342][414702.1.138430341][414702.1.138430343]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDSOP |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CapacityAllocationResults_GlobalOTDSOP_GlobalOTDSOP_CapacityAllocationResults |
| | | { |
| | | #keys: '1[414702.1.138430321]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDSOP |
| | | { |
| | | #keys: '3[414702.1.138430323][414702.1.138430322][414702.1.138430324]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CapacityAllocationResults |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CapacityAllocationResults |
| | | { |
| | | #keys: '3[414702.1.138430326][414702.1.138430325][414702.1.138430327]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDSOP |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation PanelMaterialAll_GlobalOTDSOP_GlobalOTDSOP_PanelMaterialAll |
| | | { |
| | | #keys: '1[414702.1.138384587]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide GlobalOTDSOP |
| | | { |
| | | #keys: '3[414702.1.138384589][414702.1.138384588][414702.1.138384590]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: PanelMaterialAll |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide PanelMaterialAll |
| | | { |
| | | #keys: '3[414702.1.138384592][414702.1.138384591][414702.1.138384593]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: GlobalOTDSOP |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
| | |
| | | #keys: '1[414702.0.388304510]' |
| | | Expression: |
| | | [* |
| | | targetCapacityAllocationResultsRuleConfiguration := select( this.GlobalOTDTable(), CapacityAllocationResultsRuleConfiguration, tempCARRC, |
| | | targetCapacityAllocationResultsRuleConfiguration := select( this.GlobalOTDSOP(), CapacityAllocationResultsRuleConfiguration, tempCARRC, |
| | | tempCARRC.ModuleMaterialCode() = this.ModuleMaterialCode() and |
| | | tempCARRC.PanelMaterialCode() = this.PanelMaterialCode() ); |
| | | |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod CreateDate ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | MacroPlan macroPlan, |
| | | Scenario scenario |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.CapacityAllocationResults( relflush ); |
| | | globalOTDSOP.CapacityAllocationResults( relflush ); |
| | | |
| | | finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDTable ); |
| | | finaleProductInStockingPoint_MPs := CapacityAllocationResults::ObtainTheFinalOutputProduct( macroPlan, globalOTDSOP ); |
| | | |
| | | period_MPS := null( Period_MPs ); |
| | | traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) { |
| | |
| | | } |
| | | |
| | | traverse ( finaleProductInStockingPoint_MPs, Elements, fpispmp ) { |
| | | capacityAllocationResultsRuleConfigurations := selectset( globalOTDTable, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() ); |
| | | capacityAllocationResultsRuleConfigurations := selectset( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = fpispmp.ProductID() and tempCARRC.StockingPointID() = fpispmp.StockingPointID() ); |
| | | // info( "ç产ç产åï¼", fpispmp.ProductID(), "------产åå¨åºåç¹-------ï¼", fpispmp.StockingPointID() ); |
| | | traverse ( period_MPS, Elements, pmp ) { |
| | | // CapacityAllocationResults::IterativeGeneration( globalOTDTable, pisp, 1, null( NewSupply ), -1.0, pmp.StartDate() ); èç |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDTable, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 ); |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, fpispmp, pmp.StartDate(), capacityAllocationResultsRuleConfigurations, 0, null( NewSupply ), 0.0 ); |
| | | } |
| | | } |
| | | |
| | | traverse ( globalOTDTable, CapacityAllocationResults, car ) { |
| | | traverse ( globalOTDSOP, CapacityAllocationResults, car ) { |
| | | car.VersionNumber( scenario.Name() ); |
| | | } |
| | | *] |
| | |
| | | #parent: #root |
| | | StaticMethod CreateDate1 ( |
| | | MacroPlan macroPlan, |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | DependentDemand dependentDemand, |
| | | NewSupply newSupply, |
| | | Supply_MP firstNewSupply, |
| | |
| | | |
| | | if ( capacityAllocationResultsRuleConfiguration.PanelMaterialCode() = productID ) { |
| | | info( "æ¾å°äºï¼ï¼ï¼" ); |
| | | globalOTDTable.CapacityAllocationResults( relnew, |
| | | PanelBase := panelPISP.StockingPointID(), |
| | | PanelMaterialCode := panelPISP.ProductID(), |
| | | NumberOfPanels := fulfillmentQuantity, |
| | | PanelMeasurementUnit := panelPISP.UnitOfMeasure_MP().Name(), |
| | | ModuleMaterialCode := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfModules := firstNewSupply.Quantity(), |
| | | ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleBase := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(), |
| | | RequirementDate := dependentDemand.Start().Date(), |
| | | // 导åºå¤é¨ä¾åºå段 |
| | | Date := dependentDemand.Start().Date(), |
| | | Description := "", |
| | | ID := OS::GenerateGUIDAsString(), |
| | | ProductID := panelPISP.ProductID(), |
| | | StockingPointID := panelPISP.StockingPointID(), |
| | | UserQuantity := fulfillmentQuantity, |
| | | ManufacturedDate := Date::MinDate() |
| | | ); |
| | | globalOTDSOP.CapacityAllocationResults( relnew, |
| | | PanelBase := panelPISP.StockingPointID(), |
| | | PanelMaterialCode := panelPISP.ProductID(), |
| | | NumberOfPanels := fulfillmentQuantity, |
| | | PanelMeasurementUnit := panelPISP.UnitOfMeasure_MP().Name(), |
| | | ModuleMaterialCode := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfModules := firstNewSupply.Quantity(), |
| | | ModuleMeasurementUnit := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleBase := firstNewSupply.ProductInStockingPointInPeriodPlanning().ProductInStockingPoint_MP().StockingPointID(), |
| | | RequirementDate := dependentDemand.Start().Date(), |
| | | // 导åºå¤é¨ä¾åºå段 |
| | | Date := dependentDemand.Start().Date(), |
| | | Description := "", |
| | | ID := OS::GenerateGUIDAsString(), |
| | | ProductID := panelPISP.ProductID(), |
| | | StockingPointID := panelPISP.StockingPointID(), |
| | | UserQuantity := fulfillmentQuantity, |
| | | ManufacturedDate := Date::MinDate() |
| | | ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod IterativeGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | ProductInStockingPoint_MP pisp, |
| | | Number numberOfLayers, |
| | | NewSupply finaleNewSupply, |
| | |
| | | oi := dd.ProcessInput().astype( OperationInput ); |
| | | finaleDependentDemand := finaleDependentDemand * oo.Quantity() * oi.Quantity(); |
| | | // info( "ä¾èµéæ±äº§åIDï¼", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), " ä¾èµæ°éï¼", dd.Quantity(), " å½å卿任å¡Keyï¼", dd.PeriodTask_MP().astype( PeriodTaskOperation ).Key() ); |
| | | CapacityAllocationResults::IterativeGeneration( globalOTDTable, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate ); |
| | | CapacityAllocationResults::IterativeGeneration( globalOTDSOP, dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), numberOfLayers, finaleNewSupply, finaleDependentDemand, targetDate ); |
| | | } |
| | | // info( "----------------------------------------------------" ); |
| | | } else { |
| | |
| | | // info( "======" ); |
| | | pispPanel := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); |
| | | pispModule := finaleNewSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(); |
| | | globalOTDTable.CapacityAllocationResults( relnew, |
| | | PanelBase := pispPanel.StockingPointID(), |
| | | PanelMaterialCode := pispPanel.ProductID(), |
| | | NumberOfPanels := finaleDependentDemand, |
| | | PanelMeasurementUnit := pispPanel.UnitOfMeasure_MP().Name(), |
| | | ModuleMaterialCode := pispModule.ProductID(), |
| | | NumberOfModules := finaleNewSupply.Quantity(), |
| | | ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(), |
| | | ModuleBase := pispModule.StockingPointID(), |
| | | RequirementDate := finaleNewSupply.Start().Date() |
| | | ); |
| | | globalOTDSOP.CapacityAllocationResults( relnew, |
| | | PanelBase := pispPanel.StockingPointID(), |
| | | PanelMaterialCode := pispPanel.ProductID(), |
| | | NumberOfPanels := finaleDependentDemand, |
| | | PanelMeasurementUnit := pispPanel.UnitOfMeasure_MP().Name(), |
| | | ModuleMaterialCode := pispModule.ProductID(), |
| | | NumberOfModules := finaleNewSupply.Quantity(), |
| | | ModuleMeasurementUnit := pispModule.UnitOfMeasure_MP().Name(), |
| | | ModuleBase := pispModule.StockingPointID(), |
| | | RequirementDate := finaleNewSupply.Start().Date() |
| | | ); |
| | | } |
| | | finaleNewSupply := null( NewSupply ); |
| | | } |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod IterativeGeneration2 ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | ProductInStockingPoint_MP pisp, |
| | | Date targetDate, |
| | | CapacityAllocationResultsRuleConfigurations carrcs, |
| | |
| | | previous := pispippl.PreviousPlanningPISPIP().astype( ProductInStockingPointInPeriodPlanningLeaf ); |
| | | if ( not previous.Period_MP().IsHistorical() ) { |
| | | previousDate := previous.Start().Date(); |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDTable, |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, |
| | | pisp, |
| | | previousDate, |
| | | carrcs, |
| | |
| | | // info( "屿°ï¼", numberOfLayers, " å½åä¾åºçpispï¼", ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), " æ»ä¾åºå¼ï¼", ns.Quantity(), " éè¦ä¾åºå¼ï¼", currentLayerDependentDemandQuantity, |
| | | // " å½åéæ±pispï¼", dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), " éæ±å¼ï¼", currentLayerDependentDemandQuantity ); |
| | | // info( "-----------------------------------------------------------------------------------------------------------------" ); |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDTable, |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, |
| | | dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), |
| | | targetDate, |
| | | carrcs, |
| | |
| | | carrc := select( carrcs, Elements, carrc, carrc.PanelMaterialCode() = ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID() ); |
| | | if ( not isnull( carrc ) ) { |
| | | // info( "æ¾å°é¢æ¿ç©æ..." ); |
| | | globalOTDTable.CapacityAllocationResults( relnew, |
| | | PanelBase := pto.Operation().UnitID(), |
| | | PanelMaterialCode := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfPanels := currentLayerDependentDemandQuantity, |
| | | PanelMeasurementUnit := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleMaterialCode := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfModules := firstLevelSupply.Quantity(), |
| | | ModuleMeasurementUnit := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleBase := guard( firstLevelSupply.PeriodTask_MP().astype( PeriodTaskOperation ).Operation().UnitID(), "车éè¿è¾" ), |
| | | Division := carrc.Division(), |
| | | RequirementDate := firstLevelSupply.Start().Date(), |
| | | Date := firstLevelSupply.Start().Date(), |
| | | Description := "", |
| | | ID := OS::GenerateGUIDAsString(), |
| | | ProductID := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | StockingPointID := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().StockingPointID(), |
| | | UserQuantity := currentLayerDependentDemandQuantity, |
| | | ManufacturedDate := Date::MinDate() |
| | | ); |
| | | globalOTDSOP.CapacityAllocationResults( relnew, |
| | | PanelBase := pto.Operation().UnitID(), |
| | | PanelMaterialCode := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfPanels := currentLayerDependentDemandQuantity, |
| | | PanelMeasurementUnit := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleMaterialCode := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | NumberOfModules := firstLevelSupply.Quantity(), |
| | | ModuleMeasurementUnit := firstLevelSupply.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().UnitOfMeasureName(), |
| | | ModuleBase := guard( firstLevelSupply.PeriodTask_MP().astype( PeriodTaskOperation ).Operation().UnitID(), "车éè¿è¾" ), |
| | | Division := carrc.Division(), |
| | | RequirementDate := firstLevelSupply.Start().Date(), |
| | | Date := firstLevelSupply.Start().Date(), |
| | | Description := "", |
| | | ID := OS::GenerateGUIDAsString(), |
| | | ProductID := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().ProductID(), |
| | | StockingPointID := ns.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().StockingPointID(), |
| | | UserQuantity := currentLayerDependentDemandQuantity, |
| | | ManufacturedDate := Date::MinDate() |
| | | ); |
| | | |
| | | } |
| | | //info( "-----------------------------------------------------------------------------------------------------------------" ); |
| | |
| | | // " å½åéæ±pispï¼", targetDependentDemand.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Name(), " éæ±å¼ï¼", currentLayerDependentDemandQuantity ); |
| | | // info( "LaneLeg卿任å¡..." ); |
| | | //info( "-----------------------------------------------------------------------------------------------------------------" ); |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDTable, |
| | | CapacityAllocationResults::IterativeGeneration2( globalOTDSOP, |
| | | targetDependentDemand.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP(), |
| | | targetDate, |
| | | carrcs, |
| | |
| | | #parent: #root |
| | | StaticMethod IterativeGeneration3 ( |
| | | MacroPlan macroPlan, |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | Supply_MP smp, |
| | | Supply_MP firstSMP, |
| | | Number numberOfPlies, |
| | |
| | | fulfillmentQuantity := ( dd.Quantity() / ns.Quantity() ) * fulfillmentQuantity; |
| | | info( "--------------------------------------------------------------" ); |
| | | if ( not isnull( capacityAllocationResultsRuleConfiguration ) ) { |
| | | CapacityAllocationResults::CreateDate1( macroPlan, globalOTDTable, dd, ns, firstSMP, capacityAllocationResultsRuleConfiguration, fulfillmentQuantity ); |
| | | CapacityAllocationResults::CreateDate1( macroPlan, globalOTDSOP, dd, ns, firstSMP, capacityAllocationResultsRuleConfiguration, fulfillmentQuantity ); |
| | | } |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp1, firstSMP, numberOfPlies, fulfillmentQuantity, capacityAllocationResultsRuleConfiguration ); |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp1, firstSMP, numberOfPlies, fulfillmentQuantity, capacityAllocationResultsRuleConfiguration ); |
| | | numberOfPlies--; |
| | | } |
| | | } |
| | |
| | | numberOfPlies++; |
| | | info( "--------------------------------------------------------------" ); |
| | | if ( not isnull( capacityAllocationResultsRuleConfiguration ) ) { |
| | | CapacityAllocationResults::CreateDate1( macroPlan, globalOTDTable, targetDependentDemand, ns, firstSMP, capacityAllocationResultsRuleConfiguration, f.Quantity() ); |
| | | CapacityAllocationResults::CreateDate1( macroPlan, globalOTDSOP, targetDependentDemand, ns, firstSMP, capacityAllocationResultsRuleConfiguration, f.Quantity() ); |
| | | } |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp1, firstSMP, numberOfPlies, f.Quantity(), capacityAllocationResultsRuleConfiguration ); |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp1, firstSMP, numberOfPlies, f.Quantity(), capacityAllocationResultsRuleConfiguration ); |
| | | numberOfPlies--; |
| | | } |
| | | } |
| | |
| | | #parent: #root |
| | | StaticMethod ObtainTheFinalOutputProduct ( |
| | | MacroPlan macroPlan, |
| | | GlobalOTDTable globalOTDTable |
| | | GlobalOTDSOP globalOTDSOP |
| | | ) as owning ProductInStockingPoint_MPs |
| | | { |
| | | TextBody: |
| | |
| | | //} |
| | | |
| | | finaleProductInStockingPoint_MPs := selectset( macroPlan, Product_MP.ProductInStockingPoint_MP, tempPISPMP, |
| | | exists( globalOTDTable, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = tempPISPMP.ProductID() and tempCARRC.StockingPointID() = tempPISPMP.StockingPointID() ) |
| | | exists( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, tempCARRC, tempCARRC.ModuleMaterialCode() = tempPISPMP.ProductID() and tempCARRC.StockingPointID() = tempPISPMP.StockingPointID() ) |
| | | ); |
| | | |
| | | return &finaleProductInStockingPoint_MPs; |
| | |
| | | #parent: #root |
| | | StaticMethod Test ( |
| | | MacroPlan macroPlan, |
| | | GlobalOTDTable globalOTDTable |
| | | GlobalOTDSOP globalOTDSOP |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | globalOTDTable.CapacityAllocationResults( relflush ); |
| | | globalOTDSOP.CapacityAllocationResults( relflush ); |
| | | |
| | | capacityAllocationResultsRuleConfiguration := select( globalOTDTable, CapacityAllocationResultsRuleConfiguration, carrc, |
| | | capacityAllocationResultsRuleConfiguration := select( globalOTDSOP, CapacityAllocationResultsRuleConfiguration, carrc, |
| | | carrc.ModuleMaterialCode() = "ProXOver 1 D2.6 A" and |
| | | carrc.StockingPointID() = "Carco Philadelphia" ); |
| | | |
| | |
| | | traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ).Supply_MP, smp, |
| | | /*smp.ProductInStockingPointInPeriodPlanning().Start().Date() = Date::Construct( 2020, 4, 7 ) and*/ |
| | | smp.Quantity() > 0 ) { |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration ); |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp, smp, 1, smp.Quantity(), capacityAllocationResultsRuleConfiguration ); |
| | | } |
| | | } |
| | | *] |
| | |
| | | #parent: #root |
| | | StaticMethod Test1 ( |
| | | MacroPlan macroPlan, |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | CapacityAllocationResultsRuleConfigurations capacityAllocationResultsRuleConfigurations |
| | | ) |
| | | { |
| | |
| | | traverse ( pisp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ).Supply_MP, smp, |
| | | /*smp.ProductInStockingPointInPeriodPlanning().Start().Date() = Date::Construct( 2020, 4, 7 ) and*/ |
| | | smp.Quantity() > 0 ) { |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDTable, smp, smp, 1, smp.Quantity(), carrc ); |
| | | CapacityAllocationResults::IterativeGeneration3( macroPlan, globalOTDSOP, smp, smp, 1, smp.Quantity(), carrc ); |
| | | info( "=======================================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" ); |
| | | } |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_GlobalDTOTable/StaticMethod_ReceivingPanelMaterials.qbl ÐÞ¸Ä |
| | |
| | | #parent: #root |
| | | StaticMethod ReceivingPanelMaterials ( |
| | | NamedValueTree requestnvt |
| | | ) as stream[NamedValueTree] |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | MDSGlobalOTDTable::Find( DatasetFindOptions::Construct("GlobalOTDTable")) -> ( c ) { |
| | | MDSGlobalOTDSOP::Find( DatasetFindOptions::Construct("GlobalOTDSOP")) -> ( c ) { |
| | | return c.ReceivingPanelMaterials( requestnvt ); |
| | | } |
| | | *] |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod ReceiveDataGeneration ( |
| | | GlobalOTDTable globalOTDTable, |
| | | GlobalOTDSOP globalOTDSOP, |
| | | NamedValueTree requestnvt |
| | | ) |
| | | { |
| | |
| | | businessTypeNameValue := restPayloadNameValue.Child( businessTypeHandle ); |
| | | scenarioNameNameValue := restPayloadNameValue.Child( scenarioNameHandle ); |
| | | |
| | | panelMaterialAll := select( globalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | panelMaterialAll := select( globalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = businessTypeNameValue.GetValueAsString() ); |
| | | if ( not isnull( panelMaterialAll ) ) { |
| | | panelMaterialAll.Delete(); |
| | | } |
| | | panelMaterialAll := globalOTDTable.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | panelMaterialAll := globalOTDSOP.PanelMaterialAll( relnew, |
| | | ReleaseDate := releaseDateNameValue.GetValueAsString(), |
| | | BusinessType := businessTypeNameValue.GetValueAsString(), |
| | | ScenarioName := scenarioNameNameValue.GetValueAsString() |
| | | ); |
| | | |
| | | panelMaterialsHandle := requestnvt.GetHandle( "panelMaterials" ); |
| | | panelMaterialsNameValue := restPayloadNameValue.Child( panelMaterialsHandle ); |
| | |
| | | #keys: '[414702.0.375317354]' |
| | | Body: |
| | | [* |
| | | capacityAllocationResultsRuleConfiguration := GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relshadow ); |
| | | capacityAllocationResultsRuleConfiguration := GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relshadow ); |
| | | |
| | | DataHolderDialogData.Data( &capacityAllocationResultsRuleConfiguration ); |
| | | |
| | |
| | | |
| | | data := DataHolderDialogData.Data().WrappedInstance(); |
| | | if ( isnull( data ) ) { |
| | | GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew, |
| | | PanelMaterialCode := efPanelMaterialCode.Text(), |
| | | ModuleMaterialCode := efModuleMaterialCode.Text(), |
| | | Division := efDivision.Text(), |
| | | StockingPointID := efStockingPointID.Text() |
| | | ); |
| | | GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew, |
| | | PanelMaterialCode := efPanelMaterialCode.Text(), |
| | | ModuleMaterialCode := efModuleMaterialCode.Text(), |
| | | Division := efDivision.Text(), |
| | | StockingPointID := efStockingPointID.Text() |
| | | ); |
| | | } else { |
| | | data.Delete(); |
| | | GlobalOTDTable.CapacityAllocationResultsRuleConfiguration( relnew, |
| | | PanelMaterialCode := efPanelMaterialCode.Text(), |
| | | ModuleMaterialCode := efModuleMaterialCode.Text(), |
| | | Division := efDivision.Text(), |
| | | StockingPointID := efStockingPointID.Text() |
| | | ); |
| | | GlobalOTDSOP.CapacityAllocationResultsRuleConfiguration( relnew, |
| | | PanelMaterialCode := efPanelMaterialCode.Text(), |
| | | ModuleMaterialCode := efModuleMaterialCode.Text(), |
| | | Division := efDivision.Text(), |
| | | StockingPointID := efStockingPointID.Text() |
| | | ); |
| | | } |
| | | |
| | | |
| | |
| | | Form.ApplyChanges(); |
| | | try { |
| | | macroPlan := ExternalMDSEditor::MacroPlan( ddlSelectVersion.Data().DatasetName() ).AsMacroPlan(); |
| | | GlobalOTDTable.SynchronizeOrders( macroPlan ); |
| | | GlobalOTDSOP.SynchronizeOrders( macroPlan ); |
| | | |
| | | Form.Close(); |
| | | |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | this.Text( guard( targetPanelMaterialAll.ReleaseDate(), "æ æ°æ®" ) ); |
| | | *] |
| | | GroupServerCalls: false |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | CapacityAllocationResults::CreateDate( GlobalOTDTable, MacroPlan, DataHolderActiveScenario.Data() ); |
| | | CapacityAllocationResults::CreateDate( GlobalOTDSOP, MacroPlan, DataHolderActiveScenario.Data() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'CapacityAllocationResultsRuleConfiguration' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | CapacityAllocationResults::Test1( MacroPlan, GlobalOTDTable, selection ); |
| | | CapacityAllocationResults::Test1( MacroPlan, GlobalOTDSOP, selection ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialIT' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "IT" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialAutomotiveElectronics' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "汽车çµå" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialSpecializedDisplay' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "䏿¾" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialSportsHealth' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "è¿å¨å¥åº·" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialTM17' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM17" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialTM18' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "TM18" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialTianHua' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "天å" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'GlobalOTDTable' |
| | | Source: 'GlobalOTDTable' |
| | | DataType: 'GlobalOTDSOP' |
| | | Source: 'GlobalOTDSOP' |
| | | Taborder: 0 |
| | | Transformation: 'PanelMaterialAll.PanelMaterialVehicle' |
| | | ] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | targetPanelMaterialAll := select( GlobalOTDTable, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | targetPanelMaterialAll := select( GlobalOTDSOP, PanelMaterialAll, tempPMA, tempPMA.BusinessType() = "车载" ); |
| | | if ( not isnull( targetPanelMaterialAll ) ) { |
| | | this.Data( targetPanelMaterialAll ); |
| | | } |