GP Transaction Search: Customising the Returned Data

Winthrop DCThis post is part of the series on the new, free, GP Transaction Search window from Steve Endow of Precipio Services.

A couple of posts ago, I covered installing the stored procedure (which I erroneously referred to as a view when I first posted). The stored proc controls the returned data which in turns controls what is displayed in the search results window.

Customising the returned data is as simple as amending the stored procedure. If, for example, I wanted to add the suppliers country, I can add the following (highlighted) line and save the altered stored proc:

SELECT TOP 200 	
	P.Origin, 
	V.COUNTRY AS 'Country',
	RTRIM(P.DOCNUMBR) DocNum,

Any change does need some familiarity with SQL and stored procedures, but is pretty straightforward.

Before the change is committed, this is the returned data:

PM Transaction Search

After the change is made, this is the returned data:

PM Transaction Search with Country Column

The new column is displayed in the column order from the stored procedure.

The stored proc can be customised almost as much as you want; the only limitation is to not change the parameters at the top as these are passed in from the window. Of course, with the window being open source you could customise the window as well.

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Looking for support or consultancy with Microsoft Dynamics GP?

I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.

Leave a Reply

Your email address will not be published. Required fields are marked *