Hi there,
I've got a temp table called "TempShoppingList" that's being shown to the user in a new List page. I want to be able to perform an action on items that have been selected in that list. My current action looks like:
action(RaisePO)
{
Caption = 'Raise PO';
Image = "Import";
Promoted = true;
PromotedCategory = Process;
ApplicationArea = All;
trigger OnAction();
var
Line: Record "TempShoppingList"; // this is the page source table
begin
CurrPage.SetSelectionFilter(Line);
if Line.FindSet() then
// codeunit.DoThing(Line)
else
Message('None selected');
exit;
end;
}
However, regardless of what is selected in the UI - the message stating 'None selected' always shows. I've managed to get the above working for normal out of the box tables, but not with tempoary tables. Is there anything I'm missing? Thanks in advance