RecordRef.GetBySystemId(Guid) Method

Version: Available or changed with runtime version 4.3.

Gets a record based on the ID of the record. The RecordRef must already be opened.

Syntax

[Ok := ]  RecordRef.GetBySystemId(SystemId: Guid)

Parameters

RecordRef
 Type: RecordRef
An instance of the RecordRef data type.

SystemId
 Type: Guid
The systemid which uniquely identifies the record that you want to get.

Return Value

[Optional] Ok
 Type: Boolean
true if the operation was successful; otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

RecordRef Data Type
Get Started with AL
Developing Extensions