There is an issue with the VAT CASH functionality when you use together with APPLY Entries, setting the INVOICE in the Header and applying VS the Payment in the Spanish version of Microsoft Dynamics NAV 2009. If you do that and have some invoices posted in a range in the middle of the VAT CASH Invoice and payment, then those invoices are skipped in the 340 Declaration. Follow the steps in the code changes section to solve this issue. This problem occurs in the following products:
- The Spanish version of Microsoft Dynamics NAV 2009 R2
- The Spanish version of Microsoft Dynamics NAV 2009 SP1