When you use the same document number for different years in the Spanish version of Microsoft Dynamics NAV 2009, a wrong amount for one fiscal year is presented as is taking into accounts both entries with the same document number. For example, when you have one entry for fiscal year 2013 and another one entry for fiscal year 2014, both posted through journals and using the same document number, if you run 340 model for fiscal year 2014, the amount value in the generated 340 file will consider both entries for fiscal year 2014 and also 2013. Follow the steps in the code changes section to solve this issue. This problem occurs in the following product:
- The Spanish version of Microsoft Dynamics NAV 2009 R2
- The Spanish version of Microsoft Dynamics NAV 2009 SP1