Scope (Table) Property

Version: Available from runtime version 1.0.

Sets the scope of a table. The options are Cloud, Extension, Internal, OnPrem, and Personalization.

Note

The following options Extension, Internal, and Personalization are being deprecated with runtime 4.0. External is replaced by Cloud and Internal is replaced by OnPrem.

Applies to

  • Tables

Remarks

When a table is marked with Scope = OnPrem it is not available to a cloud extension. System tables that have the Scope property set to Internal (OnPrem) cannot be accessed from extensions that have the target property set to Cloud or External through direct reference or through RecordRef.

Examples

table 50105 "Retention Period"
{
    ...
    LookupPageId = "Retention Periods";
    Extensible = false;
    Scope = OnPrem;
    ...
}

See Also

Properties
Scope Property
Compilation Scope Overview
JSON Files
Configuring Business Central Server