biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Financials / Tax / Withholding Tax
API Withholding Tax Codes / Update
Update Method

Description

Updates the object data in the company database.

Syntax

Visual Basic
Public Function Update() As Long

Return Type

Returns a result value that indicates success or failure. If the method succeeds, it returns 0. Otherwise, it returns an error code.

You can retrieve the last error code and its description using the method GetLastError.

Remarks

If the withholding tax code is in use, than only the eight A/R and A/P account fields can be updated.

Before using this method, you must use the GetByKey method to retrieve an existing record, and to set the values to the object mandatory properties.

You can also use the SBObob object to browse lists of objects.

Example

See Also



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates