GP Transaction Search: Customising the Returned Data

June 22nd, 2018 by

Precipio ServicesThis 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.

Click to show/hide the GP Transaction Search Series Index

Read original post GP Transaction Search: Customising the Returned Data at azurecurve|Ramblings of a Dynamics GP Consultant

Source: azurecurve

Leave a Reply