Finds the MainAccount record that corresponds to the account.
Syntax
public MainAccount findMainAccount()
Run On
Called
Return Value
Type: MainAccount Table
A record in the MainAccount table; otherwise, an empty record.
Exceptions
| Exception | Condition |
|---|---|
| Error | The company does not exist. |