AutoCount Accounting 2.1.5.x is the continuous update to previous version of 2.0.
There are some rearrangement of the namespace to better separation of UI and logic which it has been done for the GL, AR and AP. For instance, when programming for the GL, AR and AP without UI, programmer only need to download autocount.dll and autocount.accounting.dll without having to download the entire assemblies.
AutoCount Accounting 2.1 assemblies can be downloaded from the nuget. So that, programmer can download and manage the assemblies of different versions.
Furthermore, AutoCount Accounting 2.1 script template is published at Extensions for Visual Studio, where programmer can find the extensions in Visual Studio 2019 and 2022.
Major changed in 2.1.8
AutoCount Accounting 2.1.8 is the extended version of 2.1.5, the significant changed of 2.1.8 is DevExpress. DevExpress is upgraded from 19.2.10 to 22.2.7.
Plug-in that is built for 2.1.8 requires to include SetDevExpressComponentVersionRequired("22.2.7") at the constructor of the plug-in initiate.
The word "Invoicing" is removed from the filename of Sales and Purchase, but the namespace remains the same. Although the project reference of 2.0 sales & purchase assemblies need to be removed, then add the 2.1 sales & purchase assemblies, the coding doesn't require to be changed.
Make sure all AutoCount Accounting 2.0 assemblies are removed from reference before adding 2.1 assemblies.
AutoCount Accounting 2.1 API auto updates the tax rate in Sales and Purchase documents according to the document date.
When initiate the object of GSTHelper in a standalone or service, the application must have had called the SubProjectStartup at the beginning of the application.
If SubProjectStartup isn't called, obtain the TaxRate will fail.
Plug-in development does not require to call the SubProjectStartup, because it has been called by the host application.
Secondly, make sure the manually added TaxCode is linked or assigned with Government Tax Code.
Prior to version 2.1, "GovernmentTaxCode" was known as "IRASTaxCode".
3 MainEntry to start a subProject
Calling the SubProjectStartup is to load the plug-in and also to activate the license.
In 2.1, there are 3 classes the programmer can call the SubProjectStartup with different assembly and usage.
You may find the document at Initiate UserSession and DBSetting.
MainEntry in AutoCount.Accounting.dll
MainEntry.Startup
This MainEntry is commonly used for integration, or when no user login is required to access and initiate AutoCount Accounting, and it does not load UI components.
MainEntry.MainStartup
This MainEntry opens the AutoCount Accounting user login form, with successful login, it returns the object of UserSession.
If user clicked [Cancel], the object of UserSession is null.
To download the assemblies to your project, start a new project or open a project, then go to Tools | NuGet Package Manager | Manage NuGet Packages for Solution...
If unsure of which NuGet package to install, select AutoCount2.MainEntry package is sufficient for most project.
At the "Browse" tab, search for "autocount2".
Select the package that is based on the project requirement and click install.
NuGet Packages Dependency Charts
For example, when NuGet package AutoCount2.Sales is installed, below packages are installed simultaneously:- AutoCount2.Sales
AutoCount2.Stock
AutoCount2.Invoicing
AutoCount2.Inquiry
AutoCount2.ARAP
AutoCount2.Accounting.UI
AutoCount2.UI
AutoCount2.Accounting
AutoCount2
Another example, when NuGet package AutoCount2.MainEntry is installed, below packages are installed simultaneously:- AutoCount2.MainEntry
AutoCount2.FinancialReport
AutoCount2.Accounting.UI
AutoCount2.UI
AutoCount2.Accounting
AutoCount2
AutoCount2.Tools
AutoCount2.GL
AutoCount2.GeneralMaint
AutoCount2.GST
AutoCount2.Inquiry
AutoCount2.Purchase
AutoCount2.Sales
AutoCount2.Stock
AutoCount2.Invoicing
AutoCount2.ARAP
AutoCount Script 2.1 Template in Visual Studio Extensions
AutoCount Script Template 2.1 can be downloaded from Visual Studio Market Place.
To download the script template, start Visual Studio 2019 or 2022
On the main menu, click Extensions | Manage Extensions
In the Manage Extensions, search for "AutoCount"
Select the template according to the intended version.
Close all Visual Studio and it starts the setup
Once done, start Visual Studio and create new project
"AutoCountScript 2.1.8" project is added to the project list.