scorpio0077
New Member
- Joined
- Jul 19, 2009
- Messages
- 3
Hi,
I work for a manufacturing plant where we manufacture one product which is then sold under different names.
The product is made from the same material.
I am looking for a way to match up production to the orders and then subtract the produced quantity from the orders.
Tab 1 - Orders: Column 1 has the items (A1, A2 and A3 are all produced from A), Column 2 has the date when the order has to ship and Column 3 has the ordered volume.
Tab 2 - Production: Column 1 has the raw material, Column 2 has the production date and Column 3 has the amount manufactured.
Any help would be highly appreciated!!
Tab -1: Orders
[TABLE="width: 500, align: center"]
<tbody>[TR]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 410"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Ship Date[/TD]
[TD] Ordered Qty, KG[/TD]
[/TR]
[TR]
[TD]A-1[/TD]
[TD]8/22/2012[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]A-1[/TD]
[TD]8/23/2012[/TD]
[TD]160[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/20/2012[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/27/2012[/TD]
[TD]70[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/27/2012[/TD]
[TD]160[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/27/2012[/TD]
[TD]160[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/27/2012[/TD]
[TD]160[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/27/2012[/TD]
[TD]80[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]8/31/2012[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]9/18/2012[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]9/20/2012[/TD]
[TD]120[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]9/21/2012[/TD]
[TD]160[/TD]
[/TR]
[TR]
[TD]A-2[/TD]
[TD]9/26/2012[/TD]
[TD]160[/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[/TR]
[TR]
[TD]B-1[/TD]
[TD]8/29/2012[/TD]
[TD]24[/TD]
[/TR]
[TR]
[TD]B-1[/TD]
[TD]8/31/2012[/TD]
[TD]16[/TD]
[/TR]
[TR]
[TD]B-1[/TD]
[TD]9/6/2012[/TD]
[TD]128[/TD]
[/TR]
[TR]
[TD]B-2[/TD]
[TD]8/15/2012[/TD]
[TD]128[/TD]
[/TR]
[TR]
[TD]B-2[/TD]
[TD]8/17/2012[/TD]
[TD]128[/TD]
[/TR]
[TR]
[TD]B-2[/TD]
[TD]8/28/2012[/TD]
[TD]128[/TD]
[/TR]
[TR]
[TD]B-2[/TD]
[TD]9/24/2012[/TD]
[TD]128[/TD]
[/TR]
</tbody>[/TABLE]
Tab -2: Production
[TABLE="width: 247"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Production Date[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]8/13/2012[/TD]
[TD]140[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]8/19/2012[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]8/29/2012[/TD]
[TD]120[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]9/5/2012[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]9/10/2012[/TD]
[TD]150[/TD]
[/TR]
</tbody>[/TABLE]
I work for a manufacturing plant where we manufacture one product which is then sold under different names.
The product is made from the same material.
I am looking for a way to match up production to the orders and then subtract the produced quantity from the orders.
Tab 1 - Orders: Column 1 has the items (A1, A2 and A3 are all produced from A), Column 2 has the date when the order has to ship and Column 3 has the ordered volume.
Tab 2 - Production: Column 1 has the raw material, Column 2 has the production date and Column 3 has the amount manufactured.
Any help would be highly appreciated!!
Tab -1: Orders
[TABLE="width: 500, align: center"]
<tbody>[TR]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 410"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Ship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/2012[/TD]
[TD]128[/TD]
[/TR]
</tbody>[/TABLE]
Tab -2: Production
[TABLE="width: 247"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Production Date[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]8/13/2012[/TD]
[TD]140[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]8/19/2012[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]8/29/2012[/TD]
[TD]120[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]9/5/2012[/TD]
[TD]40[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]9/10/2012[/TD]
[TD]150[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: