Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to Import Suppliers ver 4.12.2
02-26-2015, 09:27 AM,
#1
Unable to Import Suppliers ver 4.12.2
The Z_ImportSuppliers.php was not connected on the Utilities menu.
We found the program and updated the MainMenuLinks with this addition and added in the page security record.

We have tried to import a small .csv file (3 rows heading and 2 rows with data). We are wondering was this turned off since it was not on the utilities menu?

We do not receive any errors, the screen says 2 exist 0 insert.
The supplier table is empty. We have also tried it with the system parameter for Automatic and manual for Supplier No.

Any clues we might be missing (we have been able to import customers)



Attached Files
.csv   testsupp.csv (Size: 503 bytes / Downloads: 3)
.xlsx   testsupp.xlsx (Size: 14.67 KB / Downloads: 2)
Reply
02-26-2015, 11:40 AM, (This post was last modified: 02-26-2015, 11:58 AM by TurboPT.)
#2
RE: Unable to Import Suppliers ver 4.12.2
(02-26-2015, 09:27 AM)Bill Schlaerth Wrote: ...
We have tried to import a small .csv file (3 rows heading and 2 rows with data)...

We do not receive any errors, the screen says 2 exist 0 insert.
The supplier table is empty. We have also tried it with the system parameter for Automatic and manual for Supplier No.

Any clues we might be missing (we have been able to import customers)

Thanks for the report! [and the example .csv file]

Fix committed to SVN, revision 7179.

(02-26-2015, 09:27 AM)Bill Schlaerth Wrote: The Z_ImportSuppliers.php was not connected on the Utilities menu.
We found the program and updated the MainMenuLinks with this addition and added in the page security record.

... We are wondering was this turned off since it was not on the utilities menu?

I'm not aware of any "turned off" status for this file... Phil ?
Reply
02-26-2015, 12:45 PM,
#3
RE: Unable to Import Suppliers ver 4.12.2
No me neither.
Great to have it fixed though.
Probably should add it to the menu if we are comfortable that it works ok.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply
02-28-2015, 08:05 AM,
#4
RE: Unable to Import Suppliers ver 4.12.2
Found out 1 additional piece of info.
If we manually entered the two suppliers with only names.
The Update Works using the same sample csv

Reply
03-04-2015, 06:18 AM,
#5
RE: Unable to Import Suppliers ver 4.12.2
We found the issue. The portion where it tests to see if the Supplier Id is unique is testing on whether a row comes came for multiple counts. It does come back zero but it is testing on if a row comes back and this causes the row not to be imported. (In other SQL you get no rows back, but I guess MySQL you get a row when the count is zero). This gets us past our immediate issue of importing Suppliers. It also does not appear to increment if using Auto Supplier Number is turned on under Company Preferences (but we did not try this out).
Hope this helps make a resolution.
Reply
03-04-2015, 11:12 AM, (This post was last modified: 03-05-2015, 01:00 PM by TurboPT.)
#6
RE: Unable to Import Suppliers ver 4.12.2
(03-04-2015, 06:18 AM)Bill Schlaerth Wrote: We found the issue. The portion where it tests to see if the Supplier Id is unique is testing on whether a row comes came for multiple counts. It does come back zero but it is testing on if a row comes back and this causes the row not to be imported. (In other SQL you get no rows back, but I guess MySQL you get a row when the count is zero)...

Yes, we found that too. [The fix was referenced in a previous post (with a SVN revision#)]

See this link
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)