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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈