Wildcards

Report design issues and solutions.
Post Reply
samij
User
User
Posts: 12
Joined: 09 Jan 2013, 14:51
Sage Version: v2017 23 UK/Europe/Africa

Wildcards

Post by samij » 17 Jul 2015, 11:58

Hi,

I added the criteria AUDIT_SPLIT.DETAILS to the Supplier Activity report, so for example I can filter only "payments on account".

At the moment when entering the criteria i have to enter [Details IS "payments on account"] to list only the payments on account, but can I use wildcards to enter just "payments" for example ?

Thanks,
Sam

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

Re: Wildcards

Post by brucedenney » 17 Jul 2015, 14:25

The answer to your question is

Code: Select all

Contains(AUDIT_SPLIT.DETAILS, "Payment")
BUT

The text in the details does on a payment on account or a purchase payment does not have to contain the word "payment" it can have anything in it.

There is a better way and that is to use the Transaction Type field in the header this is 100% reliable.

The Transaction type wants to be "PP" or "PA" to list all your payments.
This sort of comparison is also less hard work for the computer, so should run a bit faster.

The filter would be

Code: Select all

AUDIT_HEADER.TYPE = "PP" OR AUDIT_HEADER.TYPE = "PA"
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 1 guest