Vous êtes ici: Help Topics > Customization > Calculation > REPENT Function

REPENT Function

The REPENT function returns the entity abbreviation for the specified raw database entity code. This function can be used as a function in a database browse with ENTITY or AM->ENTITY as its only parameter value.

Syntax

REPENT(entity code)

Where entity code is the RAW database entity code that represents the entity.

Example 1

REPENT(AM->ENTITY)

For an account with entity 01 would return 01.

Example 2

This function can also be combined with other functions as a parameter.

ENTDESC(REPENT(AM->ENTITY))

For an account with and entity 01, and an entity description "Subsidiary Corporation", would return "Subsidiary Corporation".

Related Topics