Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello at All,
in this case:
Load * Inline [item, remaining qtyAAA, 100BBB, 200BBB, 90];
Load * Inline [item , CostAAA, 10BBB,30BBB , 10];
What is the Join I have to use to abtain:
AAA 100 10 BBB 290 100
Thank
Best Regards s.
Slash [:)]
The answer is : Magic Join, because you can't have BBB 290 100, but BBB 290 40 !
Here's the real answer :
First_Table:Load * Inline [item, remaining qtyAAA, 100BBB, 200BBB, 90];Second_Table:Load * Inline [item , CostAAA, 10BBB,30BBB , 10];Third_Table:Load item as Item, sum([remaining qty]) as QuantityResident First_Tablegroup by item;Join Load item as Item, sum(Cost) as COST Resident Second_Tablegroup by item;
Hope this helps...