INVENTORY ITEM ON SALES ORDER

Can I automatically reference a purchase order when a inventory item is entered? I basically want to know what purchase order number an item came from when ordered.

Our customer likes to know the original purchase order number for each item.. 

Also, the yard uses this number to find the oldest product.

I'm using sage 50 accounting US