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

Quote Expiry Date/Expression syntax

Report design issues and solutions.
Post Reply
FSL
User
User
Posts: 1
Joined: 08 Sep 2015, 09:29
Sage Version: v2015 21 UK/Europe/Africa

Quote Expiry Date/Expression syntax

Post by FSL » 08 Sep 2015, 10:03

I am very new to the sage report designer, I can find nowhere that explains the syntax for the expressions.
What I am looking to do is take the value of the 'ORDER_DATE', add one month to it and display this date value.

Looking at it I assume I will need to construct a statement that increases the Month value by 1, unless the value is 12 where it will change the month to 1 and increase the year by 1.
Do I need to create multiple expressions or..?


Dan

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

Re: Quote Expiry Date/Expression syntax

Post by brucedenney » 08 Sep 2015, 13:06

Hi Dan

It is just one rather long expression, "the date plus the number of days in the month".

something like this I expect...

AUDIT_HEADER.DATE+DaysInMonth(YearFromDate(AUDIT_HEADER.DATE),MonthFromDate(AUDIT_HEADER.DATE))

You need to change the Date to the one 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests