In report, In SalesLine-OnAfterGetRecord trigger you will find following code (if this is base report):
IF Type = 0 THEN BEGIN
"No." := '';
"Unit of Measure" := '';
"Line Amount" := 0;
"Inv. Discount Amount" := 0;
Quantity := 0;
END ELSE IF Type = Type::"G/L Account" THEN
"No." := '';
Add following code to above:
END ELSE IF Type=Type::Item THEN BEGIN
Item.GET("No." );
Item.CALCFIELDS("Picture");
END;
Declare Item as Record datatype with SubDatatype Item and add a picture box in section with SourceExpression: Item.Picture.
Comments
search.php
http://www.BiloBeauty.com
http://www.autismspeaks.org
IF Type = 0 THEN BEGIN
"No." := '';
"Unit of Measure" := '';
"Line Amount" := 0;
"Inv. Discount Amount" := 0;
Quantity := 0;
END ELSE IF Type = Type::"G/L Account" THEN
"No." := '';
Add following code to above:
END ELSE IF Type=Type::Item THEN BEGIN
Item.GET("No." );
Item.CALCFIELDS("Picture");
END;
Declare Item as Record datatype with SubDatatype Item and add a picture box in section with SourceExpression: Item.Picture.
Linkedin Profile: http://in.linkedin.com/in/dhanrajbansal