Skip to content

Deferral Posting Suggestion in Microsoft Dynamics NAV 2016

ArcherPoint’s technical staff pose questions, find answers, and share new discoveries about Microsoft Dynamics NAV

Editor's Note: Saurav Dhyani is proposing an enhancement to Microsoft Dynamics NAV 2016. If you think this feature should be part of the base application, please vote for it on Microsoft Connect or iLoveNAV. If you have a suggestion of your own, feel free to propose it on these resources.

When you are posting any entry in Microsoft Dynamics NAV 2016, the entries can only be posted if the Posting Date falls between Allowed Posting From and Allowed Posting To, User Setup or General Ledger Setup.

Posting dates setup.

Figure 1. Posting dates setup.

Process

Using Microsoft Dynamics NAV 2016, the Deferral Functionality and posting a Sales Invoice is shown below:

Sales invoice with Deferral.

Figure 2. Sales invoice with Deferral.

Below is the Deferral Schedule for the Resource Line in the invoice in Figure 2.

Deferral Schedule for Sales Invoice Line.

Figure 3. Deferral Schedule for Sales Invoice Line.

Issue in Microsoft Dynamics NAV 2016

When the user tries to post the Sales Invoice, they will receive an Error Message:

Posting Error with Deferral.

Figure 4. Posting Error with Deferral.

The reason for this is because the Deferral Entries the transaction is trying to post are in future dates that are out of the Period in the Setup.

Suggested Solution

I propose the following solution: Add two Fields in Allow Deferral Posting to & Allow Deferral Posting From, in User Setup and General Ledger Setup as shown below.

New Field in Setup.

Figure 5. New Field in Setup.

Below is a new function in Codeunit 11 for Checking Deferral Posting Date:

New Function in Codeunit 11.

Figure 6. New Function in Codeunit 11.

Changes in Codeunit 12:

Changes in the Function PostDeferralPostBuffer.

Figure 7. Changes in the Function PostDeferralPostBuffer.

With these changes, the system will check the Dates Related to Deferral Entries with New Allowed Date Fields in the Setup.

If you think this feature should be part of the base application, please vote for it on Microsoft Connect or iLoveNAV.

If you have any questions about this function or other Dynamics NAV questions for any version, contact ArcherPoint.

Read more "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV.

If you are interested in NAV development, check out our collection of NAV Development Blogs.

Read more Dynamics NAV blogs by Saurav Dhyani.

Comments

Comment: 

Hi Greg,

Thanks for your comment!

Microsoft’s Connect Portal has already accepted this as a bug, and hopefully it will be available on a future release.

Here is the response from Microsoft:

Hi Saurav, Thanks for the suggestion. We’ve added this to the list of features being considered for deferrals in future releases of Dynamics NAV.

Read ArcherPoint's Blog Follow us on Twitter Follow us on Facebook Follow us on LinkedIn Link to our RSS feed Join us on Google+ Watch us on YouTube
Get Help Now