You are here: Features > Cell Functions > Linkage Functions > RAWENT function

RAWENT Function

The RAWENT function returns the raw database ID for the document's entity.

Syntax

RAWENT(<Entity Abbreviation>)

Where

The Entity Abbreviation is optional and is the abbreviation for the entity as found in the Consolidation dialog.

Example 1

RAWENT()

Returns the raw entity ID active for the CaseView document.

Example 2

RAWENT(EntityAbbreviation)

Returns the raw entity ID of the given abbreviation.

The RAWENT function may also be used to return a string that can be used in ACT, MAP, and GRP functions. This is particularly useful when creating template documents, as the intended users of the documents may or may not have correctly set an Entity Abbreviation code in their client file. The RAWENT function allows the document author to universalize the template.

Syntax

RAWENT(<raw entity ID>,<account number>)

Example 3

ACT("BR",RAWENT(AM->ENTITY,AM->AC_NO))

When used in a field calculation for a browse, this function returns the report balance of the account assigned to the currently active record.

Example 4

ACT("BR",RAWENT(CLP141,"100"))

Returns the report balance of account 100 in the current active entity.

Related Topics