
Hi all
I need to create a flowfield on variant table, which tells the qty available for that variant.
I know that we have the functionality on Item Card that retrives the variant qty available, I have debugged through the process but I couldn't see the what the relation between the Item ,variant and the Inventory was. If anyone can explain the flow in a more understandable language, I will be very thankful.
*This post is locked for comments
I have the same question (0)I have found out how they are related.
On the Item Variant table I create a new flowfield called "Quantity Available" with below calcformula:
CalcFormula = Sum("Item Ledger Entry".Quantity WHERE ("Item No."=FIELD("Item No."),"Variant Code"=FIELD(Code)));
To test the solution I did following: