---
id: object/codeunit/99000864
type: object
title: Codeunit 99000864 "Purchase Line Invt. Profile"
summary: Codeunit 99000864 "Purchase Line Invt. Profile" in Base Application (Microsoft.Purchases.Document). 1 public procedures, 3 events, 4 event subscribers. Introduced in BC25, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "25"
  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: e61525bb143b0a039a06c82c86242f4b46f43369f864d5d7cfd8e029b22c21b4
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Purchases/Document/PurchaseLineInvtProfile.Codeunit.al
    title: src/Layers/W1/BaseApp/Purchases/Document/PurchaseLineInvtProfile.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 99000864
name: Purchase Line Invt. Profile
namespace: Microsoft.Purchases.Document
app: Base Application
extends: null
first_version: "25"
last_version: "30"
present_in:
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 11
  events: 3
  subscribers: 4
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 99000864 "Purchase Line Invt. Profile"

> Codeunit 99000864 "Purchase Line Invt. Profile" in Base Application (Microsoft.Purchases.Document). 1 public procedures, 3 events, 4 event subscribers. Introduced in BC25, still in BC30.

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

## Events published

- `OnAfterTransferInventoryProfileFromPurchaseLine(var InventoryProfile: Record "Inventory Profile"; PurchaseLine: Record "Purchase Line")` (integration)
- `OnBeforeTransPurchLineToProfile(var InventoryProfile: Record "Inventory Profile"; var Item: Record Item; ToDate: Date)` (integration)
- `OnBeforeCheckInsertPurchLineToProfile(var InventoryProfile: Record "Inventory Profile"; var PurchLine: Record "Purchase Line"; ToDate: Date; var IsHandled: Boolean)` (integration)

## Event subscriptions

- OnTransferToTrackingEntrySourceTypeElseCase subscribes to Table "Inventory Profile" OnTransferToTrackingEntrySourceTypeElseCase
- OnAfterSetDemandPriority subscribes to Codeunit "Inventory Profile Offsetting" OnAfterSetDemandPriority
- OnAfterSetSupplyPriority subscribes to Codeunit "Inventory Profile Offsetting" OnAfterSetSupplyPriority
- OnAfterSupplyToInvProfile subscribes to Codeunit "Inventory Profile Offsetting" OnAfterSupplyToInvProfile

## Procedures

- `TransferInventoryProfileFromPurchaseLine(var InventoryProfile: Record "Inventory Profile"; var PurchaseLine: Record "Purchase Line"; var TrackingReservationEntry: Record "Reservation Entry")`

Plus 3 local procedures.

## Across versions

- Present in: BC25-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: "codeunit", object_name: "Purchase Line Invt. Profile")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
