Hi Gunjan Bhattachayya ,
I'm still learning and training on D365.
I'm looking for many ways to pass args from form A to form B.
In that way i understood the way to do it with args.record .... But i'm still blocked with args.parmObject.
My example is this one :
(I already find the way to do it with the best practice i learned with menu item button display and so on)
Now I created a x++ button in form A to open form B.
I used an event handler on clicked button to process opening and getting values
On form A i'm selecting many rows and got it with multipleselecthelper
I stored the selection in type Set variable
Then i transfer that values in args.parmObject(setSelection)
I don't if there is a best way but i'm getting the values i selected with that way.
Then i'm getting back this values in init method on form B
There i'm need to find a way to work with parmObject i got and make some query to filter data
I hope that's explanation is clear.
Regards.