Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the adapter beyond simple SELECT operations with Veeva Vault.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Veeva Vault, along with an indication of whether the procedure succeeded or failed.
Veeva Vault Adapter Stored Procedures
Name | Description |
CreateDocument | Create a single document. |
CreateDocumentVersion | Add a new draft version of an existing document. You can choose to either use the existing source file, or a new source file. These actions will increase the document's minor version number. This is analogous to using the Create Draft action in the UI. Note that not all documents are eligible for draft creation. For example, you cannot create a draft of a checked out document. |
DownloadDocumentFile | Download a document file. |
GetOAuthAccessToken | Gets the OAuth access token from the Azure AD Authentication Provider. |
GetOAuthAuthorizationURL | Gets the Azure AD authorization URL. Access the URL returned in the output in a Web browser. This requests the access token that can be used as part of the connection string to the Azure AD Authentication Provider. |
RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with the Azure AD Authentication Provider. |
UpdateDocument | Update editable field values on the latest version of a single document. |