Skip to main content
Version: 2.2.2

DCDOCELEC - Import of electronic files belonging to documents

This import template allows inserting:

  • Data of an electronic file belonging to a document.

For the insertion of each one of these items, the standard documented below must be followed.

Insert​

ColumnRequiredTypePrecisionDescription
OIDINTERFACEXTEXT32Sequential code - Identifies an item to be imported into SoftExpert Suite.
FGIMPORTXNUMERIC2Import status:
1 - New;
2 - In progress;
3 - Finished;
4 - Error.
CDISOSYSTEMXNUMERIC10Code of the system for which the integration will be performed:
73 - Code of the SoftExpert Document component.
FGOPTIONXNUMERIC2Code of the operation to be performed:
97 - Insert new electronic file.
NMFIELD01XTEXT255Document ID #.
NMFIELD02XTEXT255Revision ID #.
NMFIELD03XTEXT255File name. Add extension.
E.g.: Document.doc
NMFIELD04TEXT255User ID
NMFIELD05X¹TEXT255Full path of the file to be imported, considering its location in relation to the server.
NMFIELD06TEXT255Compression type of the original electronic file:
0 - Uncompressed file.
1 - GZ compression.
2 - ZIP compression.
NMFIELD07XTEXT255Category ID #.
NMFIELD08TEXT255Container structure item ID #.
Required when the document category is configured as complex file.
NMFIELD75TEXT255Upper-level interface code. If the upper-level interface is not imported successfully, the current interface will not be executed.
FLFIELD01X¹FILEContent (blob) of the electronic file to be imported.
info
Note
  • X¹ - One of these fields must necessarily be completed.

  • When file storage for integration with Amazon S3 is enabled, all imports related to the DIINTERFACE will use this resource. Therefore, for customers who use SoftExpert Hosting and wish to activate this functionality, we recommend contacting SoftExpert's sales team to request more information about the SFTP service.

  • For on-premise customers who need to know the correct location to make electronic files available for import, refer to the following article: Loading data into the interface article.