| Add Method | |
| See AlsoĀ |
Adds attachment files that are specified by the Attachments2_Lines child object.
| 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.