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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Orders that haven't been invoiced yet

Status
Not open for further replies.

lunchbox88

Programmer
Feb 17, 2004
208
US
In what table(s) would I find information on orders that haven't been invoiced yet?
 
Ok...that's still not getting me what I'm looking for. Here's what I need:

I need the totals for orders placed within a date range. Regardless of whether or not they've been invoiced in, or out of, that date range.

I thought I could take the total from orders that haven't been invoiced (SOP10100), and add that to the total from orders that have been invoiced (SOP30200). That doesn't seem to be working. I'm using the ORDRDATE field to filter both tables. Apparently this isn't correct as my totals are not adding up to what the client shows they should be.

Can anyone think of a reason for this? Am I pulling the data incorrectly?

Thanks in advance!
 
When you say totals, are you including taxes, freight, misc. charges? You have to ask your client what comprises their total then do your formula, not creating the report and hoping they match.
 
I'm including every charge they are on their manual report. I was hoping I was grabbing the wrong date or something.

 
you need to make a union join on header tables
SOP10100 and SOP30200

for details you need to make a union join on detail tables SOP10200 and SOP30300

10 series is open
30 series is history



-----------
and they wonder why they call it Great Pains!

jaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top