Saturday, 20 February 2010

AX - Get tables virtual company id

To find a tables DataAreaId. This comes in handy when you are trying to select records from another company but that table may belong to a virtual company.
ProjTable.Company('CEU');
info(ProjTable.DataAreaId);

No comments: