BC 14 Tips & Tricks

More Informative Posting Date Error

Create a more informative Posting Date Error

There was a problem where the error message on ACIE was not mentioning the blocked Posting Date but for NAV 2018.

Since the function in BC is different, you can change the code here:

Code unit 5700 User Setup Management

[External] CheckAllowedPostingDate(PostingDate : Date)
IF NOT IsPostingDateValid(PostingDate) THEN
// ERROR(PostingDateRangeErr); //Remove
ERROR(InformativePostingDateRangeErr, PostingDate); //Add

One reply on “More Informative Posting Date Error”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s