Skip to Content

SAP B1 Decimal Seperator

Hi experts,

How can i set decimal seperator ?

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

Thanks for helps,

Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 04, 2017 at 09:29 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 04, 2017 at 10:51 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 05, 2017 at 09:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded