Using SmartList Designer To Create Vendor EFT SmartList

May 30th, 2014 by

One of the really nice new features in Microsoft Dynamics GP 2013 SP2 is the SmartList Designer. This is, to an extent, a cut down replacement of SmartList Builder, which includes much, although not all, of the functionality and is more user friendly.

It also affords the opportunity to all clients to create a report which has long been missing from Microsoft Dynamics GP; a Vendor EFT SmartList which shows the EFT details against the Vendor Remit To Address.

In this post I am going to step through the process of creating this report.

To start, open SmartList (Microsoft Dynamics GP menu >> SmartList) and you will see two new buttons at the left of the toolbar; New and Modify (ringed in red):

SmartList

Click the new button to open the SmartList Designer window.

Set List Name to Vendor ID (this is the SmartList Object name), Product to Microsoft Dynamics GP and Series to Purchasing (this will add the new SmartList Object under the Purchasing node in the SmartList navigation pane):

SmartList Designer

The window is broken down into six main sections:

  1. List Name and Type – Defines what the SmartList Object’s name is, which product it is for and which Series it will be belong
  2. Database View – Allows the selection of tables and fields to use in the SmartList
  3. Selected Fields – Shows which fields have been selected for output
  4. Relationship – Allows the configuration of the links between the selected tables
  5. Filter – Allows filtering of the results
  6. Result’s PreviewAllows a preview of the data to be returned by the new SmartList
SmartList Designer

The first table we need to add is the PM Creditor Master File. To do this, in the Database View section, expand the Microsoft Dynamics GP node and then expand Tables and then Purchasing. Scroll down until you reach the PM Creditor Master File and, without marking the checkbox next to it (as this would select all columns in the table) expand the node. For this report I only need two of the fields from this table so I have marked only Vendor ID and Vendor Name.

As each field is marked it will appear in the Selected Field list:

SmartList Designer

Next find PM Address MSTR and mark the Address 1, Address 2, City, State, Zip Code and Phone Number 1:

SmartList Designer

With these two tables added, we need to add a relationship between the two tables. In the first row, set the TableName to PM Creditor Master, FieldName to Vendor ID.

In the untitled middle column there are three choices:

  1. Left Join – A left join will show records which are in the first table even when they are not in the second one
  2. Inner Join – An inner join will only show rcords when they are in both tables
  3. Cross Join – A cross join will return data which exists in either table

In this instance the same data would be returned regardless of whether there is information in the second table so I have selected Left Join:

SmartList Designer

In TableName2 select PM Address MSTR and in FieldName2 select Vendor ID.

A second join between PM Creditor Master and PM Address MSTR is needed between Vendor Address Code – Remit To on the former and Address Code on the latter.

So far we have brought in the main vendor and vendor address tables, but we need a third table; the one containing the EFT details. Scroll up in the Database View section and expand Company and then expand the Address Electronic Funds Transfer Master table.

The three fields needed are Bank Name, EFT Bank Account and EFT Bank Code.

Once added, relationships are needed between PM Address MSTR and Address Electronic Funds Transfer Master using joins on the Vendor ID and Address Code fields which exist on both tables:

SmartList Designer

Once done, click Execute Query on the toolbar and check the output in the Result’s Preview section:

SmartList Designer

Click the T-SQL Query tab next to Result’s Preview to see the SQL which has been generated for the SmartList:

SmartList Designer

Click OK to save the SmartList. The new SmartList Object will appear in the navigation pane under Purchasing as Vendor EFT:

SmartList Designer

Select the SmartList to return the data as you would any other SmartList:

SmartList Designer

Now the SmartList has been created, it can be used as any toehr SmartList would be by saving favourites or using the search criteria to filter the data.

Source: azurecurve

Leave a Reply