Import excel sheet into spreadsheet doc have problemas with locale



This forum is intended for cases when a problem can not be solved due to restrictions of the platform: a bug or lack of functionality.

#1
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

If the default locale is spanish and using thin client load excel sheet into spreadsheet document, the decimal separator would be recognized incorrectly so the decimal part would be considered as part of integer.

 
#2
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Guys, any help here?

 
#3
People who like this:0Yes/0No
Administrator
Rating: 18
Joined: Dec 4, 2017
Company:

Dear Alexey,

We are still investigating the issue and hope to return to you with a solution, a workaround, or a fix forecast soon.

Best regards,
Vladimir Gurov

1C Company support team
 
#4
People who like this:0Yes/0No
Administrator
Rating: 18
Joined: Dec 4, 2017
Company:

Dear Alexey,

Could you please send us a sample Excel file whose loading to a spreadsheet document results in the issue you mentioned?

Best regards,
Vladimir Gurov

1C Company support team
 
#5
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

You can use absolutely any file with decimals. Important that you should set the default locale of windows computer to Spanish and run thin client from that computer. Server locale does not matter.

The file will load fine, but decimal point would not be considered as decimal separator.

 
#6
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Example

 
#7
People who like this:0Yes/0No
Administrator
Rating: 18
Joined: Dec 4, 2017
Company:

Dear Alexey,

Got it, thank you.

We need extra information on the details how you load Excel file's data to your spreadsheet document. There are plenty of methods how to do this, and so far we do not know which of them you use to cause the issue.

Best regards,
Vladimir Gurov

1C Company support team
 
#8
People who like this:0Yes/0No
Interested
Rating: 32
Joined: Oct 27, 2011
Company: Abaco Soluciones S.A.

Vladimir, I have managed to solve the problem. The issue was that if you convert numeric field of excel sheet into Number in 1c it will still use dot as a separator, but 1c will use comma as a separator, so the code will depend on locale settings. I manage to solve this with XMLValue functions.

 
#9
People who like this:0Yes/0No
Administrator
Rating: 18
Joined: Dec 4, 2017
Company:

Dear Alexey,

Thank you for the update.

Best regards,
Vladimir Gurov

1C Company support team
 
Subscribe