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

COGS and revenues not calculating on the same report

Status
Not open for further replies.

lisa13ep

Technical User
Apr 18, 2012
12
US
I am trying to create a report showing sales revenues and COGS. If I create two separate reports - it works. But when I am trying to combine two together then only one calculates and the other shows $0 values (depending which one is added first). I am pulling information from the JrnlRow.Amount (sales) and then adding formula for COGS
If {JrnlRow.RowType} = 1 then
GetPeachRowAmountv2 (Filename, {JrnlRow.RowType}, {JrnlRow.Amount}, {JrnlRow.Journal}, {JrnlRow.PostOrder}, {JrnlRow.RowNumber}, {JrnlRow.RowDate}, {JrnlRow.ItemRecordNumber}).

Please advise how to fix this or what I am doing wrong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top