Blobs on Reports - Conditioning

I have to print a picture logo on invoices conditional on the customer posting group. (I have the pictures defined in the customer posting group table). Within the report there seems to be no way to define a C/AL global as a picture and hence load it with the appropriate picture for output ! Am I missing something ?

Best you can do is to store the pictures in a table, may be even in the “Customer Posting Groups”. Then you simply do a GET and CALCFIELDS(“Your_Logo”).

Just set the table picturefield as the source of the picturebox on the report. When you know which customer posting is to be used, read the table record and do a calcfields on the picture fields. Hint: Also look up previous discussions on using pictures in reports. There are a few things you should know to get the best results. John