(→Delphi) |
|||
Line 68: | Line 68: | ||
===Delphi=== | ===Delphi=== | ||
====Example-AR_Customer==== | ====Example-AR_Customer==== | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! AR_Customer Script | |||
|- | |||
| | |||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
procedure TfmMain.dxbb_CustomerClick(Sender: TObject); | procedure TfmMain.dxbb_CustomerClick(Sender: TObject); | ||
Line 120: | Line 123: | ||
end; | end; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
====Example-AR_PM==== | ====Example-AR_PM==== | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! AR_PM Script | |||
|- | |||
| | |||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
procedure TfmMain.dxbb_ARPMClick(Sender: TObject); | procedure TfmMain.dxbb_ARPMClick(Sender: TObject); | ||
Line 163: | Line 171: | ||
end; | end; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
====Example-ST_Item==== | ====Example-ST_Item==== | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! ST_Item Script | |||
|- | |||
| | |||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
procedure TfmMain.dxbb_ST_ItemClick(Sender: TObject); | procedure TfmMain.dxbb_ST_ItemClick(Sender: TObject); | ||
Line 204: | Line 217: | ||
end; | end; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
====Example-SL_IV==== | ====Example-SL_IV==== | ||
{| class="mw-collapsible mw-collapsed wikitable" | |||
! SL_IV Script | |||
|- | |||
| | |||
<syntaxhighlight lang="delphi"> | <syntaxhighlight lang="delphi"> | ||
procedure TfmMain.dxbb_SL_IVClick(Sender: TObject); | procedure TfmMain.dxbb_SL_IVClick(Sender: TObject); | ||
Line 306: | Line 324: | ||
end; | end; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
==FAQ== | ==FAQ== |
Revision as of 03:06, 25 November 2015
Introduction
This is the "Bridge" direct live linking between External Program with SQL Accounting
Pros
- Can Live or Batch Update.
- Can do action such as New, Edit & Delete.
- About 95% of modules is covered.
- Can direct Retrieve/Get Information From Connected Database.
- Support GST.
- Free of Charge for End User. (Freeware)
Cons
- Must had SQL Accounting installed & running.
- Must self do checking else error prompt will unable to “capture”.
- Only supported in IE for JScript
Documentation
Linking Flow
Steps
CHM File
- Install sqlaccounting
- Create Sample Data
- Login (username & password is Admin)
- Double click the SQLSDK.chm file
- Click Application Object | Business Objects
- Click the word "here"
- Click Yes
- In the list Look for (example)
- - AR_IV -> Customer Invoice
- - AR_CN -> Customer Credit Note
- - AP_PI -> Supplier Invoice
- - SL_ID -> Sales Invoice
- - ST_AJ -> Stock Adjustment
External Application Linking
- Login SQL Accounting
- Login External Application
- Click Post to SQL Accounting button or Click Save button from External Application.
- ----------------------------------------------------------------------------------------------------------------------------------------------------
- ----------------------------------------------------------------------------------------------------------------------------------------------------
Extra Notes
Login Database Profile
- Can use the Common.Agent.RO Report Objects to get the Profile info.
- Then use the cdsProfile Dataset
- - CompanyName Field
- - Remark Field
- Refer to How to retrieve data from Customer Invoice Listing Report? on chm
- - Can by pass the Steps 5 Spool Parameters
Example External Program
- http://www.estream.com.my/document/SQLLink/Accountinglink-VBDotNet.zip (Using VB.Net)
- http://www.estream.com.my/document/SQLLink/Customer_RO-VBScipt.zip (Using VB Script)
- http://www.estream.com.my/document/SQLLink/AR_PM-JScript.zip (Using JScript)
Delphi
Example-AR_Customer
ExpandAR_Customer Script |
---|
Example-AR_PM
ExpandAR_PM Script |
---|
Example-ST_Item
ExpandST_Item Script |
---|
Example-SL_IV
ExpandSL_IV Script |
---|
FAQ
01. Problem with opening CHM Help files?
- Right click the chm file & select Properties
- At General tab Click Unblock button.
- Click Apply | Ok.
02. Still can't open CHM file?
- Login SQL Accounting
- Click Tools | Options
- Click Register & follow wizard
- Exit SQL Accounting
- Login SQL Accounting
- Run CHM File
03. Why when I compile my program with stated unknown method or unknown identifier?
- If you compiler had error may try add the esfw10.dll file under the SQL Accounting\bin folder