---
sourceDocument: Australia Sales and Order Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/order-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Sales and Order Management

ft:clusterId :

    - omgmt

bundleId :

    - omgmt

workflow :

    - Customer and Industry


---

# Transaction Manager use case: Display LIG line number on line detail

# Transaction Manager use case: Display LIG line number on line detail {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

How to display the line item group line number in the line detail.

This document outlines the implementation approach for displaying the line item group (LIG) line number in the line detail layout. This enhancement lets users easily reference and correlate the line detail with the appropriate line
in the LIG.

To display the line number in the line detail view, follow the steps below. This requires using a line detail layout (for example, `default_layout_linedetail`).

1. Create a custom read-only line-level field to store the row number.
   * Variable name: `txn.line.custom.rowNumber`
   * Default value: `{{txn#rowNumber}}`

   {#transaction-manager-use-case-display-lig-line-number-on-line-detail__ul_sj5_hnt_hhc}

2. Add the new field to your line detail layout to make it visible when viewing line items.Ensure that the field has the setting `"enableMarkdown": true`. Additionally, to display the row number on the LIG line, add
   the `"showLineNumbers": true` property to the `lineGrid` layout object in the non-line detail layout (or layouts).

3. Save and deploy the updated blueprint with the modified layouts.
4. In the Transaction UI, create a new transaction or open an existing one.The line number appears in the line detail view, as in the following example:

{#transaction-manager-use-case-display-lig-line-number-on-line-detail__ol_rj5_hnt_hhc}

