Difference between revisions of "Programmer"

From AutoCount Resource Center
Jump to navigation Jump to search
 
(65 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:-90px; left:-10px; z-index:0;">
 
 
<br />AutoCount Resource Center
 
<br />AutoCount Resource Center
 
</div>
 
</div>
 
__notoc__
 
__notoc__
  +
<br/>
[[File:ZzDevelopers.jpg|480px|link=]]<br />
 
  +
{{Note|AutoCount Accounting '''API''' Updated in 2.0.'''21.169''' - ''14/4/2020''<br/>
{{Note|
 
* AutoCount Accounting '''1.9''' is compatible with AutoCount Accounting 1.8.
+
AutoCount.'''Configuration.DatabaseManagement''' has been moved from AutoCount.UI.dll to AutoCount.dll.<br/>
  +
Project rebuild may be required.
*:Some coding may requires to be updated, due to earlier version of 1.8 has differences in methods.
 
*:Such as SubProjectStartup parameter has been updated since version 1.8.30
 
* Some code syntax requires Development Tool that supports C# 6.0
 
 
}}
 
}}
  +
{{Note|AutoCount Accounting '''API''' Updated in 2.0.'''20.168''' - ''14/4/2020''<br/>
{{AutoCountTreeList|bgheadercolor=#330099| API Integrate, Plug-In |Image=|
 
  +
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}}
 
{{ProgrammerAPIMenuFlat}}
 
}}
 
}}
{{AutoCountTreeList|bgheadercolor=#330099| Tutorials |Image=|
+
{{AutoCountTreeList|bgheadercolor=#0088cc| AOTG Web API (REST)<br/>Web Integration Gateway |Image=|
  +
{{ProgrammerAOTGApiMenu}}
  +
}}
  +
{{AutoCountTreeList|bgheadercolor=#ff8000| Tutorials |Image=|
 
{{ProgrammerTutorialMenuFlat}}
 
{{ProgrammerTutorialMenuFlat}}
 
}}
 
}}
Line 21: Line 50:
 
}}
 
}}
   
  +
{{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===
 
{{Note|Right Click on download link, and "Open in new tab"}}
 
[[File:DLFromGoogleDrive1.PNG|link=]]
 
<br /><br />
 
===Programmer Tools===
 
{{DeveloperIDForm}}
 
{|class="wikitable"
 
!width="500px"|Tools
 
!width="100px"|Last Updated
 
|-
 
|[https://drive.google.com/open?id=0B3V33wGqwP4xcXltZ2xTT1J0WTQ AutoCount Plug-In Builder]
 
For AutoCount Accounting 1.8.8 or higher
 
|
 
|-
 
|[https://drive.google.com/open?id=1DKnJ4AgWryN-OHCBZVN76NjLsCdJFDyy AutoCount Plug-In Builder 2.0]
 
For AutoCount Accounting 2.0
 
|align="center"|7 Dec 2017
 
|-
 
|[https://drive.google.com/open?id=15jOQnZrXGu-XY-epy03EL-DHIknIEtCd AutoCount 2.0 Plug-In Converter]
 
Tool to convert AutoCount Accounting namespace from version 1.8 to 2.0
 
|align="center"|15 Dec 2017
 
|}
 
   
===Script Template===
+
==Past Notice==
  +
===AutoCount Accounting 2.0===
* [https://drive.google.com/open?id=13-509TLZEwTYn3OMBc0rIRRSGii8qaNo AutoCount POS 5.0 Scripting Template]
 
  +
{{Note|Plug-In Builder 2.0.1.3 is released for AutoCount Accounting 2.0.15.'''139''' and higher<br/>
 
  +
:Version 2.0.1.3 plug-in builder can be used to build earlier version of AutoCount Accounting 2.0 plug-in.
===Applications===
 
  +
:Separate installed folder is not required.
{|class="wikitable"
 
  +
:[[Programmer_Download_and_Links#Programmer_Tools|Click here to go to download page]]
|colspan="5"|'''Download AutoCount Accounting'''
 
  +
}}
|-
 
  +
{{Note|AutoCount Accounting 2.0.15.'''139'''<br/>
|colspan="5"|
 
  +
:Plug-In is required to specify the DevExpress supported for this plug-in at the constructor of the Plug-In.
'''''First time''''' install AutoCount Accounting
 
  +
::'''SetDevExpressComponentVersionRequired("19.2.7")'''
# Setup AutoCount Accounting Database Server with stand-alone setup.
 
  +
}}
#* Download [http://www.autocountsoft.com/download.aspx?filename=downloads/trial/AccountSetup_Standalone_WI.exe stand-alone setup]
 
  +
{{Note|AutoCount Accounting 2.0.15.'''138'''<br/>
# Download one of the version below and install
 
  +
:This release requires {{DevExpress}} 19.2.7, which you may find the installer on [[Programmer_Download_and_Links#DevExpress|Download page]].
#*Check with customer or dealer on downloading correct version for development.
 
  +
}}
|-
 
  +
{{Note|AutoCount Accounting '''2.0.5.108''' has major API update in GL/AR/AP.<br/>
!width="150px"|Version
 
  +
'''DLL added''':<br/>
!DB Version
 
  +
AutoCount.Accounting.dll<br/>
!width="160px" colspan="2"|Download
 
  +
AutoCount.Accounting.UI.dll<br/>
!width="350px"|Basic Requirements for Programmer
 
  +
'''DLL removed''':<br/>
|-
 
  +
AutoCount.CommonAccounting.dll<br/><br/>
!colspan="5"|AutoCount Accounting 2.0
 
  +
Remove of AutoCount.CommonAccounting.dll does not implicate that classes that were in AutoCount.CommonAccounting.dll are removed.<br/>
|-
 
  +
To better organize the naming, UI and logic, system engineer and analyst have rearranged and split them into two libraries.
|2.0.0.65 (BETA, Trial)
 
  +
}}
|2.1.5
 
  +
{{Note|AutoCount Accounting 2.0.0.70 is released to compliant with '''GST 0% SR'''<br/>
|width="80px" align="center"|[https://drive.google.com/open?id=1siyVBwc5msOTeTHFYxMHPjKgnPFuJaR4 64bit]
 
  +
:There is no major changes in API compatibility for project uses API 2.0.0.66-2.0.0.69<br/>
|width="80px" align="center"|[https://drive.google.com/open?id=1DnfCjp44KfiCC7OpB_r4VkBs5xqzj4qi AutoCount Server]
 
  +
:But, do rebuild with 2.0.0.70 assemblies to confirm the compatibility.
|rowspan="2"|
 
  +
}}<br/>
#Net Framework 4.5
 
  +
===AutoCount Accounting 1.9===
#[https://www.microsoft.com/en-us/download/details.aspx?id=50003 SQL Server 2012 SP3] or higher
 
  +
{{Note|
#AutoCount Server
 
  +
Upgrade from AutoCount Accounting 1.8 to 1.9 requires a special '''license key'''.
#{{DevExpress}} WinForms '''17.1.9'''
 
  +
: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'''.
#:To be compatible with latest Windows 10.
 
  +
}}<br/>
#[https://www.visualstudio.com/ Microsoft Visual Studio or equivalent]
 
  +
{{Note|
|-
 
  +
AutoCount Accounting '''1.9''' is compatible with AutoCount Accounting '''1.8'''.
|2.0.0.61 (BETA, Trial)
 
  +
:Some coding may require minor update, due to earlier version of 1.8 has some differences in method call.
|2.1.5
 
  +
: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"|[https://drive.google.com/open?id=1CwAI5H0YSovRrkb2G6WKOjM2icRUPY8d 64bit]/[https://drive.google.com/open?id=1WjIlmEL5FbzJCp09Ng81CoS9PZHWdj67 (x86)]
 
  +
}}<br/>
|-
 
  +
===General===
!colspan="5"|AutoCount Accounting 1.8
 
  +
{{Note|
|-
 
  +
<u>'''This document does not allow to save, because it contains accrual and payment basis tax code</u><br/>
|1.8.30.187 (Trial)
 
  +
''When you see the message prompted similar to the title'',<br/>
|1.0.9.69
 
  +
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/>
|width="80px" align="center"|[https://drive.google.com/open?id=11w7YeleJBjstu5HjA0PzxfPyUrPbw5u5 64bit]
 
  +
*'''Accrual Basis''' is defined as, '''Sales Tax''' is payable when the invoice is created.<br/>
|width="80px" align="center"|
 
  +
*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.
|rowspan="3"|
 
  +
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/>
#Net Framework 4.0
 
  +
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/>
#SQL Server 2008R2 SP2 or higher
 
  +
<br/>Posted on 6 Sep 2018
#{{DevExpress}} WinForms 13.1.10
 
  +
}}
|-
 
|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"|
 
|-
 
|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