DB Relationship between PurchaseOrderEntry and a PurchaseOrder

Mar 28, 2008 5 Replies

I'm trying to write a custom report and am struggling with the above relationship.



How does a purchaseorderentry relate to a purchaseorder? There is obviously a relationship between purchaseorderentry.PurchaseOrderID and purchaseorder.ID, but this relationship alone isn?t enough as purchaseorder.ID aren?t unique in my system. Is it unique with the combination of StoreID?



Oh for some primary/foreign keys!! :-)



TIA Ian


Hi, Thanks for the quick feedback and information.

As for view> Hi Ian - is this a report for headquarters? Yes, you'll also need to link

I have some relational databse information and technical documents. Email me and I will send them to you

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required