Wednesday, May 27, 2015

Problem in cumulative update 19 for Microsoft Dynamics NAV 2013R2

Problem in cumulative update 19 for Microsoft Dynamics NAV 2013R2

Hi,

Cumulative Update 19 for Microsoft Dynamics NAV 2013 R2 has a problematic change that will affect your implementation of the cumulative update.


The problem is in table 114, Sales Cr. Memo Header, where the number of field 1300, Canceled, is changed to 1301. A typical partner development license does not allow field changes, so you will run into the problem when you try to import CU 19.

So Microsoft is going to announced hotfixes very soon to resolve this issue.

So here are the different way to work around the problem until next cumulative update released.



Rename the old field and merge the new field. Write code to copy values from the old field to the new field. See the following code as an example.
SalesCrMemoHeader.SETRANGE("Canceled 2",TRUE);
SalesCrMemoHeader.MODIFYALL(Canceled,TRUE);
SalesCrMemoHeader.MODIFYALL("Canceled 2",FALSE);
Where “Canceled 2” is the renamed field.
Note:
You will not be able to remove the old field.
In table 112, Sales Invoice Header, field 1301, Canceled, is a FlowField that uses field 1301 in table 114 in its CalcFormula. Because table 112 is not part of CU 19, the CU will fail if you try to compile table 112 because it points to non-existing field 1300 in table 114.

No comments:

Post a Comment