Youtube-Video-Sources
Youtube-Video-Sources copied to clipboard
Missing POS Setup Table
Hi Hougaard,
I tried to run the code in the latest version of Business Central.
It always stop in this point
And return this error on Business Central
The POS Setup Table exist on code but not in BC.
thank you
There is a POS Setup page, use that.
It is in the project, but dont work
Page 1000000 "POS Setup"
{
Caption = 'POS Setup';
SourceTable = "POS Setup";
UsageCategory = Administration;
ApplicationArea = All;
layout
{
area(Content)
{
field("Cash Customer"; Rec."Cash Customer")
{
ApplicationArea = All;
ToolTip = 'Cash Customer';
}
}
}
trigger OnOpenPage()
begin
if Rec.IsEmpty() then
Rec.Insert();
end;
}
table 1000000 "POS Setup"
{
Caption = 'POS Setup';
fields
{
field(1; POSKEY; Code[10])
{
DataClassification = SystemMetadata;
}
field(13; "Cash Customer"; Code[20])
{
Caption = 'Cash Customer';
TableRelation = Customer."No.";
}
}
}