Skip to main content
Version: 2.2.0

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 imported2, considering its location in relation to the server.
E.g.: C:\Directory\Document.doc
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 the file storage for integration in Amazon S3 is enabled, all import related to DIINTERFACE will use this feature. Thus, for customers that use SoftExpert Hosting and wish to use this feature, we suggest contacting SoftExpert's Sales team to request details on our SFTP service.