As of now this feature is need to enabled from Feature management
This features will helpful to financial users to check the issue before posting. Before this feature we have Test Report and Preview Posting to check the issues before posting. Advantage of this feature is that this feature is can be enabled for specific batch .
To enable this feature on batch go to General Journal batch and enabled this feature for required batch.
Once this will enabled on batch this will show journal check on journal screen as follows
Enter the transaction in journal and if entry is erroneous then it will show the error as below
For more details of the error you can click Issues total to see the details of issues
Even this factbox shows the the lines which shows which lines are correct and incorrect.
Hoe this will help you to deal with financial journals validation.
Recently I encounter this issue as one of the customer would like to set up Gmail as service provided for SMTP mail in business central.
So I started the regular way how we started setting up SMTP and encounter the following issue.
Initial Setup :-
Did the initial setup with required details and while key in I key in the regular password which used while signing in Gmail.
When I click to Test Email setup and encounter the following error.
Now question is how get over this issue as it is something like you have entered some wrong password and you are getting this issue. After investing some hours I found the crucks for this issue as we need to generate App Password
This issue is encounter because of the Gmail security which required to authenticate the app which is going to use Gmail id.
To do this we need to do following
Sign in your Gmail account which you are using in business central.
Click on Manage your google account
Go to Security.
4. Click on App Passwords to generate the app password (Need to enable 2-Step Verification first).
5. Select the required App and Device as below
6. Click on Generate to generate the App Password and you will get as follows
Now go back to business central SMTP Setup and key in this App password instead of regular passwords.
Now again test the email setup and you will happy to see this message and email.
With the release of Business Central Wave 1 2020 new feature was introduced called ‘Interface’. It is basically syntactical contract that can be implemented by a non-abstract method. This allows for writing code that reduces the dependency on implementation details, makes it easier to reuse code.
Today we will see how to write an interface and implement in Business central.
For defining interface we no need to have object id.
If you can see in above interface we just define method but not programmed any business logic.
Now Lets see how to implement interface.
Added new code unit which implements the defined interface.
For checking the result of interface created following page with one function.
Above function to initialize the interface.
Lets check the result of interface.
Hope this will help you to understand interface and implementation.