|
1 | 1 | --- |
2 | 2 | sidebar_position: 16 |
3 | 3 | id: import-export-guide |
4 | | -title: Import Export Guide |
| 4 | +title: XML Import & Export Guide |
5 | 5 | description: A quick guide on Import and Export for SQL Account |
6 | 6 | slug: /miscellaneous/import-export-guide |
7 | 7 | tags: ["SQL Account", "Export", "Import"] |
8 | 8 | --- |
9 | 9 |
|
10 | | -<!-- # Topic : Export and Import Module --> |
| 10 | +import '@src/css/sidebar.css'; |
| 11 | +import { YtLayout } from '@src/components/yt-layout'; |
11 | 12 |
|
12 | | -### Download path |
| 13 | +It is an external program that allows you to import and export master files and transactions to SQL Account in XML format. |
13 | 14 |
|
14 | | -1. [Export Utility](http://www.sql.com.my/utility/SQLAccExportV4-setup.exe) |
15 | | - |
16 | | -2. [Import Utility](http://www.sql.com.my/utility/SQLAccImportV4-setup.exe) |
17 | | - |
18 | | - User Name & Password = **`sqlutility`** |
19 | | - |
20 | | - After download, please install accordingly. |
21 | | - |
22 | | -### Export Module Steps |
23 | | - |
24 | | - 1. Logon to the company which you want to export out the data.(Make sure logon only 1 database.) |
25 | | - |
26 | | - 2. Launch SQL Export Module. |
27 | | - |
28 | | -  |
29 | | - |
30 | | - 1. Click on Fast Export |
31 | | - |
32 | | - 2. Tick Date |
33 | | - |
34 | | - 3. Select the Date Period. |
35 | | - |
36 | | - 4. Click Change |
37 | | - |
38 | | - 5. Click on Export | Select the Place you want to export out | Enter the Export File name | Press Save | Exporting the Data |
39 | | - |
40 | | - 6. |
41 | | - |
42 | | -  |
43 | | - |
44 | | - Done |
45 | | - |
46 | | -### Import Module Steps |
47 | | - |
48 | | - 1. Logon to the database you want to import the data.(Make sure logon 1 Database only) |
| 15 | +:::info[Download] |
| 16 | +Click [here](https://download.sql.com.my/customer/Fairy/SQLAccTxtXMLImp-setup.exe) to download the import/export utility program. |
| 17 | +::: |
49 | 18 |
|
50 | | - 2. |
| 19 | +## Video Guide |
51 | 20 |
|
52 | | -  |
| 21 | +<YtLayout |
| 22 | + videoId="V7eLIA7L0qY" |
| 23 | +/> |
53 | 24 |
|
54 | | - 1. Click on the Folder | Select the Export File you have export just now(Refer Step 1.2.5) |
| 25 | +:::info |
| 26 | +For more details & updates, please click [here](https://wiki.sql.com.my/wiki/SQL_XML_Import). |
| 27 | +::: |
55 | 28 |
|
56 | | - 2. Tick at the area to import. |
| 29 | +## Export |
57 | 30 |
|
58 | | - Import Seq : |
| 31 | +1. Log on to the company from which you want to export data. (Make sure to have only a single instance of SQL Account open.) |
| 32 | +2. Launch `SQL Financial Accounting Text & XML Import Module V5` |
59 | 33 |
|
60 | | - 1. Tick all the Maintenance Item First. |
| 34 | +  |
61 | 35 |
|
62 | | - 3. Click Verify Button | Once pop message : Verify Done | Press OK |
| 36 | + 1. Click on `Fast XML Export` on the toolbar |
| 37 | + 2. Check the Date option |
| 38 | + 3. Select the Date Period |
| 39 | + 4. Click Change |
| 40 | + 5. Click Export > Select the location where you want to export > Enter the Export File Name > Press Save > Export the Data |
| 41 | + 6. Done |
63 | 42 |
|
64 | | - 4. Click On Import Button | Once Pop Message : Import Done | Press Ok |
| 43 | +  |
65 | 44 |
|
66 | | - Import Sequence : |
| 45 | +## Import |
67 | 46 |
|
68 | | - 1. Sales DN |
| 47 | +### Import Sequence |
69 | 48 |
|
70 | | - Cash Sales |
| 49 | +The import sequence must always be followed to ensure data integrity: |
71 | 50 |
|
72 | | - Sales IV |
| 51 | +1. **Master Data** (Import first) |
| 52 | +2. **Transactions** (Import after master data; the system will process automatically) |
73 | 53 |
|
74 | | - Sales DO |
| 54 | +:::warning[Avoid Duplicate Stock Movements] |
75 | 55 |
|
76 | | - Sales SO |
| 56 | +- Importing both Sales DO and Sales IV will cause double stock deduction |
77 | 57 |
|
78 | | - Sales QT |
| 58 | +- Importing both Purchase GRN and Purchase IV will cause double stock addition |
79 | 59 |
|
80 | | - Sales CN \*Same as Purchase Side |
| 60 | +::: |
81 | 61 |
|
82 | | - :::note |
83 | | - Import DO and Import IV will cause stock deduct twice. Same to Purchase GRN and Purchase IV will added 2 times. |
84 | | - ::: |
85 | | - Customer IV |
| 62 | +### Examples |
86 | 63 |
|
87 | | - Customer DN |
| 64 | +**Master Data** (Import first): |
88 | 65 |
|
89 | | - 2. Customer Payment |
| 66 | +- Maintain Customer, Supplier, Stock Item, Stock Group |
| 67 | +- Maintain Agent, Area, Project, Currency |
| 68 | +- And more... |
90 | 69 |
|
91 | | - Customer CN |
| 70 | +**Transactions** (Import after master data): |
92 | 71 |
|
93 | | - Customer Refund |
| 72 | +- Sales documents (DN, IV, DO, SO, QT, CN) |
| 73 | +- Cash Sales, Customer IV/DN/Payment/CN/Refund |
| 74 | +- Customer Contra, Supplier Contra, GL Official Receipt |
| 75 | +- And more... |
94 | 76 |
|
95 | | - Customer Contra & Supplier Contra |
| 77 | +### Import Steps |
96 | 78 |
|
97 | | - 3. GL Official Receipt |
| 79 | +1. Click `Tools` > `Fast XML Import`. |
98 | 80 |
|
99 | | -:::note |
| 81 | +  |
100 | 82 |
|
101 | | -1. If duplicate transaction, you may choose to replace, below is the step to replace the transaction: |
| 83 | + 1. Click the Folder Icon button to select the ZIP file containing the XML file. |
| 84 | + 2. Select the document type to import. |
| 85 | + 3. Click the `Verify` button to check for conflicts. |
| 86 | + 4. Any errors or conflicts will be displayed here. |
| 87 | + 5. In this section, you can change the option to either `Import` or `Replace`. |
| 88 | + 6. Click the `Import` button. |
102 | 89 |
|
103 | | -  |
| 90 | + :::info[Import vs Replace] |
104 | 91 |
|
105 | | - 1. Press Verify Button |
| 92 | + | Description | Properties | |
| 93 | + |-------------|------------| |
| 94 | + | Import | Insert new record into SQL Account | |
| 95 | + | Replace | Edit and update existing record | |
| 96 | + | Action Button | Allow user to update the action in batch | |
106 | 97 |
|
107 | | - 2. Click on first transaction, press the shift key, click on last item |
| 98 | + ::: |
108 | 99 |
|
109 | | - 3. Click on the arrow down beside Action | Select Replace | |
| 100 | +## Common Issues and Solutions |
110 | 101 |
|
111 | | - 4. Press Import Button |
| 102 | +### Replacing Existing Transactions |
112 | 103 |
|
113 | | -2. Error : Invalid Callee |
| 104 | +If a transaction already exists in the target database, you can choose to replace it by following these steps: |
114 | 105 |
|
115 | | - Solution : Logon to the database | Tools | Option | Press Register | Done | Exit SQL and Logon again. |
| 106 | +  |
116 | 107 |
|
117 | | -3. Error : Field currency rate |
| 108 | + 1. Click `Verify` |
| 109 | + 2. To select a range of transactions: Click the first transaction, hold `Shift`, and click the last transaction. |
| 110 | + To select specific individual transactions: Hold `Ctrl` and click each desired transaction. |
| 111 | + 3. Click the dropdown arrow beside `Action` > Select `Replace`. The Action column will now show `Replace`. |
| 112 | + 4. Click the `Import` button |
118 | 113 |
|
119 | | - Reason : Due to replace the IV, and this document already been knockoff. |
| 114 | +### Error: Invalid Callee |
120 | 115 |
|
121 | | -4. Error : Attempt to import EX15 failed |
| 116 | +**Solution:** |
122 | 117 |
|
123 | | - Error : Access violation at address 0043B65F in module 'Import.exe'. Read of address 0000000 |
| 118 | +1. Open SQL Account and log on to the old database |
| 119 | +2. Click `Tools` > `Options` > `General` > `Register` |
| 120 | +3. Exit SQL Account and log on again |
| 121 | +4. Retry your import/export |
124 | 122 |
|
125 | | - Reason : Please check have any DIY Field for the export account book, make sure import account book have same Field. |
| 123 | +### Error: Field Currency Rate |
126 | 124 |
|
127 | | -5. Error : The server threw an Exception : |
| 125 | +This error occurs when replacing an invoice (IV) that has already been knocked off. You will need to resolve this manually. |
128 | 126 |
|
129 | | - Solution : This is due to open wrong version of SQL. V3 must use v3 import and Export. V4 must use v4 Import and Export. |
| 127 | +### Error: Attempt to Import EX 15 Failed |
130 | 128 |
|
131 | | - <!-- - Export Maintain Tax with error : MainDataset : Type Mismatch for field Is Active, expecting String Actual Smallnt. --> |
| 129 | +If you encounter this error message: |
| 130 | +`Access violation at address 0043B65F in module 'Import.exe'. Read of address 0000000.` |
132 | 131 |
|
133 | | -::: |
| 132 | +**Solution:** |
| 133 | +Check if you have any DIY Fields in the source database and ensure the destination database has the same DIY Fields configured. |
0 commit comments