Need more, need help now?
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals

Calculating Despatch Weight

Report design issues and solutions.
Post Reply
AnnieVic
User
User
Posts: 6
Joined: 05 Feb 2020, 15:45
Sage Version: Other

Calculating Despatch Weight

Post by AnnieVic » 07 Feb 2020, 15:28

Good afternoon I hope this finds everyone well on this Friday afternoon?

I am new to the world of creating a report in Sage designer from scratch and am looking for help with how to get an expression correct.

The expression in question is for the total weight of invoice items plus the weight of the outer carton (0.15kg)

The expression I have is INVOICE_ITEM.QUANTITY*STOCK.UNIT_WEIGHT+0.15

The problem is the result is wrong.

Example: Invoice has 3 items

Item 1 weighs 0.19kg and qty is 2
Item 2 weighs 0.12kg and qty is 3
Item 3 has NO weight (it is a service item) but is qty 1

The above expression is calculating at 1.19kg instead of the 0.89kg

Would somebody be kind enough to tell me (in the most simplest of terms) how to fix this?

Thank you
Ann

User avatar
brucedenney
Site Admin
Site Admin
Posts: 4616
Joined: 28 Feb 2006, 09:56
Sage Version: v28 UK/Europe/Africa

Re: Calculating Despatch Weight

Post by brucedenney » 07 Feb 2020, 15:58

Hi Ann

you need to oinly add the .15 once.

To do this, you do your expression in the footer and it will sum all the lines give it a name eg total_weight. Make the expression not print using the property supress print = true.
Now add another expression in the footer, this does not want to be a sum, it wants to be total_weight + 0.15 this will give you the value you want.
For just about anything Sage :- Discount subscriptions, pay-as-you-go support, application integration, reports, layouts, linked excel spreadsheets, analysis or any other help making life with sage easier/less time consuming Contact me.

AnnieVic
User
User
Posts: 6
Joined: 05 Feb 2020, 15:45
Sage Version: Other

Re: Calculating Despatch Weight

Post by AnnieVic » 11 Feb 2020, 14:03

Thank you. Works a treat

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests