Hi guys,
I have recently encountered what appears to be a bug in the Posted Payment Order Lines table. Specifically, in the "Cust./Vendor Bank Acc. Code" field, clicking the table relation displays Customer Bank Accounts instead of Vendor Bank Accounts. Apparently, this issue only occurs in Posted Payment Orders. In Open Payment Orders and Closed Payment Orders, the field is filtered correctly as follows:
TableRelation = if (Type = const(Receivable)) "Customer Bank Account".Code where("Customer No." = field("Account No."))
else
if (Type = const(Payable)) "Vendor Bank Account".Code where("Vendor No." = field("Account No."));

Report
All responses (
Answers (