web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Process Busy Indicator D365 for finance and operations

Ali Zaidi Profile Picture Ali Zaidi 4,657

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

{

/// <summary>

///

/// </summary>

public void clicked()

{

 

container _Xyz=[TableName.FieldValue];

super();

SysOperationSandbox::callStaticMethod(classNum(myProcess),
staticMethodStr(myProcess,RunmyProcess),_Xyz, 
'Ledger Record in process', 'Operation completed');

 

 

}

 

}

Reference : Internet.

Comments

*This post is locked for comments