In NAV tem journal line reports, I have added a code to get unit price of the Item and my report table name is Item journal line.
Item.RESET;
Item.SETRANGE(Item."No.",RecItemJn."Item No.");
IF Item.FINDFirst THEN
"Unit Price" := Item."Unit Price";
But It returns zero value but actually it has data in Item. I have added this code both in Item Journal Line - OnPreDataItem() and Item Journal Line - OnAfterGetRecord()
Any Ideas! Thanks in Advance
*This post is locked for comments