Hi all
Running AX 2012 R3 CU9.
I have a business requirement that means I need to have a button on the ActionPane of the SalesTable form. It will run a static method which I've created already. However, the method takes an input variable of a SalesId.
I was hoping to have the button's clicked() method pass the SalesId of the order in question when setting off this method. But I can't work out the X++ syntax to get the SalesTable.SalesId record from within the form.
(I assume "this" returns the form itself)
Any help would be much appreciated
Cheers
Luke
*This post is locked for comments
Knew it'd be something simple I was missing haha
Thanks so much for your help!
Hey there,
in SalesTable form, u can easily have Sales order number by assigning =SalesTable.SalesId, this will get u current SalesId of selected Control
Kempeth
4
Andy Adamak
4
Community Member
4