Can anyone help me with this? I think I need a series of queries to change a value in the Transactions table based on record totals from another table but I'm not sure how to go about it. Here is the Transactions Information collected when the Products are purchased:
TransID TransDate ProductID POID Price Ordered Received Sold
1447 3/31/01 AA160D 546 $1.05 105 105 15
1448 3/31/01 AA046B 546 $0.94 60 60 47
1449 3/31/01 AA046C 546 $2.98 252 252 24
This is the Workorder Parts information collected as the items are "Sold"
WorkorderPartID Workorder ID Part ID Quantity Unit Price
21 4146 AA943Z 2 $0.41
22 4147 AB955M 1 $6.60
23 4147 AA094D 1 $1.18
I think what I have to do is create a query that will store the summary values of the Quantity in the Workorder Parts table. Then I get lost because each items quantity has to be added to the Transactions "Sold" field and many times the quantity "Sold will exceed the quantity we have purchased on a single PO. I can not figure out how to set this up.
Does anyone have any suggestions?
RookieDev
TransID TransDate ProductID POID Price Ordered Received Sold
1447 3/31/01 AA160D 546 $1.05 105 105 15
1448 3/31/01 AA046B 546 $0.94 60 60 47
1449 3/31/01 AA046C 546 $2.98 252 252 24
This is the Workorder Parts information collected as the items are "Sold"
WorkorderPartID Workorder ID Part ID Quantity Unit Price
21 4146 AA943Z 2 $0.41
22 4147 AB955M 1 $6.60
23 4147 AA094D 1 $1.18
I think what I have to do is create a query that will store the summary values of the Quantity in the Workorder Parts table. Then I get lost because each items quantity has to be added to the Transactions "Sold" field and many times the quantity "Sold will exceed the quantity we have purchased on a single PO. I can not figure out how to set this up.
Does anyone have any suggestions?
RookieDev