---
id: object/table/30141
type: object
title: Table 30141 "Shpfy Return Line"
summary: Table 30141 "Shpfy Return Line" in Shopify (Microsoft.Integration.Shopify). 24 fields, 4 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - shopify
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 38275e8a930af2554e23cc56ee665e5362526ea54d59ebb47cae935bddecf313
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Order%20Returns/Tables/ShpfyReturnLine.Table.al
    title: src/Apps/W1/Shopify/app/src/Order Returns/Tables/ShpfyReturnLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 30141
name: Shpfy Return Line
caption: Return Line
namespace: Microsoft.Integration.Shopify
app: Shopify
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 24
  procedures: 6
  events: 0
  subscribers: 0
relations:
  out: 7
  referenced_by: 2
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 30141 "Shpfy Return Line"

> Table 30141 "Shpfy Return Line" in Shopify (Microsoft.Integration.Shopify). 24 fields, 4 public procedures. Introduced in BC29, still in BC30.

Shopify · Microsoft.Integration.Shopify · captioned "Return Line" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Shopify/app/src/Order%20Returns/Tables/ShpfyReturnLine.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Return Line |
| DataClassification | SystemMetadata |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Return Line Id | BigInteger | — | not editable |
| 2 | Return Id | BigInteger | — | TableRelation [Table 30147 "Shpfy Return Header"](../table/30147.md) ("Shpfy Return Header"."Return Id"); not editable |
| 3 | Fulfillment Line Id | BigInteger | — | TableRelation [Table 30139 "Shpfy Fulfillment Line"](../table/30139.md) ("Shpfy Fulfillment Line"."Fulfillment Line Id"); not editable |
| 4 | Order Line Id | BigInteger | — | TableRelation [Table 30119 "Shpfy Order Line"](../table/30119.md) ("Shpfy Order Line"."Line Id"); not editable |
| 5 | Quantity | Integer | Specifies the quantity being returned. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 6 | Return Reason | Enum "Shpfy Return Reason" | Specifies the reason for returning the item. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | enum [Enum 30138 "Shpfy Return Reason"](../enum/30138.md); not editable |
| 7 | Return Reason Note | Blob | — |  |
| 8 | Refundable Quantity | Integer | Specifies the quantity that can be refunded. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 9 | Refunded Quantity | Integer | Specifies the quantity that was refunded. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 10 | Weight Unit | Code[20] | Specifies the unit of measurement. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 11 | Weight | Decimal | Specifies the weight value using the unit. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 12 | Discounted Total Amount | Decimal | Specifies the total line price after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 13 | Presentment Disc. Total Amt. | Decimal | Specifies the total line price in the presentment currency after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied. | not editable |
| 14 | Customer Note | Blob | — |  |
| 15 | Type | Enum "Shpfy Return Line Type" | Specifies the type of return line. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | enum [Enum 30170 "Shpfy Return Line Type"](../enum/30170.md); not editable |
| 16 | Unit Price | Decimal | Specifies the price of a single unit of the item. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 17 | Unit Price Currency | Code[10] | — | not editable |
| 18 | Return Reason Name | Text[100] | Specifies the reason for returning the item. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | not editable |
| 19 | Return Reason Handle | Text[100] | — | not editable |
| 101 | Item No. | Code[20] | Specifies the value of the Item No. field. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | FlowField: lookup("Shpfy Order Line"."Item No." where("Line Id" = field("Order Line Id"))) |
| 102 | Description | Text[100] | Specifies the value of the Description field. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | FlowField: lookup("Shpfy Order Line".Description where("Line Id" = field("Order Line Id"))) |
| 103 | Variant Code | Code[10] | Specifies the value of the Variant Code field. <small>via [Page 30149 "Shpfy Return Lines"](../page/30149.md)</small> | FlowField: lookup("Shpfy Order Line"."Variant Code" where("Line Id" = field("Order Line Id"))) |
| 104 | Location Id | BigInteger | — | not editable |
| 105 | Unit of Measure Code | Code[10] | — | FlowField: lookup("Shpfy Order Line"."Unit of Measure Code" where("Line Id" = field("Order Line Id"))); not editable |

## Keys

- PK: Return Line Id (clustered)
- Idx01: Return Id, Discounted Total Amount, Presentment Disc. Total Amt.

## Procedures

- `GetReturnReasonNote(): Text` (internal)
- `SetReturnReasonNote(NewReturnReasonNote: Text)` (internal)
- `GetCustomerNote(): Text` (internal)
- `SetCustomerNote(NewCustomerNote: Text)` (internal)

Plus 2 local procedures.

## Triggers

OnDelete

## Relations

- Description: CalcFormula [Table 30119 "Shpfy Order Line"](../table/30119.md)
- Item No.: CalcFormula [Table 30119 "Shpfy Order Line"](../table/30119.md)
- Unit of Measure Code: CalcFormula [Table 30119 "Shpfy Order Line"](../table/30119.md)
- Variant Code: CalcFormula [Table 30119 "Shpfy Order Line"](../table/30119.md)
- Order Line Id: TableRelation [Table 30119 "Shpfy Order Line"](../table/30119.md)
- Fulfillment Line Id: TableRelation [Table 30139 "Shpfy Fulfillment Line"](../table/30139.md)
- Return Id: TableRelation [Table 30147 "Shpfy Return Header"](../table/30147.md)

## Referenced by

2 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 30147 "Shpfy Return Header"](../table/30147.md): Discounted Total Amount, Presentment Disc. Total Amt.

## Pages and codeunits on this table

- [Page 30149 "Shpfy Return Lines"](../page/30149.md) (source table)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Shpfy Return Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
