Показать сообщение отдельно
Старый 25.01.2018, 11:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: Process Busy Indicator D365 for finance and operations
Источник: https://www.tech.alirazazaidi.com/pr...nd-operations/
==============

Hi All, today I have small tip, During development, I have to process a lot of records. During this , I need Busy screen process indicator.



I used following code snippet to create progress busy indicator.



For this I have to do following changes in my Class method (Business logic).
  1. Convert required method to Static
  2. Parameter is changed to Container and then required parameter extract from container inside the method.



So my required method become something like





Class myProcess{  Public static void RunmyProcess(Container _C){Str _Value = conpeek(_C,1);   } }   class RunBtnProcess{/// ////// public void clicked(){ container _Xyz=[TableName.FieldValue];super();SysOperationSandbox::callStaticMethod(classNum(myProcess),staticMethodStr(myProcess,RunmyProcess),_Xyz, 'Ledger Record in process', 'Operation completed');  } }

Reference : Internet.



Источник: https://www.tech.alirazazaidi.com/pr...nd-operations/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.