Skip to content

Commit

Permalink
Merge pull request #32 from fluxxus-nl/#11
Browse files Browse the repository at this point in the history
Conference Registration Header and Status
  • Loading branch information
RaTr66 authored Sep 16, 2024
2 parents 76c4993 + 9436f8f commit 5aeaef2
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
31 changes: 31 additions & 0 deletions app/src/enum/Status.Enum.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
enum 50000 "Status ASD"
{
Extensible = false;


value(0; Open)
{
Caption = 'Open';
}
value(1; Requested)
{
Caption = 'Requested';
}
value(2; Approved)
{
Caption = 'Approved';
}
value(3; Active)
{
Caption = 'Active';
}
value(4; Closed)
{
Caption = 'Closed';
}
value(5; Canceled)
{
Caption = 'Canceled';
}

}
100 changes: 100 additions & 0 deletions app/src/table/ConferenceRegHeader.Table.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
table 50002 "ConferenceRegHeader ASD"
{
Caption = 'Conference Registration Header';
DataClassification = CustomerContent;

fields
{
field(1; DocumentNo; Code[20])
{
Caption = 'Document No.';
Tooltip = 'Specifies the value of the Document No. field';
}
field(2; Customer; Code[20])
{
Caption = 'Customer';
Tooltip = 'Specifies the value of the Customer field';
TableRelation = Customer."No.";
}
field(3; ConferenceLocation; Code[20])
{
Caption = 'Conference Location';
Tooltip = 'Specifies the value of the Conference Location field';
//TableRelation to conference location
}
field(4; StartingDate; Date)
{
Caption = 'Starting Date';
Tooltip = 'Specifies the value of the Starting Date field';
}
field(5; EndingDate; Date)
{
Caption = 'Ending Date';
Tooltip = 'Specifies the value of the Ending Date field';
}
field(6; StartingTime; Time)
{
Caption = 'Starting Time';
Tooltip = 'Specifies the value of the Starting Time field';
}
field(7; EndingTime; Time)
{
Caption = 'Ending Time';
Tooltip = 'Specifies the value of the Ending Time field';
}
field(8; DocumentDate; Date)
{
Caption = 'Document Date';
Tooltip = 'Specifies the value of the Document Date field';
}
field(9; PostingDate; Date)
{
Caption = 'Posting Date';
Tooltip = 'Specifies the value of the Posting Date field';
}
field(10; NoAttendees; Integer)
{
Caption = 'No. of Attendees';
Tooltip = 'Specifies the value of the No. of Attendees field';
}
field(11; Status; Enum "Status ASD")
{
Caption = 'Status';
Tooltip = 'Specifies the value of the Status field';
}
}

keys
{
key(Key1; DocumentNo)
{
Clustered = true;
}
}

fieldgroups
{
// Add changes to field groups here
}

trigger OnInsert()
begin

end;

trigger OnModify()
begin

end;

trigger OnDelete()
begin

end;

trigger OnRename()
begin

end;

}

0 comments on commit 5aeaef2

Please sign in to comment.