SourceTable = "Gen. Journal Line";
SourceTableTemporary = true;
Report 51000 "ReportTest"
{
Caption = 'Report Test';
ProcessingOnly = true;
dataset
{
}
requestpage
{
SourceTable = "Gen. Journal Line";
SourceTableTemporary = true;
layout
{
area(Content)
{
group("Account Setup")
{
field(AccountType; Rec."Account Type")
{
ApplicationArea = All;
ShowMandatory = true;
NotBlank = true;
Caption = 'Account Type';
ToolTip = 'Specifies the Account Type.';
}
field("Bank Account No."; Rec."Account No.")
{
ApplicationArea = All;
ShowMandatory = true;
NotBlank = true;
Caption = 'Account No.';
ToolTip = 'Specifies the Account No.';
TableRelation = if ("Account Type" = const("G/L Account")) "G/L Account" where("Account Type" = const(Posting), Blocked = const(false))
else
if ("Account Type" = const(Customer)) Customer
else
if ("Account Type" = const(Vendor)) Vendor
else
if ("Account Type" = const("Bank Account")) "Bank Account"
else
if ("Account Type" = const("Fixed Asset")) "Fixed Asset"
else
if ("Account Type" = const("IC Partner")) "IC Partner"
else
if ("Account Type" = const("Allocation Account")) "Allocation Account"
else
if ("Account Type" = const(Employee)) Employee;
}
}
}
}
actions
{
area(Processing)
{
}
}
trigger OnOpenPage()
begin
end;
trigger OnQueryClosePage(CloseAction: Action): Boolean
var
begin
end;
}
}
André Arnaud de Cal...
293,265
Super User 2025 Season 1
Martin Dráb
231,927
Most Valuable Professional
nmaenpaa
101,156
Moderator