I wanna get data Bank Account Name from Bank Account table (270) in my Report Payment Voucher. How I get that values ?
Picture above is the data I want to get.
I have code...
IF R_BankAccount.GET("Gen. Journal Line"."Account No.") THEN
BankAccount := R_BankAccount.Name;
Note : R_BankAccount is Record Lookup To Bank Account table (270), And BankAccount is Text Variable.
That cannot work.