table 50100 "CRONUS Course"
{
DataClassification = CustomerContent;
Caption = 'Course';
LookupPageId = "CRONUS Course List";
DrillDownPageId = "CRONUS Course List";
fields
{
field(10; "Code"; Code[10])
{
DataClassification = CustomerContent;
Caption = 'Code';
}
field(20; "Name"; Text[30])
{
DataClassification = CustomerContent;
Caption = 'Name';
}
field(30; "Description"; Text[50])
{
DataClassification = CustomerContent;
Caption = 'Description';
}
field(40; "Type"; Option)
{
DataClassification = CustomerContent;
Caption = 'Type';
OptionMembers = "Instructor Led","e-Learning","Remote Training";
OptionCaption = 'Instructor Led, e-Learning, Remote Training';
}
field(50; "Duration"; Decimal)
{
DataClassification = CustomerContent;
Caption = 'Duration';
}
field(60; "Price"; Decimal)
{
DataClassification = CustomerContent;
Caption = 'Price';
}
field(70; "Active"; Boolean)
{
DataClassification = CustomerContent;
Caption = 'Active';
}
field(80; "Difficulty"; Integer)
{
DataClassification = CustomerContent;
Caption = 'Difficulty';
}
field(90; "Passing Rate"; Integer)
{
DataClassification = CustomerContent;
Caption = 'Passing Rate';
}
field(100; "Instructor Code"; Code[20])
{
DataClassification = CustomerContent;
Caption = 'Instructor Code';
TableRelation = "Resource" where(Type = const(Person));
}
}
keys
{
key(PK; Code)
{
Clustered = true;
}
key(Key1; "Instructor Code")
{
}
key(Key2; Type)
{
}
}
}
Here's the code for my JSON launch file...
{
"version": "0.2.0",
"configurations": [
{
"name": "Microsoft cloud sandbox",
"request": "launch",
"type": "al",
"environmentType": "Sandbox",
"environmentName": "sandbox",
"startupObjectId": 50101,
"startupObjectType": "Page",
"breakOnError": "All",
"launchBrowser": true,
"enableLongRunningSqlStatements": true,
"enableSqlInformationDebugger": true
}
]
}