Table of Contents

Codeunit "Record Reference"

ID 3917
Namespace: System.Reflection

The Record Reference interface provides a method for delegating read/write operations for tables that require indirect permissions. Use the Record Reference codeunit to intialize the interface with an implementation that has the required permissions.

Properties

Name Value
Access Public
InherentEntitlements X
InherentPermissions X

Methods

Initialize

Initializes the Record Reference interface. The method raises the OnInitialize event. If no subscriber initializes the interface, a default implementation is assigned.

procedure Initialize(RecordRef: RecordRef, var RecordReference: Interface "Record Reference")

Parameters

Name Type Description
RecordRef RecordRef

The RecordRef parameter points to the table for which the read/write operations are to be handled by the interface.

RecordReference Interface System.Reflection."Record Reference"

The interface providing read/write operations.

Events

OnInitialize

Use this event to initialize the Record Reference interface with an implementation that has the required indirect permissions to read write to the table referenced by the RecordRef parameter.

[IntegrationEvent(False,False,False)]
internal procedure OnInitialize(RecordRef: RecordRef, var RecordReference: Interface "Record Reference", CallerModuleInfo: ModuleInfo, var IsInitialized: Boolean)

Parameters

Name Type Description
RecordRef RecordRef

The RecordRef parameter points to the table for which the read/write operations are to be handled by the interface.

RecordReference Interface System.Reflection."Record Reference"

The interface providing read/write operations.

CallerModuleInfo ModuleInfo

The RecordRef parameter points to the table for which the read/write operations are to be handled by the interface.

IsInitialized Boolean

Set this to true when the interface is initialized.

See also