Assume I have create 2 WH already in the object.
Now the user create the Product A. After Save the Product.
I want to update the LocationProduct. The result will be:
Location................. Product
WH1........................Product A
WH2........................Prodoct A
So in the way, I can do the query for Product A, show the stock balance for each of the Warehouse. That is my objective.
But I do not know how to update the Location Product Object by calling the Location Object and Product Object together.
Using VB. I know how to do it:
- Call Location
- Call Product
Do Until Location.eof
LocationProduct.Location = Location
LocationProduct.Product = Product A
Next Location
Loop
I hope I can explain well.. Soryy about that. Ready need help. :oops: