Microsoft Dynamics GP Crashes/Closes When Emailing After Microsoft Office Update

Microsoft Dynamics GPEarly last week, the Dynamics GP Support and Services Blog posted about a problem whereby Microsoft Dynamics GP will crash when emailing after the latest Microsoft Office update.

This officially effects all versions from Microsoft Dynamics GP 2013 RTM onward, but one comment on the above blog post says it also effects Dynamics GP 2010.

The Microsoft Office update which causes the problem is:

  • Office 365 – Version 1811 (Build 11029.20079) – Standard
  • Office 365 – Version 1811 (Build 11029.20045) – Insider Edition
  • Office 2019 – Version 1811 (Build 11029.20079)

To check your version of Office, launch Microsoft Outlook, click File then Office Account; on the right hand side of the screen is a section for About Outlook:

About Office section showing version number

There are two options to resolve the issue (you should only have to apply one of them):

  • Revert/Rollback Microsoft Office to the last build.
  • Rename Dynamics GP Code folder and run a Repair (this will remove 3rd Parties).

Instructions for both options are available on the Dynamics GP Support and Services Blog.

We’ve found that for clients with the problem, rolling back the version of Microsoft Office fixes the issue.

Find Unique Records in Microsoft Excel

Microsoft ExcelI’m not very good with Microsoft Excel. People often think that I am becuae I can concatenate data and write if statements and other formula, but, beyond this, my knowledge is very shallow.

There are things that I know you must be able to do, but have no idea how. As such, I often default to loading data into SQL Server to manipluate. When dealng with large quantities of data, I think this is still the best thing to do, but for smaller datasets, using Excel makes more sense.

There may be a number of other posts, covering fairly simple functionality in Microsoft Excel, that I post in future as reminders for myself.

The first of these Excel tips, is identifying unique data. In Excel this is actually quite simple (once you know how).

If I wanted to identify how many unique vendor ids I had in a dataset, I can do this in only a small number of steps.

Select the columns containing the data I want to search; in this case, the Vendor ID and Vendor Name columns. Select the DataSort & Filter section, click Advanced:

Microsot Excel

Continue reading “Find Unique Records in Microsoft Excel”

Removing Blank Lines from Microsoft Word

Microsoft OfficeI recently had to read a large Word document which had apparently been written by someone who doesn;t know how to use Microsoft Word. Intead of using paragraph spacing they had inserted blank lines.

I know in the scheme of things, this is a relatively minor gripe, but in a large document it is still annoying.

However, there is a simple way in Word to remove blank lines.

Using the Find and Replace tool, in the Find what box type ^p^p and in the Replace with box type ^p; hit Replace All and all double line breaks will be replaced with single line ones:

MS Word Find and Replace

To my eyes this makes the document far more readable which is important for a large one.

Microsoft Dynamics GP Macros: Macro By Excel Formula

Microsoft Dynamics GPIn this series I am taking a look at how macros can be used to update data in Microsoft Dynamics GP.

Over the last couple of posts, I’ve shown how data can be merged into the macro template using either mail merge or a SQL script. This post is going to show the final method I use for merging data into the macro template, which is to use an Excel formula.

I am using an Excel spreadsheet with two columns, USERID and PASSWORD. I am going to add a third column to the spreadsheet to hold the formula containing the macro.

User data in Excel

Continue reading “Microsoft Dynamics GP Macros: Macro By Excel Formula”

Microsoft Dynamics GP Macros: Macro By MailMerge

Microsoft Dynamics GPIn this series I am taking a look at how macros can be used to update data in Microsoft Dynamics GP.

The most common way I update a macro template with the data to be updated, is to use Mail Merge in Microsoft Word.

Make sure you have your data prepared: in the demo system I’m using, I have only four users. I have created some new passwords based on the User Name field and stored them in an Excel spreadsheet:

Microsoft Excel

Continue reading “Microsoft Dynamics GP Macros: Macro By MailMerge”

Hands On With Microsoft Dynamics GP 2016 R1: Installing the Microsoft Dynamics GP Add-in for Microsoft Word

Microsoft Dynamics GPAs of Microsoft Dynamics GP 2010, Word Templates were introduced as an alternative to the standard reports. The Word templates offer an easier way to format the documents produced from Dynamics GP, such as sales invoices and check remittances. When a new field needs to be added to a Word template, it first needs to be added in Report Writer and then the Word template modified.

To add the field in Word, the Microsoft Dynamics GP Add-in for Microsoft Word needs to be installed. To install it, launch the setup.exe from the download media and select Microsoft Dynamics GP Add-in for Microsoft Word:

Microsoft Dynamics GP 2016

Continue reading “Hands On With Microsoft Dynamics GP 2016 R1: Installing the Microsoft Dynamics GP Add-in for Microsoft Word”

Change Microsoft Office Serial

Microsoft OfficeIf you ever have problems activating Microsoft Office 2013 you might need to change the licence key, but this cannot be done through the front end.

Instead, there is a command you can run at the command line to change the key:

cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /inpkey:officekey

Replace the highlighted section above to the new key you want to put in place; once done you can then log into Office and activate the software online.

Hands On With Microsoft Dynamics GP 2015 R2: Install GP Add-in For Microsoft Word

Microsoft Dynamics GPMicrosoft Dynamics GP 2015 R2 was released at the end of May. As I mentioned at the time, I was away from home for work and rather busy otherwise so this series of posts has been somewhat delayed.

However, I am now getting my hands on GP 2015 R2 and thought I would do my usual set of posts on the installation of the various components and also the usage of the new functionality. This is going to be quite a long series of posts, so keep checking back regularly.

When using the Word Templates to replace the standard reports for printing reports such as invoices, remittances or purchase orders you can do changes to the format or layout using the standard functionality of Microsoft Word.

However, if you want to add additional fields then you need to install the Microsoft Dynamics GP Add-in for Microsoft Word. Do this by launching the Microsoft Dynamics GP setup utility from the downloaded installation media and, under Additional Products, click on Microsoft Dynamics GP Add-in for Microsoft Word:

Microsoft Dynamics GP 2015 setup utility

Continue reading “Hands On With Microsoft Dynamics GP 2015 R2: Install GP Add-in For Microsoft Word”

Preorder Real-world Business Intelligence with Microsoft Dynamics GP

Microsoft Dynamics GPI was just browsing the Packt Publishing website (as you do) and found that there is a new book about Microsoft Dynamics GP being released next month.

Real-world Business Intelligence with Microsoft Dynamics GP by Dynamics GP MVPs Belinda Allen and Mark Polino:

Real-world Business Intelligence with Microsoft Dynamics GP

Continue reading “Preorder Real-world Business Intelligence with Microsoft Dynamics GP”

Word Templates XML Update – Make Sure Word Is Closed Before Modifying

Microsoft Dynamics GPWe had a peculiarity the other day when updating a Word template for a client. We added some new fields via Report Writer and then created a new Word Template; when then modifying the Word template the fields usually show in the XML schema, but this time we found they weren’t.

After a couple of fruitless minutes checking the modified report and creating a new version of the Word template without success I started wondering about already open applications. In particular MS Word itself was already running with an unrelated document open.

I closed down all open Word documents and, in Template Maintenance (Administration » Reports » Template Maintenance), clicked the Modify button; when the Word template opened the new fields were showing in the XML schema.

This is something I have experienced before without being able to pin down why which caused..shall we say…a certain level of frustration. I’m not sure why having Word open caused the XML schema not to be refreshed when creating a new document, I am pleased that at least I can void the problem by making sure all open instances of Word are closed before starting.