I have a database to capture information from an invoice for tracking inventory. The user will enter the invoice date, invoice number, product name, quantity on the invoice and the unit costs for that product on the form and or subform; after they are done I would like to take that single entry and break into multiple rows in another table to be able to track inventory and cost of goods sold.
Example:
RowId Date Invoice Product Qty Unit Cost
1 01/01/06 12345 ABC 2 $10.00
2 01/01/06 12345 XYZ 3 $15.00
RowId Invoice Product Unit Cost
1 12345 ABC $10.00
2 12345 ABC $10.00
3 12345 XYZ $15.00
4 12345 XYZ $15.00
5 12345 XYZ $15.00
Example:
RowId Date Invoice Product Qty Unit Cost
1 01/01/06 12345 ABC 2 $10.00
2 01/01/06 12345 XYZ 3 $15.00
RowId Invoice Product Unit Cost
1 12345 ABC $10.00
2 12345 ABC $10.00
3 12345 XYZ $15.00
4 12345 XYZ $15.00
5 12345 XYZ $15.00