---
id: object/table/121
type: object
title: Table 121 "Purch. Rcpt. Line"
summary: Table 121 "Purch. Rcpt. Line" in Base Application (Microsoft.Purchases.History). 119 fields, 19 public procedures, 22 events. Present since at least BC23, still in BC30, changed in BC24-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: 637418f5d63ae0afbbd105ba76458a64c45270254b616a3fca6d866008c136a0
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/History/PurchRcptLine.Table.al
    title: src/Layers/W1/BaseApp/Purchases/History/PurchRcptLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_purchasereceiptline_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_purchaseReceiptLine
    - https://learn.microsoft.com/dynamics365/business-central/payables-how-assign-item-charges
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/manage-inventory-costs
    - topic/business-central/business-functionality/finance/manage-payables
  localizations:
    - localization/be
    - localization/fi
    - localization/it
    - localization/ru
    - localization/se
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9947
object_type: table
object_id: 121
name: Purch. Rcpt. Line
namespace: Microsoft.Purchases.History
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - be
  - fi
  - it
  - ru
  - se
ms_search_form_ids: []
counts:
  fields: 119
  procedures: 49
  events: 22
  subscribers: 0
relations:
  out: 48
  referenced_by: 3
  pages: 7
  extended_by: 4
  event_subscribers: 3
  calls: 10
  called_by: 0
  implements: 0
---

# Table 121 "Purch. Rcpt. Line"

> Table 121 "Purch. Rcpt. Line" in Base Application (Microsoft.Purchases.History). 119 fields, 19 public procedures, 22 events. Present since at least BC23, still in BC30, changed in BC24-28.

Base Application · Microsoft.Purchases.History · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/History/PurchRcptLine.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30065 "APIV2 - Purch Receipt Lines"](../page/30065.md) (2 Learn pages), [Page 5709 "Get Receipt Lines"](../page/5709.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Purch. Rcpt. Line |
| DataClassification | CustomerContent |
| Permissions | TableData "Item Ledger Entry" = r, TableData "Value Entry" = r |

## 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 |
|---|---|---|---|---|
| 2 | Buy-from Vendor No. | Code[20] | Specifies the name of the vendor who delivered the items. | TableRelation [Table 23 "Vendor"](../table/23.md); not editable |
| 3 | Document No. | Code[20] | Specifies the number of the related document. | TableRelation [Table 120 "Purch. Rcpt. Header"](../table/120.md) (Purch. Rcpt. Header) |
| 4 | Line No. | Integer | — |  |
| 5 | Type | Enum "Purchase Line Type" | Specifies the line type. | enum [Enum 39 "Purchase Line Type"](../enum/39.md) |
| 6 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. | TableRelation [Table 15 "G/L Account"](../table/15.md), [Table 156 "Resource"](../table/156.md), [Table 27 "Item"](../table/27.md) (if (Type = const("G/L Account")) "G/L Account" else if (Type = const(Item)) Item else if (Type = const("Fixed Asset")) "Fixed Asset" else if (Type = const("Charge (Item)")) "Item Charge" else if (Type = const(Resource)) Resource) |
| 7 | Location Code | Code[10] | Specifies a code for the location where you want the items to be placed when they are received. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 8 | Posting Group | Code[20] | — | TableRelation [Table 5606 "FA Posting Group"](../table/5606.md), [Table 94 "Inventory Posting Group"](../table/94.md) (if (Type = const(Item)) "Inventory Posting Group" else if (Type = const("Fixed Asset")) "FA Posting Group"); not editable |
| 10 | Expected Receipt Date | Date | Specifies the date you expect the items to be available in your warehouse. If you leave the field blank, it will be calculated as follows: Planned Receipt Date + Safety Lead Time + Inbound Warehouse Handling Time = Expected Receipt Date. |  |
| 11 | Description | Text[100] | Specifies either the name of or a description of the item or general ledger account. |  |
| 12 | Description 2 | Text[50] | Specifies information in addition to the description. |  |
| 13 | Unit of Measure | Text[50] | Specifies the name of the item or resource's unit of measure, such as piece or hour. |  |
| 15 | Quantity | Decimal | Specifies the number of units of the item specified on the line. |  |
| 22 | Direct Unit Cost | Decimal | Specifies the cost of one unit of the selected item or resource. |  |
| 23 | Unit Cost (LCY) | Decimal | Specifies the cost, in LCY, of one unit of the item or resource on the line. <small>via [Page 5806 "Purch. Receipt Lines"](../page/5806.md)</small> |  |
| 25 | VAT % | Decimal | — | not editable |
| 27 | Line Discount % | Decimal | — |  |
| 31 | Unit Price (LCY) | Decimal | — |  |
| 32 | Allow Invoice Disc. | Boolean | — |  |
| 34 | Gross Weight | Decimal | Specifies the gross weight of one unit of the item. In the purchase statistics window, the gross weight on the line is included in the total gross weight of all the lines for the particular purchase document. |  |
| 35 | Net Weight | Decimal | Specifies the net weight of one unit of the item. In the purchase statistics window, the net weight on the line is included in the total net weight of all the lines for the particular purchase document. |  |
| 36 | Units per Parcel | Decimal | Specifies the number of units per parcel of the item. In the purchase statistics window, the number of units per parcel on the line helps to determine the total number of units for all the lines for the particular purchase document. |  |
| 37 | Unit Volume | Decimal | Specifies the volume of one unit of the item. In the purchase statistics window, the volume of one unit of the item on the line is included in the total volume of all the lines for the particular purchase document. |  |
| 38 | Appl.-to Item Entry | Integer | Specifies the number of the item ledger entry that the document or journal line is applied to. |  |
| 39 | Item Rcpt. Entry No. | Integer | — |  |
| 40 | Shortcut Dimension 1 Code | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(1))) |
| 41 | Shortcut Dimension 2 Code | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. | TableRelation [Table 349 "Dimension Value"](../table/349.md) ("Dimension Value".Code where("Global Dimension No." = const(2))) |
| 45 | Job No. | Code[20] | Specifies the number of the related project. | TableRelation [Table 167 "Job"](../table/167.md) |
| 54 | Indirect Cost % | Decimal | Specifies the percentage of the item's last purchase cost that includes indirect costs, such as freight that is associated with the purchase of the item. |  |
| 58 | Qty. Rcd. Not Invoiced | Decimal | Specifies the quantity of the received item that has been posted as received but that has not yet been posted as invoiced. | not editable |
| 61 | Quantity Invoiced | Decimal | Specifies how many units of the item on the line have been posted as invoiced. | not editable |
| 65 | Order No. | Code[20] | Specifies the line number of the order that created the entry. |  |
| 66 | Order Line No. | Integer | Specifies the line number of the order that created the entry. |  |
| 68 | Pay-to Vendor No. | Code[20] | Specifies the number of the vendor that you received the invoice from. | TableRelation [Table 23 "Vendor"](../table/23.md) |
| 70 | Vendor Item No. | Text[50] | Specifies the number that the vendor uses for this item. |  |
| 71 | Sales Order No. | Code[20] | — |  |
| 72 | Sales Order Line No. | Integer | — |  |
| 74 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group) |
| 75 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group) |
| 77 | VAT Calculation Type | Enum "Tax Calculation Type" | — | enum [Enum 254 "Tax Calculation Type"](../enum/254.md) |
| 78 | Transaction Type | Code[10] | — | TableRelation [Table 258 "Transaction Type"](../table/258.md) (Transaction Type) |
| 79 | Transport Method | Code[10] | — | TableRelation [Table 259 "Transport Method"](../table/259.md) (Transport Method) |
| 80 | Attached to Line No. | Integer | — | TableRelation [Table 121 "Purch. Rcpt. Line"](../table/121.md) ("Purch. Rcpt. Line"."Line No." where("Document No." = field("Document No."))) |
| 81 | Entry Point | Code[10] | — | TableRelation [Table 282 "Entry/Exit Point"](../table/282.md) (Entry/Exit Point) |
| 82 | Area | Code[10] | — | TableRelation [Table 284 "Area"](../table/284.md) |
| 83 | Transaction Specification | Code[10] | — | TableRelation [Table 285 "Transaction Specification"](../table/285.md) (Transaction Specification) |
| 85 | Tax Area Code | Code[20] | — | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area) |
| 86 | Tax Liable | Boolean | — |  |
| 87 | Tax Group Code | Code[20] | — | TableRelation [Table 321 "Tax Group"](../table/321.md) (Tax Group) |
| 88 | Use Tax | Boolean | — |  |
| 89 | VAT Bus. Posting Group | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group) |
| 90 | VAT Prod. Posting Group | Code[20] | — | TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md) (VAT Product Posting Group) |
| 91 | Currency Code | Code[10] | Specifies the currency that is used on the entry. | FlowField: lookup("Purch. Rcpt. Header"."Currency Code" where("No." = field("Document No."))); not editable |
| 97 | Blanket Order No. | Code[20] | Specifies the number of the blanket order that the record originates from. | TableRelation [Table 38 "Purchase Header"](../table/38.md) ("Purchase Header"."No." where("Document Type" = const("Blanket Order"))) |
| 98 | Blanket Order Line No. | Integer | Specifies the number of the blanket order line that the record originates from. | TableRelation [Table 39 "Purchase Line"](../table/39.md) ("Purchase Line"."Line No." where("Document Type" = const("Blanket Order"), "Document No." = field("Blanket Order No."))) |
| 99 | VAT Base Amount | Decimal | — | not editable |
| 100 | Unit Cost | Decimal | Specifies the cost of one unit of the item or resource on the line. | not editable |
| 107 | IC Partner Ref. Type | Enum "IC Partner Reference Type" | — | enum [Enum 107 "IC Partner Reference Type"](../enum/107.md) |
| 108 | IC Partner Reference | Code[20] | — |  |
| 131 | Posting Date | Date | — |  |
| 138 | IC Item Reference No. | Code[50] | — |  |
| 480 | Dimension Set ID | Integer | — | TableRelation [Table 480 "Dimension Set Entry"](../table/480.md) (Dimension Set Entry); not editable |
| 1001 | Job Task No. | Code[20] | Specifies the number of the related project task. | TableRelation [Table 1001 "Job Task"](../table/1001.md) ("Job Task"."Job Task No." where("Job No." = field("Job No."))) |
| 1002 | Job Line Type | Enum "Job Line Type" | Project Line Type <small>caption</small> | enum [Enum 1002 "Job Line Type"](../enum/1002.md) |
| 1003 | Job Unit Price | Decimal | Project Unit Price <small>caption</small> |  |
| 1004 | Job Total Price | Decimal | Project Total Price <small>caption</small> |  |
| 1005 | Job Line Amount | Decimal | Project Line Amount <small>caption</small> |  |
| 1006 | Job Line Discount Amount | Decimal | Project Line Discount Amount <small>caption</small> |  |
| 1007 | Job Line Discount % | Decimal | Project Line Discount % <small>caption</small> |  |
| 1008 | Job Unit Price (LCY) | Decimal | Project Unit Price (LCY) <small>caption</small> |  |
| 1009 | Job Total Price (LCY) | Decimal | Project Total Price (LCY) <small>caption</small> |  |
| 1010 | Job Line Amount (LCY) | Decimal | Project Line Amount (LCY) <small>caption</small> |  |
| 1011 | Job Line Disc. Amount (LCY) | Decimal | Project Line Disc. Amount (LCY) <small>caption</small> |  |
| 1012 | Job Currency Factor | Decimal | Project Currency Factor <small>caption</small> |  |
| 1013 | Job Currency Code | Code[20] | Project Currency Code <small>caption</small> |  |
| 1019 | Job Planning Line No. | Integer | Project Planning Line No. <small>caption</small> |  |
| 5402 | Variant Code | Code[10] | Specifies the variant of the item on the line. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) (if (Type = const(Item)) "Item Variant".Code where("Item No." = field("No."))) |
| 5403 | Bin Code | Code[20] | Specifies the bin where the items are picked or put away. | TableRelation [Table 7354 "Bin"](../table/7354.md) (Bin.Code where("Location Code" = field("Location Code"), "Item Filter" = field("No."), "Variant Filter" = field("Variant Code"))) |
| 5404 | Qty. per Unit of Measure | Decimal | Specifies the quantity per unit of measure of the item that was received. | not editable |
| 5407 | Unit of Measure Code | Code[10] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation [Table 204 "Unit of Measure"](../table/204.md), [Table 5404 "Item Unit of Measure"](../table/5404.md) (if (Type = const(Item)) "Item Unit of Measure".Code where("Item No." = field("No.")) else "Unit of Measure") |
| 5415 | Quantity (Base) | Decimal | — |  |
| 5461 | Qty. Invoiced (Base) | Decimal | — | not editable |
| 5600 | FA Posting Date | Date | — |  |
| 5601 | FA Posting Type | Enum "Purchase FA Posting Type" | — | enum [Enum 5607 "Purchase FA Posting Type"](../enum/5607.md) |
| 5602 | Depreciation Book Code | Code[10] | — | TableRelation [Table 5611 "Depreciation Book"](../table/5611.md) (Depreciation Book) |
| 5603 | Salvage Value | Decimal | — |  |
| 5605 | Depr. until FA Posting Date | Boolean | — |  |
| 5606 | Depr. Acquisition Cost | Boolean | — |  |
| 5609 | Maintenance Code | Code[10] | — | TableRelation [Table 5626 "Maintenance"](../table/5626.md) |
| 5610 | Insurance No. | Code[20] | — | TableRelation [Table 5628 "Insurance"](../table/5628.md) |
| 5611 | Budgeted FA No. | Code[20] | — | TableRelation [Table 5600 "Fixed Asset"](../table/5600.md) (Fixed Asset) |
| 5612 | Duplicate in Depreciation Book | Code[10] | — | TableRelation [Table 5611 "Depreciation Book"](../table/5611.md) (Depreciation Book) |
| 5613 | Use Duplication List | Boolean | — |  |
| 5700 | Responsibility Center | Code[10] | — | TableRelation [Table 5714 "Responsibility Center"](../table/5714.md) (Responsibility Center) |
| 5725 | Item Reference No. | Code[50] | Specifies the referenced item number. |  |
| 5726 | Item Reference Unit of Measure | Code[10] | Unit of Measure (Item Ref.) <small>caption</small> | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) (if (Type = const(Item)) "Item Unit of Measure".Code where("Item No." = field("No."))) |
| 5727 | Item Reference Type | Enum "Item Reference Type" | — | enum [Enum 5726 "Item Reference Type"](../enum/5726.md) |
| 5728 | Item Reference Type No. | Code[30] | — |  |
| 5709 | Item Category Code | Code[20] | — | TableRelation [Table 5722 "Item Category"](../table/5722.md) (if (Type = const(Item)) "Item Category") |
| 5710 | Nonstock | Boolean | Specifies that this item is a catalog item. |  |
| 5711 | Purchasing Code | Code[10] | Specifies the purchasing code associated with the receipt line. | TableRelation [Table 5721 "Purchasing"](../table/5721.md) |
| 5714 | Special Order Sales No. | Code[20] | — |  |
| 5715 | Special Order Sales Line No. | Integer | — |  |
| 5790 | Requested Receipt Date | Date | Specifies the date that you want the vendor to deliver to the ship-to address. The value in the field is used to calculate the latest date you can order the items to have them delivered on the requested receipt date. If you do not need delivery on a specific date, you can leave the field blank. |  |
| 5791 | Promised Receipt Date | Date | Specifies the date that the vendor has promised to deliver the order. |  |
| 5792 | Lead Time Calculation | DateFormula | Specifies a date formula for the amount of time it takes to replenish the item. |  |
| 5793 | Inbound Whse. Handling Time | DateFormula | Specifies the time it takes to make items part of available inventory, after the items have been posted as received. |  |
| 5794 | Planned Receipt Date | Date | Specifies the date when the item is planned to arrive in inventory. Forward calculation: planned receipt date = order date + vendor lead time (per the vendor calendar and rounded to the next working day in first the vendor calendar and then the location calendar). If no vendor calendar exists, then:... |  |
| 5795 | Order Date | Date | Specifies the date when the related order was created. |  |
| 5796 | Vendor Order No. | Code[35] | Specifies the vendor's order number. <small>via [Page 5709 "Get Receipt Lines"](../page/5709.md)</small> |  |
| 5797 | Vendor Shipment No. | Code[35] | Specifies the vendor's shipment number. It is inserted in the corresponding field on the source document during posting. <small>via [Page 5709 "Get Receipt Lines"](../page/5709.md)</small> |  |
| 5798 | Your Reference | Text[35] | Specifies the vendor's reference. <small>via [Page 5709 "Get Receipt Lines"](../page/5709.md)</small> |  |
| 5811 | Item Charge Base Amount | Decimal | — |  |
| 5817 | Correction | Boolean | Specifies the entry as a corrective entry. You can use the field if you need to post a corrective entry to an account. | not editable |
| 6608 | Return Reason Code | Code[10] | Specifies the code explaining why the item was returned. | TableRelation [Table 6635 "Return Reason"](../table/6635.md) (Return Reason) |
| 7000 | Price Calculation Method | Enum "Price Calculation Method" | — | enum [Enum 7000 "Price Calculation Method"](../enum/7000.md) |
| 8000 | Document Id | Guid | — |  |
| 8509 | Over-Receipt Quantity | Decimal | — | not editable |
| 8512 | Over-Receipt Code 2 | Code[20] | Over-Receipt Code <small>caption</small> | TableRelation [Table 8510 "Over-Receipt Code"](../table/8510.md) (Over-Receipt Code); not editable |
| 99000755 | Overhead Rate | Decimal | — |  |

## Keys

- Key1: Document No., Line No. (clustered)
- Key2: Order No., Order Line No., Posting Date
- Key3: Blanket Order No., Blanket Order Line No.
- Key4: Item Rcpt. Entry No.
- Key5: Pay-to Vendor No.
- Key6: Buy-from Vendor No.
- Key7: Document Id

## Events published

- `OnAfterCopyFromPurchRcptLine(var PurchaseLine: Record "Purchase Line"; PurchRcptLine: Record "Purch. Rcpt. Line"; var TempPurchLine: Record "Purchase Line")` (integration)
- `OnAfterInitFromPurchLine(PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchLine: Record "Purchase Line"; var PurchRcptLine: Record "Purch. Rcpt. Line")` (integration)
- `OnAfterDescriptionPurchaseLineInsert(var PurchLine: Record "Purchase Line"; PurchRcptLine: Record "Purch. Rcpt. Line"; var NextLineNo: Integer; var TempPurchaseLine: Record "Purchase Line" temporary)` (integration)
- `OnAfterInsertInvLineFromRcptLine(var PurchLine: Record "Purchase Line"; PurchOrderLine: Record "Purchase Line"; var NextLineNo: Integer; PurchRcptLine: Record "Purch. Rcpt. Line")` (integration)
- `OnBeforeInsertInvLineFromRcptLine(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchLine: Record "Purchase Line"; PurchOrderLine: Record "Purchase Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeInsertInvLineFromRcptLineProcedure(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeInsertInvLineFromRcptLineBeforeInsertTextLine(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchLine: Record "Purchase Line"; var NextLineNo: Integer; var Handled: Boolean)` (integration)
- `OnInsertInvLineFromRcptLineOnAfterAssignDescription(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchaseLine: Record "Purchase Line")` (integration)
- `OnInsertInvLineFromRcptLineOnAfterCalcShouldProcessAsRegularLine(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchaseLine: Record "Purchase Line"; var PurchaseOrderLine: Record "Purchase Line"; var TempPurchLine: Record "Purchase Line"; var ShouldProcessAsRegularLine: Boolean)` (integration)
- `OnInsertInvLineFromRcptLineOnAfterCalcQuantities(var PurchaseLine: Record "Purchase Line"; PurchaseOrderLine: Record "Purchase Line")` (integration)
- `OnInsertInvLineFromRcptLineOnBeforeCheckPurchLineReceiptNo(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchLine: Record "Purchase Line"; var TempPurchLine: Record "Purchase Line"; var NextLineNo: Integer; var IsHandled: Boolean)` (integration)
- `OnInsertInvLineFromRcptLineOnBeforeCopyFromPurchRcptLine(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchLine: Record "Purchase Line"; TempPurchLine: Record "Purchase Line"; var NextLineNo: Integer)` (integration)
- `OnInsertInvLineFromRcptLineOnBeforeSetDirectUnitCost(var PurchaseLine: Record "Purchase Line"; PurchaseOrderLine: Record "Purchase Line"; var DirectUnitCost: Decimal)` (integration)
- `OnInsertInvLineFromRcptLineOnBeforeValidateQuantity(PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var PurchInvHeader: Record "Purchase Header")` (integration)
- `OnInsertInvLineFromRcptLineOnBeforePurchLineUpdatePrePaymentAmounts(var PurchaseLine: Record "Purchase Line"; PurchOrderLine: Record "Purchase Line")` (integration)
- `OnInsertInvLineFromRcptLineOnAfterTransferOldExtLinesClearLineNumbers(var PurchRcptLine: Record "Purch. Rcpt. Line")` (integration)
- `OnInsertInvLineFromRcptLineOnAfterRoundLineDiscountAmount(var PurchRcptLine: Record "Purch. Rcpt. Line"; var PurchaseLine: Record "Purchase Line"; var PurchaseOrderLine: Record "Purchase Line"; Currency: Record Currency)` (integration)
- `OnBeforeSetSecurityFilterOnRespCenter(var PurchRcptLine: Record "Purch. Rcpt. Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeShowItemTrackingLines(var PurchRcptLine: Record "Purch. Rcpt. Line"; var IsHandled: Boolean)` (integration)
- `OnAfterCalcReceivedPurchNotReturned(var RemainingQty: Decimal; var RevUnitCostLCY: Decimal; ExactCostReverse: Boolean; var ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnIsProdOrder(var PurchRcptLine: Record "Purch. Rcpt. Line"; var Result: Boolean)` (integration)
  - subscribers: [Codeunit 99000789 "Mfg. Purchase Document Mgt."](../codeunit/99000789.md) PurchRcptLineOnIsProdOrder
- `OnTestWorkCenterNo(var PurchRcptLine: Record "Purch. Rcpt. Line"; var Result: Boolean)` (integration)
  - subscribers: [Codeunit 99000789 "Mfg. Purchase Document Mgt."](../codeunit/99000789.md) PurchRcptLineOnTestWorkCenterNo

## Trigger event subscribers

- OnBeforeInsertEvent: [Codeunit 5152 "API - Update Referenced Fields"](../codeunit/5152.md) UpdateReferencedIdsPurchRcptLineOnInsert

## Procedures

- `GetCurrencyCodeFromHeader(): Code[10]`
- `ShowDimensions()`
- `ShowItemTrackingLines()`
- `InsertInvLineFromRcptLine(var PurchLine: Record "Purchase Line")`
- `GetPurchInvLines(var TempPurchInvLine: Record "Purch. Inv. Line" temporary)`
- `CalcReceivedPurchNotReturned(var RemainingQty: Decimal; var RevUnitCostLCY: Decimal; ExactCostReverse: Boolean)`
- `FilterPstdDocLnItemLedgEntries(var ItemLedgEntry: Record "Item Ledger Entry")`
- `ShowItemPurchInvLines()`
- `ShowLineComments()`
- `ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])`
- `InitFromPurchLine(PurchRcptHeader: Record "Purch. Rcpt. Header"; PurchLine: Record "Purchase Line")`
- `FormatType(): Text`
- `CalcBaseQuantities(var PurchaseLine: Record "Purchase Line"; QtyFactor: Decimal)`
- `GetCaptionClass(FieldNumber: Integer): Text[80]`
- `HasTypeToFillMandatoryFields(): Boolean`
- `UpdateReferencedIds()`
- `SetSecurityFilterOnRespCenter()`
- `IsProdOrder(): Boolean`
- `TestWorkCenterNo(): Boolean`

Plus 8 local procedures.

## Triggers

OnDelete, OnInsert

## Relations

- drill-down page [Page 528 "Posted Purchase Receipt Lines"](../page/528.md)
- lookup page [Page 528 "Posted Purchase Receipt Lines"](../page/528.md)
- Job Task No.: TableRelation [Table 1001 "Job Task"](../table/1001.md)
- Currency Code: CalcFormula [Table 120 "Purch. Rcpt. Header"](../table/120.md)
- Document No.: TableRelation [Table 120 "Purch. Rcpt. Header"](../table/120.md)
- Attached to Line No.: TableRelation [Table 121 "Purch. Rcpt. Line"](../table/121.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- No.: TableRelation [Table 15 "G/L Account"](../table/15.md) (conditional)
- No.: TableRelation [Table 156 "Resource"](../table/156.md) (conditional)
- Job No.: TableRelation [Table 167 "Job"](../table/167.md)
- Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md) (conditional)
- Buy-from Vendor No.: TableRelation [Table 23 "Vendor"](../table/23.md)
- Pay-to Vendor No.: TableRelation [Table 23 "Vendor"](../table/23.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- Transaction Type: TableRelation [Table 258 "Transaction Type"](../table/258.md)
- Transport Method: TableRelation [Table 259 "Transport Method"](../table/259.md)
- No.: TableRelation [Table 27 "Item"](../table/27.md) (conditional)
- Entry Point: TableRelation [Table 282 "Entry/Exit Point"](../table/282.md)
- Area: TableRelation [Table 284 "Area"](../table/284.md)
- Transaction Specification: TableRelation [Table 285 "Transaction Specification"](../table/285.md)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- Tax Group Code: TableRelation [Table 321 "Tax Group"](../table/321.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- VAT Prod. Posting Group: TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md)
- Shortcut Dimension 1 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Shortcut Dimension 2 Code: TableRelation [Table 349 "Dimension Value"](../table/349.md)
- Blanket Order No.: TableRelation [Table 38 "Purchase Header"](../table/38.md)
- Blanket Order Line No.: TableRelation [Table 39 "Purchase Line"](../table/39.md)
- Dimension Set ID: TableRelation [Table 480 "Dimension Set Entry"](../table/480.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Item Reference Unit of Measure: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) (conditional)
- Budgeted FA No.: TableRelation [Table 5600 "Fixed Asset"](../table/5600.md)
- No.: TableRelation [Table 5600 "Fixed Asset"](../table/5600.md) (conditional)
- Posting Group: TableRelation [Table 5606 "FA Posting Group"](../table/5606.md) (conditional)
- Depreciation Book Code: TableRelation [Table 5611 "Depreciation Book"](../table/5611.md)
- Duplicate in Depreciation Book: TableRelation [Table 5611 "Depreciation Book"](../table/5611.md)
- Maintenance Code: TableRelation [Table 5626 "Maintenance"](../table/5626.md)
- Insurance No.: TableRelation [Table 5628 "Insurance"](../table/5628.md)
- Responsibility Center: TableRelation [Table 5714 "Responsibility Center"](../table/5714.md)
- Purchasing Code: TableRelation [Table 5721 "Purchasing"](../table/5721.md)
- Item Category Code: TableRelation [Table 5722 "Item Category"](../table/5722.md)
- No.: TableRelation [Table 5800 "Item Charge"](../table/5800.md) (conditional)
- Return Reason Code: TableRelation [Table 6635 "Return Reason"](../table/6635.md)
- Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md)
- Over-Receipt Code 2: TableRelation [Table 8510 "Over-Receipt Code"](../table/8510.md)
- Posting Group: TableRelation [Table 94 "Inventory Posting Group"](../table/94.md) (conditional)

## Referenced by

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

- [Table 121 "Purch. Rcpt. Line"](../table/121.md): Attached to Line No.
- [Table 6114 "E-Doc. Purchase Line PO Match"](../table/6114.md): Receipt Line SystemId
- [Table 6117 "E-Doc. Finalized PO Match"](../table/6117.md): Receipt Line SystemId

## Pages and codeunits on this table

- [Page 137 "Posted Purchase Rcpt. Subform"](../page/137.md) (source table)
- [Page 30065 "APIV2 - Purch Receipt Lines"](../page/30065.md) (source table)
- [Page 528 "Posted Purchase Receipt Lines"](../page/528.md) (source table)
- [Page 5709 "Get Receipt Lines"](../page/5709.md) (source table)
- [Page 5806 "Purch. Receipt Lines"](../page/5806.md) (source table)
- [Page 5856 "Get Post.Doc - P.RcptLn Sbfrm"](../page/5856.md) (source table)
- [Page 6130 "E-Doc. Select Receipt Lines"](../page/6130.md) (source table)
- [Codeunit 5813 "Undo Purchase Receipt Line"](../codeunit/5813.md) (codeunit runs on it)

## Extended by

- [Table extension 20513 "Subc. Purch. Rcpt. Line"](../tableextension/20513.md)
- [Table extension 4859 "AutoAcc Purch. Rcpt. Line"](../tableextension/4859.md)
- [Table extension 6216 "Sust. Purch. Rcpt. Line"](../tableextension/6216.md)
- [Table extension 99000755 "Mfg. Purch. Receipt Line"](../tableextension/99000755.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 379 "Transfer Old Ext. Text Lines"](../codeunit/379.md) (3 calls: `InsertInvLineFromRcptLine → ClearLineNumbers`, `InsertInvLineFromRcptLine → GetNewLineNumber`, `InsertInvLineFromRcptLine → TransferExtendedText`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (2 calls: `ShowDimensions → ShowDimensionSet`, `ShowShortcutDimCode → GetShortcutDimensions`)
- [Codeunit 53 "Translation Helper"](../codeunit/53.md) (2 calls: `InsertInvLineFromRcptLine → RestoreGlobalLanguage`, `InsertInvLineFromRcptLine → SetGlobalLanguageByCode`)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (2 calls: `CalcBaseQuantities → QtyRndPrecision`, `CalcQty → QtyRndPrecision`)
- [Codeunit 441 "Prepayment Mgt."](../codeunit/441.md) (1 call: `InsertInvLineFromRcptLine → TestPurchaseOrderLineForGetRcptLines`)
- [Codeunit 5700 "User Setup Management"](../codeunit/5700.md) (1 call: `SetSecurityFilterOnRespCenter → GetPurchasesFilter`)
- [Codeunit 5826 "Matched Order Line Mgmt."](../codeunit/5826.md) (1 call: `OnDelete → DeleteMatchedLinesForPurchReceipt`)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (1 call: `InsertInvLineFromRcptLine → CopyHandledItemTrkgToInvLine`)
- [Codeunit 6503 "Item Tracking Doc. Management"](../codeunit/6503.md) (1 call: `ShowItemTrackingLines → ShowItemTrackingForShptRcptLine`)
- [Page 529 "Posted Purchase Invoice Lines"](../page/529.md) (1 call: `ShowItemPurchInvLines → (object)`)

## Recent changes

- 2026-08-13 [#9947 Allow long localized sales and purchase line type captions](../../changes/bcapps/9947.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-28

## Countries that replace it

[BE](../../localizations/be.md), [FI](../../localizations/fi.md), [IT](../../localizations/it.md), [RU](../../localizations/ru.md), [SE](../../localizations/se.md)

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). The call sections above are our own, per object, from the BC29 call graph. 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: "Purch. Rcpt. Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
