| | |
| | | [* |
| | | targetProduct_MP := select( macroPlan, Product_MP, tempPMP, tempPMP.ID() = "Chassis - SUV 1" ); |
| | | |
| | | period_MPS := null( Period_MPs ); |
| | | traverse ( macroPlan, PeriodSpecification_MP, psmp, psmp.ID() = "Planning periods" ) { |
| | | period_MPS := selectsortedset( psmp, PeriodSpecificationPeriod.Period_MP, pmp, not pmp.IsHistorical(), pmp.StartDate() ); |
| | | } |
| | | |
| | | traverse ( targetProduct_MP, ProductInStockingPoint_MP, pisp ) { |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, pisp ); |
| | | traverse ( period_MPS, Elements, pmp ) { |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, pisp, pisp, pmp.StartDate() ); |
| | | } |
| | | } |
| | | *] |
| | | } |
| | |
| | | #parent: #root |
| | | StaticMethod RecursiveGeneration ( |
| | | MacroPlan macroPlan, |
| | | ProductInStockingPoint_MP outputPISP |
| | | ProductInStockingPoint_MP outputPISP, |
| | | ProductInStockingPoint_MP firstPISP, |
| | | Date startDate |
| | | ) |
| | | { |
| | | TextBody: |
| | |
| | | traverse ( operations, Elements, o ) { |
| | | traverse ( o, OperationInput, tempOI ) { |
| | | inputPISP := tempOI.ProductInStockingPoint_MP(); |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, tempOI.ProductInStockingPoint_MP() ); |
| | | info( "è¾å
¥PISPï¼", inputPISP.Name(), " è¾åºPISPï¼", outputPISP.Name() ); |
| | | CapacityAllocationResultsRuleConfiguration::RecursiveGeneration( macroPlan, tempOI.ProductInStockingPoint_MP(), firstPISP, startDate ); |
| | | info( "è¾å
¥PISPï¼", inputPISP.Name(), " è¾åºPISPï¼", outputPISP.Name(), " ç¬¬ä¸æ¬¡PISPï¼", firstPISP.Name() ); |
| | | } |
| | | } |
| | | *] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarGroupInventoryViews #extension |
| | | { |
| | | Children: |
| | | [ |
| | | Component ButtonMaterialLabelingPlanningStrategy |
| | | { |
| | | #keys: '[414702.1.16631997]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'FISH_BOWL' |
| | | Label: 'ç©ææ ç¾' |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarPageInventory #extension |
| | | { |
| | | Children: |
| | | [ |
| | | #child: ActionBarGroupInventoryViews |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupInventoryViews/ButtonMaterialLabelingPlanningStrategy |
| | | Response OnClick () id:Response_TIANMA_JITUAN_ActionBarGroupInventoryViews_ButtonMaterialLabelingPlanningStrategy_OnClick |
| | | { |
| | | #keys: '[414702.1.19527712]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ApplicationScope.ViewManager().ResetUserViewById( "ç©ææ ç¾_计åçç¥", true ); |
| | | *] |
| | | } |
| | | } |
| | |
| | | #child: ActionBarPageSales |
| | | #child: applicationDevelopmentActionBarPageDef_1 |
| | | #child: ActionBarPagePlan |
| | | #child: ActionBarPageInventory |
| | | ] |
| | | } |
| | | Component DataHolderCapacityAndSaleBudgeFilterItem |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormMaterialLabelingAndPlanningStrategy |
| | | { |
| | | title: 'QTIANMA_JITUAN::FormMaterialLabelingAndPlanningStrategy' |
| | | shown: true |
| | | componentID: 'QTIANMA_JITUAN::FormMaterialLabelingAndPlanningStrategy' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 15 |
| | | columnPosition: 1 |
| | | columnSpan: 12 |
| | | } |
| | | components |
| | | { |
| | | FormMaterialLabelingAndPlanningStrategy_PanelMaterialLabelingAndPlanningStrategy |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_PanelMaterial |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_PanelMaterialOperationButton |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_PanelMaterialExportAndImport |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_ListMaterialMaterialLabelingAndPlanningStrategy |
| | | { |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_DataSetLevelMaterial679 |
| | | { |
| | | groupDepth: -1 |
| | | column_SerialNumber |
| | | { |
| | | columnId: 'SerialNumber' |
| | | dataPath: 'SerialNumber' |
| | | dataType: 'number' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_BusinessType |
| | | { |
| | | columnId: 'BusinessType' |
| | | dataPath: 'BusinessType' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MatCode |
| | | { |
| | | columnId: 'MatCode' |
| | | dataPath: 'MatCode' |
| | | dataType: 'string' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MatName |
| | | { |
| | | columnId: 'MatName' |
| | | dataPath: 'MatName' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MatType |
| | | { |
| | | columnId: 'MatType' |
| | | dataPath: 'MatType' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MatArrivalLT |
| | | { |
| | | columnId: 'MatArrivalLT' |
| | | dataPath: 'MatArrivalLT' |
| | | dataType: 'real' |
| | | index: 5 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductCount |
| | | { |
| | | columnId: 'ProductCount' |
| | | dataPath: 'ProductCount' |
| | | dataType: 'number' |
| | | index: 6 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MinProdDeliverLT |
| | | { |
| | | columnId: 'MinProdDeliverLT' |
| | | dataPath: 'MinProdDeliverLT' |
| | | dataType: 'real' |
| | | index: 7 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_FlagLongTerm |
| | | { |
| | | columnId: 'FlagLongTerm' |
| | | dataPath: 'FlagLongTerm' |
| | | dataType: 'string' |
| | | index: 8 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_FlagGeneric |
| | | { |
| | | columnId: 'FlagGeneric' |
| | | dataPath: 'FlagGeneric' |
| | | dataType: 'string' |
| | | index: 9 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_PlanningStrategyAuto |
| | | { |
| | | columnId: 'PlanningStrategyAuto' |
| | | dataPath: 'PlanningStrategyAuto' |
| | | dataType: 'string' |
| | | index: 10 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_PlanningStrategyCustom |
| | | { |
| | | columnId: 'PlanningStrategyCustom' |
| | | dataPath: 'PlanningStrategyCustom' |
| | | dataType: 'string' |
| | | index: 11 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_UpdateBy |
| | | { |
| | | columnId: 'UpdateBy' |
| | | dataPath: 'UpdateBy' |
| | | dataType: 'string' |
| | | index: 12 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_UpdateTime |
| | | { |
| | | columnId: 'UpdateTime' |
| | | dataPath: 'UpdateTime' |
| | | dataType: 'datetime' |
| | | index: 13 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MinimumNumberOfDaysInStock |
| | | { |
| | | columnId: 'MinimumNumberOfDaysInStock' |
| | | dataPath: 'MinimumNumberOfDaysInStock' |
| | | dataType: 'number' |
| | | index: 14 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_MaximumNumberOfDaysInInventory |
| | | { |
| | | columnId: 'MaximumNumberOfDaysInInventory' |
| | | dataPath: 'MaximumNumberOfDaysInInventory' |
| | | dataType: 'number' |
| | | index: 15 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_PanelChildMaterial |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_ListChildMaterial |
| | | { |
| | | } |
| | | FormMaterialLabelingAndPlanningStrategy_DataSetLevelChildMaterial |
| | | { |
| | | groupDepth: -1 |
| | | column_MatCode |
| | | { |
| | | columnId: 'MatCode' |
| | | dataPath: 'MatCode' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductCode |
| | | { |
| | | columnId: 'ProductCode' |
| | | dataPath: 'ProductCode' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_StandardLT |
| | | { |
| | | columnId: 'StandardLT' |
| | | dataPath: 'StandardLT' |
| | | dataType: 'real' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductDesc |
| | | { |
| | | columnId: 'ProductDesc' |
| | | dataPath: 'ProductDesc' |
| | | dataType: 'string' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_Comment |
| | | { |
| | | columnId: 'Comment' |
| | | dataPath: 'Comment' |
| | | dataType: 'string' |
| | | index: 4 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | image: 'GOLDFISH' |
| | | page: '' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'ç©ææ ç¾_计åçç¥' |
| | | name: 'ç©ææ ç¾&计åçç¥' |
| | | isglobal: false |
| | | isroot: true |
| | | } |