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
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour