SQL XML Import: Difference between revisions

From eStream Software
Line 126: Line 126:
# Any Error or Conflict will be seen here
# Any Error or Conflict will be seen here
# In this '''Action''' user can change the option either is '''Import''' or '''Replace'''
# In this '''Action''' user can change the option either is '''Import''' or '''Replace'''
# Tick this Option if wanted to set status on each document (only available if there is UDF Module with UDF_Status)
# Click Import to Post to Account (Only import it the Check box is Tick)
# Click Import to Post to Account (Only import it the Check box is Tick)



Revision as of 07:01, 19 December 2016

Introduction

Is External Program which able to import master file & transactions to SQLAccounting in XML format.

Pros

  1. Can do action such as New & Edit.
  2. About 95% of modules is covered.
  3. Support GST
  4. Free of Charge for End User.

Cons

  1. Payment & Credit Note can't do Edit action.
  2. Can’t do Delete action.
  3. Not easy to generate.
  4. Is Batch update.
  5. No Transfer Status (eg DO to IV Status)

Guideline & Example

You can just go to the module you wanted to import

Example for Sales Invoice

  1. Login SQL Accounting
  2. Click Sales | Invoice...
  3. Select any Invoice
  4. Click Detail
  5. Right Click below empty Browse button
  6. Select Copy Invoice
  7. Open Notepad & paste it
  8. Save the filename as SL_IV.IV-00270.300-A0003.xml
  (Example IV No. IV-00270 & Customer code is 300-A0003)

SQLAcc-XMLImport-Example

Example Full XML Tag for ROWDATA part (after the </METADATA> tag)

----------------------------------------------------------------------------------------------------------------------------------------------------
Template.Tips-01.jpg Notes
1. FileName :=
   - BizObject.DocNo.CompanyCode.xml for AR, AP, SL & PH
   - BizObject.DocNo.xml for GL & ST
   - BizObject.Code.xml for Tools
2. 1 Record 1 xml file.
3. Please zip all the xml in 1 zip file, the zip filename can be anything &
   no folder in zip file.
----------------------------------------------------------------------------------------------------------------------------------------------------

Special Character

Below data character need to be careful

Data In XML
& &amp;
< &lt;
> &gt;
" &quot;

Import Program


History New/Updates/Changes

--Version 5-- May Refer to Version 5 History & Changes


--Build 23--

  • Fix Unable Import JE Foreign DR & CR.
  • Add Link to SQL Acc. File | Run.

--Build 22--

  • Fix Import Taxable Amt not match xml

--Build 21--

  • Fix Import GL Cash Book only import FromDocType is Empty.
  • Fix InitialPurchaseCost at Sales Invoice not imported.

--Build 20--

  • Fix Import Journal Tax not imported.
  • Fix Missing Seq for GL OR, GL PV & GL JE.

--Build 19--

  • Fix Import Key Violation Maintain Item.

Export Program

History New/Updates/Changes

--Build 6--

  • Remove Tax Export for Fast Export.
  • Fixed Fast Export Error for GL_PV & GL_OR

--Build 5--

  • Add Fast Export to Main Menu.

Useful tools

Installation

  1. Install sqlaccounting
  2. Create Sample Data / Login to the Database wanted to import
  3. Login (username & password is Admin)
  4. Install the Import Program (Username & Password is sqlutility)
  5. Run the Import Program

Steps

Click Tools | Fast XML Import... - For Version 5 & above only

SQLXMLImport.Fig01.jpg


  1. Click Folder Icon button to select the zip file which content of XML file.
  2. Tick the Module to import.
  3. Click Verify button to check any conflict.
  4. Any Error or Conflict will be seen here
  5. In this Action user can change the option either is Import or Replace
  6. Click Import to Post to Account (Only import it the Check box is Tick)
Description Properties
Import Action It will Insert the Record To SQL Accounting
Replace Action It will Call Edit & Update the Record
Action Button This button Allow user to batch Change the Action Column

Video

FAQ

Why the SO or PH Deposit is not Imported even the XML had the information?

It because the D_DocNo field can't set. User had to export the OR/PV from Customer Payment/Supplier Payment

Why AR_PM, AR_CN, AP_SP & AP_SC can't don't had the Replace Action?

It due to Gain Loss it can't be replace.

See also