Edit

Share via


GETCURRENTCOMPANY ER function

Note

Community interest groups have now moved from Yammer to Microsoft Viva Engage. To join a Viva Engage community and take part in the latest discussions, fill out the Request access to Finance and Operations Viva Engage Community form and choose the community you want to join.

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