From e7c56c4676e153f0af05083b1f5ab0ed73d4b2c3 Mon Sep 17 00:00:00 2001
From: Kevin Kok Khah Whey <khahwhey.kok@3ds.com>
Date: 星期四, 12 十月 2023 19:19:53 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_Kevin

---
 _Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnCli.def |   33 +++++++++++++++++++++++++++++----
 1 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnCli.def b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnCli.def
index 7ec600a..94fce67 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnCli.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormInterfaceTest/Response_PanelInterfaceTest_ButtonPullInterfaceDataToIntermediateTable_OnCli.def
@@ -7,16 +7,41 @@
   DefinitionID: 'Responsedef_WebButton_OnClick'
   Precondition:
   [*
-    return not isnull( GlobalOTDTable );
+    flag := not isnull( GlobalOTDTable );
+    
+    if ( not isnull( GlobalOTDTable ) ) {
+      
+    }
+    
+    return flag;
   *]
   QuillAction
   {
     Body:
     [*
-      GlobalOTDTable.SynchronizationAllMappingBrokerAndAPIByOption( CheckboxCustomOrder.Checked(),
-                                                                    CheckboxForecast.Checked() );
+      GlobalOTDTable.SynchronizationAllMappingBrokerAndAPIByOption( ApplicationMacroPlanner.GetUserName(),
+                                                                    CheckboxCustomOrder.Checked(),
+                                                                    CheckboxForecast.Checked(),
+                                                                    CheckboxUnitOfMeasure_MP.Checked(),
+                                                                    CheckboxSalesSegment_MP.Checked(),
+                                                                    CheckboxProduct_MP.Checked(),
+                                                                    CheckboxConversionFactor.Checked(),
+                                                                    CheckboxOperation.Checked(),
+                                                                    CheckboxOperationBOM.Checked(),
+                                                                    CheckboxProductInLane.Checked(),
+                                                                    CheckboxAIPISPIP.Checked(),
+                                                                    CheckboxInventorySupply.Checked(),
+                                                                    CheckboxStockingPointCost.Checked(),
+                                                                    CheckboxOperationCost.Checked(),
+                                                                    CheckboxDOI_DSI.Checked(),
+                                                                    CheckboxCustomerGrade.Checked(),
+                                                                    CheckboxStockingPoint_MP.Checked(),
+                                                                    CheckboxCurrency_MP.Checked(),
+                                                                    CheckboxCurrencyRate_MP.Checked(),
+                                                                    CheckboxLane.Checked(),
+                                                                    CheckboxLaneLeg.Checked() );
       
-      WebMessageBox::Success( "鎷夊彇鎴愬姛锛�", true );
+      WebMessageBox::Information( "鏁版嵁寮�濮嬫媺鍙栦腑锛侊紙浠呴檺涓�浜烘搷浣滐級", true );
     *]
     GroupServerCalls: false
   }

--
Gitblit v1.9.3