Hello,
We've written a very simple page extension that basically just defined a few new fields based on others. We have a Condition field that should display an asset status, but instead it's showing a plus sign. When using the Edit in Excel option the field displays the correct info, but in the list page they show a plus.
Just wanted to know what this means?
issue is not in this extension page show the code where the Condition field is defined on table as well as page
Hi,
Sure, as I say it's very simple:
tableextension 60100 "POA Assets" extends "DAM Asset" { fields { field(60100; "PoA Asset Category Name"; Text[100]) { Caption = 'Asset Category'; Editable = false; FieldClass = FlowField; CalcFormula = lookup("DAM Asset Category".Description where(Code = field("Category Code"))); } } keys { key("PoA Sort Order"; "Category Code", "Asset Location Code", "No.") { } } } pageextension 60100 "PoA Asset List" extends "DAM Asset List" { layout { addafter("Parent No.") { field("Parent Description"; Rec."Parent Description") { ApplicationArea = all; } } addafter("Category Code") { field("PoA Asset Category Name"; Rec."PoA Asset Category Name") { ApplicationArea = all; Caption = 'Asset Category'; } } addafter("PoA Asset Category Name") { field("PoA Asset Location Name"; Rec."Asset Location Name") { ApplicationArea = all; Caption = 'Asset Location'; } } } trigger OnOpenPage() begin rec.SetCurrentKey("Category Code", "Asset Location Code", "No."); rec.Ascending(true); end; }
Hi,
It's unusual that you see the correct information in Edit in Excel, but a plus sign on the list page.. don't know what it means, and its difficult to say what caused this, but it could be related to the way your Condition field is defined in your page extension..
I can help you resolve the issue.. if you don't mind sharing the code for your page extension..
Thank you.
Please show your AL code for the Page
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156