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

Payables - Non Payable

Status
Not open for further replies.

DaveyDSmith

Programmer
Mar 21, 2008
19
Working on a crystal report using v9 and pulling from a Peachtree 2008 database. The report needs to display ALL disbursements during a period. I am using alias JrnlHdr & JrnlRow, JrnlRow linked to alias JrnlRow using LinktoAnotherTrx to PostOrder, then the alias JrnlHdr is linked to the alias JrnlRow > PostOrder to PostOrder. All is well except for those disbursements NOT linked to another transaction. If you generate a check that does not satisfy an open payable, it does not show on the report. Fields I need are check date, check#, vendor ID, vendor inv#, vendor inv row descr, row GL, row amount, total check amount. Anyone solved this?
 
Your question is not clear. Your use of the word alias is strange as these are all native tables in Peachtree not alias names. Finally "a check that does not satisfy an open payable" is a meaningless phrase. Please clarify what this means.

You might consider posting in the Peachtree forum where database specific questions may be better answered.

Software Sales, Training, Implementation and Support for Macola, eSynergy, and Crystal Reports

"What version of URGENT!!! are you using?
 
Each of the 2nd Hdr & Row have alias names. Hdr_Purchase and Row_Purchase. If you just write a check to the cleaning lady, without 1st putting in her invoice, that is what I mean. New to this site, is there a CR for Peachtree forum? Just Peachtree would not be sufficient. Most Peachtree users and most Peachtree consultants do not write crystal reports and would not be able to answer CR questions.
 
In general, you need to use a left join FROM the table containing the field you want to see "all" of, TO the table where there might not be data, AND you must not add any selection critieria on the right hand table (the one you are linking TO).

-LB
 
Thanks lbass. I am using and always use left outer joins. I will check into my use of selection criteria on the "to" table. Quite sure I AM using some to remedy detail duplication.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top