Finding the Total Available and Available physical for an Item/Warehouse
问题 I have a method for a display field which does the following; return InventSum::find(_salesLine.ItemId, InventDim::_salesLine.InventDimId).AvailPhysical(); This gives me the on-hand Available Physical for the line site/warehouse/location. I need to see the total available for just the site/warehouse. I think I need to search inventDim by Item/Warehouse to get my inventdimid, but I cannot find the method so I am suspicious that this is incorrect. Can anyone help? 回答1: My working solution...