This is how we can loop through all the fields of a table in X++:
static void Job1(Args _args)
{
SysDictTable dictTable = new SysDictTable(tableNum(PurchLine));
SysDictField dictField;
TreeNode...(read more)Image may be NSFW.
Clik here to view.
Clik here to view.
