Get Vendor Name in report

i have a field “Purch. Rcpt. Line”.“Buy-from Venor No.”.

i want to get a “Vendor”.“Name” in report.

please help me. thanks in advance.

You can use a variable VendorName:

If Vendor.GET(“Buy-from Vendor No.”) THEN

VendorName:= “Vendor”.“Name”

I will be happy to ask first, What did you tried so far?