biuan SAP® BUSINESS ONE SDK
API Sales Opportunities / 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

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