Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SOP table 1

Status
Not open for further replies.
Nov 23, 2004
47
US
I'm creating a report that shows all orders for a particular day but can't get the correct data.
I'm looking for a table that contains both SOP live and history. I've tried using SOP10100 and SOP30200 but had no success. Is there a table that has this or what other tables do I need to join to achieve this?

Thanks,
Hung

GP9
 
You're not going to get one table that contains both 'live' (open/unposted) and history in SOP because GP does not store SOP transactions that way. For that matter, unless you're looking for header information only, you would need multiple tables even within the same 'type' of transaction.

All that said, here is code for a SQL view that returns all SOP transactions: You could create this view in SQL, then restrict on dates or whatever other criteria you need for your report.

Victoria Yudin
Dynamics GP MVP 2005 - 2009
Flexible Solutions - home of GP Reports
blog:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top