From 9cc8c01dd325c9e29dd7a8fc5521148e26978a1c Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 25 十月 2023 09:48:27 +0800
Subject: [PATCH] 异步分发接口优化

---
 _Main/BL/Type_DataInterfaceLog/Attribute_ID.qbl                                                                               |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_PanelDataInterfaceLog.def                                |   26 ++
 _Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl                                                            |   30 +++
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_ListDataInterfaceLog.def                                 |   59 ++++++
 _Main/BL/Type_DataInterfaceLog/Attribute_Message.qbl                                                                          |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listActionBarPageDataInterfaceLog.def                    |   10 +
 _Main/BL/Type_DataInterfaceLog/Attribute_ExecuteStatus.qbl                                                                    |   14 +
 _Main/BL/Type_DataInterfaceLog/Attribute_ExecuteUser.qbl                                                                      |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/_ROOT_Component_FormDataInterfaceLog.def                           |   18 ++
 _Main/BL/Relations/Relation_DataInterfaceLog_GlobalOTDLog_GlobalOTDLog_DataInterfaceLog.qbl                                   |   23 ++
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuDelete_OnClick.def               |   18 ++
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listContextMenuDataInterfaceLog.def                      |   36 ++++
 _Main/BL/Type_DataInterfaceLog/Attribute_CreateDate.qbl                                                                       |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuSelectionAll_OnClick.def         |   17 +
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_Button5_OnClick.def                                          |    4 
 _Main/BL/Type_DataInterfaceLog/StaticMethod_OnSuccess.qbl                                                                     |   14 +
 _Main/BL/Type_DataInterfaceLog/StaticMethod_Create.qbl                                                                        |   15 +
 _Main/BL/Type_DataInterfaceLog/Attribute_ErrorNo.qbl                                                                          |    7 
 _Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_PanelDataInterfaceLog_ButtonDeleteMappingData_OnClick.def |   20 ++
 _Main/BL/Type_DataInterfaceLog/StaticMethod_OnError.qbl                                                                       |   18 ++
 _Main/Sys/ImgAttr/DataInterfaceLog.dme                                                                                        |   31 +++
 _Main/BL/Type_DataInterfaceLog/_ROOT_Type_DataInterfaceLog.qbl                                                                |    9 +
 _Main/UI/MacroPlannerWebApp/Views/接口测试.vw                                                                                     |   86 +++++++++
 _Main/BL/Type_DataInterfaceLog/Attribute_ErrorMessage.qbl                                                                     |    7 
 24 files changed, 484 insertions(+), 6 deletions(-)

diff --git a/_Main/BL/Relations/Relation_DataInterfaceLog_GlobalOTDLog_GlobalOTDLog_DataInterfaceLog.qbl b/_Main/BL/Relations/Relation_DataInterfaceLog_GlobalOTDLog_GlobalOTDLog_DataInterfaceLog.qbl
new file mode 100644
index 0000000..04035ff
--- /dev/null
+++ b/_Main/BL/Relations/Relation_DataInterfaceLog_GlobalOTDLog_GlobalOTDLog_DataInterfaceLog.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation DataInterfaceLog_GlobalOTDLog_GlobalOTDLog_DataInterfaceLog
+{
+  #keys: '1[414702.1.240820064]'
+  DefaultRelationStrategy
+  {
+  }
+  RelationSide.LeftSide GlobalOTDLog
+  {
+    #keys: '3[414702.1.240820066][414702.1.240820065][414702.1.240820067]'
+    Cardinality: '0to1'
+    ObjectDefinition: DataInterfaceLog
+    OwningSide: 'Reference'
+  }
+  RelationSide.RightSide DataInterfaceLog
+  {
+    #keys: '3[414702.1.240820069][414702.1.240820068][414702.1.240820070]'
+    Cardinality: '1toN'
+    ObjectDefinition: GlobalOTDLog
+    OwningSide: 'Owned'
+  }
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_CreateDate.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_CreateDate.qbl
new file mode 100644
index 0000000..927fccc
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_CreateDate.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute CreateDate
+{
+  #keys: '3[414702.1.240820091][414702.1.240820090][414702.1.240820092]'
+  ValueType: DateTime
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorMessage.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorMessage.qbl
new file mode 100644
index 0000000..2017c51
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorMessage.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ErrorMessage
+{
+  #keys: '3[414702.1.240820101][414702.1.240820100][414702.1.240820102]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorNo.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorNo.qbl
new file mode 100644
index 0000000..ffce55d
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_ErrorNo.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ErrorNo
+{
+  #keys: '3[414702.1.240820111][414702.1.240820110][414702.1.240820112]'
+  ValueType: Number
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteStatus.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteStatus.qbl
new file mode 100644
index 0000000..99829e0
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteStatus.qbl
@@ -0,0 +1,14 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ExecuteStatus
+{
+  #keys: '3[414702.1.240820121][414702.1.240820120][414702.1.240820122]'
+  Description:
+  [*
+    鎵ц鐘舵��
+    Running
+    Success
+    Error
+  *]
+  ValueType: String
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteUser.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteUser.qbl
new file mode 100644
index 0000000..365dfbf
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_ExecuteUser.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ExecuteUser
+{
+  #keys: '3[414702.1.240820131][414702.1.240820130][414702.1.240820132]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_ID.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_ID.qbl
new file mode 100644
index 0000000..6566ce8
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_ID.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute ID
+{
+  #keys: '3[414702.1.240784646][414702.1.240784645][414702.1.240784647]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/Attribute_Message.qbl b/_Main/BL/Type_DataInterfaceLog/Attribute_Message.qbl
new file mode 100644
index 0000000..ec7d65b
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/Attribute_Message.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute Message
+{
+  #keys: '3[414702.1.240784656][414702.1.240784655][414702.1.240784657]'
+  ValueType: String
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/StaticMethod_Create.qbl b/_Main/BL/Type_DataInterfaceLog/StaticMethod_Create.qbl
new file mode 100644
index 0000000..83ab828
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/StaticMethod_Create.qbl
@@ -0,0 +1,15 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod Create (
+  GlobalOTDLog globalOTDLog,
+  String executeUser
+)
+{
+  TextBody:
+  [*
+    globalOTDLog.DataDistributionLog( relnew,
+                                      ExecuteStatus  := "Running",
+                                      ExecuteUser    := executeUser
+                                     );
+  *]
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnError.qbl b/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnError.qbl
new file mode 100644
index 0000000..60ebeac
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnError.qbl
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod OnError (
+  GlobalOTDLog globalOTDLog,
+  Number errorNo,
+  String errorMessage,
+  String ID
+)
+{
+  TextBody:
+  [*
+    targetDataInterfaceLog := select( globalOTDLog, DataInterfaceLog, tempDI, tempDI.ID() = ID );
+    
+    targetDataInterfaceLog.ExecuteStatus( "Error" );
+    targetDataInterfaceLog.ErrorNo( errorNo );
+    targetDataInterfaceLog.ErrorMessage( errorMessage );
+  *]
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnSuccess.qbl b/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnSuccess.qbl
new file mode 100644
index 0000000..76535c0
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/StaticMethod_OnSuccess.qbl
@@ -0,0 +1,14 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod OnSuccess (
+  GlobalOTDLog globalOTDLog,
+  String ID
+)
+{
+  TextBody:
+  [*
+    targetDataInterfaceLog := select( globalOTDLog, DataInterfaceLog, tempDI, tempDI.ID() = ID );
+    
+    targetDataInterfaceLog.ExecuteStatus( "Success" );
+  *]
+}
diff --git a/_Main/BL/Type_DataInterfaceLog/_ROOT_Type_DataInterfaceLog.qbl b/_Main/BL/Type_DataInterfaceLog/_ROOT_Type_DataInterfaceLog.qbl
new file mode 100644
index 0000000..c29ffcf
--- /dev/null
+++ b/_Main/BL/Type_DataInterfaceLog/_ROOT_Type_DataInterfaceLog.qbl
@@ -0,0 +1,9 @@
+Quintiq file version 2.0
+#root
+#parent: #DomainModel
+Type DataInterfaceLog
+{
+  #keys: '5[414702.1.240820045][414702.1.240820043][0.0.0][414702.1.240820044][414702.1.240820046]'
+  BaseType: Object
+  StructuredName: 'DataInterfaceLogs'
+}
diff --git a/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl b/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl
new file mode 100644
index 0000000..bfd949f
--- /dev/null
+++ b/_Main/BL/Type_GlobalDTOTable/StaticMethod_DeleteAllMappingData.qbl
@@ -0,0 +1,30 @@
+Quintiq file version 2.0
+#parent: #root
+StaticMethod DeleteAllMappingData (
+  GlobalOTDTable globalOTDTable
+)
+{
+  TextBody:
+  [*
+    globalOTDTable.Global_MappingCustomOrder( relflush );
+    globalOTDTable.Global_MappingForecast( relflush );
+    globalOTDTable.Global_MappingUnitOfMeasure_MP( relflush );
+    globalOTDTable.Global_MappingSalesSegment_MP( relflush );
+    globalOTDTable.Global_MappingProduct_MP( relflush );
+    globalOTDTable.Global_MappingConversionFactor( relflush );
+    globalOTDTable.Global_MappingOperation( relflush );
+    globalOTDTable.Global_MappingOperationBOM( relflush );
+    globalOTDTable.Global_MappingProductInLane( relflush );
+    globalOTDTable.Global_MappingActualProductInStockingPointInPeriod( relflush );
+    globalOTDTable.Global_MappingInventorySupply( relflush );
+    globalOTDTable.Global_MappingStockingPointCost( relflush );
+    globalOTDTable.Global_MappingOperationCost( relflush );
+    globalOTDTable.Global_MappingDOI_DSI( relflush );
+    globalOTDTable.Global_MappingCustomerGrade( relflush );
+    globalOTDTable.Global_MappingStockingPoint_MP( relflush );
+    globalOTDTable.Global_MappingCurrency_MP( relflush );
+    globalOTDTable.Global_MappingCurrencyRate_MP( relflush );
+    globalOTDTable.Global_MappingLane( relflush );
+    globalOTDTable.Global_MappingLaneLeg( relflush );
+  *]
+}
diff --git a/_Main/Sys/ImgAttr/DataInterfaceLog.dme b/_Main/Sys/ImgAttr/DataInterfaceLog.dme
new file mode 100644
index 0000000..82ef720
--- /dev/null
+++ b/_Main/Sys/ImgAttr/DataInterfaceLog.dme
@@ -0,0 +1,31 @@
+Quintiq file version 2.0
+#parent: #root
+TypeDataInterface DataInterfaceLog
+{
+  TypeKey: '[414702.1.240820043]'
+  ImageDataMember ImgExecuteStatus
+  {
+    #keys: '1[414702.1.241719046]'
+    ImageSpecifications:
+    [
+      ImageDataMemberImageSpecification
+      {
+        Image: 'MEDIA_PLAY_GREEN'
+        Quill: 'object.ExecuteStatus() = "Running"'
+        Value: 'Running'
+      }
+      ImageDataMemberImageSpecification
+      {
+        Image: 'CHECK'
+        Quill: 'object.ExecuteStatus() = "Success"'
+        Value: 'Success'
+      }
+      ImageDataMemberImageSpecification
+      {
+        Image: 'DELETE2'
+        Quill: 'object.ExecuteStatus() = "Error"'
+        Value: 'Error'
+      }
+    ]
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_ListDataInterfaceLog.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_ListDataInterfaceLog.def
new file mode 100644
index 0000000..5c9d1b5
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_ListDataInterfaceLog.def
@@ -0,0 +1,59 @@
+Quintiq file version 2.0
+Component ListDataInterfaceLog
+{
+  #keys: '[414702.1.239680981]'
+  BaseType: 'WebList'
+  Children:
+  [
+    Component DataExtractorDataInterfaceLog
+    {
+      #keys: '[414702.1.239680982]'
+      BaseType: 'WebDataExtractor'
+      Properties:
+      [
+        DataType: 'GlobalOTDLog'
+        Source: 'GlobalOTDLog'
+        Taborder: 0
+        Transformation: 'DataInterfaceLog'
+      ]
+    }
+    #child: listActionBarPageDataInterfaceLog
+    Component DataSetLevelDataInterfaceLog
+    {
+      #keys: '[414702.1.239680987]'
+      BaseType: 'WebDataSetLevel'
+      Children:
+      [
+        #child: listContextMenuDataInterfaceLog
+      ]
+      Properties:
+      [
+        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImgExecuteStatus","title":"ImgExecuteStatus","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImgExecuteStatus"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Message","title":"鏃ュ織淇℃伅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Message"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"CreateDate","title":"鍒涘缓鏃堕棿","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"CreateDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorNo","title":"閿欒鍙�","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ErrorMessage","title":"閿欒娑堟伅","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ErrorMessage"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ExecuteUser","title":"鎵ц鐢ㄦ埛","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ExecuteUser"}}]'
+        ContextMenu: 'listContextMenuDataInterfaceLog'
+        Taborder: 2
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 1
+  ]
+  ResponseDefinitions:
+  [
+    DelegatedResponseDefinition OnClick id:Responsedef_ListDataInterfaceLog_WebMenu_OnClick
+    {
+      #keys: '[414702.1.241608270]'
+      Initiator: 'WebMenu'
+      IsInherited: false
+      ResponseType: 'OnClick'
+      Arguments:
+      [
+        ResponseDefinitionArgument selection
+        {
+          #keys: '[517.0.24916696]'
+          Binding: 'this.Selection()'
+        }
+      ]
+    }
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_PanelDataInterfaceLog.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_PanelDataInterfaceLog.def
new file mode 100644
index 0000000..6a2764e
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_PanelDataInterfaceLog.def
@@ -0,0 +1,26 @@
+Quintiq file version 2.0
+Component PanelDataInterfaceLog
+{
+  #keys: '[414702.1.241718154]'
+  BaseType: 'WebPanel'
+  Children:
+  [
+    Component ButtonDeleteMappingData
+    {
+      #keys: '[414702.1.241609042]'
+      BaseType: 'WebButton'
+      Properties:
+      [
+        Image: 'GARBAGE'
+        Label: '鍒犻櫎鎵�鏈変腑闂磋〃鏁版嵁'
+        Taborder: 0
+      ]
+    }
+  ]
+  Properties:
+  [
+    FixedSize: true
+    Orientation: 'horizontal'
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listActionBarPageDataInterfaceLog.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listActionBarPageDataInterfaceLog.def
new file mode 100644
index 0000000..99182f0
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listActionBarPageDataInterfaceLog.def
@@ -0,0 +1,10 @@
+Quintiq file version 2.0
+Component listActionBarPageDataInterfaceLog
+{
+  #keys: '[414702.1.239680984]'
+  BaseType: 'listActionBarPage'
+  Properties:
+  [
+    Taborder: 1
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listContextMenuDataInterfaceLog.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listContextMenuDataInterfaceLog.def
new file mode 100644
index 0000000..e774933
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Component_listContextMenuDataInterfaceLog.def
@@ -0,0 +1,36 @@
+Quintiq file version 2.0
+Component listContextMenuDataInterfaceLog
+{
+  #keys: '[414702.1.239680989]'
+  BaseType: 'listContextMenu'
+  Children:
+  [
+    Component MenuDelete
+    {
+      #keys: '[414702.1.241377626]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'DELETE'
+        Taborder: 3
+        Title: '鍒犻櫎'
+      ]
+    }
+    Component MenuSelectionAll
+    {
+      #keys: '[414702.1.239663154]'
+      BaseType: 'WebMenu'
+      Properties:
+      [
+        Image: 'SELECTION'
+        Shortcut: 'Ctrl+A'
+        Taborder: 4
+        Title: '鍏ㄩ��'
+      ]
+    }
+  ]
+  Properties:
+  [
+    Taborder: 0
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuDelete_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuDelete_OnClick.def
new file mode 100644
index 0000000..852a007
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuDelete_OnClick.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#parent: ListDataInterfaceLog
+Response OnClick (
+  DataInterfaceLog selection
+) id:Response_ListDataInterfaceLog_MenuDelete_OnClick
+{
+  #keys: '[414702.1.239692167]'
+  DefinitionID => /ListDataInterfaceLog/Responsedef_ListDataInterfaceLog_WebMenu_OnClick
+  Initiator: 'MenuDelete'
+  QuillAction
+  {
+    Body:
+    [*
+      selection.Delete();
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuSelectionAll_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuSelectionAll_OnClick.def
new file mode 100644
index 0000000..e10569b
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_ListDataInterfaceLog_MenuSelectionAll_OnClick.def
@@ -0,0 +1,17 @@
+Quintiq file version 2.0
+#parent: ListDataInterfaceLog
+Response OnClick () id:Response_ListDataInterfaceLog_MenuSelectionAll_OnClick
+{
+  #keys: '[414702.1.241718079]'
+  CanBindMultiple: false
+  DefinitionID => /ListDataInterfaceLog/Responsedef_ListDataInterfaceLog_WebMenu_OnClick
+  Initiator: 'MenuSelectionAll'
+  QuillAction
+  {
+    Body:
+    [*
+      this.SelectAll();
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_PanelDataInterfaceLog_ButtonDeleteMappingData_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_PanelDataInterfaceLog_ButtonDeleteMappingData_OnClick.def
new file mode 100644
index 0000000..8f7212d
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/Response_PanelDataInterfaceLog_ButtonDeleteMappingData_OnClick.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: PanelDataInterfaceLog/ButtonDeleteMappingData
+Response OnClick () id:Response_PanelDataInterfaceLog_ButtonDeleteMappingData_OnClick
+{
+  #keys: '[414702.1.239672495]'
+  CanBindMultiple: false
+  DefinitionID: 'Responsedef_WebButton_OnClick'
+  Precondition:
+  [*
+    return not isnull( GlobalOTDTable );
+  *]
+  QuillAction
+  {
+    Body:
+    [*
+      GlobalOTDTable::DeleteAllMappingData( GlobalOTDTable );
+    *]
+    GroupServerCalls: false
+  }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/_ROOT_Component_FormDataInterfaceLog.def b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/_ROOT_Component_FormDataInterfaceLog.def
new file mode 100644
index 0000000..ec119cb
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormDataInterfaceLog/_ROOT_Component_FormDataInterfaceLog.def
@@ -0,0 +1,18 @@
+Quintiq file version 2.0
+#root
+#parent: MacroPlannerWebApp
+OrphanComponent FormDataInterfaceLog
+{
+  #keys: '[414702.1.239641060]'
+  BaseType: 'WebForm'
+  Children:
+  [
+    #child: ListDataInterfaceLog
+    #child: PanelDataInterfaceLog
+  ]
+  Properties:
+  [
+    Image: 'MUSHROOM'
+    Title: '鏁版嵁鎺ュ彛鏃ュ織'
+  ]
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_Button5_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_Button5_OnClick.def
index 93cfb84..5886c41 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_Button5_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_Button5_OnClick.def
@@ -5,10 +5,6 @@
   #keys: '[414702.1.228751233]'
   CanBindMultiple: false
   DefinitionID: 'Responsedef_WebButton_OnClick'
-  Precondition:
-  [*
-    
-  *]
   QuillAction
   {
     Body:
diff --git "a/_Main/UI/MacroPlannerWebApp/Views/\346\216\245\345\217\243\346\265\213\350\257\225.vw" "b/_Main/UI/MacroPlannerWebApp/Views/\346\216\245\345\217\243\346\265\213\350\257\225.vw"
index 1977281..7ca33c1 100644
--- "a/_Main/UI/MacroPlannerWebApp/Views/\346\216\245\345\217\243\346\265\213\350\257\225.vw"
+++ "b/_Main/UI/MacroPlannerWebApp/Views/\346\216\245\345\217\243\346\265\213\350\257\225.vw"
@@ -13,7 +13,7 @@
         {
           mode: 'open'
           rowPosition: 1
-          rowSpan: 23
+          rowSpan: 17
           columnPosition: 1
           columnSpan: 6
         }
@@ -152,7 +152,7 @@
         {
           mode: 'open'
           rowPosition: 1
-          rowSpan: 23
+          rowSpan: 28
           columnPosition: 7
           columnSpan: 6
         }
@@ -1180,6 +1180,88 @@
           }
         }
       }
+      form_FormDataInterfaceLog
+      {
+        title: 'QTIANMA_JITUAN::FormDataInterfaceLog'
+        shown: true
+        componentID: 'QTIANMA_JITUAN::FormDataInterfaceLog'
+        layout
+        {
+          mode: 'open'
+          rowPosition: 18
+          rowSpan: 11
+          columnPosition: 1
+          columnSpan: 6
+        }
+        components
+        {
+          FormDataInterfaceLog_PanelDataInterfaceLog
+          {
+            sizeRatio: 1
+          }
+          FormDataInterfaceLog_ListDataInterfaceLog
+          {
+          }
+          FormDataInterfaceLog_DataSetLevelDataInterfaceLog
+          {
+            groupDepth: -1
+            column_ImgExecuteStatus
+            {
+              columnId: 'ImgExecuteStatus'
+              dataPath: 'ImgExecuteStatus'
+              dataType: 'string'
+              index: 0
+              subtotals: ''
+              width: 40
+            }
+            column_Message
+            {
+              columnId: 'Message'
+              dataPath: 'Message'
+              dataType: 'string'
+              index: 1
+              subtotals: ''
+              width: 150
+            }
+            column_CreateDate
+            {
+              columnId: 'CreateDate'
+              dataPath: 'CreateDate'
+              dataType: 'datetime'
+              index: 2
+              subtotals: ''
+              width: 150
+            }
+            column_ErrorNo
+            {
+              columnId: 'ErrorNo'
+              dataPath: 'ErrorNo'
+              dataType: 'number'
+              index: 3
+              subtotals: ''
+              width: 150
+            }
+            column_ErrorMessage
+            {
+              columnId: 'ErrorMessage'
+              dataPath: 'ErrorMessage'
+              dataType: 'string'
+              index: 4
+              subtotals: ''
+              width: 150
+            }
+            column_ExecuteUser
+            {
+              columnId: 'ExecuteUser'
+              dataPath: 'ExecuteUser'
+              dataType: 'string'
+              index: 5
+              subtotals: ''
+              width: 150
+            }
+          }
+        }
+      }
     }
     userconfigurableinformation
     {

--
Gitblit v1.9.3