From bd27b0c82884c2d39df600ae1dcf489c33cd95f5 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期四, 21 十一月 2024 18:18:59 +0800
Subject: [PATCH] 接口界面排版

---
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_ListInterfaceShippingData.def                               |   42 ++++++
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuShippingData_OnClick.def |   16 ++
 _Main/Sys/Repr/Global/NewOfflinePlanCell.qrp                                                                                          |    8 -
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listContextMenuInterfaceShippingData.def                    |   10 +
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelColumnSearch.def                                   |    1 
 /dev/null                                                                                                                             |   23 ---
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listActionBarPageInterfaceShippingData.def                  |   10 +
 _Main/UI/MacroPlannerWebApp/Views/Interface_shippping_data_view.vw                                                                    |  101 ++++++++++++++
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/_ROOT_Component_FormInterfaceShippingData.def                         |   17 ++
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonMS64_OnClick.def                          |   21 +++
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonPIR_OnClick.def                           |    8 
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuInterface.def                                      |   94 ------------
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation#653.def                                  |    2 
 _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelSAP.def                                            |   34 ++++
 14 files changed, 261 insertions(+), 126 deletions(-)

diff --git a/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp b/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
index 5dda34e..35f26fa 100644
--- a/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
+++ b/_Main/Sys/Repr/Global/NewOfflinePlanCell.qrp
@@ -20,14 +20,6 @@
         DefaultBackgroundColor: false
         InheritConversion: false
       }
-      DataRepresentation.Conditional
-      {
-        BackgroundColor: 'Red'
-        ConditionBody: 'object.Quantity() < 0.0'
-        ConversionBody: ''
-        DefaultBackgroundColor: false
-        InheritConversion: false
-      }
     ]
   }
   AttributeRepresentation ShiftPatternEnd
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuInterface.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuInterface.def
index 6807e36..b2d24bd 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuInterface.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ContextMenuInterface.def
@@ -38,101 +38,15 @@
         Title: 'Finished engine inventory'
       ]
     }
-    Component mInterfacePlanInventoryDataPush
+    Component MenuShippingData
     {
-      #keys: '[413988.0.1495640230]'
+      #keys: '[415136.0.1330021031]'
       BaseType: 'WebMenu'
       Properties:
       [
-        Taborder: 4
-        Title: '璁″垝搴撳瓨鏁版嵁鎺ㄩ�佹帴鍙f祴璇�'
-      ]
-    }
-    Component MenuInterface367
-    {
-      #keys: '[415136.0.1024980241]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Separator: true
+        Image: 'HAND_TRUCK_BAG'
         Taborder: 3
-      ]
-    }
-    Component MenuCustomerDemandPPAIDS
-    {
-      #keys: '[415136.0.1024980263]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Description: 'Customer demand(PPA + IDS)'
-        Image: 'FLAG_AMBER'
-        Taborder: 6
-        Title: '瀹㈡埛闇�姹傦紙PPA+IDS锛�-PPPS'
-      ]
-    }
-    Component mInterfaceProductionSchedulingPlanPush
-    {
-      #keys: '[415754.0.140441770]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Taborder: 5
-        Title: '鐢熶骇鎺掔▼璁″垝鏁版嵁鎺ㄩ�佹帴鍙f祴璇�'
-      ]
-    }
-    Component MenuIAssemblyOnlinePlanPPPS
-    {
-      #keys: '[415136.0.1044250211]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Image: 'DELIVERY_AMBER'
-        Taborder: 7
-        Title: '瑁呴厤涓婄嚎璁″垝-PPPS'
-      ]
-    }
-    Component MenuIAOnlineAndMOfflinePlanPIR
-    {
-      #keys: '[415136.0.1044250378]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Image: 'DELIVERY_BLUE'
-        Taborder: 8
-        Title: '瑁呴厤涓婄嚎璁″垝+鏈哄姞涓嬬嚎璁″垝-PIR'
-      ]
-    }
-    Component MenuAOnlineAndMOfflinePlanMS64
-    {
-      #keys: '[415136.0.1044210780]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Image: 'DELIVERY_CYAN'
-        Taborder: 9
-        Title: '瑁呴厤涓婄嚎璁″垝+鏈哄姞涓嬬嚎璁″垝-MS64'
-      ]
-    }
-    Component MenuInterfaceInventoryReport
-    {
-      #keys: '[415136.0.1097611829]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Image: 'WAREHOUSE'
-        Taborder: 10
-        Title: 'Inventory report'
-      ]
-    }
-    Component mOfflinePlanInterface
-    {
-      #keys: '[413988.0.1697411489]'
-      BaseType: 'WebMenu'
-      Properties:
-      [
-        Image: 'WIND_ENGINE_OFFSHORE'
-        Taborder: 11
-        Title: '涓嬬嚎璁″垝'
+        Title: 'Shipping data'
       ]
     }
   ]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuAOnlineAndMOfflinePlanMS64_On.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuAOnlineAndMOfflinePlanMS64_On.def
deleted file mode 100644
index da07b97..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuAOnlineAndMOfflinePlanMS64_On.def
+++ /dev/null
@@ -1,21 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/MenuAOnlineAndMOfflinePlanMS64
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuAOnlineAndMOfflinePlanMS64_OnClick
-{
-  #keys: '[415136.0.1044250720]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      dlg := construct( DialogZEDPPSMS64 );
-      dlg.New();
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuCustomerDemandPPAIDS_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuCustomerDemandPPAIDS_OnClick.def
deleted file mode 100644
index c1c6094..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuCustomerDemandPPAIDS_OnClick.def
+++ /dev/null
@@ -1,23 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/MenuCustomerDemandPPAIDS
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuCustomerDemandPPAIDS_OnClick
-{
-  #keys: '[415136.0.1024980283]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      
-      dlg := construct( DialogCustomerDemandPPAIDS );
-      dlg.Title( Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() );
-      dlg.New( Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def
deleted file mode 100644
index 4a50618..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnCli.def
+++ /dev/null
@@ -1,22 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/MenuIAssemblyOnlinePlanPPPS
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuIAssemblyOnlinePlanPPPS_OnClick
-{
-  #keys: '[415136.0.1044210507]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      dlg := construct( DialogCustomerDemandPPAIDS );
-      dlg.Title( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() );
-      dlg.New( Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name() );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuInterfaceInventoryReport_OnCl.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuInterfaceInventoryReport_OnCl.def
deleted file mode 100644
index 204f33a..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuInterfaceInventoryReport_OnCl.def
+++ /dev/null
@@ -1,19 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/MenuInterfaceInventoryReport
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuInterfaceInventoryReport_OnClick
-{
-  #keys: '[415136.0.1097612114]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  QuillAction
-  {
-    Body:
-    [*
-      currentuser     := QuintiqUser::CurrentUser().DisplayName();
-      InterfaceInventoryReport::GenerateData( MacroPlan, InterfaceDataset, currentuser );
-      
-      WebMessageBox::Success( "鎺ㄩ�佹垚鍔燂紒" );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuShippingData_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuShippingData_OnClick.def
new file mode 100644
index 0000000..ae9c53f
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuShippingData_OnClick.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#parent: ContextMenuInterface/MenuShippingData
+Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuShippingData_OnClick
+{
+  #keys: '[415136.0.1329970182]'
+  CanBindMultiple: false
+  DefinitionID: 'Responsedef_WebMenu_OnClick'
+  QuillAction
+  {
+    Body:
+    [*
+      ApplicationScope.ViewManager().ResetUserViewById( "Interface_shippping_data_view", true);
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def
deleted file mode 100644
index d5da9f6..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_O.def
+++ /dev/null
@@ -1,22 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/mInterfacePlanInventoryDataPush
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_mInterfacePlanInventoryDataPush_OnClick
-{
-  #keys: '[413988.0.1495640258]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      InterfacePlanInventoryDataPush::GenerateData( MacroPlan, InterfaceDataset, Number::Random( 0, 1 ) );
-      
-      WebMessageBox::Success( "鎺ㄩ�佹垚鍔燂紒" );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfaceProductionSchedulingPla.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfaceProductionSchedulingPla.def
deleted file mode 100644
index a702496..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mInterfaceProductionSchedulingPla.def
+++ /dev/null
@@ -1,22 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/mInterfaceProductionSchedulingPlanPush
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_mInterfaceProductionSchedulingPlanPush_OnClick
-{
-  #keys: '[415754.0.141940525]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      InterfaceProductionSchedulingPlanPush::GenerateData( MacroPlan, InterfaceDataset, Number::Random( 0, 1 ) );
-      
-      WebMessageBox::Success( "鎺ㄩ�佹垚鍔燂紒" );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mOfflinePlanInterface_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mOfflinePlanInterface_OnClick.def
deleted file mode 100644
index 0e7644b..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_mOfflinePlanInterface_OnClick.def
+++ /dev/null
@@ -1,23 +0,0 @@
-Quintiq file version 2.0
-#parent: ContextMenuInterface/mOfflinePlanInterface
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_mOfflinePlanInterface_OnClick
-{
-  #keys: '[413988.0.1697411525]'
-  CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
-  Precondition:
-  [*
-    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
-  *]
-  QuillAction
-  {
-    Body:
-    [*
-      // 瀛樻。
-      NewOfflinePlanCell::InterfaceArchive( MacroPlan, InterfaceDataset );
-      
-      WebMessageBox::Success( Translations::A_VWED_Success() );
-    *]
-    GroupServerCalls: false
-  }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelColumnSearch.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelColumnSearch.def
index 35f8d03..cb74c79 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelColumnSearch.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelColumnSearch.def
@@ -8,6 +8,7 @@
     #child: PanelPeriod_384
     #child: PanelTimeUnit
     #child: PanelOperation_653
+    #child: PanelSAP
   ]
   Properties:
   [
diff --git "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def" "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
index e86d851..d5aaf2c 100644
--- "a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
+++ "b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelOperation\043653.def"
@@ -18,6 +18,6 @@
   ]
   Properties:
   [
-    Taborder: 2
+    Taborder: 3
   ]
 }
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelSAP.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelSAP.def
new file mode 100644
index 0000000..dde51e8
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Component_PanelSAP.def
@@ -0,0 +1,34 @@
+Quintiq file version 2.0
+Component PanelSAP
+{
+  #keys: '[415136.0.1330103076]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component ButtonPIR
+    {
+      #keys: '[415136.0.1330103095]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Sync PIR'
+        Taborder: 0
+      ]
+    }
+    Component ButtonMS64
+    {
+      #keys: '[415136.0.1330020744]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Label: 'Sync MS64'
+        Taborder: 1
+      ]
+    }
+  ]
+  Properties:
+  [
+    Orientation: 'horizontal'
+    Taborder: 2
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonMS64_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonMS64_OnClick.def
new file mode 100644
index 0000000..7a6ab81
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonMS64_OnClick.def
@@ -0,0 +1,21 @@
+Quintiq file version 2.0
+#parent: PanelSAP/ButtonMS64
+Response OnClick () id:Response_PanelSAP_ButtonMS64_OnClick
+{
+  #keys: '[415136.0.1330020761]'
+  CanBindMultiple: false
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  Precondition:
+  [*
+    return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
+  *]
+  QuillAction
+  {
+    Body:
+    [*
+      dlg := construct( DialogZEDPPSMS64 );
+      dlg.New();
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAOnlineAndMOfflinePlanPIR_On.def b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonPIR_OnClick.def
similarity index 64%
rename from _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAOnlineAndMOfflinePlanPIR_On.def
rename to _Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonPIR_OnClick.def
index e9ee4cf..f1e8327 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ContextMenuInterface_MenuIAOnlineAndMOfflinePlanPIR_On.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormAssemblyOnlinePlanVersion/Response_PanelSAP_ButtonPIR_OnClick.def
@@ -1,10 +1,10 @@
 Quintiq file version 2.0
-#parent: ContextMenuInterface/MenuIAOnlineAndMOfflinePlanPIR
-Response OnClick () id:Response_MacroPlanner_ContextMenuInterface_MenuIAOnlineAndMOfflinePlanPIR_OnClick
+#parent: PanelSAP/ButtonPIR
+Response OnClick () id:Response_PanelSAP_ButtonPIR_OnClick
 {
-  #keys: '[415136.0.1044210948]'
+  #keys: '[415136.0.1330020515]'
   CanBindMultiple: false
-  DefinitionID: 'Responsedef_WebMenu_OnClick'
+  DefinitionID: 'Responsedef_WebButton_OnClick'
   Precondition:
   [*
     return not isnull( MacroPlan ) and not isnull( InterfaceDataset );
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_ListInterfaceShippingData.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_ListInterfaceShippingData.def
new file mode 100644
index 0000000..3cabf5e
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_ListInterfaceShippingData.def
@@ -0,0 +1,42 @@
+Quintiq file version 2.0
+Component ListInterfaceShippingData
+{
+  #keys: '[415136.0.1330021153]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorInterfaceShippingData
+    {
+      #keys: '[415136.0.1330021154]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'InterfaceDataset'
+        Source: 'InterfaceDataset'
+        Taborder: 0
+        Transformation: 'InterfaceLoginfo.ShippingActualData'
+      ]
+    }
+    #child: listActionBarPageInterfaceShippingData
+    Component DataSetLevelInterfaceShippingData
+    {
+      #keys: '[415136.0.1330021159]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuInterfaceShippingData
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ID","title":"ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Fac","title":"Fac","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Fac"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FourCode","title":"FourCode","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FourCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DDay","title":"DDay","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DDay"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Quantity","title":"Quantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Quantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CreateTime","title":"CreateTime","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CreateTime"}}]'
+        ContextMenu: 'listContextMenuInterfaceShippingData'
+        SortCriteria: 'desc:DDay'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listActionBarPageInterfaceShippingData.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listActionBarPageInterfaceShippingData.def
new file mode 100644
index 0000000..ea0734d
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listActionBarPageInterfaceShippingData.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageInterfaceShippingData
+{
+  #keys: '[415136.0.1330021156]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listContextMenuInterfaceShippingData.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listContextMenuInterfaceShippingData.def
new file mode 100644
index 0000000..e96d713
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/Component_listContextMenuInterfaceShippingData.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listContextMenuInterfaceShippingData
+{
+  #keys: '[415136.0.1330021161]'
+  BaseType: 'listContextMenu'
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/_ROOT_Component_FormInterfaceShippingData.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/_ROOT_Component_FormInterfaceShippingData.def
new file mode 100644
index 0000000..e270b81
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceShippingData/_ROOT_Component_FormInterfaceShippingData.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormInterfaceShippingData
+{
+  #keys: '[415136.0.1330021115]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListInterfaceShippingData
+  ]
+  Properties:
+  [
+    Image: 'HAND_TRUCK_BAG'
+    Title: 'Shipping data'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Views/Interface_shippping_data_view.vw b/_Main/UI/MacroPlannerWebApp/Views/Interface_shippping_data_view.vw
new file mode 100644
index 0000000..e1de7ce
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Views/Interface_shippping_data_view.vw
@@ -0,0 +1,101 @@
+Quintiq file version 2.0
+{
+  viewcontents
+  {
+    forms
+    {
+      form_FormInterfaceShippingData
+      {
+        title: 'QMacroPlanner::FormInterfaceShippingData'
+        shown: true
+        componentID: 'QMacroPlanner::FormInterfaceShippingData'
+        layout
+        {
+          mode: 'open'
+          rowPosition: 1
+          rowSpan: 15
+          columnPosition: 1
+          columnSpan: 12
+        }
+        components
+        {
+          FormInterfaceShippingData_ListInterfaceShippingData
+          {
+          }
+          FormInterfaceShippingData_DataSetLevelInterfaceShippingData
+          {
+            groupDepth: -1
+            sort: 'DESC:DDay'
+            column_ID
+            {
+              columnId: 'ID'
+              dataPath: 'ID'
+              dataType: 'number'
+              index: 0
+              subtotals: ''
+              width: 150
+            }
+            column_Fac
+            {
+              columnId: 'Fac'
+              dataPath: 'Fac'
+              dataType: 'string'
+              index: 1
+              subtotals: ''
+              width: 150
+            }
+            column_FourCode
+            {
+              columnId: 'FourCode'
+              dataPath: 'FourCode'
+              dataType: 'string'
+              index: 2
+              subtotals: ''
+              width: 150
+            }
+            column_DDay
+            {
+              columnId: 'DDay'
+              dataPath: 'DDay'
+              dataType: 'date'
+              index: 3
+              subtotals: ''
+              width: 150
+            }
+            column_Quantity
+            {
+              columnId: 'Quantity'
+              dataPath: 'Quantity'
+              dataType: 'real'
+              index: 4
+              subtotals: ''
+              width: 150
+            }
+            column_CreateTime
+            {
+              columnId: 'CreateTime'
+              dataPath: 'CreateTime'
+              dataType: 'datetime'
+              index: 5
+              subtotals: ''
+              width: 150
+            }
+          }
+        }
+      }
+    }
+    userconfigurableinformation
+    {
+    }
+    page: ''
+    group: ''
+    index: 32
+    image: 'HAND_TRUCK_BAG'
+    description: ''
+  }
+  formatversion: 2
+  id: 'Interface_shippping_data_view'
+  name: 'Interface shippping data view'
+  isglobal: false
+  isroot: true
+}

--
Gitblit v1.9.3