cancel
Showing results for 
Search instead for 
Did you mean: 

How can activate Enable Multiple Branches with DI API?

0 Kudos

From SAP B1 client (v.9.03 PL09), for activate Enable Multiple Branches, the Manage Stock by Wharehouse must first be activated from Document Settings form

Enable Multiple Branches from interface, I check the Enable Multiple Branches flag from Basic Initialisation tab in Company Details form

SAP B1 send this question

If reply Yes, SAP B1 send this second question

If reply Yes the company is converted in company multi-branches, and SAP B1 notify this message

When I try to activate Enable Multiple Branches from DI API, I excecute this code

When the command UpdateAdminInfo is called, and EnableBranches is setted to Yes, my code throw this exception:

From SAP Business One SDK HelpCenter I read that the property EnableBranches of AdminInfo is defined Read-Write

Why DI API throw the exception?

How can I set EnableBranches with DI API?

Kind regards

Riccardo Suprani

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member264639
Participant
0 Kudos

Dear Riccardo,

Please check with SAP DI API objects whether the Admin Setting's object were exposed. ( I think they won't)