Storage location for imported items

Report bugs here. Before you post, please check whether a workaround is already available.
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Storage location for imported items

Post by graynet »

This post is a result of the support/admin people’s suggestion that I split my previous posts:
(http://www.wonderlister.com/boards/view ... f=6&t=3620 ,
http://www.wonderlister.com/boards/view ... f=6&t=3596 and
http://www.wonderlister.com/boards/view ... f=5&t=3621 )
which contained several questions/suggestions into separate posts for each topic.

Original text:

The storage location for imported items is set to a value that is wrong for almost all of them. There are 2 storage location that WL somehow knows about. The correct one is Morningside, Qld, AU (postcode 4170). However, there was a short period (while work was being done on our house) during which we were living at Cornubia, Qld, AU (postcode 4130). I listed some items during this period. I’m not sure how WL found out about this, but anyway, it now knows about both of the locations. That, in itself, is not a problem, but it insists on importing all items with the wrong one attached (Cornubia, 4130). I have changed the locations under “options” to make sure that the correct one (4170) is location number 1, and I have checked that the entry for “Zip” in the exported/imported test file was set to “4170” by TL for all items. In desperation, I also went in and edited the transfer file to add "Morningside, Qld" to "Location - City/State" and "4170" to "ShipFromZipCode" for each record (I only have about 10 records in my test file). The ShipFromZipCode showed up correctly in the import preview, but the “Location - City/State“ was blank. It still imported all the items with the 4130 storage location. How can I fix this so that it obeys the zip/postcode in the imported file to set the correct storage location?

Followup to date:

wladmin asked me, to try to resolve this issue and some others, to "send us your database" and "Send us the CSV file(s)"

I did this successfully just over a week ago, but have not yet had a reply.
wladmin
Site Admin
Posts: 964
Joined: Fri Sep 20, 2013 11:27 pm

Re: Storage location for imported items

Post by wladmin »

We used the CSV file you sent us and used that to create new Listing Templates and all 14 templates created based on the data in that CSV file showed correct Storage Location - please see screenshot attached. Don't see any issue. So, just to reconfirm, you are running at least version 02.00.0050 (the latest one as on date) and have sent us the exact same CSV files as you used yourself.
ShowingImportedStorageLocations.png
You do not have the required permissions to view the files attached to this post.
Thanks,
The Wonder Lister Team
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Re: Storage location for imported items

Post by graynet »

wladmin wrote:We used the CSV file you sent us and used that to create new Listing Templates and all 14 templates created based on the data in that CSV file showed correct Storage Location - please see screenshot attached. Don't see any issue. So, just to reconfirm, you are running at least version 02.00.0050 (the latest one as on date) and have sent us the exact same CSV files as you used yourself.

ShowingImportedStorageLocations.png
So how did you get that to happen?

I have upgraded to version 02.00.0051 in case that helps, but when I import either ended listings or templates (as far as I know, the same CSV file you are importing), all records have the 4130 storage location. I can send you a screen shot if that will help (if I find out how to attach files to these posts).

Just out of interest, your screen shot says it is a listing of "Active" items. How did you get to this point? I just imported them into the WiP folder. When I do it, I get 14 items in the WiP folder. Your screen shot only shows 11. How did this happen?

I wonder if this is somehow related to my other issue of "default" storage location. Can you check, using the same database, etc, if you create a completely new item (not using a template), what storage location is included? It may be possible that we are both getting the "default" location into the import, but the defaults are different. Just a thought.
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Re: Storage location for imported items

Post by graynet »

graynet wrote:
wladmin wrote:We used the CSV file you sent us and used that to create new Listing Templates and all 14 templates created based on the data in that CSV file showed correct Storage Location - please see screenshot attached. Don't see any issue. So, just to reconfirm, you are running at least version 02.00.0050 (the latest one as on date) and have sent us the exact same CSV files as you used yourself.

ShowingImportedStorageLocations.png
So how did you get that to happen?

I have upgraded to version 02.00.0051 in case that helps, but when I import either ended listings or templates (as far as I know, the same CSV file you are importing), all records have the 4130 storage location. I can send you a screen shot if that will help (if I find out how to attach files to these posts).

Just out of interest, your screen shot says it is a listing of "Active" items. How did you get to this point? I just imported them into the WiP folder. When I do it, I get 14 items in the WiP folder. Your screen shot only shows 11. How did this happen?

I wonder if this is somehow related to my other issue of "default" storage location. Can you check, using the same database, etc, if you create a completely new item (not using a template), what storage location is included? It may be possible that we are both getting the "default" location into the import, but the defaults are different. Just a thought.
Actually, what might be even more interesting would be to try importing it into a blank/empty database (ie one that doesn't have any storage locations to distract it) and see what happens.
wladmin
Site Admin
Posts: 964
Joined: Fri Sep 20, 2013 11:27 pm

Re: Storage location for imported items

Post by wladmin »

It does not matter, you can delete the storage locations if you so wish, delete the Imported Listing Templates and reuse the CSV to create new templates again. If based on the data in the CSV, a storage location is not already in the database, it is created, if it is already there, it's ID is used in the listing. Thus, it is immaterial if the database already had or not those storage locations.
Thanks,
The Wonder Lister Team
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Re: Storage location for imported items

Post by graynet »

wladmin wrote:It does not matter, you can delete the storage locations if you so wish, delete the Imported Listing Templates and reuse the CSV to create new templates again. If based on the data in the CSV, a storage location is not already in the database, it is created, if it is already there, it's ID is used in the listing. Thus, it is immaterial if the database already had or not those storage locations.
You have answered a (related) question that was actually part of post http://www.wonderlister.com/boards/view ... f=6&t=3624 (and I've replied to it under that post).

This question still remains unanswered. Why does the location get imported differently for you and I? I've found out how to attach a file and I am attaching the screen shot of the result of my import yesterday. Just to clarify - it was an import of one of the files I sent to you (TL templates 2017-07-14 as exported.csv) into the WiP folder which already had 2 entries.
You do not have the required permissions to view the files attached to this post.
wladmin
Site Admin
Posts: 964
Joined: Fri Sep 20, 2013 11:27 pm

Re: Storage location for imported items

Post by wladmin »

We do see from the title bar of the attached screenshot that you are on 02.00.0051 version which at this point is the latest and that's what we are using to do our internal investigations.
The only other possibility for the difference in behaviors between your screenshot and ours is the actual data file we are using. So, unless that had different data, there does not appear to be any other potential difference.

Would you be able to resend us this exact same CSV file that you used as an Import file via email to support@wonderlister.com
Thanks,
The Wonder Lister Team
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Re: Storage location for imported items

Post by graynet »

wladmin wrote:We do see from the title bar of the attached screenshot that you are on 02.00.0051 version which at this point is the latest and that's what we are using to do our internal investigations.
The only other possibility for the difference in behaviors between your screenshot and ours is the actual data file we are using. So, unless that had different data, there does not appear to be any other potential difference.

Would you be able to resend us this exact same CSV file that you used as an Import file via email to support@wonderlister.com
Just to ensure that there is no possibility of mistake, I have reexported some listings from TL and loaded them. I sent you a copy of the database before and after I did this, and an email with copies of the 3 exported files (some ended listings, some inventory items and some templates).

I included a couple of screen shots in the email to show that the storage location is still wrong (4130) for these imported items.

I'm starting to believe that WL is not using anything in the import files to generate the location, but is just using its "default" location that it will also use for a newly-created (empty) item. Can I suggest that, if your testing of these new files still shows that you somehow get the "correct" location (4170), that you then use the same database to create a new item and see what location it puts into that item (ie what is its "default" location)?
wladmin
Site Admin
Posts: 964
Joined: Fri Sep 20, 2013 11:27 pm

Re: Storage location for imported items

Post by wladmin »

As previously mentioned, there is nowhere in WL where you can designate a storage location to be your default location, so, WL using a default location does not even arise.

Looks like what you seem to be implying is default is the FIRST choice available to you in the listbox of storage locations when you try to create a brand new listing. Since 4130 is the first one in the list, you seem to be implying that it somehow the default. Not true. That list is simply sorted by the name given to each storage location. So, in order to make 4170 appear first and 4130 the second, simply rename 4170 to A and 4130 to Z, so, now, A will appear before Z! We did that and reimported your supplied CSV and still see 4170 was used in the listing as it should. Another thing you can try, in the CSV change 4170 to 9999 and import and see what you get.
Thanks,
The Wonder Lister Team
graynet
Posts: 84
Joined: Mon Jun 12, 2017 8:55 am

Re: Storage location for imported items

Post by graynet »

wladmin wrote:As previously mentioned, there is nowhere in WL where you can designate a storage location to be your default location, so, WL using a default location does not even arise.

Looks like what you seem to be implying is default is the FIRST choice available to you in the listbox of storage locations when you try to create a brand new listing. Since 4130 is the first one in the list, you seem to be implying that it somehow the default. Not true. That list is simply sorted by the name given to each storage location. So, in order to make 4170 appear first and 4130 the second, simply rename 4170 to A and 4130 to Z, so, now, A will appear before Z! We did that and reimported your supplied CSV and still see 4170 was used in the listing as it should. Another thing you can try, in the CSV change 4170 to 9999 and import and see what you get.
OK. The information in this post and my other somewhat related one (http://www.wonderlister.com/boards/view ... f=6&t=3624) have provided very useful information. Although, as you say, there is no location that you classify as a "default", to all intents and purposes the word just means the one that is used if you don't specify anything else. In that sense, the first alphabetical one meets the criteria to be called a default. Anyway, that's not too important.

However, the thing that is important in this thread is that I am now completely convinced that the import doesn't use any of the information in the CSV file to set the location for a record. It just uses the first alphabetical one in the current database. To test this I renamed the 4130 one that it was using for all imported records so that it was higher alphabetically. It immediately started using the other one (ie the correct 4170 one). However, even more interestingly, I created (as per your suggestion) a new one that had no information that would be relevant to the imported items (I used 9999 in the Zip Code and gibberish in the suburb) but had a name ("A1 location") that was lowest alphabetically. Even though it could not possibly be right for any of the imported items, the import set this location (lowest alphabetical) for all of them. That to me proves that WL is completely ignoring all the location information in the CSV file when importing. That would seem to be an error?