Programmer: Difference between revisions

4,987 bytes removed ,  3 months ago
No edit summary
 
(45 intermediate revisions by the same user not shown)
Line 1:
__NOTITLE__
<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;">
<div style="width:100%; height:50px; font-size:22px; padding-left:0px; color:#ff5500; background-color:white; position:absolute; top:-30px; left:0px; z-index:0;">
<br />AutoCount Resource Center
AutoCount Resource Center
</div>
__notoc__
<br/>
==Programmer Latest Notice==
{{Note|AutoCount Accounting 2.0.28.'''196''' API Update - ''13/4/2022''<br/>
{{Note|[[AutoCount Accounting 2.1.12 Tax Updates]] - ''New: 5/2/2024''
# Error when use "MultiPricing" column in the object of documents, such as Invoice.<br>The new column name is '''"MultiPrice"'''.
Changes to Tax and Withholding Tax in AutoCount Accounting 2.1.12.
# '''Credit Limit Control''' and '''Overdue Limit Control''' will not invoke credit control events, if the document does not violate the limit.<br>Credit Control Event from this release can be used only when programmer wishes to override system rules if the document has hit limit control.<br>[https://wiki.autocountsoft.com/wiki/Override_violate_Credit_Limit_Control_and_Overdue_Limit View topic on how to override limit control.]
# '''CEF components''' (version 99.2.14)<br/>''Plug-in project'' for Singapore users and has implemented CEF components in the project, suggest to use version 99.2.14 to prevent version conflict that this version is used for IRAS GST F5 Returns.<br/>Furthermore, your plug-in builder does not have to include the CEF components. You may use this line to check if the component is installed for AutoCount Accounting 2.0.28.196.<br/>
//Requires AutoCount.UI.dll with AutoCount Accounting 2.0.28.196 to implement "LoadCefComponent()"
if (!Components.Components.LoadCefComponent())
return false;
}}
{{Note|[[AutoCount Accounting 2.1 API]] - ''Updated: 16/8/2023''
*Updated namespace changed
*Removed ''Bonus Point'' section, and merged to 'Namespace Changed" section.
}}
{{Note|Next release of AutoCount Accounting 2.1.8.? will be updated to {{DevExpress}} 22.2.7 - ''13/7/2023''
[https://www.devexpress.com/subscriptions/new-2022-2.xml#winforms Visit DevExpress 22.2 website]
}}
{{Note|'''.Net Core and .Net is not''' completely compatible with '''.Net Framework 4.8''' - ''27/3/2023''<br>
Recently noticed few projects that are built on the foundation of .Net 6.0 produced error and unexpected issues.<br>Therefore would advise for project that's built with AutoCount Accounting 2.1 assemblies, must only target .Net Framework 4.8.
}}
{{Note|[https://wiki.autocountsoft.com/wiki/Programmer_Download_and_Links#Programmer_Tools Get latest plug-in builder 2.1.0.1 for AutoCount Accounting 2.1] at Programmer Download - ''2/12/2022''}}
{{Note|[[AutoCount Accounting 2.1 API]] - ''Updated: 6/1/2023''
*Added important knowledge regarding TaxCode and TaxRate for 2.1
*Added note to "Assemblies Filename Changed"
}}
{{Note|[[Programmer Notice|More Programmer Notice and Update]]}}
<div style="width:100%; postion:relative>
 
<br/>
==Programmer Download==
{{Download|Programmer Download and Links|Download Programmer's tools, resources and External Links|Title=Programmer Download and Links}}
 
==API Resources==
{{AutoCountTreeList|bgheadercolor=#008000| AutoCount Accounting API (.Net Framework)<br/>Plug-In, Integrate... |Image=|
{{ProgrammerAPIMenuFlat}}
Line 31 ⟶ 48:
{{Note|Some source code syntax in this document requires Development Tool that supports C# 6.0
}}
{{Warn|disclaimer: All materials and coding you may find at wiki AutoCount for programmer is for education and conceptualreference purposespurpose.
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 ofsample code, it may result to confusionunexpected error in the project.<br/>
When a programmer uses any piece of code from othersstudy inmaterial theor projectreference, the programmer is liable to the code.<br/>
}}
</div>
<br />
==Download and Resources==
{{Download|Programmer Download and Links|Programmer Download and Links to External Resources|Title=Programmer Download and Links}}
<br/><br/>
 
==Past Notice==
===AutoCount Accounting 2.0===
{{Note|AutoCount Accounting '''API''' Updated in 2.0.'''21.169''' - ''14/4/2020''<br/>
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")
}}
{{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.
:Separate installed folder is not required.
:[[Programmer_Download_and_Links#Programmer_Tools|Click here to go to download page]]
}}
{{Note|AutoCount Accounting 2.0.15.'''139'''<br/>
:Plug-In is required to specify the DevExpress supported for this plug-in at the constructor of the Plug-In.
::'''SetDevExpressComponentVersionRequired("19.2.7")'''
}}
{{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/>
'''DLL added''':<br/>
AutoCount.Accounting.dll<br/>
AutoCount.Accounting.UI.dll<br/>
'''DLL removed''':<br/>
AutoCount.CommonAccounting.dll<br/><br/>
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.
}}
{{Note|AutoCount Accounting 2.0.0.70 is released to compliant with '''GST 0% SR'''<br/>
:There is no major changes in API compatibility for project uses API 2.0.0.66-2.0.0.69<br/>
:But, do rebuild with 2.0.0.70 assemblies to confirm the compatibility.
}}<br/>
===AutoCount Accounting 1.9===
{{Note|
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,<br/>you will be able to use the account book for development & testing without requirement of '''License Key'''.
}}<br/>
{{Note|
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.<br/>[[Programmer:Simple_program_to_test_connection_to_AutoCount_Accounting#Four_overloading_methods_of_SubProjectStartup|Click here to see the changed in SubProjectStartup method.]]
}}<br/>
===General===
{{Note|
<u>'''This document does not allow to save, because it contains accrual and payment basis tax code</u><br/>
''When you see the message prompted similar to the title'',<br/>
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/>
*'''Accrual Basis''' is defined as, '''Sales Tax''' is payable when the invoice is created.<br/>
*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/>
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/>
<br/>Posted on 6 Sep 2018
}}
[[Category:Programmer]]