RE: Form InventOnhandItem InventDimId
Ok so here is the situation
There is a requirement to display a custom field called deptLocation from InventItemLocation table on to the InventOnhandItem Grid. this custom field gives information about specific depts. against itemid, configid and warehouse. I am trying to display the value of this field on the grid using a display method. The InventItemLocation table find method require ItemId and InventDimId to get the correct record. in my display method on InventSum dataSource of the form I am trying to supply itemId and inventDimId from inventSum to the find method but it returns exception that method is called with illegal values because the inventDimId is always null. the line of code looks like this.
InventItemLocation::Find(_inventSum.ItemId, _inventSum.InventDimId);
as an alternate I tried following on someone's suggestion
_InventDim = _inventSum.joinChild();
InventItemLocation::Find(_inventSum.ItemId, _inventDim.InventDimId);
But still get the same error and same situation.
Hope that clarifies your question. Let me know if more information is needed.