hongjli
2023-10-11 ab469f9de1c0e446965e0d926ee0769e51a90cdc
添加物料标签视图
已修改3个文件
已添加4个文件
322 ■■■■■ 文件已修改
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_AutomaticallyGenerateCapacityRules.qbl 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_RecursiveGeneration.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupInventoryViews#981.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageInventory.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ActionBarGroupInventoryViews_ButtonMaterialLabelingPl.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/物料标签_计划策略.vw 262 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_AutomaticallyGenerateCapacityRules.qbl
@@ -9,8 +9,15 @@
  [*
    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() );
      }
    }
  *]
}
_Main/BL/Type_CapacityAllocationResultsRuleConfiguration/StaticMethod_RecursiveGeneration.qbl
@@ -2,7 +2,9 @@
#parent: #root
StaticMethod RecursiveGeneration (
  MacroPlan macroPlan,
  ProductInStockingPoint_MP outputPISP
  ProductInStockingPoint_MP outputPISP,
  ProductInStockingPoint_MP firstPISP,
  Date startDate
)
{
  TextBody:
@@ -13,8 +15,8 @@
    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() );
      }
    }
  *]
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupInventoryViews#981.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
Component ActionBarGroupInventoryViews #extension
{
  Children:
  [
    Component ButtonMaterialLabelingPlanningStrategy
    {
      #keys: '[414702.1.16631997]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'FISH_BOWL'
        Label: '物料标签'
        Taborder: 4
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageInventory.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component ActionBarPageInventory #extension
{
  Children:
  [
    #child: ActionBarGroupInventoryViews
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_TIANMA_JITUAN_ActionBarGroupInventoryViews_ButtonMaterialLabelingPl.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
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 );
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
@@ -13,6 +13,7 @@
        #child: ActionBarPageSales
        #child: applicationDevelopmentActionBarPageDef_1
        #child: ActionBarPagePlan
        #child: ActionBarPageInventory
      ]
    }
    Component DataHolderCapacityAndSaleBudgeFilterItem
_Main/UI/MacroPlannerWebApp/Views/ÎïÁϱêÇ©_¼Æ»®²ßÂÔ.vw
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,262 @@
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
}