To resolve this problem, change the code in the Whse. Undo Quantity codeunit (7320) as follows:
1. On the Tools menu, click Object Designer.
2. Click Codeunit and select the Whse. Undo Quantity codeunit (7320) and then click Design.
3. On the View menu, click Properties.
4. Click the AssistEdit button in the Permissions property
5. Select Whse. Item Entry Relation table (6509) and select Modify and Delete permissions and then click OK.
6. Save changes to the codeunit.
Note: Before you install this hotfix, verify that all Microsoft Dynamics NAV client users are logged off the system. This includes Microsoft Dynamics NAV Application Server (NAS) client users. You should be the only client user who is logged on when you implement this hotfix.
To implement this code change, you must have a developer license.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.