lihongji
2024-06-25 21b1d88e5f7f751297b74ef19e49f787cacddcd5
调拨计划
已添加43个文件
已修改1个文件
944 ■■■■■ 文件已修改
_Main/BL/Relations/Relation_TransferPlanCell_TransferPlanColumn_TransferPlanColumn_TransferPlan.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_TransferPlanCell_TransferPlanRow_TransferPlanRow_TransferPlanCell.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_TransferPlanColumn_MacroPlan_MacroPlan_TransferPlanColumn.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_TransferPlanRow_MacroPlan_MacroPlan_TransferPlanRow.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityAGW.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityKW.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityPL.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityZKG.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityZKM.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanCell/Attribute_Value.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanCell/_ROOT_Type_TransferPlanCell.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnIndex.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnName.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/Function_CalcColumnName.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/TypeIndex_TransferPlanColumnTypeIndex.qbl 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanColumn/_ROOT_Type_TransferPlanColumn.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Attribute_Name.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Attribute_ProductID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Attribute_RowNr.qbl 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Attribute_SourceStockpoingPointID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Attribute_TargetStockpoingPointID.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/Function_CalcName.qbl 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/TypeIndex_TransferPlanRowTypeIndex.qbl 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_TransferPlanRow/_ROOT_Type_TransferPlanRow.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPagePlan.def 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgSecondDevelopmentPlan.def 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgSecondDevelopmentPlan_bTransferPlan_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlActions.def 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlContent.def 64 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Response_pnlActions_btnCancel_OnClick.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Response_pnlActions_btnOk_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/_ROOT_Component_DialogUpperLimitOfTransferCapacity.def 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_MatrixEditor872.def 97 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_matrixEditorActionBarPage493.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_matrixeditorContextMenu367.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_pContent.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_pHeader.def 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bDownload_OnClick.def 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bGenerateReport_OnClick.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bMaximumDailyTransferCapacity_OnClick.def 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/_ROOT_Component_FormTransferPlan.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/TransferPlan.vw 146 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_TransferPlanCell_TransferPlanColumn_TransferPlanColumn_TransferPlan.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation TransferPlanCell_TransferPlanColumn_TransferPlanColumn_TransferPlanCell
{
  #keys: '1[413988.0.1292031952]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide TransferPlanColumn
  {
    #keys: '3[413988.0.1292031954][413988.0.1292031953][413988.0.1292031955]'
    Cardinality: '0to1'
    ObjectDefinition: TransferPlanCell
    OwningSide: 'Reference'
  }
  RelationSide.RightSide TransferPlanCell
  {
    #keys: '3[413988.0.1292031957][413988.0.1292031956][413988.0.1292031958]'
    Cardinality: '1toN'
    ObjectDefinition: TransferPlanColumn
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_TransferPlanCell_TransferPlanRow_TransferPlanRow_TransferPlanCell.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation TransferPlanCell_TransferPlanRow_TransferPlanRow_TransferPlanCell
{
  #keys: '1[413988.0.1292031965]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide TransferPlanRow
  {
    #keys: '3[413988.0.1292031967][413988.0.1292031966][413988.0.1292031968]'
    Cardinality: '0to1'
    ObjectDefinition: TransferPlanCell
    OwningSide: 'Reference'
  }
  RelationSide.RightSide TransferPlanCell
  {
    #keys: '3[413988.0.1292031970][413988.0.1292031969][413988.0.1292031971]'
    Cardinality: '1toN'
    ObjectDefinition: TransferPlanRow
    OwningSide: 'Reference'
  }
}
_Main/BL/Relations/Relation_TransferPlanColumn_MacroPlan_MacroPlan_TransferPlanColumn.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation TransferPlanColumn_MacroPlan_MacroPlan_TransferPlanColumn
{
  #keys: '1[413988.0.1292031939]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[413988.0.1292031941][413988.0.1292031940][413988.0.1292031942]'
    Cardinality: '0to1'
    ObjectDefinition: TransferPlanColumn
    OwningSide: 'Reference'
  }
  RelationSide.RightSide TransferPlanColumn
  {
    #keys: '3[413988.0.1292031944][413988.0.1292031943][413988.0.1292031945]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Relations/Relation_TransferPlanRow_MacroPlan_MacroPlan_TransferPlanRow.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation TransferPlanRow_MacroPlan_MacroPlan_TransferPlanRow
{
  #keys: '1[413988.0.1292031926]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide MacroPlan
  {
    #keys: '3[413988.0.1292031928][413988.0.1292031927][413988.0.1292031929]'
    Cardinality: '0to1'
    ObjectDefinition: TransferPlanRow
    OwningSide: 'Reference'
  }
  RelationSide.RightSide TransferPlanRow
  {
    #keys: '3[413988.0.1292031931][413988.0.1292031930][413988.0.1292031932]'
    Cardinality: '1toN'
    ObjectDefinition: MacroPlan
    OwningSide: 'Owned'
  }
}
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityAGW.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UpperLimitOfTransferCapacityAGW
{
  #keys: '3[413988.0.1291510952][413988.0.1291510951][413988.0.1291510953]'
  ValueType: Number
}
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityKW.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UpperLimitOfTransferCapacityKW
{
  #keys: '3[413988.0.1291510942][413988.0.1291510941][413988.0.1291510943]'
  ValueType: Number
}
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityPL.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UpperLimitOfTransferCapacityPL
{
  #keys: '3[413988.0.1291510932][413988.0.1291510931][413988.0.1291510933]'
  ValueType: Number
}
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityZKG.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UpperLimitOfTransferCapacityZKG
{
  #keys: '3[413988.0.1291510909][413988.0.1291510908][413988.0.1291510910]'
  ValueType: Number
}
_Main/BL/Type_MacroPlan/Attribute_UpperLimitOfTransferCapacityZKM.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute UpperLimitOfTransferCapacityZKM
{
  #keys: '3[413988.0.1291510922][413988.0.1291510921][413988.0.1291510923]'
  ValueType: Number
}
_Main/BL/Type_TransferPlanCell/Attribute_Value.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Value
{
  #keys: '3[413988.0.1292032065][413988.0.1292032064][413988.0.1292032066]'
  ValueType: String
}
_Main/BL/Type_TransferPlanCell/StaticMethod_GenerateReport.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,71 @@
Quintiq file version 2.0
#parent: #root
StaticMethod GenerateReport (
  MacroPlan macroPlan
)
{
  TextBody:
  [*
    macroPlan.TransferPlanRow( relflush );
    macroPlan.TransferPlanColumn( relflush );
    rowNr := 0;
    // ç”Ÿæˆè°ƒæ‹¨è®¡åˆ’
    traverse ( macroPlan, Unit, u, u.HasCapacityTypeTransportQuantity() ) {
      traverse ( u, Lane.LaneLeg.Trip, t ) {
        traverse ( t, ProductInTrip, pit, pit.Quantity() > 0.0 ) {
          // æ‰¾è¡Œ
          tpr := TransferPlanRow::FindTransferPlanRowTypeIndex( t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP().Name(),
                                                                t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP().Name(),
                                                                pit.Product_MP().ID() );
          if ( isnull( tpr ) ) {
            tpr := macroPlan.TransferPlanRow( relnew,
                                              RowNr                   := rowNr,
                                              SourceStockpoingPointID := t.LaneLeg().AsOriginStockingPointLeg().StockingPoint_MP().Name(),
                                              TargetStockpoingPointID := t.LaneLeg().AsDestinationStockingPointLeg().StockingPoint_MP().Name(),
                                              ProductID               := pit.Product_MP().ID() );
          }
          // æ‰¾åˆ—
          tpc := TransferPlanColumn::FindTransferPlanColumnTypeIndex( t.Departure().Date() );
          if ( isnull( tpc ) ) {
            tpc := macroPlan.TransferPlanColumn( relnew,
                                                 ColumnDate := t.Departure().Date() );
          }
          // èµ‹å€¼å•元格
          cell := select( tpc, TransferPlanCell, tempTPC, tempTPC.TransferPlanRow() = tpr );
          if ( isnull( cell ) ) {
            cell := tpc.TransferPlanCell( relnew, Value := [String]pit.Quantity().Round( 0 ) );
            cell.TransferPlanRow( relset, tpr );
          } else {
            cell.Value( [String] ( [Number]cell.Value() + pit.Quantity().Round( 0 ) ) );
          }
        }
      }
    }
    // è¡¥é½ç©ºåˆ—
    indexDate := minselect( macroPlan, TransferPlanColumn, tempTPC, true, tempTPC.ColumnDate() ).ColumnDate();
    endDate   := maxselect( macroPlan, TransferPlanColumn, tempTPC, true, tempTPC.ColumnDate() ).ColumnDate();
    while ( indexDate <= endDate ) {
      if ( isnull( TransferPlanColumn::FindTransferPlanColumnTypeIndex( indexDate ) ) ) {
        macroPlan.TransferPlanColumn( relnew,
                                      ColumnDate := indexDate );
      }
      indexDate := indexDate + 1;
    }
    // ç”Ÿæˆäº§å“åˆ—
    minDateTPC := macroPlan.TransferPlanColumn( relnew,
                                                ColumnDate := Date::MinDate() );
    traverse ( macroPlan, TransferPlanRow, tpr ) {
      productCell := minDateTPC.TransferPlanCell( relnew, Value := tpr.ProductID() );
      productCell.TransferPlanRow( relset, tpr );
    }
    // è°ƒæ‹¨æ•°é‡è°ƒæ•´
  *]
}
_Main/BL/Type_TransferPlanCell/_ROOT_Type_TransferPlanCell.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type TransferPlanCell
{
  #keys: '5[413988.0.1292031923][413988.0.1292031921][0.0.0][413988.0.1292031922][413988.0.1292031924]'
  BaseType: Object
  StructuredName: 'TransferPlanCells'
}
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ColumnDate
{
  #keys: '3[413988.0.1292032055][413988.0.1292032054][413988.0.1292032056]'
  IsReadOnly: true
  ValueType: Date
}
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnIndex.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ColumnIndex
{
  #keys: '3[413988.0.1292032025][413988.0.1292032024][413988.0.1292032026]'
  ValueType: Number
}
_Main/BL/Type_TransferPlanColumn/Attribute_ColumnName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute ColumnName
{
  #keys: '3[413988.0.1292032045][413988.0.1292032044][413988.0.1292032046]'
  ValueType: String
}
_Main/BL/Type_TransferPlanColumn/Function_CalcColumnName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,13 @@
Quintiq file version 2.0
#parent: #root
Function CalcColumnName
{
  TextBody:
  [*
    // lihongji Jun-24-2024 (created)
    value := ifexpr( this.ColumnDate().IsMinInfinity(), "", this.ColumnDate().Format( "Y/M2/D2" ) );
    this.ColumnName( value );
  *]
}
_Main/BL/Type_TransferPlanColumn/TypeIndex_TransferPlanColumnTypeIndex.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: #root
TypeIndex TransferPlanColumnTypeIndex
{
  Attributes:
  [
    TypeIndexAttribute
    {
      ModelElement: ColumnDate
    }
  ]
}
_Main/BL/Type_TransferPlanColumn/_ROOT_Type_TransferPlanColumn.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type TransferPlanColumn
{
  #keys: '5[413988.0.1292031918][413988.0.1292031916][0.0.0][413988.0.1292031917][413988.0.1292031919]'
  BaseType: Object
  StructuredName: 'TransferPlanColumns'
}
_Main/BL/Type_TransferPlanRow/Attribute_Name.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute Name
{
  #keys: '3[413988.0.1292032011][413988.0.1292032010][413988.0.1292032012]'
  ValueType: String
}
_Main/BL/Type_TransferPlanRow/Attribute_ProductID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute ProductID
{
  #keys: '3[413988.0.1292031981][413988.0.1292031980][413988.0.1292031982]'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_TransferPlanRow/Attribute_RowNr.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
Quintiq file version 2.0
#parent: #root
Attribute RowNr
{
  #keys: '3[413988.0.1292032032][413988.0.1292032031][413988.0.1292032033]'
  ValueType: Number
}
_Main/BL/Type_TransferPlanRow/Attribute_SourceStockpoingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute SourceStockpoingPointID
{
  #keys: '3[413988.0.1292031991][413988.0.1292031990][413988.0.1292031992]'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_TransferPlanRow/Attribute_TargetStockpoingPointID.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute TargetStockpoingPointID
{
  #keys: '3[413988.0.1292032001][413988.0.1292032000][413988.0.1292032002]'
  IsReadOnly: true
  ValueType: String
}
_Main/BL/Type_TransferPlanRow/Function_CalcName.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,13 @@
Quintiq file version 2.0
#parent: #root
Function CalcName
{
  TextBody:
  [*
    // lihongji Jun-24-2024 (created)
    value := this.SourceStockpoingPointID() + " to " + this.TargetStockpoingPointID();
    this.Name( value );
  *]
}
_Main/BL/Type_TransferPlanRow/TypeIndex_TransferPlanRowTypeIndex.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
#parent: #root
TypeIndex TransferPlanRowTypeIndex
{
  Attributes:
  [
    TypeIndexAttribute
    {
      ModelElement: SourceStockpoingPointID
    }
    TypeIndexAttribute
    {
      ModelElement: TargetStockpoingPointID
    }
    TypeIndexAttribute
    {
      ModelElement: ProductID
    }
  ]
}
_Main/BL/Type_TransferPlanRow/_ROOT_Type_TransferPlanRow.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type TransferPlanRow
{
  #keys: '5[413988.0.1292031913][413988.0.1292031911][0.0.0][413988.0.1292031912][413988.0.1292031914]'
  BaseType: Object
  StructuredName: 'TransferPlanRows'
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPagePlan.def
@@ -4,5 +4,6 @@
  Children:
  [
    #child: ActionBarGroupPlanViews
    #child: abgSecondDevelopmentPlan
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_abgSecondDevelopmentPlan.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,34 @@
Quintiq file version 2.0
Component abgSecondDevelopmentPlan
{
  #keys: '[413988.0.1290310419]'
  BaseType: 'WebActionBarGroup'
  Children:
  [
    Component bTransferPlan
    {
      #keys: '[413988.0.1290300652]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'HAND_TRUCK_BOX'
        Label: 'Transfer plan'
        Taborder: 0
      ]
    }
    Component bBlank
    {
      #keys: '[413988.0.1291640400]'
      BaseType: 'WebButton'
      Properties:
      [
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Category: 'Actions-2'
    Taborder: 3
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgSecondDevelopmentPlan_bTransferPlan_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: abgSecondDevelopmentPlan/bTransferPlan
Response OnClick () id:Response_MacroPlanner_abgSecondDevelopmentPlan_bTransferPlan_OnClick
{
  #keys: '[413988.0.1290322113]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      ApplicationScope.ViewManager().ResetUserViewById( "TransferPlan", true);
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlActions.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,40 @@
Quintiq file version 2.0
Component pnlActions
{
  #keys: '[413988.0.1292313213]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btnOk
    {
      #keys: '[413988.0.1292313217]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'OK'
        Taborder: 0
      ]
    }
    Component btnCancel
    {
      #keys: '[413988.0.1292313219]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Cancel'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Border: true
    ExcludeFromActiveComponent: true
    FixedSize: true
    Orientation: 'horizontal'
    Padding: 'true'
    Style: 'footer'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,64 @@
Quintiq file version 2.0
Component pnlContent
{
  #keys: '[413988.0.1292313211]'
  BaseType: 'WebPanel'
  Children:
  [
    Component npUpperLimitOfTransferCapacityZKG
    {
      #keys: '[413988.0.1292313261]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: 'ZKG(pcs)'
        Taborder: 0
      ]
    }
    Component npUpperLimitOfTransferCapacityZKM
    {
      #keys: '[413988.0.1292313339]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: 'ZKM(pcs)'
        Taborder: 1
      ]
    }
    Component npUpperLimitOfTransferCapacityPL
    {
      #keys: '[413988.0.1292313341]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: 'PL(pcs)'
        Taborder: 2
      ]
    }
    Component npUpperLimitOfTransferCapacityKW
    {
      #keys: '[413988.0.1292313343]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: 'KW(pcs)'
        Taborder: 3
      ]
    }
    Component npUpperLimitOfTransferCapacityAGW
    {
      #keys: '[413988.0.1292313345]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        Label: 'AGW(pcs)'
        Taborder: 4
      ]
    }
  ]
  Properties:
  [
    Padding: 'true'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Response_pnlActions_btnCancel_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: pnlActions/btnCancel
Response OnClick () id:Response_pnlActions_btnCancel_OnClick
{
  #keys: '[413988.0.1292313223]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.Close();
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Response_pnlActions_btnOk_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[413988.0.1292313222]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.ApplyChanges();
      Form.Close();
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/_ROOT_Component_DialogUpperLimitOfTransferCapacity.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,21 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent DialogUpperLimitOfTransferCapacity
{
  #keys: '[413988.0.1292313209]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pnlContent
    #child: pnlActions
  ]
  Properties:
  [
    Alignment: 'trailing'
    EnterButton: 'btnOk'
    EscapeButton: 'btnCancel'
    ExcludeFromActiveComponent: true
    Padding: 'false'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_MatrixEditor872.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,97 @@
Quintiq file version 2.0
Component MatrixEditor872
{
  #keys: '[413988.0.1290322866]'
  BaseType: 'WebMatrixEditor'
  Children:
  [
    Component MatrixEditorCell590
    {
      #keys: '[413988.0.1290322867]'
      BaseType: 'WebMatrixEditorCell'
      Children:
      [
        Component DataExtractor862
        {
          #keys: '[413988.0.1290322868]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'TransferPlanColumn.TransferPlanCell'
          ]
        }
      ]
      Properties:
      [
        Attributes: 'Value'
        Column: 'TransferPlanColumn'
        Row: 'TransferPlanRow'
        Taborder: 0
      ]
    }
    Component MatrixEditorRows481
    {
      #keys: '[413988.0.1290322871]'
      BaseType: 'WebMatrixEditorHeaderLevel'
      Children:
      [
        Component DataExtractor661
        {
          #keys: '[413988.0.1290322872]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'TransferPlanRow'
          ]
        }
      ]
      Properties:
      [
        Legend: 'Name'
        SortCriteria: 'SourceStockpoingPointID;TargetStockpoingPointID;ProductID'
        Taborder: 1
      ]
    }
    Component MatrixEditorColumns681
    {
      #keys: '[413988.0.1290322875]'
      BaseType: 'WebMatrixEditorHeaderLevel'
      Children:
      [
        Component DataExtractor445
        {
          #keys: '[413988.0.1290322876]'
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'MacroPlan'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'TransferPlanColumn'
          ]
        }
      ]
      Properties:
      [
        Legend: 'ColumnName'
        SortCriteria: 'ColumnDate'
        Taborder: 2
      ]
    }
    #child: matrixEditorActionBarPage493
    #child: matrixeditorContextMenu367
  ]
  Properties:
  [
    Columns: 'MatrixEditorColumns681'
    ContextMenu: 'matrixeditorContextMenu367'
    Rows: 'MatrixEditorRows481'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_matrixEditorActionBarPage493.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component matrixEditorActionBarPage493
{
  #keys: '[413988.0.1290322879]'
  BaseType: 'matrixEditorActionBarPage'
  Properties:
  [
    Taborder: 3
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_matrixeditorContextMenu367.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component matrixeditorContextMenu367
{
  #keys: '[413988.0.1290322882]'
  BaseType: 'matrixeditorContextMenu'
  Properties:
  [
    Taborder: 4
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_pContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
Component pContent
{
  #keys: '[413988.0.1290370837]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: MatrixEditor872
  ]
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Component_pHeader.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,46 @@
Quintiq file version 2.0
Component pHeader
{
  #keys: '[413988.0.1290370823]'
  BaseType: 'WebPanel'
  Children:
  [
    Component bDownload
    {
      #keys: '[413988.0.1290361218]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Download'
        Taborder: 0
      ]
    }
    Component bMaximumDailyTransferCapacity
    {
      #keys: '[413988.0.1290361230]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Maximum daily transfer capacity'
        Taborder: 1
      ]
    }
    Component bGenerateReport
    {
      #keys: '[413988.0.1292223250]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Generate report'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    Border: true
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bDownload_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: pHeader/bDownload
Response OnClick () id:Response_pHeader_bDownload_OnClick
{
  #keys: '[413988.0.1292330526]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bGenerateReport_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#parent: pHeader/bGenerateReport
Response OnClick () id:Response_pHeader_bGenerateReport_OnClick
{
  #keys: '[413988.0.1292330696]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      TransferPlanCell::GenerateReport( MacroPlan );
      WebMessageBox::Success( Translations::A_VWED_Success() );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/Response_pHeader_bMaximumDailyTransferCapacity_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,12 @@
Quintiq file version 2.0
#parent: pHeader/bMaximumDailyTransferCapacity
Response OnClick () id:Response_pHeader_bMaximumDailyTransferCapacity_OnClick
{
  #keys: '[413988.0.1292330611]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormTransferPlan/_ROOT_Component_FormTransferPlan.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent FormTransferPlan
{
  #keys: '[413988.0.1290321873]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pContent
    #child: pHeader
  ]
  Properties:
  [
    Image: 'HAND_TRUCK_BOX'
    Title: 'Transfer plan'
  ]
}
_Main/UI/MacroPlannerWebApp/Views/TransferPlan.vw
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,146 @@
Quintiq file version 2.0
{
  viewcontents
  {
    forms
    {
      form_FormTransferPlan
      {
        title: 'QMacroPlanner::FormTransferPlan'
        shown: true
        componentID: 'QMacroPlanner::FormTransferPlan'
        layout
        {
          mode: 'open'
          rowPosition: 1
          rowSpan: 14
          columnPosition: 1
          columnSpan: 12
        }
        components: null
      }
      form_FormOptimizerPuzzles
      {
        title: 'Optimizer Puzzles'
        shown: false
        componentID: 'FormOptimizerPuzzles'
        layout
        {
          mode: 'dockright'
          index: 0
        }
        components
        {
          FormOptimizerPuzzles_ListOptimizerPuzzles
          {
          }
          FormOptimizerPuzzles_DataSetLevelOptimizerPuzzles
          {
            groupDepth: -1
            column_All_constraints
            {
              columnId: 'All constraints'
              dataPath: 'All constraints'
              dataType: 'string'
              title: 'All constraints'
              index: 0
              subtotals: ''
              width: 32
            }
            column_Name
            {
              columnId: 'Name'
              dataPath: 'Name'
              dataType: 'string'
              title: 'Name'
              index: 1
              subtotals: ''
              width: 109
            }
            column_Description
            {
              columnId: 'Description'
              dataPath: 'Description'
              dataType: 'string'
              title: 'Description'
              index: 2
              subtotals: ''
              width: 207
            }
          }
        }
      }
      form_FormKPI
      {
        title: 'KPI Dashboard'
        shown: true
        componentID: 'FormKPI'
        layout
        {
          mode: 'dockright'
          index: 1
        }
        components
        {
          FormKPI_PanelKPI
          {
            sizeRatio: 1
            activeChild: 'PanelKPISelection'
          }
          FormKPI_PanelKPIDashboard
          {
            sizeRatio: 1
          }
          FormKPI_PanelKPISelection
          {
            sizeRatio: 1
          }
          FormKPI_ListKPISelection
          {
            QuillViewData
            {
              Food_KPISetting: 'Cost of sales;Fulfillment;Fulfillment target;Inventory holding cost;Labor cost;Margin;Safety stock;Sales;Sourcing cost;Total CO2 emission;Transportation cost;Volume'
            }
          }
          FormKPI_DataSetLevelKPISelection
          {
            groupDepth: -1
            column_All_constraints
            {
              columnId: 'All constraints'
              dataPath: 'All constraints'
              dataType: 'string'
              title: 'All constraints'
              index: 0
              subtotals: ''
              width: 32
            }
            column_Name
            {
              columnId: 'Name'
              dataPath: 'Name'
              dataType: 'string'
              title: 'Name'
              index: 1
              subtotals: ''
              width: 200
            }
          }
        }
      }
    }
    userconfigurableinformation
    {
    }
    page: ''
    group: ''
    index: 0
    image: 'WALLET_OPEN'
    description: ''
  }
  formatversion: 2
  id: 'TransferPlan'
  name: 'TransferPlan'
  isglobal: false
  isroot: true
}