Skip to main content

GP Guru Level Up: Episode 1 - How to use a macro to process 300+ NSF in Dynamics GP in minutes

Out of the 13,000 records we drafted there were 300+ transactions with No Sufficient Fund (NSF) or bank account was not yet ready to be drafted. In this video I will show you how to create a macro to save you time and energy in processing NSF in Dynamics GP.



Here is the NSF macro template for future use:

# DEXVERSION=18.00.0021.000 2 2
CheckActiveWin dictionary 'default'  form 'RM_Misc_Transaction' window 'RM_Misc_Transaction' 
  TypeTo field 'Customer Number' , '09728003SA'
  MoveTo field 'Document Type' item 1  # 'Sales / Invoices' 
  ClickHit field 'Document Type' item 7  # 'Payments' 
  MoveTo field '(L) Document Number' 
  TypeTo field '(L) Document Number' , 'PYMNT000000343441'
  MoveTo field 'Void Date' 
  TypeTo field 'Void Date' , '01262022'
  MoveTo field 'GL Posting Date' 
  MoveTo field '(L) NSF Button' 
  ClickHit field '(L) NSF Button' 
NewActiveWin dictionary 'default'  form 'RM_Misc_Transaction' window 'RM_NSF_Debit_Charge' 
  MoveTo field 'Document Amount' 
  MoveTo field 'Transaction Description' 
  TypeTo field 'Transaction Description' , 'NSF Charge - R01'
  MoveTo field 'Document Date' 
  TypeTo field 'Document Date' , '01272022'
  CommandExec dictionary 'default'  form 'RM_Misc_Transaction' command 'OK Button_w_RM_NSF_Debit_Charge_f_RM_Misc_Transaction' 
NewActiveWin dictionary 'default'  form 'RM_Misc_Transaction' window 'RM_Misc_Transaction' 


Steps:
  1. Prepare your Excel file with the following columns:
    1. Void Date
    2. Customer Number
    3. Amount
    4. Reason Code
    5. Payment Number
  2. Copy the macro template (above) to a blank MS Word
  3. Select Mailings >> Select Recipients >> Use an Existing List (look for your excel file), make sure to mark "First row of data contains column headers" >> click OK.
  4. Highlight one field at a time for field mapping and then click on Insert Merge Field. Make sure not to drop any single quote.
  5. Finish and Merge >> Edit Individual documents
  6. Select ALL >> OK
  7. Review your listings and verify

Once verified, copy the content of MS Word into a Note Pad and save as a mac file. This file will be used to PLAY in NSF window.


 

Comments

Popular posts from this blog

Bad Debt Model Quarterly

 One of my users requested this report to be able to get the specific list of accounts in one report instead of going to Summary Inquiry one at a time. Solution: 1. Create an SQL View in your SQL Server by running the SQL script below USE [CO100 - @yourcompanyID] GO /****** Object:  View [dbo].[view_Open_Yr_GL_TB_Month_End]    Script Date: 10/11/2023 2:15:51 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO create view [dbo].[view_Open_Yr_GL_TB_Month_End] as  -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- Created July 9, 2014 by Victoria Yudin -- Flexible Solutions, Inc. -- For other code, please visit http://victoriayudin.com -- Only returns the first open year in GP -- Month names in columns use calendar fiscal year -- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~  select g.YEAR1 [Year], a.ACTNUMST Account, g.ACTDESCR [Description], c.ACCATDSC Category, sum(case g.PERIODID when 0     then g.PERDBLNC els...

DynamicsCon Live: Room Monitor Volunteer (whole day)

GP Guru Level Up: Episode 3 - How to bring your out of the box Aged Trial Balance into Smartlist

 We had a great session at our Dynamics User Group Virtual with our guest speaker Marion Palaming discussing techniques in using SQL Views to create  PM and RM Aged Trial Balance into Smartlist. Here are the SQL Views used in the presentation: Disclaimer: did some minor updates from Victoria Yudin's SQL Views RECEIVABLES MODULE USE ['yourDB] GO /****** Object:  View [dbo].[RM_SMAging_CurrentDate]    Script Date: 4/21/2023 10:54:48 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[RM_SMAging_CurrentDate] AS SELECT CM.CUSTNMBR AS Customer_ID, CM.CUSTNAME AS Customer_Name, CM.PYMTRMID AS Customer_Terms, CM.CUSTCLAS AS Customer_Class, CM.PRCLEVEL AS Price_Level, RM.CURNCYID,               CASE RM.RMDTYPAL WHEN 1 THEN 'Sale / Invoice' WHEN 3 THEN 'Debit Memo' WHEN 4 THEN 'Finance Charge' WHEN 5 THEN 'Service Repair' WHEN 6 THEN 'Warranty' WHEN 7 THEN 'Credit Memo' WHEN 8 THEN 'Return' WHEN 9 THEN ...