I am working on generating a form with fields of dimensions including Itemid.
I have a form in which i have only the ItemId, I need to find inventDimID for it.
How do I do that?
I think that what you are looking for here are the dimensions of the item, not necessarily the inventDimId. In order to get the dimensions, you could do the following(for the purpose of this example, we have our dimension[1] = Department:
static void Job8(Args _args)
{
Dimension dim;
SysDim department;
;
dim = InventTable::find('3t80').Dimension;
department = dim[1];
}