Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.19 KB

recordref-currentcompany-method.md

File metadata and controls

40 lines (34 loc) · 1.19 KB
title description ms.author ms.date ms.topic author ms.reviewer
RecordRef.CurrentCompany() Method
Gets the current company of a database table referred to by a RecordRef.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

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.

See Also

RecordRef Data Type
Get Started with AL
Developing Extensions