Difference between revisions of "Programmer"

From AutoCount Resource Center
Jump to navigation Jump to search
m
 
(86 intermediate revisions by the same user not shown)
Line 1: Line 1:
  +
<div style="width:100%; height:90px; font-size:28px; padding-left:20px; color:#ff5500; background-color:white; position:absolute; top:-100px; left:-10px; z-index:0;">
<br />
 
<div style="width:100%; height:90px; font-size:28px; padding-left:20px; color:#ff5500; background-color:white; position:absolute; top:-70px; left:-10px; z-index:0;">
 
 
<br />AutoCount Resource Center
 
<br />AutoCount Resource Center
 
</div>
 
</div>
 
__notoc__
 
__notoc__
  +
<br/>
{{AutoCountTreeList|bgheadercolor=#330099| Resources for AutoCount Programmers |Image=[[File:ZzDevelopers.jpg|480px|link=]]<br />
 
  +
{{Note|AutoCount Accounting '''API''' Updated in 2.0.'''21.169''' - ''14/4/2020''<br/>
<center>Some code syntax requires Development Tool that supports C# 6.0</center>|
 
  +
AutoCount.'''Configuration.DatabaseManagement''' has been moved from AutoCount.UI.dll to AutoCount.dll.<br/>
  +
Project rebuild may be required.
  +
}}
  +
{{Note|AutoCount Accounting '''API''' Updated in 2.0.'''20.168''' - ''14/4/2020''<br/>
  +
7 new dll have been added to better manage system resources.<br/>
  +
AutoCount.Image100p.dll<br/>
  +
AutoCount.Image125p.dll<br/>
  +
AutoCount.Image150p.dll<br/>
  +
AutoCount.Image175p.dll<br/>
  +
AutoCount.Image200p.dll<br/>
  +
AutoCount.Image500p.dll<br/>
  +
AutoCount.Images.DLL<br/><br/>
  +
These assemblies are required when your project has reference to AutoCount Accounting 2.0 UI object.
  +
}}
  +
<br/>
  +
{{Note|AutoCount Plug-In Builder 2.0.2.4 is available for download - ''31/12/2020''<br/>
  +
:[[Programmer_Download_and_Links#Programmer_Tools|Click here to download page]]
  +
}}
  +
{{Note|AutoCount Accounting 2.0.'''18.162''' - ''30/12/2020''<br/>
  +
:Plug-In is required to specify the Developer's '''Company email''' at the '''constructor''' of the Plug-In.
  +
::This is to allow the developer to be informed of the exception that was thrown from the plug-in.
  +
::'''Exception''': ''Method not found: 'Void AutoCount.PlugIn.BasePlugIn..ctor(System.Guid, System.String, System.String)'.)''
  +
::'''Solution''': at the constructor of the plug-in, add email to the new parameter.
  +
::'''Example''': public PluginInitialize() : base(new Guid("<<Put your product Guid here>>"), "My First Plugin", "<<Plugin Version>>", "myemail@domain.com")
  +
<br>
  +
:'''Requires DevExpress 19.2.10'''
  +
:Add this line in the constructor
  +
::SetDevExpressComponentVersionRequired("19.2.10")
  +
}}
  +
  +
<div style="width:100%; postion:relative>
  +
<br/>
  +
{{AutoCountTreeList|bgheadercolor=#008000| AutoCount Accounting API (.Net Framework)<br/>Plug-In, Integrate... |Image=|
  +
{{ProgrammerAPIMenuFlat}}
  +
}}
  +
{{AutoCountTreeList|bgheadercolor=#0088cc| AOTG Web API (REST)<br/>Web Integration Gateway |Image=|
  +
{{ProgrammerAOTGApiMenu}}
  +
}}
  +
{{AutoCountTreeList|bgheadercolor=#ff8000| Tutorials |Image=|
  +
{{ProgrammerTutorialMenuFlat}}
  +
}}
  +
{{AutoCountTreeList|bgheadercolor=#330099| General Knowledge |Image=|
 
{{ProgrammerMenuFlat}}
 
{{ProgrammerMenuFlat}}
 
}}
 
}}
   
  +
{{Note|Some source code syntax in this document requires Development Tool that supports C# 6.0
  +
}}
  +
{{Warn|All materials and coding you may find at wiki AutoCount for programmer is for education and conceptual purposes.
  +
Programmer may use them as study reference, but be cautious when apply sample and training coding in actual project.<br/>
  +
Without throughout understanding of the piece of code, it may result to confusion in the project.<br/>
  +
When a programmer uses any piece of code from others in the project, the programmer is liable to the code.<br/>
  +
}}
  +
</div>
 
<br />
 
<br />
  +
==Download and Resources==
==AutoCount Programmers Download==
 
  +
{{Download|Programmer Download and Links|Programmer Download and Links to External Resources|Title=Programmer Download and Links}}
{{Warn|Files provided here are specifically for the cause of software development and testing only.<br />Files here may contain '''unstable or incompatible versions''' that are not meant for user download.}}<br />
 
  +
<br/><br/>
   
===Download Tips===
+
==Past Notice==
  +
===AutoCount Accounting 2.0===
{{Note|Right Click on download link, and "Open in new tab"}}
 
  +
{{Note|Plug-In Builder 2.0.1.3 is released for AutoCount Accounting 2.0.15.'''139''' and higher<br/>
[[File:DLFromGoogleDrive1.PNG|link=]]
 
  +
:Version 2.0.1.3 plug-in builder can be used to build earlier version of AutoCount Accounting 2.0 plug-in.
<br /><br />
 
  +
:Separate installed folder is not required.
===Programmer Tools===
 
  +
:[[Programmer_Download_and_Links#Programmer_Tools|Click here to go to download page]]
{{DeveloperIDForm}}
 
  +
}}
{|class="wikitable"
 
  +
{{Note|AutoCount Accounting 2.0.15.'''139'''<br/>
!width="500px"|Tools
 
  +
:Plug-In is required to specify the DevExpress supported for this plug-in at the constructor of the Plug-In.
!width="100px"|Last Updated
 
  +
::'''SetDevExpressComponentVersionRequired("19.2.7")'''
|-
 
  +
}}
|[https://drive.google.com/open?id=0B3V33wGqwP4xcXltZ2xTT1J0WTQ AutoCount Plug-In Builder]
 
For AutoCount Accounting 1.8.8 or higher
+
{{Note|AutoCount Accounting 2.0.15.'''138'''<br/>
  +
:This release requires {{DevExpress}} 19.2.7, which you may find the installer on [[Programmer_Download_and_Links#DevExpress|Download page]].
|
 
  +
}}
|-
 
  +
{{Note|AutoCount Accounting '''2.0.5.108''' has major API update in GL/AR/AP.<br/>
|[https://drive.google.com/open?id=1DKnJ4AgWryN-OHCBZVN76NjLsCdJFDyy AutoCount Plug-In Builder 2.0]
 
  +
'''DLL added''':<br/>
For AutoCount Accounting 2.0
 
  +
AutoCount.Accounting.dll<br/>
|align="center"|7 Dec 2017
 
  +
AutoCount.Accounting.UI.dll<br/>
|-
 
  +
'''DLL removed''':<br/>
|[https://drive.google.com/open?id=15jOQnZrXGu-XY-epy03EL-DHIknIEtCd AutoCount 2.0 Plug-In Converter]
 
  +
AutoCount.CommonAccounting.dll<br/><br/>
Tool to convert AutoCount Accounting namespace from version 1.8 to 2.0
 
  +
Remove of AutoCount.CommonAccounting.dll does not implicate that classes that were in AutoCount.CommonAccounting.dll are removed.<br/>
|align="center"|15 Dec 2017
 
  +
To better organize the naming, UI and logic, system engineer and analyst have rearranged and split them into two libraries.
|}
 
  +
}}
 
  +
{{Note|AutoCount Accounting 2.0.0.70 is released to compliant with '''GST 0% SR'''<br/>
===Applications===
 
  +
:There is no major changes in API compatibility for project uses API 2.0.0.66-2.0.0.69<br/>
{|class="wikitable"
 
  +
:But, do rebuild with 2.0.0.70 assemblies to confirm the compatibility.
!colspan="5"|AutoCount Accounting 2.0
 
  +
}}<br/>
|-
 
  +
===AutoCount Accounting 1.9===
!width="150px"|Version
 
  +
{{Note|
!DB Version
 
  +
Upgrade from AutoCount Accounting 1.8 to 1.9 requires a special '''license key'''.
!width="160px" colspan="2"|Download
 
  +
:However, if create a new account book in AutoCount Accounting '''1.9.6''' and higher version,<br/>you will be able to use the account book for development & testing without requirement of '''License Key'''.
!width="350px"|Basic Requirements for Programmer
 
  +
}}<br/>
|-
 
  +
{{Note|
|Coming soon to 2.0
 
  +
AutoCount Accounting '''1.9''' is compatible with AutoCount Accounting '''1.8'''.
|
 
  +
:Some coding may require minor update, due to earlier version of 1.8 has some differences in method call.
|width="80px" align="center"|
 
  +
:Such as SubProjectStartup parameter has been updated since version 1.8.30.<br/>[[Programmer:Simple_program_to_test_connection_to_AutoCount_Accounting#Four_overloading_methods_of_SubProjectStartup|Click here to see the changed in SubProjectStartup method.]]
|width="80px" align="center"|
 
  +
}}<br/>
|rowspan="1"|
 
  +
===General===
#Net Framework 4.5
 
  +
{{Note|
#[https://www.microsoft.com/en-us/download/details.aspx?id=50003 SQL Server 2012 SP3] or higher
 
  +
<u>'''This document does not allow to save, because it contains accrual and payment basis tax code</u><br/>
#AutoCount Server
 
  +
''When you see the message prompted similar to the title'',<br/>
#{{DevExpress}} WinForms '''17.1.9'''
 
  +
this is to accommodate the new SST calculation of Sale Tax and Service Tax,<br/>which '''Sale Tax''' is on "Accrual Basis", while '''Service Tax''' is on "Payment Basis".<br/>
#:To be compatible with latest Windows 10.
 
  +
*'''Accrual Basis''' is defined as, '''Sales Tax''' is payable when the invoice is created.<br/>
#[https://www.visualstudio.com/ Microsoft Visual Studio or equivalent]
 
  +
*Whereas, '''Payment Basis''' is after payment is received from customers for '''Service Tax'''.<br/>However, if the payment is not received after 12 months,<br/>it becomes payable regardless of whether the payment is received.
|-
 
  +
The difference between the two methods is the timing to recognize '''Payment Basis''' as Tax is deffered until<br/>payment is received, or 12 months period.<br/><br/>
|2.0.0.58 (BETA, Trial)
 
  +
Therefore for AutoCount Accounting to recognize these two occurrence whether it is payable tax,<br/>separating them to two documents can clearly differentiate them in the finance and tax report.<br/>
|2.1.5
 
  +
<br/>Posted on 6 Sep 2018
|width="80px" align="center"|[https://drive.google.com/open?id=1dajH-Y7HidMkrLFjsszN_Gkj922QXFxO 64bit]
 
  +
}}
|width="80px" align="center"|[https://drive.google.com/open?id=1Fk5RYge4w2nEtbYHl42SogtaAon5Mb06 AutoCount Server]
 
|rowspan="2"|
 
#Net Framework 4.5
 
#[https://www.microsoft.com/en-us/download/details.aspx?id=50003 SQL Server 2012 SP3] or higher
 
#AutoCount Server
 
#{{DevExpress}} WinForms 17.1.4
 
#[https://www.visualstudio.com/ Microsoft Visual Studio or equivalent]
 
|-
 
|2.0.0.57 (BETA, Trial)
 
|2.1.5
 
|width="80px" align="center"|[https://drive.google.com/open?id=1Ztdq8DJDkDeJsYb-D8yo1D5Qmxn8wuwM 64bit]
 
|width="80px" align="center"|
 
|-
 
!colspan="5"|AutoCount Accounting 1.8
 
|-
 
|1.8.28.184 (Trial)
 
|1.0.9.67
 
|width="80px" align="center"|[https://drive.google.com/open?id=1UsSXJm1piOO3X02fDTkAphsjARWOH1DG 64bit]
 
|width="80px" align="center"|
 
|rowspan="2"|
 
#Net Framework 4.0
 
#SQL Server 2008R2 SP2 or higher
 
#{{DevExpress}} WinForms 13.1.10
 
|-
 
|1.8.27.182 (Trial)
 
|1.0.9.66
 
|width="80px" align="center"|[https://drive.google.com/open?id=0B3V33wGqwP4xMW5FNXBVdDJmVjg 64bit]
 
|width="80px" align="center"|
 
|-
 
|}
 
<br />
 
==External Related Resources==
 
===Microsoft===
 
* [https://www.visualstudio.com/ Microsoft Visual Studio]
 
* [https://www.microsoft.com/en-us/download/details.aspx?id=17718 Microsoft .NET Framework 4 (Standalone Installer)]
 
* [https://www.microsoft.com/en-us/download/details.aspx?id=30653 Microsoft .NET Framework 4.5]
 
 
===AutoCount===
 
* [http://developer.autocountsoft.com AutoCount Accounting Software Developer]
 
* [http://support.autocountsoft.com AutoCount Accounting Support]
 
* [http://www.autocountsoft.com AutoCount official website]
 
 
<br /><br />
 
 
[[Category:Programmer]]
 
[[Category:Programmer]]

Latest revision as of 08:25, 14 April 2021


AutoCount Resource Center


Tips icons.png AutoCount Accounting API Updated in 2.0.21.169 - 14/4/2020

AutoCount.Configuration.DatabaseManagement has been moved from AutoCount.UI.dll to AutoCount.dll.
Project rebuild may be required.

Tips icons.png AutoCount Accounting API Updated in 2.0.20.168 - 14/4/2020

7 new dll have been added to better manage system resources.
AutoCount.Image100p.dll
AutoCount.Image125p.dll
AutoCount.Image150p.dll
AutoCount.Image175p.dll
AutoCount.Image200p.dll
AutoCount.Image500p.dll
AutoCount.Images.DLL

These assemblies are required when your project has reference to AutoCount Accounting 2.0 UI object.


Tips icons.png AutoCount Plug-In Builder 2.0.2.4 is available for download - 31/12/2020
Click here to download page
Tips icons.png AutoCount Accounting 2.0.18.162 - 30/12/2020
Plug-In is required to specify the Developer's Company email at the constructor of the Plug-In.
This is to allow the developer to be informed of the exception that was thrown from the plug-in.
Exception: Method not found: 'Void AutoCount.PlugIn.BasePlugIn..ctor(System.Guid, System.String, System.String)'.)
Solution: at the constructor of the plug-in, add email to the new parameter.
Example: public PluginInitialize() : base(new Guid("<<Put your product Guid here>>"), "My First Plugin", "<<Plugin Version>>", "myemail@domain.com")


Requires DevExpress 19.2.10
Add this line in the constructor
SetDevExpressComponentVersionRequired("19.2.10")


AutoCount Accounting API (.Net Framework)
Plug-In, Integrate...
  1. Master Data


  2. Transactions & Documents


  3. Bonus Point (Member Point)


  4. Reporting - Member List and Point Balance - [1.8, 1.9] [2.0]
AOTG Web API (REST)
Web Integration Gateway
  1. Introduction to AOTG API - (20 Feb 2019)
  2. Begin AutoCount Accounting Integration via AOTG API - (25 Feb 2019)
  3. AOTG API Authenticate (Get AccessToken) - (26 Feb 2019)

    FAQ


  4. AOTG API Result method's response status - (10 Nov 2020)
  5. AOTG API Result Status is always '''InQueue''' - (19 May 2021)
  6. AOTG API Error Message

    AOTG API Methods Flow Samples


Tutorials
General Knowledge
Tips icons.png Some source code syntax in this document requires Development Tool that supports C# 6.0
Warning-icon.png All materials and coding you may find at wiki AutoCount for programmer is for education and conceptual purposes.

Programmer may use them as study reference, but be cautious when apply sample and training coding in actual project.
Without throughout understanding of the piece of code, it may result to confusion in the project.
When a programmer uses any piece of code from others in the project, the programmer is liable to the code.


Download and Resources

DownloadPage1.png

Programmer Download and Links

Programmer Download and Links to External Resources



Past Notice

AutoCount Accounting 2.0

Tips icons.png Plug-In Builder 2.0.1.3 is released for AutoCount Accounting 2.0.15.139 and higher
Version 2.0.1.3 plug-in builder can be used to build earlier version of AutoCount Accounting 2.0 plug-in.
Separate installed folder is not required.
Click here to go to download page
Tips icons.png AutoCount Accounting 2.0.15.139
Plug-In is required to specify the DevExpress supported for this plug-in at the constructor of the Plug-In.
SetDevExpressComponentVersionRequired("19.2.7")
Tips icons.png AutoCount Accounting 2.0.15.138
This release requires DevExpress 19.2.7, which you may find the installer on Download page.
Tips icons.png AutoCount Accounting 2.0.5.108 has major API update in GL/AR/AP.

DLL added:
AutoCount.Accounting.dll
AutoCount.Accounting.UI.dll
DLL removed:
AutoCount.CommonAccounting.dll

Remove of AutoCount.CommonAccounting.dll does not implicate that classes that were in AutoCount.CommonAccounting.dll are removed.
To better organize the naming, UI and logic, system engineer and analyst have rearranged and split them into two libraries.

Tips icons.png AutoCount Accounting 2.0.0.70 is released to compliant with GST 0% SR
There is no major changes in API compatibility for project uses API 2.0.0.66-2.0.0.69
But, do rebuild with 2.0.0.70 assemblies to confirm the compatibility.

AutoCount Accounting 1.9

Tips icons.png

Upgrade from AutoCount Accounting 1.8 to 1.9 requires a special license key.

However, if create a new account book in AutoCount Accounting 1.9.6 and higher version,
you will be able to use the account book for development & testing without requirement of License Key.

Tips icons.png

AutoCount Accounting 1.9 is compatible with AutoCount Accounting 1.8.

Some coding may require minor update, due to earlier version of 1.8 has some differences in method call.
Such as SubProjectStartup parameter has been updated since version 1.8.30.
Click here to see the changed in SubProjectStartup method.

General

Tips icons.png

This document does not allow to save, because it contains accrual and payment basis tax code
When you see the message prompted similar to the title,
this is to accommodate the new SST calculation of Sale Tax and Service Tax,
which Sale Tax is on "Accrual Basis", while Service Tax is on "Payment Basis".

  • Accrual Basis is defined as, Sales Tax is payable when the invoice is created.
  • Whereas, Payment Basis is after payment is received from customers for Service Tax.
    However, if the payment is not received after 12 months,
    it becomes payable regardless of whether the payment is received.

The difference between the two methods is the timing to recognize Payment Basis as Tax is deffered until
payment is received, or 12 months period.

Therefore for AutoCount Accounting to recognize these two occurrence whether it is payable tax,
separating them to two documents can clearly differentiate them in the finance and tax report.

Posted on 6 Sep 2018