šŸ“š SAP Business One SDK Help

Add Method
See AlsoĀ 

Description

Adds a new type to the Activity Types table.

Syntax

Visual Basic
Public Function Add() 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

You must values forĀ the mandatory properties, and then call the Add method. The auto-completeĀ feature completes all the default values of the other properties. In the DI API, theĀ auto-completeĀ feature operates the same way as in the SAP Business One application.

See Also