Missing Security Roles and Tasks After Upgrading to Microsoft Dynamics GP Fall 2020 Release

Microsoft Dynamics GPWhen upgrading Microsoft Dynamics GP, the security roles and tasks are not automatically updated; this is to avoid overwriting or causing problems with any customizations to these roles and tasks which might have been made. Instead Microsoft provide a set of scripts which you can choose to run to add the missing items.

I always recommend clients not directly amend the standard tasks, but make copies and amend the copy (this provides a way to roll back to the standard versions should there be a need).

The update scripts are available from the Dynamics GP Support and Services Blog and I have updated my links on the GP Missing Security Scripts page to link to that blog and the script directly; if you’re using an additional product such as Project Accounting, Enhanced Intrastat, VAT Daybook or HR & Payroll there are additional scripts on the blog post which you can run.

Installing Pi-hole On A Raspberry Pi: Changing the IP Address

Raspberry PiI recently built a Raspberry Pi and installed Pi-hole onto it for my Dad. I did all of the work at my house and then took it down to his to install onto his network. I had an issue with doing this as it was not picking up a new IP address (it took me a while to work out that this was the problem).

Not knowing Linux very well, it took me longer than it would have done with a Windows machine to work out the solution. I spent some time searching online and came up with three commands which are run at the command line (once you’ve connected using SHH; IPv6 was working, but not IPv4 , so I was able to connect to the Pi, but not give the router the IP for use as the DNS Server).

  1. Show current IP address assignment:
    ipaddr
  2. To release the current IP address:
    sudo dhclient -r eth0
  3. To request a new IP address:
    sudo dhclient -1 eth0

The above is basically the equivalent of ipconfig /renew on Windows.

Adventures With A Raspberry Pi

Adventures With A Raspberry Pi
Building The Raspberry Pi: CanaKit Raspberry Pi 3 B+ Complete Starter Kit
Building The Raspberry Pi: Raspberry Pi Build
Building The Raspberry Pi: Install Operating System
Building The Raspberry Pi: First Run
Building The Raspberry Pi: System Configuration Tool
Building The Raspberry Pi: Enable SSH For Remote Access
Building The Raspberry Pi: Securing the Raspberry Pi
Building The Raspberry Pi: Conclusion
Installing Pi-hole On A Raspberry Pi: What is Pi-hole?
Installing Pi-hole On A Raspberry Pi: Install Pi-hole
Installing Pi-hole On A Raspberry Pi: Change Pi-hole Admin Password
Installing Pi-hole On A Raspberry Pi: Configure Network to use Pi-hole
Using Pi-hole On A Raspberry Pi: Blocked Adverts
Using Pi-hole On A Raspberry Pi: Admin Interface
Using Pi-hole On A Raspberry Pi: Disabling Pi-hole
Using Pi-hole On A Raspberry Pi: Whitelisting a Site
Using Pi-hole On A Raspberry Pi: Update Blocklists
Using Pi-hole On A Raspberry Pi: Maintain Blocklists
Using Pi-hole On A Raspberry Pi: Change DNS Servers
Using Pi-hole On A Raspberry Pi: Connecting With SSH
Using Pi-hole On A Raspberry Pi: Updating the Pi-hole
Using Pi-hole On A Raspberry Pi: Conclusion
What Else Can I Use It For?
Prepare New SD Card For Raspberry Pi OS: Download SD Card Formatter
Prepare New SD Card For Raspberry Pi OS: Install SD Card Formatter
Prepare New SD Card For Raspberry Pi OS: Format SD Card
Prepare New SD Card For Raspberry Pi OS: Download NOOBS
Prepare New SD Card For Raspberry Pi OS: Copy Files To The SD Card
Prepare New SD Card For Raspberry Pi OS: Conclusion
Installing Pi-hole On A Raspberry Pi: Changing the IP Address
Raspberry PI Update Fails
Check Version of OS on Raspberry Pi
How to Update the OS on a Raspberry Pi

Workfow Submit button on PM Transaction Entry not working in Microsoft Dynamics GP

Microsoft Dynamics GPI’ve been doing some work with a client to implement the Workflow module of Microsoft Dynamics GP for approvals of Payables Transactions and encountered an oddity; when the user creates a transactions and hits Submit, nothing happens, but was not able to reproduce this on any of my demo or test systems.

There was a customised window in use on the client system, so I removed this and tried with the standard window and got exactly the same result. Some more testing showed that when the action pane was disabled and the old style toolbar being used, the Submit button was missing.

I had tried a 2018 RTM versaion and not been able to reproduce, but this was becuase I had one setting diferent. In Payables Management Setup (Purchasing area page » Setup » Payables Management), my systems were all set to allow the voucher number to be overridden, but the client had disabled this option.

When we changed this setting in their test company, the workflow submit worked correctly.

I did some further checking and was able to confirm that this is a bug in the Dynamics GP 2018 version which was resolved in the R2 version; the workaround is to allow the voucher number to be overridden and the solution is to upgrade.

Fortunately, we are already talking to this client about upgrading Microsoft Dynamics GP to the latest version; in the short-term they’ll allow override in test while the build and test of the workflows are complete and the deploy to live should tie in with the upgrade project.

Microsoft Dynamics GP Analytical Accounting Open Transactions SQL Query

Microsoft Dynamics GPI was looking into a problem reported by a client recently and needed to check the assignment of Analytical Accounting Transaction Dimension Codes to the AA GL transactions and so wrote the below SQL which I am posting to keep it easily accessible should I need it again.

/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk) This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int). */
SELECT * FROM AAG30000 AS aaGLHdr INNER JOIN AAG30001 AS aaGLDist ON aaGLDist.aaGLHdrID = aaGLHdr.aaGLHdrID INNER JOIN AAG30002 AS GLAssign ON GLAssign.aaGLHdrID = aaGLDist.aaGLHdrID AND GLAssign.aaGLDistID = aaGLDist.aaGLDistID INNER JOIN AAG30003 AS aaGLCode ON aaGLCode.aaGLHdrID = GL Assign.aaGLHdrID AND aaGLCode.aaGLDistID = GLAssign.aaGLDistID AND aaGLCode.aaGLAssignID = GLAssign.aaGLAssignID INNER JOIN AAG00401 AS aaTrxDimCodeSetp ON aaTrxDimCodeSetp.aaTrxDimID = aaGLCode.aaTrxDimID AND aaTrxDimCodeSetp.aaTrxDimCodeID = aaGLCode.aaTrxCodeID

Recent ISC Software Webinar: Year-End Best Practice in Microsoft Dynamics GP

ISC Software SolutionsIn our most recent webinar, we took a look at Year-End Best Practice in Microsoft Dynamics GP. In this webinar, we covered how some key points to action or consider before starting, the order in which the year end should be run before running through the closing process in each of the standard modules in Microsoft Dynamics GP covering not only what to do. but also what the year-end closing process does. If you want to catch up on this, or any other, webinar, you can do so here.

In this blog post, I am going to recap the webinar and include some links to documentation from Microsoft which will expand on some areas with more detail. The topics I’ll cover are:

  1. Key Points
  2. Year-End Processing Order
  3. Year-End Closing steps by module
  4. Conclusion

Key Points ^

There are five key points I always stress when discussing year-end closes with clients:

  1. Always have a good backup before starting a year-end close and take another after the year-end close has completed – a good backup is defined as one which you know will successfully restore; unfortunately I’ve worked with more than one client over the years who created a maintenance plan to take backups, but then, when the need came, found that the backups were not valid and could not be restored.
    Taking a backup before starting means you can easily revert back should there be a problem in the close; taking a backup after the close completes, means that if problems encountered later in the day that you can revert back to after the close has completed instead of having to repeat the close.
  2. Make sure all users log out of the company in which the year-end is being processed.
  3. Make sure there is sufficient space for database files to double in size; one significant cause of this is that the GL year-end close will copy data from Year-to-Date Transaction Open (GL20000) to Account Transaction History (GL30000) and during this process the data will exist in two places causing the database to grow.
  4. Perform a trial year-end close on a copy of live in test before closing the year-end on live; this will allow you to verify that there are no issues which might require a roll-back.
  5. Once one of the Year-End Closes has been started, be patient and allow it to run to completion. When processing, the close might cause Dynamics GP to white-screen, but this is just a sign that there is a lot of server-side processing underway and not that there is a problem.

Continue reading “Recent ISC Software Webinar: Year-End Best Practice in Microsoft Dynamics GP”

Microsoft Dynamics GP Fall 2020 Release New Features: Mask SSN on Human Resource Reports

Microsoft Dynamics GPThis post is part of the Microsoft Dynamics GP Fall 2020 Release New Features series where I am going to echo the posts from the Dynamics GP Support and Services Blog, while adding some commentary, on the new features introduced in the Microsoft Dynamics GP Fall 2020 Release which is now available.

This post is on the Mask SSN on Human Resource Reports Human Resource & Payroll enhancement.

A few versions back, Microsoft added the Social Security Number (SSN) mask for payroll; this original change has prompted a request for this new functionality.

In the Human Resources Preferences window (Microsoft Dynamics GP menu » Tools » Setup » System » Human Resources Preferences), towards the bottom of the window a new SSN Mask button has been added.

Human Resources Preferences and Report Masking

By default on the install, everything will be marked as masked, so if you would like to see the SSN on the report you will need to unmark it from this window.

If you open the Report Masking window and no reports are listed, this script from Microsoft can be run to populate the default information. The selected reports can be amended through the window.

Click to show/hide the Microsoft Dynamics GP Fall 2020 Release New Features Series Index

Replaced ClassicPress Cron Job Timing Out

ClassicPressBack in March I blogged about replacing the standard ClasicPress cron job with a system cron running on a schedule. The reason I did this was to improve the efficiency of my sites by having cron called on a schedule rather than every time a page was loaded.

However, I’ve recently been adding new functionality to my To Twitter plugin and found that scheduled tweets containing images were not working. I did some exploring and discovered that the problem was that cron jobs timeout after 30 seconds and processing one large, or several smaller, image would exceed this timeout.

I then found that an alternative method of calling cron seemed to run much faster and I was no longer having problems with the cron job timing out. This alternative method uses wget:

wget -q -O - https://{your domain}/wp-cron.php?doing_wp_cron >/dev/null 2>&1

The highlighted section should be replaced with your domain.

Microsoft Dynamics GP Fall 2020 Release New Features: Disable system print dialog box when printing a Word Template

Microsoft Dynamics GPThis post is part of the Microsoft Dynamics GP Fall 2020 Release New Features series where I am going to echo the posts from the Dynamics GP Support and Services Blog, while adding some commentary, on the new features introduced in the Microsoft Dynamics GP Fall 2020 Release which is now available.

This post is on the Disable system print dialog box when printing a Word Template Distribution enhancement.

With the Fall 2020 GP update, you can now use Named Printers to skip the Print Dialog and enable one-click printing of Word Templates.

To enable this feature you must first have Named Printers setup, you can find instructions for a new setup here.

Once you have the basic Named Printers setup, you can mark each printer to use Named Printers for Templates. Just open the Assign Named Printers window. Go to Tool, click setup, choose system, and click Named Printers.

Once you open this window, all you need to do is click the Setup button and select the Printer ID the users usually use, then mark the ‘Use Named Printer when printing word Templates’ checkbox. Click Save on the Setup Named Printers window, and now when users click print the document will be sent directly to the printer after generation.

Assign Named Printers
Setup Named Printers

Click to show/hide the Microsoft Dynamics GP Fall 2020 Release New Features Series Index

Microsoft Dynamics GP Fall 2020 Release New Features: Print all Sales Documents

Microsoft Dynamics GPThis post is part of the Microsoft Dynamics GP Fall 2020 Release New Features series where I am going to echo the posts from the Dynamics GP Support and Services Blog, while adding some commentary, on the new features introduced in the Microsoft Dynamics GP Fall 2020 Release which is now available.

This post is on the Print all Sales Documents Distribution enhancement.

In the Print Sales documents window, there is now an option called “Print ALL Documents”. With the addition of this option there is now even more flexibility to print/email exactly how you want.

The Print All Documents, gives you the ability to tell Microsoft Dynamics GP when you want to actually print out all documents regardless if it was emailed or not. When you select E-mail and Print All documents the system will E-mail every document it can, then print all documents included in the range regardless if emailed or not. You can also select both ‘Print Document’ and ‘Send Document in E-mail’, and Microsoft Dynamics GP will E-mail every document it can, then print all other documents not setup for email.

Print Sales Documents

The Microsoft blog post includes some examples of how this functionality can be used.

As Béat Bucher notes in the comments, this may be useful to clients who want to retain a PDF copy of the documents produced, even when they have been emailed.

Click to show/hide the Microsoft Dynamics GP Fall 2020 Release New Features Series Index