18.08.2018, 12:27 | #1 |
Участник
|
d365technext: Long Processing Dialog D365FO
Источник: http://d365technext.blogspot.com/201...og-d365fo.html
============== Long Processing Dialog D365FO There is a class in Dynamics 365FO Named SysOperationSandbox which is handle long running dialog for long running processes.. this class support Class and table level static method only.. Following are the Parameters
Form Code [Form] public class SLD_DemoForm extends FormRun { [Control("Button")] class FormButtonControl1 { /// /// /// public void clicked() { container _container=["You can pass parameter to your method",1000]; SysOperationSandbox::callStaticMethod(classNum(SLD_DemoInstance), staticMethodStr(SLD_DemoInstance,LongProcess),_container, 'waiting caption should be here', 'Operation completed message should be here','Operation Cancelled should be here'); super(); } } } Class Code <div>class SLD_DemoInstance { public static void LongProcess(container _container) { int contervalue= conPeek(_container,2); <div class="MsoNormal"> for (int i=1<span style="font-family: "consolas"; font-size: 9.5pt;">;i
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|