I have 2 tables:
PurchaseOrderTbl & LineItemTbl
PurchaseOrderTbl contains information on each PO like vendor, total amount, etc. etc.
LineItemTbl contains information on each line item of the purchase order - I need this separated because different line items can be charged to different work order numbers. I need to be able to run a report each month by work order number to get all of the material charge to the work order number. The user will enter a total amount for the purchase order in the PurchaesOrderTbl and then break out the cost for the work orders in the LineItemTbl
Example:
Purchase Order #123 is for $100
That $100 is then charged to:
WorkOrderNumber 1 - 20%
WorkOrderNumber 2 - 80%
Then store the calculated amount ($20.00 & $80.00) in the field LineItemAmount in the LineItemTbl
(I need access to calculate the Line Item amount) i.e. LineItemAmount = $20.00 (purchase order total amount from PurchaseOrderTble * percentage from LineItemTbl entered by the user)
I don't mean to ramble - just want to draw a clear picture.
PurchaseOrderTbl & LineItemTbl
PurchaseOrderTbl contains information on each PO like vendor, total amount, etc. etc.
LineItemTbl contains information on each line item of the purchase order - I need this separated because different line items can be charged to different work order numbers. I need to be able to run a report each month by work order number to get all of the material charge to the work order number. The user will enter a total amount for the purchase order in the PurchaesOrderTbl and then break out the cost for the work orders in the LineItemTbl
Example:
Purchase Order #123 is for $100
That $100 is then charged to:
WorkOrderNumber 1 - 20%
WorkOrderNumber 2 - 80%
Then store the calculated amount ($20.00 & $80.00) in the field LineItemAmount in the LineItemTbl
(I need access to calculate the Line Item amount) i.e. LineItemAmount = $20.00 (purchase order total amount from PurchaseOrderTble * percentage from LineItemTbl entered by the user)
I don't mean to ramble - just want to draw a clear picture.