RecordRef.CurrentCompany() Method
Version: Available or changed with runtime version 1.0.
Gets the current company of a database table referred to by a RecordRef.
Syntax
Company := RecordRef.CurrentCompany()
Note
This method can be invoked using property access syntax.
Parameters
RecordRef
Type: RecordRef
An instance of the RecordRef data type.
Return Value
Company
Type: Text
The name of the current company.
Related information
RecordRef Data Type
Get Started with AL
Developing Extensions