Hi All
I'm trying to show item category code on the item ledger entries page and looking at the best implementation. I could create a flow field on the table and show it on page. Or I can create a page field and use on after get record or some trigger to populate it via a procedure on the page. Which one is more performant and any other ideas?
0
Answers
Flowfield is more elegant.
To gain performance be sure to add key for Item Category Code field
in the Item table.
Best regards,
FieldClass = FlowField;
CalcFormula = max(Item."Item Category Code"
WHERE(
"No." = field("Item No.")
));
In the Item table you should add "Item Category Code" as a Key