FieldValueRead

Description

Reads a row from the MetaDataFieldValue table (metadata) with the passed parameters


Syntax

AL
FieldValueRead(ECMQueueTransNo: BigInteger; LineNo: Integer; SourceField: Code[50]; MetaDataFieldValType: Enum "ECM Meta Field Value Type"; var MetadataFieldValue: Record "ECM Metadata Field Value"): Boolean


Parameters

ECMQueueTransNo

Type: BigInteger

A Metadata entry is generated for this ECM queue entry. (mandatory field)


LineNo

Type: Integer

Key for the metadata field entry.

Only if multiple identical SourceField entries are created, a unique LineNo must be provided.


SourceField

Type: Code

Key for the metadata field entry (mandatory field)


MetaDataFieldValType

Type: Enum "ECM Meta Field Value Type"

Key for the metadata field entry (mandatory field)


Variable: MetadataFieldValue

Type: Record "ECM Metadata Field Value" temporary

Used as a data object ("container") to pass values with this record. By default, the "Value" field in the table is filled.



Return Value:

FoundDocDef:

Type: Boolean

TRUE if processing was successful, otherwise FALSE



Remarks:



Example: