JDBC Driver for Veeva Vault

Build 22.0.8462

UpdateDocument

Update editable field values on the latest version of a single document.

To find the API names of the Documents table, get the Description column for the table Documents:

SELECT Description FROM [sys_tablecolumns] WHERE TableName='Documents'

The Description column will contain the API names of the Documents table. Now, use these API names to update a document, for example:

EXEC UpdateDocument DocumentId='123', name__v='new name', product__v='new product'

Input

Name Type Required Description
DocumentId String True Required. The document id field value.
* String False In the stored procedure's parameters, add the API name of any editable field values that you wish to update.

Result Set Columns

Name Type Description
ResponseStatus String Whether the document was updated successfully.
Id String The Id of the document.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462