Table of Contents

Using Images in Versago Reports and Forms

The following image formats are supported.

Each image must be provided in four (4) sizes.

Images are held in the folder C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages.

The images must also be registered in the Versago common database in the versago_image_files table. A Bizweaver workflow is available to assist with this process. Images can also be registered manually as described elsewhere in this page.

Sample SQL Using Images

This example displays a list of production orders with an image of the finished product.

SELECT
t0.ItemCode, t1.ItemName, isnull(t2.filepath,'\SiteImages\NoImage_45.png') AS [ImagePath], t0.DueDate, t0.Status, t0.DocEntry, t0.DocNum
FROM OWOR t0
INNER JOIN OITM t1 ON t0.ItemCode = t1.ItemCode
LEFT JOIN [vgoCommon].dbo.[versago_image_files] t2 ON t0.ItemCode = t2.IntersectionID COLLATE database_default
WHERE t0.Status IN ('R','P')
AND isnull(t2.filepath,'\SiteImages\NoImage_45.png') LIKE '%45%'

Register Images Using Bizweaver

In most cases, using a Bizweaver workflow will be the quickest and easiest way to register images for use with Versago. A standard workflow named “Versago Image Loader” is available from Third Wave as a download from https://portal.twbs.com (login required). Following are the steps to use the workflow.

The Bizweaver process provided by Third Wave assumes that the file name is structured as ID_Size. As an example for image A00001, the file names will be A00001_45, A00001_65, A00001_250, and A00001_1024.

Further, the “ID” is used to map to a value in the Versago report. In the previous example, “A00001” will map to an item number in SAP Business One that is included in the report.

Image Loader Overview

Image Loader Variable

Register Images Manually

Versago images are most commonly imported and registered using a Bizweaver workflow. It is also possible to manage image information manually, as described here.

Image Files

Four image sizes are required as noted above. The images should be placed in the older C:\Program Files(x86)\TWBS\Versago\WebApp\SiteImages.

Image Maintenance Form

The Image Maintenance form can be used to update information created through the Bizweaver upload process or to add image information manually.

Image Maintenance

The file name is typically the same value as its associated object. So item number images carry the associated item number, Business Partner logos would carry the BP Code, etc. This association is how the Bizweaver process works, and should also be used when manually entering image information.