Hoe to display ProjName in the ProjInvoice Report


I need to fetch the Project name in to the ProjInvoice Report, IN that report ProjId is there , so i am tring to write the following code to fetch the proj , but i am not able to display the Project name.

display ProjName projName_USS()

return ProjTable::find(ProjInvoiceEmpl.ProjId).Name;

can any one help me how to retify this problem.


Try to use ProjInvoiceJour.ProjInvoiceProjId instead