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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de