ADO.NET Provider for Acumatica

Build 26.0.9770

CreateAttachment

Attach a file to a record.

Input

Name Type Accepts Input Streams Description
TopLevelEntity String False The name of the entity for which you are going to attach a file.
KeyValues String False A comma-separated list of values for the key fields of the record to which you are going to attach a file. You should provide the number and order of key fields as they are defined on the corresponding Acumatica ERP form.
LocalFile String False The local file path including the file name of the file to be attached.
Content String True The file's content that you wish to upload should be a stream of input and the FilePath field should be kept blank.
FileName String False The name of the file that you are going to attach with the extension.

Result Set Columns

Name Type Description
Status String Specific message text describing the status or any errors or warning for the stored procedure.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770