Skip to Content
0

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

Nov 14, 2016 at 12:46 PM

81

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Nov 14, 2016 at 01:05 PM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Diego,

Thanks a lot for your very useful answer

Best Regards,

Leon

0