| Add Method | |
| See AlsoĀ |
Adds a new location to the Activity Locations table.
| Visual Basic |
|---|
Public Function Add() As Long |
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.
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.