Wednesday, March 30, 2022

Get the one field data from common table using x++

 Hi guys, Based on table Id we are assigning common buffer value to table buffer. Sometimes I need only few fields data instead of full buffer. Just check below code to get required fields data from caller table.

In Form Init:

element.args().record().(fieldNum(WMSLocation, InventLocationId));

element.args().record().(fieldNum(Table, Field));

Other Place:

Common.(fieldNum(Table, Field));


Keep daxing!!

No comments:

Post a Comment