# Service Enquiry

<p class="doc-lead">Service Enquiry shows master details, recent purchase history, and recent sales history for a single service item — helping you compare supplier costs with customer revenue and evaluate profitability.</p>

<div class="doc-toc">
<p class="doc-toc-title">On this page</p>
<div class="doc-toc-links">
<a href="#/service/reports/service-enquiry?id=overview">Overview</a>
<a href="#/service/reports/service-enquiry?id=use-cases">Use Cases</a>
<a href="#/service/reports/service-enquiry?id=filters">Filters</a>
<a href="#/service/reports/service-enquiry?id=item-details">Item Details</a>
<a href="#/service/reports/service-enquiry?id=recent-purchases">Recent Purchases</a>
<a href="#/service/reports/service-enquiry?id=recent-sales">Recent Sales</a>
<a href="#/service/reports/service-enquiry?id=drill-down">Drill-Down</a>
<a href="#/service/reports/service-enquiry?id=faq">FAQ</a>
</div>
</div>

<hr class="doc-section-divider">

<h2 id="overview">Overview</h2>

Go to <b>Service → Service Enquiry</b>.

<img src="service/images/srv-enquiry.webp" alt="Service Enquiry report" loading="lazy">

<p><b>What it shows.</b> When you select a service item and click Generate, the report displays the item's master details plus the last 10 purchase invoice lines and last 10 sale invoice lines for that item (approved or closed invoices only).</p>

<p><b>When to use it.</b> Before negotiating with a supplier, review what you paid historically. Before quoting a customer, check recent selling prices. Compare purchase cost vs sales revenue to assess margin on a service.</p>

<p>The same report also opens as a quick-view modal when you click a service item name on a Service Completion Note or Service Receipt Note line.</p>

<hr class="doc-section-divider">

<h2 id="use-cases">Use Cases</h2>

<ul>
<li><b>Procurement</b> — Review supplier pricing trends for a consulting or maintenance service before renewing a contract.</li>
<li><b>Sales</b> — Check recent selling prices before quoting a new customer for the same service.</li>
<li><b>Finance</b> — Compare purchase cost and sales revenue on a service item to evaluate margin.</li>
</ul>

<hr class="doc-section-divider">

<h2 id="filters">Filters</h2>

| **Filter** | **Required** | **Description** |
|------------|--------------|-----------------|
| Service item | Yes | Select the service item to enquire. Only active service items are listed. |
| Customer | No | Narrow recent sales to a specific customer. |
| Supplier | No | Narrow recent purchases to a specific supplier. |

<p>Click <b>Generate</b> to run the report. If no service item is selected, the system shows <b>Service Item is required</b>.</p>

<p>There is no date-range filter. Recent purchases and sales show the last 10 transactions regardless of date.</p>

<hr class="doc-section-divider">

<h2 id="item-details">Item Details</h2>

| **Field** | **Description** |
|-----------|-----------------|
| Item Name | Service item name. Click to open Service Item quick view. |
| Item Id | Internal reference. Click to open Service Item quick view. |
| Item Code | Service code. |
| Item Type | Always "service". |
| Revenue Account | Account where sales revenue is recorded. |
| Expense Account | Account where purchase expenses are recorded. |
| Base Unit | Default unit of measure. Click to open Service Unit quick view. |

<hr class="doc-section-divider">

<h2 id="recent-purchases">Recent Purchases</h2>

Section header: <b>RECENT PURCHASES</b> — last 10 purchase invoice lines (approved or closed invoices).

| **Column** | **Description** |
|------------|-----------------|
| Date | Purchase invoice date. |
| Supplier | Supplier name. |
| Invoice No | Purchase invoice number. May show a reference number in brackets. |
| Price | Unit price. |
| Qty | Quantity purchased. |
| Unit | Unit of measure. |
| Amount | Line total (Price × Qty). |

<p>Click any row to open the Purchase Invoice quick view. Empty state: <b>No data</b>.</p>

<hr class="doc-section-divider">

<h2 id="recent-sales">Recent Sales</h2>

Section header: <b>RECENT SALES</b> — last 10 sale invoice lines (approved or closed invoices).

| **Column** | **Description** |
|------------|-----------------|
| Date | Sale invoice date. |
| Customer | Customer name. |
| Invoice No | Sale invoice number. |
| Price | Unit selling price. |
| Qty | Quantity sold. |
| Unit | Unit of measure. |
| Amount | Line total (Price × Qty). |

<p>Click any row to open the Sale Invoice quick view. Empty state: <b>No data</b>.</p>

<hr class="doc-section-divider">

<h2 id="drill-down">Drill-Down</h2>

| **Click target** | **Opens** |
|------------------|-----------|
| Item Name, Item Id | Service Item quick view |
| Base Unit | Service Unit quick view |
| Purchase row | Purchase Invoice quick view |
| Sale row | Sale Invoice quick view |

<hr class="doc-section-divider">

<h2 id="faq">FAQ</h2>

<p><b>Why does the report show only 10 transactions?</b><br>Recent Purchases and Recent Sales each show the last 10 approved or closed invoice lines for the selected item. For full history, use Purchase or Sales reports filtered by item.</p>

<p><b>Can I filter by date?</b><br>No. This is an enquiry report, not a period report. Use Purchase or Sales module reports for date-range analysis.</p>

<p><b>Can I export this report?</b><br>No export button is provided. Use your browser print function if needed.</p>

<p><b>How do I open this from a transaction?</b><br>Click the service item name on any line in a Service Completion Note or Service Receipt Note — the same enquiry opens in a modal.</p>

<p><b>Which invoice statuses appear in Recent Purchases and Recent Sales?</b><br>Only Approved and Closed invoice lines are included. Draft, cancelled, and open invoices are excluded.</p>

<p><b>Why are Recent Purchases or Recent Sales empty?</b><br>The item may be sale-only or purchase-only, or no approved invoices exist yet for that direction. Check the item's Saleable and Purchasable flags on <a href="#/service/service-items">Service Items</a>.</p>

<p><b>Can I run Service Enquiry for suspended items?</b><br>Yes. Select any active or suspended service item — historical invoice lines still appear when they exist.</p>

<p><b>Does this report show Service Receipt or Completion Notes?</b><br>No. It shows purchase and sale invoice history only. Open the linked invoice from a row to see whether a service note preceded it.</p>

<hr class="doc-section-divider">

<h2 id="related">Related</h2>

<ul>
<li><a href="#/service/service-items">Service Items</a> — master data for services.</li>
<li><a href="#/service/service-completion-note">Service Completion Note</a> — services delivered to customers.</li>
<li><a href="#/service/service-receipt-note">Service Receipt Note</a> — services received from suppliers.</li>
</ul>
