Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Automatic release of transfer order

(0) ShareShare
ReportReport
Posted on by 437

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!!!

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: Automatic release of transfer order

    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

    www.artofcreation.be/.../

  • Suggested answer
    Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: Automatic release of transfer order

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans