Announcements
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; } }
Hi, good day I hope this can help you, and give you some hints.
Solved: How to pass filter values to a Report Request
SourceTable property - Business Central | Microsoft Learn
Best Regards Gerardo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,386 Super User 2026 Season 1
YUN ZHU 1,774 Super User 2026 Season 1
AndrewThomas81 1,515