KevinSlater
Registered User.
- Local time
- Today, 03:07
- Joined
- Aug 5, 2005
- Messages
- 249
Hi,
I have a query in Microsoft Access 2003 named: "QRYPRODUCT_MANUFACTURING_SITES", this query looks at another query which in turns looks at 3 oracle tables.
What I would like to do is do a weekly comparison of the manufacturing site for all products from the most recent purchase order(s) that are marked as complete (ie where the field POP_COMPLETED_FLAG = Y) to the next most recent purchase order(s) marked as complete (ie where the field POP_COMPLETED_FLAG = Y) to see if the manufacturing site for any products has been changed.
The query contains a fieled named: POP_DATE_ITEM_RECEIVED which is the date the purchase order is complete and the day the POP_COMPLETED_FLAG will be set to Y.
So for example today in purchase order number P00164040 a product part code named: 2356NXA is manufactured at site1. But next week a new Purchase order is created with a new order number of: P00141651 with the same product part code: 2356NXA but the manufactured site has now been changed to: Site2. I want to show this change in a query if possible?
If anyone has any suggestions on how to do this that would be great.
I have a query in Microsoft Access 2003 named: "QRYPRODUCT_MANUFACTURING_SITES", this query looks at another query which in turns looks at 3 oracle tables.
What I would like to do is do a weekly comparison of the manufacturing site for all products from the most recent purchase order(s) that are marked as complete (ie where the field POP_COMPLETED_FLAG = Y) to the next most recent purchase order(s) marked as complete (ie where the field POP_COMPLETED_FLAG = Y) to see if the manufacturing site for any products has been changed.
The query contains a fieled named: POP_DATE_ITEM_RECEIVED which is the date the purchase order is complete and the day the POP_COMPLETED_FLAG will be set to Y.
So for example today in purchase order number P00164040 a product part code named: 2356NXA is manufactured at site1. But next week a new Purchase order is created with a new order number of: P00141651 with the same product part code: 2356NXA but the manufactured site has now been changed to: Site2. I want to show this change in a query if possible?
If anyone has any suggestions on how to do this that would be great.