GetUDEntry

Returns keyword-based entry from UD field. To return a single entry with no keyword, use "" as the keyword, however, only the first entry is returned. To check all three UD fields, and XBRL tags for Account, use the UDField entry of ALL.

Syntax

Parameter Description
Dimension Dimension name
Member Member name for which UD property is requested
UDField UD field, either UD1, UD2, UD3, or ALL. You can specify ALL to check the UD property in all the UD fields.
Keyword UD Keyword
ValidateMember If True, system checks whether the member exists
IsError ITs return variable, which stores the error message if any errors occur.
WhereFrom Method name from which the GetUDEntry request is made. Used for logging purposes.

Return Value

The value set for the UD keyword.

Example

Sales UD1: Region:US

To retrieve the Regional property value for the Sales account, use the following syntax:

UDData=GetUDEntry("Account", "Sales", "ALL", "Region", True, IsError, "Calculate_Sub")
If Not IsError then
...
End If