GETCURRENTCOMPANY ER function

The GETCURRENTCOMPANY function returns a String value that represents the code for the legal entity (company) that a user is currently signed in to.

Syntax

GETCURRENTCOMPANY ()

Return values

String

The resulting text value.

Example

GETCURRENTCOMPANY () returns USMF for a user who is signed in to the Contoso Entertainment System USA company.

Additional resources

Other (business domain–specific) functions