I am trying to open the Service Order card page in edit mode for a record on a list page based on a temporary table. Even when setting the page to Editable, the page opens in View mode.
Any help would be appreciated!
local procedure ShowSVCO() var pageSVCO: page "Service Order"; svcorec: Record "Service Header"; begin if Rec.DocType = Rec.DocType::SVCO then begin svcorec.Reset(); svcorec.SetRange("Document Type", svcorec."Document Type"::Order); svcorec.SetRange("No.", Rec."No."); if svcorec.Find('-') then begin pageSVCO.SetRecord(svcorec); pageSVCO.Editable(true); pageSVCO.Run(); end