From 6e9d3bb8c53722fa978fa4462c31616f7bbc3492 Mon Sep 17 00:00:00 2001
From: rislai <risheng.lai@capgemini.com>
Date: 星期一, 10 六月 2024 23:35:37 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/VWED into dev

---
 _Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def
new file mode 100644
index 0000000..8e07d45
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def
@@ -0,0 +1,20 @@
+Quintiq file version 2.0
+#parent: #root
+Method New (
+  FormChangeLossSetting form
+) id:Method_DialogCreateEditChangeLossSetting_New
+{
+  #keys: '[415136.0.746200358]'
+  Body:
+  [*
+    // To create a new product
+    owner := LibCal_GlobalState.dhGlobalCalendarRegistry().Data();
+    obj := MacroPlan.ChangeLossSetting( relshadow );
+    
+    dhDialogData.Data( &obj );
+    
+    dhForm.Data( form );
+    
+    ApplicationMacroPlanner.ShowFormModal( this );
+  *]
+}

--
Gitblit v1.9.3