This is a reposting of an article Patrick Roth originally wrote on my Developing for Dynamics GP blog.
I was recently talking with one of our fine Distribution Support engineers discussing Word Template issues.
One topic that came up was their team has apparently been asked quite a number of times by customers: If we send out our invoices as Word documents, our customers can edit them to be for less money and then not pay us the full amount.
Interesting theory – the part about the customer now owing your company less money anyway. In Dynamics GP, the invoice will still be entered for $100 and if the customer only sends you a payment for $80- when you run statements they’ll still get one for the difference.
However as we discussed it, it seemed to me that Word DOES allow you to password protect files and therefore make them read-only if you desired.
So after discussing why this would work and how to do this, the engineer went out to test the theory. And it did work just fine.
Below are the steps that will allow documents created with a Word Template to essentially be read only.
You can set the templates to a read only status by using functionality in Microsoft Word to set protection on the Word Template.
In the example below, we just used a default original template as the base but this would apply to any template that is created.
- In Template Maintenance select the default Original Template and click New.
- Create a new Template based off the original and give it a name.
- Click modify to open the document in Microsoft Word.
- Click the Review tab.
- For Office 2007:
a. Click Protect Document and click Restricted Access.
b. Mark the checkbox Restrict permissions to this document.
c. Click the More Options button.
d. In the Permissions window you can grant users read only permissions and also allow them the ability to print the content.
- For Office 2010:
a. Click Restrict Editing.
b. Mark the checkbox in step 2 ( Allow only this type of editing in the document) and select No Changes (Read only).
c. In the Exceptions section you can add users to allow them to edit the document.
d. Click Yes, Start Enforcing Protection.
e. Enter password information for the document.
- Exit Word and save the Template.
- Re-associate the template by clicking the green plus symbol in Template Maintenance.
- Assign the new template to the Company.
Keep on mind that this is Word functionality and not Dynamics GP functionality.
Thanks to David Bader for proving out my theory.
Microsoft Dynamics GP Developer Support
This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.