[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Importing Customers, Vendors, Parts



I have seen mention on this list of success in importing into LSMB lists of customers, vendors, and parts from csv files, but not in a form simple and detailed enough to for me to follow and succeed.

I was able to get the sample file "lsmb02-cli-example.pl" in ledgersmb/doc/samples to work apparently (it reported the 3 sample records as SAVED, etc and when I log in the records are there) but it then follows with about 40 lines reporting errors of the type:

Use of uninitialized value in substr at importvendor.pl line 61, <DATA> line 4. Use of uninitialized value in scalar assignment at importvendor.pl line 130, <DATA> line 4. Use of uninitialized value in concatenation (.) or string at importvendor.pl line 61, <DATA> line 4.
...
Use of uninitialized value in concatenation (.) or string at importvendor.pl line 86, <DATA> line 4.
...
Use of uninitialized value in concatenation (.) or string at importvendor.pl line 61, <DATA> line 5. Use of uninitialized value in substr at importvendor.pl line 61, <DATA> line 5. Use of uninitialized value in scalar assignment at importvendor.pl line 130, <DATA> line 5.
...

Any idea as to the source or significance of these errors or how I might modify the script to eliminate them?

I am also daunted by the prospect of editing the perl code in this example to try to import parts.

As an alternative to suggestions on how to get the above perl script working, can anyone provide or point to a set of step by step instructions for importing files of Parts and of Customers and Vendors including if possible Ship To addresses?

Regards,
Paul Bente
PPC Mac OS X 10.4.11, ledgersmb-1.2.14-rc1