Hi Folks,
Working on a functionality where a batch jobs needs to be called through code on clicking a button for a specific Transfer order.
Although I checked that batch job "Automatic release of Transfer orders" is a SysOperations framework which takes contract class buffer.
Could any one please guide me to I can call this batch job for a specific record.
Thanks in Advance!!!
Hi, You can add menu item of controller class in the form and set range on Transfer Id field in the query. Check this article
In short this is what you have to do: before calling startOperation(), from your controller object, you can get the contract object and then from the contract object, you can get the query. Then modify the query to use the selected record (form _args.record()) and then set the modified query back on the contract.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156