From 6d6cc10d9e8e242661da7fd655dec155a09d676c Mon Sep 17 00:00:00 2001
From: haorenhui <renhui.hao@capgemini.com>
Date: 星期一, 30 十月 2023 11:41:12 +0800
Subject: [PATCH] actual关键物料判断

---
 _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..c8b3ff8 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() );
+      WebMessageBox::Information( "鏁版嵁寮�濮嬫媺鍙栦腑锛侊紙浠呴檺涓�浜烘搷浣滐級", true );
       
-      WebMessageBox::Success( "鎷夊彇鎴愬姛锛�", true );
+      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() );
     *]
     GroupServerCalls: false
   }

--
Gitblit v1.9.3