Skip to Content
0

SAP B1 Decimal Seperator

Jan 04, 2017 at 08:38 AM

65

avatar image

Hi experts,

How can i set decimal seperator ?

My add-on is running wrong when i change the region settings.

Thanks for helps,

Regards.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Pedro Magueija Jan 04, 2017 at 09:29 AM
1

Hi Ahmet,

The AdminInfo object allows you to set the decimal separator.

You can get an instance of that object from the CompanyService:

var settings = Company.GetCompanyService().GetAdminInfo();

// do your updates

Company.GetCompanyService().UpdateAdminInfo(settings);

Pedro Magueija

LinkedIn | Twitter | Blog

Share
10 |10000 characters needed characters left characters exceeded
Ahmet Emin Pehlivan Jan 04, 2017 at 10:51 AM
0

Hi Pedro,

I wrote the code main method of Program.cs class .

When i run the add-on it gives me "Enter valid folder path" exception.

Regards.

Share
10 |10000 characters needed characters left characters exceeded
Pedro Magueija Jan 05, 2017 at 09:16 AM
0

Hi Ahmet,

Yes, that will happen. It's a standard check.

You should fill up the paths (WordDoc, ExcelDoc, etc...) with valid paths.

Sometimes these are pointing to invalid paths (like a network path to the server).

Make sure you update these (through code or through the client) and that "check" should pass.

Pedro Magueija

LinkedIn | Twitter | Blog

Share
10 |10000 characters needed characters left characters exceeded