Difference between ItemGroupID and ItemRelation


I want to know the difference between ItemGroupID in InventTable table and ItemRelation in InventPosting table.

how do we link the two tables ? on what fields do we put relation ?

ItemRelation may mean different things depending on ItemCode. If Item code is Group, Item relation refers to InventItemGroup table. If Item code is Item, Item relation refers to InventTable table.

InventTable.ItemGroupID groups related items together. You can then configure posting for the whole rather than for individual items.

thank you martin :slight_smile: