Skip to content

Codeunit WSB_DCAEntitiesFolderStructure

Implements the entities folder structure.

Properties

Name Value
Access Public

Methods

wgFncGetDocumentTypeTxt

Retrieve a descriptive text for known documents.

Parameters

Type Name Description
Record "WSB_DCARemoteFile" pRecWSB_DCARemoteFile The file record to get a descriptive name for its source record.
Boolean pPlural Whether to use the plural form.
Text vDocumentTypeText The descriptive document name that was found.

Returns

Type Description
Boolean true iff a matching name was found for the known document.

wgFncGetRemoteFolderPath

Retrieves the remote folder path for a file record.

Parameters

Type Name Description
Record "WSB_DCARemoteFile" pRecWSB_DCARemoteFile The file record.

Returns

Type Description
Text The remote folder path.

wgFncGetSourceIdentifier

Gets an identifier for a file record's source record.

Parameters

Type Name Description
Record "WSB_DCARemoteFile" pRecWSB_DCARemoteFile The file record to get an identifier for its source record.
Boolean pIsKnownDocumentType Set this to true to skip the "Document Type" from the identifier text.

Returns

Type Description
Text The identifier as a text.

wgFncSetRemoteFilePath

Sets the remote file path for a file record.

Parameters

Type Name Description
Record "WSB_DCARemoteFile" vRecWSB_DCARemoteFile The file record.