Record.SetPosition(Text) Method

Version: Available or changed with runtime version 1.0.

Sets the fields in a primary key on a record to the values specified in the supplied string. The remaining fields are not changed.

Syntax

 Record.SetPosition(String: Text)

Parameters

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

String
 Type: Text
The string that is used to set the primary key. This string contains the primary key value to set.

Record Data Type
Get Started with AL
Developing Extensions