Composite variants are made up of two or more variants.
TradeGecko tracks stock level changes at the variant level, rather than as a whole composite variant.
Your composite variant is a Hamper.
1 Hamper is made of made of 3 variants:
- A jar of jam.
- A box of crackers.
- A wicker basket.
Let’s assume that in your inventory you have:
- 10 jars of jam
- 8 boxes of crackers
- 5 wicker baskets
That means, you currently have 5 Hampers “On Hand” & “Available” in your inventory because you need the relevant quantities of each variant to make 1 hamper. Therefore, with only 5 wicker baskets you will only have maximum of 5 hampers.
You receive an order for 2 Hampers.
Each of these variants will reflect the changes from that order. Your available stock level will be adjusted to the following:
- 8 jars of jam
- 6 boxes of crackers
- 3 wicker baskets
You will notice that your Hamper stock will have 5 “On Hand”, yet only 3 are “Available” since you have “Committed” 2 to the previous order.
Now, you receive an order for 1 wicker basket. Once you mark the order as “Active” Or “Finalized” you will notice a decrease in the “Available” stock of hampers in your inventory, with a corresponding increase in your “Committed” stock of it, while the “On Hand” value remains unchanged.
Now, you will only have 2 “Available” Hampers.
Although you haven’t committed a whole Hamper but only a variant of within the composite variant (a wicker basket), the hamper have 1 less available stock because 1 less hamper can be made now.
Now if you receive an order for 1 Jar of jam, you will notice that the availability of Hampers will not change since there is enough stock to meet the maximum number of available Hampers (at this point there will still be 2 "Available" Hampers).