Adding Customer Name And Consignee in Report picking list

Hi experts,
actually I want to add customer name and consignee name in the report picking list I am writing code but its not working I think my
code is not correct that’s why am facing problem. This code only for customer

IF (“Destination Type” = “Destination Type”::Customer) AND (“Source Type” = 37) THEN BEGIN
TmpWhseActLine.SETRANGE(“Destination Type”,“Destination Type”);
TmpWhseActLine.SETRANGE(“Destination No.”,“Destination No.”);
IF TmpWhseActLine.FINDFIRST THEN BEGIN
RecCustomer.GET(“Destination No.”);
CustName := RecCustomer.Name;
END
END
please help me suggest me the right code.
Thank you in advance
Regards,
Sachin

Question:

To which variable(s) do the fields “Destination Type”, “Source Type” and “Destination No.” belong (bold faced fields in the code below):

Ouch, the bold face does not show, so let me do it like this:

IF (“Destination Type” = “Destination Type”::Customer) AND (“Source Type” = 37) THEN BEGIN
TmpWhseActLine.SETRANGE(“Destination Type”,“Destination Type”);
TmpWhseActLine.SETRANGE(“Destination No.”,“Destination No.”);
IF TmpWhseActLine.FINDFIRST THEN BEGIN
RecCustomer.GET(“Destination No.”);
CustName := RecCustomer.Name;
END
END