when i try to Modify the "Sales Line Details" fact box to include the picture of the item

Create a new page (Factbox) as Item SourcOnAfterGetRecord()

if type = type:: item then begin

item.get(“No”);

item.CALCFIELDS(picture);

exit

end;

am getting error near type . can anyone please guide me making this code run.

Don’t give a space after :: Item it should be ::Item and secondly it should be item.get(“No.”) and not item.get(“No”);