RE: Bracodes and phisical quantity
Hi garyNY,
The barcodes are stored in InventItemBarcode, which joins to InventTable on ItemId. However, if you're using product dimension specific barcodes (i.e. if you use Color, Configuration, Size or Style), you'll need to do more work with the InventDim table to get the right barcode.
So the answer is, use ItemId and whatever combination of product dimensions you are using.
And I would have thought that would be easier than getting on hand quantities out of InventSum!