📚 SAP Business One SDK Help

UpdateBranch Method
See Also 
pIBranch
The data for the branch to be updated. The Branch object must contain the key of the object to be updated.

Description

Updates an existing branch.

The data for the branch, including the key of the role to be updated, is contained in the Branch passed to the method. To update a branch, you must first retrieve it using the GetBranch method.

Syntax

Visual Basic
Public Sub UpdateBranch( _
   ByVal pIBranch As Branch _
) 

Parameters

pIBranch
The data for the branch to be updated. The Branch object must contain the key of the object to be updated.

Remarks

System branches cannot be updated.

Example

See Also