AutoCount Accounting 2.1 API: Difference between revisions

no edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1:
 
==Introduction to AutoCount Accounting 2.1.5-2.1.8==
AutoCount Accounting 2.1.5.x is the continuous update to previous version of 2.0.<br/>
 
Line 9:
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.
 
===CommonMajor Componentschanged versionsin 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}}.<br>
{{DevExpress}} is upgraded from 19.2.10 to '''22.2.7'''.
<br/><br>
{{Note|Plug-in that is built for '''2.1.8''' requires to include '''SetDevExpressComponentVersionRequired("22.2.7")''' at the constructor of the plug-in initiate.}}
===Compatibility===
#:[[:Category:AutoCount Accounting 2.1:Release Note|AutoCount View Accounting 2.1 Release Note]]
<tabber>
2.1.8=
====Common Components versions====
#Net Framework '''4.8'''
#:Please use only .Net Framework 4.8, because others .net assemblies are not tested. Some code works, but at some point it may break.
#{{DevExpress}} WinForms '''1922.2.107'''
#Newtonsoft Json.NET '''13.0.1'''
 
====Setup AutoCount Accounting 2.1 Requirements====
#Net Framework '''4.8'''
#[https://www.microsoft.com/en-us/download/details.aspx?id=50003 SQL Server 2012 SP3] or higher
#AutoCount Server 2.1.0.17 or higher
#AutoCount Accounting 2.1.08.123 Setup or higher
|-|
#:[[:Category:AutoCount Accounting 2.1:Release Note|AutoCount Accounting 2.1 Release Note]]
2.1.5=
<br/>
====Common Components versions====
#Net Framework '''4.8'''
#:Please use only .Net Framework 4.8.
#{{DevExpress}} WinForms '''19.2.10'''
#Newtonsoft Json.NET '''13.0.1'''
====Setup AutoCount Accounting 2.1 Requirements====
#Net Framework '''4.8'''
#[https://www.microsoft.com/en-us/download/details.aspx?id=50003 SQL Server 2012 SP3] or higher
#AutoCount Server 2.1.0.6 or higher
#AutoCount Accounting 2.1.5.16 Setup or higher
</tabber>
<br/><br/>
 
==Assemblies Filename Changed ''(Updated: 6/1/2023)''==
Line 43 ⟶ 64:
 
The word "Invoicing" is removed from the filename of Sales and Purchase, but the namespace remains the same.<br/>
''Although the project reference of 2.0 sales & purchase assemblies will need to be removed, then add the 2.1 sales & purchase assemblies, the coding doesn't require to changebe changed.''
{{note|Make sure all AutoCount Accounting 2.0 assemblies are removed from reference before adding 2.1 assemblies.}}
<br/>
 
==Namespace Changed ''(Updated: 1316/68/2023)''==
 
===2.1.5 to 2.1.8 API Changed===
{|class="wikitable"
|-
!2.1.5
!2.1.8
|-
|AutoCount.LicenseControl.ModuleControl.GetOrCreate(myUsrSession.DBSetting)<br>.ModuleController.'''SystemCurrency''';
|AutoCount.LicenseControl.ModuleControl.GetOrCreate(myUsrSession.DBSetting)<br>.ModuleController.'''Country''';
|}
 
===2.0 to 2.1 API Changed===
{|class="wikitable"
|-
Line 96 ⟶ 129:
 
==GST Tax Code and '''Tax Rate''' ''(updated: 20/12/2022)''==
*AutoCount Accounting 2.1 API will auto updateupdates the tax rate in Sales and Purchase documents according to the document date.
*:However,When itinitiate requiresthe toobject initiateof GSTHelper in a standalone or service, the GSTapplication Helpermust byhave callinghad called the SubProjectStartup at the beginning of the application.
*:In other words, ifIf 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".
Line 152 ⟶ 186:
}
</syntaxhighlight>
{{Note|[[Programmer Download and Links#Programmer Tools (Plug-in Builder and others)|Get latest plug-in builder 2.1.0.1 for AutoCount Accounting 2.1]]}}
 
 
==NuGet==
Line 200 ⟶ 233:
****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.
You may also visit Microsoft for how to use Visual Studio Extensions.
[https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions?view=vs-2022 Find, install, and manage extensions for Visual Studio]
 
*Supported Visual Studio version: 2019, 2022
*Language in the project: C#
 
{{NavigateDeveloper}}
 
{{NavigateDeveloper}}
[[Category:Programmer]]
[[Category:API]]