Skip to Content

Allow Stock Release without Item Cost. How to Check the box with DI API?

Hi, everybody

Please see the attached picture which explains what we want to do.

Any help is much appreciated.

Thanks

Leon Lai

capture.jpg

capture.jpg (191.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 14, 2016 at 01:05 PM

    Hi Leon,

    The information is inside CompanyInfo object. The approach is similar AdminInfo that I showed in my answer your last question.

    Sample:

    Dim oCompanyService As CompanyService = oCompany.GetCompanyService()
    Dim oCompanyInfo As CompanyInfo = oCompanyService.GetCompanyInfo()
    oCompanyInfo.EnableStockRelNoCostPrice = BoYesNoEnum.tYES
    oCompanyService.UpdateCompanyInfo(oCompanyInfo)
    

    Kind Regards,

    Diego Lother

    Add comment
    10|10000 characters needed characters exceeded