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!

Add return to sales report 1

Status
Not open for further replies.

dikidushi

Technical User
Jan 8, 2009
75
AW
Hi,

I created a sales report so it can reflect the total sales of amount and quantity, i would like to add to the items that was return, total sales minus return is grand total.

i am using accpac 5.6 tables, database is sql.
any help will be great.

thankx

dikidushi
 
Create a formula like this:

sum({table.sales})-sum({table.returns})

-LB
 
Hi lbass,

I worked yes..... thanks.
if the order has two items its adding the lines 2 time in the report
 
Then instead, create two running totals, one for sales and one for returns, and in the evaluation section, choose on change of group: order.

Then the formula becomes:

{#sales}-{#returns}

This must be placed in the report footer.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top