Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Unanswered

How to pass Multiselected records from form to SysOperationBatchProcess

Posted on by
Hi,
 
    Could someone suggest me a solution for passing multiselected records from form to batch without using Temp Table. Is this Possible? 



Thanks & Regards,
Rabia Rizwana.
 
  • GirishS Profile Picture
    GirishS 27,799 Super User on at
    How to pass Multiselected records from form to SysOperationBatchProcess
    Hi Rabia,
     
    As Martin mentioned you can get a caller DataSource and use MultiSelectHelper class to get the selected records from the grid.
    You can refer to the below blog and see if it helps.
     
    Thanks,
    Girish S.
  • Martin Dráb Profile Picture
    Martin Dráb 224,741 Super User on at
    How to pass Multiselected records from form to SysOperationBatchProcess
    The controller can refer to the caller data source and iterate selected records with MultiSelectionHelper. It can extract data from records (either directly the information you need or IDs of records to look up later) and put them to list in a data contract.

Helpful resources

Quick Links

Can you answer this forum question?

You could make someone's day!

Community Newsletter - May 2024

Kudos to our community stars!

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,663 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 224,741 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans