Here’s my problem, and my forehead is bleeding from both ignorance (which I hope is curable) and from pounding my forehead against the metaphorical wall.
I have a new project that requires the following:
1) When a shop calls in asking for a replacement unit, I need to generate an open order which happens in the ORDER STATUS table.
2) When I have a repaired unit available (typically in stock) I ship it, and record the shipment to the store, and mark the record (via a status field) Awaiting Core, in the ORDER STATUS table.
3) When the store sends me a unit back, I match it with the last Order for that store with a status of Awaiting Core unit from the ORDER STATUS table and now I need to move a copy of this return to my REPAIR LOG table.
Note that the repair log has a number of additional functions that cover the material cost, the labor cost, and selling price. To keep track of the material cost I have a One-to-Many relationship with the parts I’m using.
The problem is, and my ignorance is the cause of the problem, that I want the user to only make one entry of the returned unit in the ORDER STATUS table. From there I want to take the Order_ID field (tracks the open orders with an AutoNumber), the Store_No field, and the Return_Date fields. I want to take the three fields, and put them in the table called REPAIR LOG.
Then, I want to grab the REPAIR LOG Repair_ID field (Autonumber that will be my Work Order for the repair) and put it as a reference number in my ORDER STATUS table.
I cannot figure out how to accomplish this; anyone help me?
Thanks a bunch,
Paul
I have a new project that requires the following:
1) When a shop calls in asking for a replacement unit, I need to generate an open order which happens in the ORDER STATUS table.
2) When I have a repaired unit available (typically in stock) I ship it, and record the shipment to the store, and mark the record (via a status field) Awaiting Core, in the ORDER STATUS table.
3) When the store sends me a unit back, I match it with the last Order for that store with a status of Awaiting Core unit from the ORDER STATUS table and now I need to move a copy of this return to my REPAIR LOG table.
Note that the repair log has a number of additional functions that cover the material cost, the labor cost, and selling price. To keep track of the material cost I have a One-to-Many relationship with the parts I’m using.
The problem is, and my ignorance is the cause of the problem, that I want the user to only make one entry of the returned unit in the ORDER STATUS table. From there I want to take the Order_ID field (tracks the open orders with an AutoNumber), the Store_No field, and the Return_Date fields. I want to take the three fields, and put them in the table called REPAIR LOG.
Then, I want to grab the REPAIR LOG Repair_ID field (Autonumber that will be my Work Order for the repair) and put it as a reference number in my ORDER STATUS table.
I cannot figure out how to accomplish this; anyone help me?
Thanks a bunch,
Paul