Frequent use Script Events: Difference between revisions

From AutoCount Resource Center
Content added Content deleted
(Created page with "{{NavigateDeveloper|collapsed}} ==Introduction== Understand the usage of 5 Frequent use script events ===What is '''MasterColumn''' and '''DetailColumn'''?=== All documen...")
 
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__notoc__
{{NavigateDeveloper|collapsed}}
==Frequent Use Events==

==Introduction==
Understand the usage of 5 Frequent use script events
Understand the usage of 5 Frequent use script events


===[[OnMasterColumnChanged]]===
===What is '''MasterColumn''' and '''DetailColumn'''?===
===[[OnDetailColumnChanged]]===

===[[BeforeSave]]===
All document entry, whether it is Sales Invoice or AR Payment, they consist of at least 2 DataTable, master table and detail table.<br />
===[[CalcSubTotal]]===
Usually the master table is where it stores the document information, such as document number, document date, company name and etc...
===[[OnFormInitialize]]===
Whereas, the detail table stores multiple records that are related to this document. Such as Items and account double entry transactions.<br />
'''MasterColumn''' is referring to the value of a field in master table.
Likewise, '''DetailColumn''' is referring to the value of a field in detail table.
<br />
[[File:InvoiceFormWithDetailHighlight.png|none|frame|600px
|'''Invoice Entry Form'''<br />
This screen shows there are two highlighted areas in '''<span style="color:green">Green</span>''' and '''<span style="color:red">Red</span>''',<br />
which are master and detail area respectively.<br />
]]

==Frequent Use Events==
====[[OnMasterColumnChanged]]====

====[[OnDetailColumnChanged]]====

====[[BeforeSave]]====

====[[CalcSubTotal]]====

====[[OnFormInitialize]]====
<br />
<br />
[[:Category:Script_Event|More Application Script Events]]
[[:Category:Script_Event|More Application Script Events]]
<br />
<br />
[[Category:Developers]]
[[Category:Programmer]]
[[Category:AppScript]]
{{NavigateDeveloper}}

Latest revision as of 04:51, 17 January 2018