RecordRef.SystemIdNo() Method
Version: Available or changed with runtime version 4.0.
Gets the field number that is used by the SystemId field. The SystemId field is a system field that the platform adds to all table objects.
Syntax
SystemIdFieldNo := RecordRef.SystemIdNo()
Note
This method can be invoked using property access syntax.
Parameters
RecordRef
Type: RecordRef
An instance of the RecordRef data type.
Return Value
SystemIdFieldNo
Type: Integer
The field number of the SystemId field.
Example
This example shows how to use the SystemIdNo method to retrieve the field number that is used by the SystemId field of a table.
var
CustomerRec: Record Customer;
SystemIdFieldNo: Integer;
Text000: Label 'The field number is: %1.';
begin
CustomerRec.Open(Database::Customer);
SystemIdFieldNo := CustomerRec.SystemIdNo();
Message(Text000, Format(SystemIdFieldNo));
end;
See Also
SystemId Field
RecordRef Data Type
Get Started with AL
Developing Extensions
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre