cancel
Showing results for 
Search instead for 
Did you mean: 

Base Language in Create New Company

Former Member
0 Kudos

Hello,

when a user create a new company from BO application, he can choose in the creation form several parameter (name of the db, local settings...) and also the language in which the default data will be added (like the default status of the service call)

I'd like to know if the data is stored somewhere in a table (in SBO-COMMON or in the created comapny).

I need this value to add the own default data of my add-on in the specific language.

Someone knows where I can find this information ?

Thanks a lot for your help.

Sebastien

Accepted Solutions (0)

Answers (1)

Answers (1)

AlexGrebennikov
Active Contributor
0 Kudos

the following query will give you a range of supported languages: SELECT * FROM [SBO-COMMON].[dbo].[SLSD] T0.

The same range you can see in Company Settings.

Hope that is you are askin for

Former Member
0 Kudos

Thanks Alexey

But what I need is the choosen language for the company.

When you create a new comapny, you have to choose the source language, and I need to find out which one was choosen.

I don't know if the data is stored somewhere.

It's when I create the table for my add-on, I need to add default data too, and I'd like to create these data in the same language than the company one.

if it's not stored somewhere, I can still ask the user. but I'd prefer not to ask.

Sebastien

AlexGrebennikov
Active Contributor
0 Kudos

Sébastien, i suppose you should find that info somewhere in ini-files or registry.. As Profiler tolds me there is no such table which we can query to get def-language..

And this is too curiously 😕

AlexGrebennikov
Active Contributor
0 Kudos

Our local field've helped me to help you:

HKEY_CURRENT_USERSoftwareSAPSAP ManageSAP Business One

🙂

Former Member
0 Kudos

Alexey,

this is the language of the application opened by the user. You can have this value directly from the Application object.

oApplication.Language

I needed the Language of the company, when it has been created.

I guess I'm going to ask in a form before I create my usertable in which language the user want the default data to be added.

thanks for your help

Sébastien

AlexGrebennikov
Active Contributor
0 Kudos

Sorry Sébastien.. All my replies was useless.

I have to study EN harder