Question Status

Verified
Mikael Smith Larsen asked a question on 3 Apr 2014 6:47 AM
Hi When formating a blank date, with the code shown below it returns: 0001-01-01 in Nav2013 R2. If the same code is executed in Nav2013 it returns: ''. That must be an error in Nav2013 R2, or what? Code: Var Name DataType Subtype Length Employee2 Record Employee ApplicationManagement Codeunit ApplicationManagement txtTerminationDate Text dtDate Date txtDate Text Employee2.GET('9'); txtTerminationDate := FORMAT(Employee2."Termination Date",10,'--'); MESSAGE('Employee2."Termination Date": %1\'+ 'txtTerminationDate: %2\'+ 'ApplicationManagement.ApplicationVersion: %3', Employee2."Termination Date", txtTerminationDate, ApplicationManagement.ApplicationVersion); dtDate := 0D; txtDate := FORMAT(dtDate,10,'--'); MESSAGE('dtDate: %1\'+ 'txtDate; %2\'+ 'ApplicationManagement.ApplicationVersion: %3', dtDate, txtDate, ApplicationManagement.ApplicationVersion);
Reply
Jose Antonio Lopez responded on 4 Apr 2014 7:10 AM

About two weeks ago I have translate this issue to Microsoft support. Microsoft is working to fix this problem in next hotfix in Nav2013 R2.

Best regards,

Reply
Verified Answer
Daniele Rebussi responded on 11 Apr 2014 9:03 AM

Has been fixed with Cumulative Update 6: mbs2.microsoft.com/.../KBDisplay.aspx

Reply
Verified Answer
Daniele Rebussi responded on 11 Apr 2014 9:03 AM

Has been fixed with Cumulative Update 6: mbs2.microsoft.com/.../KBDisplay.aspx

Reply