View Item Image and Margin in Purchase Register Detailed - Cross Tab
YouTube: How to Configure Item Image and Margin in Purchase Register Detailed – Cross Tab?
How to Configure Item Image and Margin in Purchase Register Detailed - Cross Tab?
In this tutorial, we will learn how to add the Item Image and Margin(%) columns to the Purchase Register Detailed Cross Tab Report in Logic ERP.
We will also learn how to adjust the grid row height to view item images clearly and configure the basis for calculating the margin percentage.
Generate the Purchase Register Detailed Cross Tab Report
Navigate to Reports/Queries > Purchase Reports and open Purchase Register Detailed - Cross Tab.
Select the required date range.
Generate the report.

The Purchase Register Detailed Cross Tab Report is now displayed. Let's customize it by adding the required columns.
Add the Item Image Column
Open Setup Column Attributes.
Locate the Item Image column.
Select its checkbox to enable it.

Save the changes.
Press F2 to refresh the report.

System Behavior
As you can see, the Item Image column has been added to the report. Images are displayed for items where an image is available.
If an item image is not available, the column remains blank.
Adjust the Grid Row Height
To view the item images more clearly, you can increase the grid row height.
Open Setup Column Attributes.
Navigate to Other Settings.
Locate Grid Row Height.
Enter the desired value.

Apply the changes and refresh the report if required.

Result: As you can see, the grid row height has increased, making the item images easier to view.
Add the Margin(%) Column
Now, let's add the margin percentage to the report.
Open Setup Column Attributes.
Locate the Margin(%) column. (The separate Margin and Last Margin columns are different figures.)
Select its checkbox to enable it.

Apply the changes and refresh the report.

Additional Customization
Using Setup Column Attributes, you can enable other required columns and arrange them in your preferred order to make the report easier to analyze.
As you can see, the Margin(%) column is now displayed in the report.
Configure the Margin Calculation
Press F5 to open the configuration window.
In Rate 1 As and Rate 2 As, choose the two rates to compare (Basic Rate, Sale Rate, Pur Rate, MRP, or Sp Rate1 to Sp Rate5). In this example, Rate 1 is Sale Rate and Rate 2 is Basic Rate.
In Margin % As, choose Rate1 - Rate2 or Rate2 - Rate1. For this example, we have selected Rate1 - Rate2.
The margin is worked out as:
Rate1 - Rate2: (Rate 1 − Rate 2) ÷ Rate 1 × 100
Rate2 - Rate1: (Rate 2 − Rate 1) ÷ Rate 2 × 100
If either rate is zero, the margin shows 0.

Once the configuration is complete, save the changes and refresh the report if required.
Verify the Margin Percentage
Let's review the margin percentage for the same item across two different purchase vouchers.
Voucher Date: 29 September 2026 — The margin is displayed as 30.10%.
Voucher Date: 30 September 2026 — The margin is displayed as 33.33%.

As you can see, the same item shows different margin percentages for the two vouchers. The margin is worked out on each line from the Rate 1 and Rate 2 of the lot on that line, so lines whose rates differ show different margins.
Final Outcome
By using Setup Column Attributes and the report configuration, you can add Item Image and Margin(%) to the Purchase Register Detailed - Cross Tab report, adjust the grid row height for better image visibility, and define the basis for margin calculation.
The report displays the item images where available and works out the margin percentage on each line from that line's Rate 1 and Rate 2.
Last updated