Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Microsoft Dynamics GP 2010 : Automating Dynamics GP - Automating processes with Macros

- How To Install Windows Server 2012 On VirtualBox
- How To Bypass Torrent Connection Blocking By Your ISP
- How To Install Actual Facebook App On Kindle Fire
9/15/2011 11:24:50 AM
Macros provide a way to automate processes within Dynamics GP. These are actually very easy to create and use. Macros are perfect for moderately complex but repetitive processes. For example, a cash transfer between bank accounts is a common repetitive task but there is some complexity to it because the amount is usually different. This example provides a practical lesson in Macros so we'll look at it in this recipe.

How to do it...

To create a macro for a bank transfer follow these steps:

  1. 1. Select Financial on the Navigation Pane and select Bank Transfers from the Financial Area Page under Transactions.

  2. 2. In the Bank Transfer Entry window select Tools | Macro | Record.

  3. 3. Note where the macro is being saved and name the macro Bank Xfer. Click on Save:

  1. 4. Tab to the Description field and type Bank Transfer.

  2. 5. Use the lookup button (indicated by a magnifying glass) to select a Checkbook ID to transfer from. Leave the amount set to zero ($0.00).

  3. 6. Use the lookup button to select a CheckBook ID to transfer to:

  1. 7. From the Tools menu select Macro | Stop Record. Click on Clear and close the Bank Transfer Entry window.

  2. 8. Now, select the Microsoft Dynamics GP menu item and then select Tools | Macro | Play.

  3. 9. Find and select the Bank Xfer macro saved earlier and click on Open:

  1. 10. The macro will run. As the macro runs, the Bank Transfer Entry window will open and the Description, Transfer To, and Transfer From accounts will fill in automatically. The window will then be left open for a user to add the transfer amount. Click on Post when finished to complete the transfer.

How it works...

Recording a macro is easy. Macros can be recorded by any user with proper security and because these are stored as a file they can be shared among users. There are an infinite number of uses for macros. These can be reused or built only for a specific scenario. Learning to create and run macros provides a terrific opportunity to automate any number of functions in Dynamics GP.

There's more...

Macros can be attached to the Shortcut Bar and run from there. They can also be run with a keystroke combination. Finally, users can insert pauses in Macros or string these together into a set of steps.

Macros and the Shortcut Bar

Macros can be added to the Shortcut Bar making them easy to run with a single click. A

Running macros with a keystroke combination

Once a macro has been added to the Shortcut Bar, a keystroke combination can be added allowing it to be run from the keyboard.

Macro pauses

Pauses can be inserted into Macros to allow for data entry in the middle of a macro. To insert a pause click on Tools | Macro | Insert Pause while recording a macro. A window will open allowing the creation of instructions for the user. The problem with pausing macros is that the process to restart a macro is not intuitive. When a user executes a macro, the macro pauses at the selected point and waits for user input. After user input, the user must select Tools | Macro | Continue to resume the macro.

This set of steps is not obvious to a user. Also, there is not enough room to reasonably enter instructions and restart steps in the instruction box. Nor is there a keystroke combination to resume a macro after a pause.

Sequential Macros
An alternative to pausing macros is to create more than one macro. Create the first macro up to the point where a pause would be inserted. Then create a second macro for the next portion of the process. Add the macros to the Shortcut Bar in a folder in the order these should be executed. After the first macro finishes the user simply needs to insert any data required and click on the second macro to continue the process.
Other -----------------
- Microsoft Dynamics GP 2010 : Automating Dynamics GP - Speeding up month-end close by Reconciling Bank Accounts daily
- Microsoft Dynamics CRM 2011 : Associating a Marketing List to a Campaign Activity
- Microsoft Dynamics CRM 2011 : Creating a Campaign Activity
- Understanding and Installing Active Directory Certificate Services (part 2) - New AD CS Features in Windows Server 2008 R2 & Installing AD CS
- Understanding and Installing Active Directory Certificate Services (part 1) - Understanding AD CS
- Microsoft Dynamics AX 2009 : The MorphX Tools - Version Control (part 2)
- Microsoft Dynamics AX 2009 : The MorphX Tools - Version Control (part 1)
- Managing Exchange Server 2010 Clients : Configuring Mail Support for Outlook and Windows Live Mail (part 2)
- Managing Exchange Server 2010 Clients : Configuring Mail Support for Outlook and Windows Live Mail (part 1)
- SQL Server 2008 R2 : Row Estimation and Index Selection (part 4) - Optimizing with Indexed Views & Optimizing with Filtered Indexes
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Trailers Game
- The Banner Saga 2 [PS4/XOne/PC] PC Launch Trailer
- Welkin Road [PC] Early Access Trailer
- 7th Dragon III Code: VFD [3DS] Character Creation Trailer
- Human: Fall Flat [PS4/XOne/PC] Coming Soon Trailer
- Battlefleet Gothic: Armada [PC] Eldar Trailer
- Neon Chrome [PS4/XOne/PC] PC Release Date Trailer
- Rocketbirds 2: Evolution [Vita/PS4] Launch Trailer
- Battleborn [PS4/XOne/PC] 12 Min Gameplay Trailer
- 7 Days to Die [PS4/XOne/PC] Console Trailer
- Total War: Warhammer [PC] The Empire vs Chaos Warriors Gameplay Trailer
- Umbrella Corps [PS4/PC] Mercenary Customization Trailer
- Niten [PC] Debut Trailer
- Stellaris [PC] Aiming for the Stars - Dev. Diary Trailer #1
- LawBreakers [PC] Dev Diary #4: Concept Art Evolutions
programming4us programming4us
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 windows Phone 7 windows Phone 8
programming4us programming4us
 
programming4us
Natural Miscarriage
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Game Trailer