|
Als uw huidig programma het toestaat dat u uw klanten, leveranciers, artikelen en/of services kan exporteren in een CSV formaat (tekst) bestand, dan heeft u geluk. Als dat niet zo is kunt u via uw printer ook de afdrukken van uw gegevens naar een bestand sturen. Om onderstaande bestanden te downloaden kunt u met rechtermuis op de link klikken of tegelijkertijd de shift indrukken als u klikt. Generic import script om onderdelen, services, klanten en leveranciers te importeren. Velden die geimporteerd moeten worden zijn weergegeven in de header regel van het import bestand. Hier zijn wat notities hoe deze te gebruiken. Bewaar import.perl als import.pl Om alle opties te kennen is het zaak vanaf de prompt (command line) "perl import.pl" te typen. Het script genereerd SQL queries on STDOUT en zal de database niet wijzigen. Om het geimporteerde bestand aan de database toe te voegen dient u de gegevens via een programma b.v. op de command line "psqld dbnaam < output.sql" te gebruiken. Er zijn ook nog scripts ontwikkeld voor Quickbooks 6.0 to SQL-Ledger en Quickbooks Pro 2002 to SQL-Ledger Hieronder nog wat engelstalige uitleg over QuickBooks.
Quickbooks 6.0 to SQL-Ledger: perl script to import customers, vendors and parts from Quickbooks 6.0. In Quickbooks you print the customers, vendors and parts to a tab delimited file, save the customers in customers.txt, vendors in vendors.txt and parts in parts.txt. Create a dataset in SQL-Ledger, then check which account numbers to use for inventory, income and expense. Change the account numbers in the script and run it. Then populate the tables for SQL-Ledger. $ psql -U dba dbname < customers.sql $ psql -U dba dbname < vendors.sql $ psql -U dba dbname < parts.sql Quickbooks Pro 2002 to SQL-Ledger The header says this is Version 10. Export customers to customers.txt, vendors to vendors.txt and parts to parts.txt. See above for the rest. The conversion scripts are by no means a do it all import. In QB you can have custom fields which are not imported. If you need to import custom fields adjust the code and include what you need. For conversions to SQL-Ledger 2.2 use Quickbooks 6.0 to SQL-Ledger 2.2 Quickbooks Pro 2002 to SQL-Ledger 2.2 GNUCash (gnc-2.0) Convert GNUCash to SQL-Ledger GL. If the header in the XML file says <gnc-2.0> then you can use it as is, if not modify the script. It is fairly simple to add fields for other versions. You also need XML::Simple for the script. |
|