I have a flow field that I want to show the account number for the bank account selected in a payment journal. What I would like to do is actually just show the last 4 digits of the field. Is there a way to do that within my AL code?
field(50103; "AccountNo"; text[30]){
FieldClass = FlowField;
Editable = false;
CalcFormula = lookup("Bank Account"."Bank Account No."
where("No." = field("Bal. Account No.")));
}