最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

处理D365财务和运营的繁忙指标 Process Busy Indicator D365 for finance and operations

网络文摘 alirazazaidi 2062浏览 0评论
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.
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址