Question
· Feb 28

How call a Business Process from method

Hello!

How I can call my Business process - "process.ReconciliationPayments" from method. Like this.

ClassMethod getReportPavlodarEnergoSbyt()
{

s sc = $$$OK

ensBS = ##class(Ens.BusinessService).%New()

requestObj.operationDate="2024-02-28"
requestObj.provider="Provider"
requestObj.processId=$SYSTEM.Util.CreateGUID()

ensBS.SendRequestAsync("process.ReconciliationPayments",requestObj"payment")

q sc

}

Product version: Caché 2016.1
$ZV: Cache for Windows (x86-64) 2016.1.1 (Build 108U) Wed Jul 6 2016 15:57:04 EDT
Discussion (7)2
Log in or sign up to continue