admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Component_MatrixEditorTable.def
@@ -17,18 +17,16 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'InterfaceDataset'
            FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch'
            FixedFilter: 'object.Column().TimeUnit() = search.TimeUnit() and object.Column().StartDate() >= search.StartDate() and object.Column().StartDate() <= search.EndDate()'
            Source: 'InterfaceDataset'
            DataType: 'structured[OfflinePlanArchiveRow]'
            Source: 'dhRows'
            Taborder: 0
            Transformation: 'OfflinePlanArchiveVersion.Row.Cell'
            Transformation: 'Elements.Cell'
          ]
        }
      ]
      Properties:
      [
        Attributes: 'Quantity;ActualProductionQty'
        Attributes: 'Order;Quantity;ActualProductionQty'
        Column: 'Column'
        Row: 'Row'
        Taborder: 0
@@ -46,20 +44,17 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'InterfaceDataset'
            Description: "( search.Generation() = '<All>' or object.Product_MP().Generation() = search.Generation() ) and ( search.MqbMlb() = '<All>' or object.Product_MP().MQBMLB() = search.MqbMlb() ) and ( search.Power() = '<All>' or object.Product_MP().Power() = search.Power() )"
            FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch'
            FixedFilter: "( search.Product() = '<All>' or object.ProductID() = search.Product() ) and ( search.ProductionLine() = '<All>' or object.ProductionLine() = search.ProductionLine() ) and ( search.Unit() = '<All>' or object.Unit() = search.Unit() )"
            Source: 'InterfaceDataset'
            DataType: 'structured[OfflinePlanArchiveRow]'
            Source: 'dhRows'
            Taborder: 0
            Transformation: 'OfflinePlanArchiveVersion.Row'
            Transformation: 'Elements'
          ]
        }
      ]
      Properties:
      [
        Legend: 'ProductID'
        SortCriteria: 'ProductID'
        Legend: 'ShowName'
        SortCriteria: 'Name'
        Taborder: 1
      ]
    }
@@ -75,12 +70,13 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'InterfaceDataset'
            FilterArguments: 'search:QMacroPlanner::FormAssemblyOnlinePlanVersion.dhSearch'
            FixedFilter: 'object.TimeUnit() = search.TimeUnit() and  ( search.StartDate().IsMinInfinity() or object.StartDate() >= search.StartDate() )  and ( search.EndDate().IsMaxInfinity() or object.StartDate() <= search.EndDate() )'
            Source: 'InterfaceDataset'
            DataType: 'structured[OfflinePlanArchiveRow]'
            Description: '( search.StartDate().IsMinInfinity() or object.StartDate() >= search.StartDate() ) and ( search.EndDate().IsMaxInfinity() or object.StartDate() <= search.EndDate() )'
            FilterArguments: 'search:QMacroPlanner::FormOfflinePlanArchive.dhSearch'
            FixedFilter: 'object.Filter( search )'
            Source: 'dhRows'
            Taborder: 0
            Transformation: 'OfflinePlanArchiveVersion.Column'
            Transformation: 'Elements.Cell.Column'
          ]
        }
      ]