This 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:
After the change is made, this is the returned data:
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.