---
id: object/codeunit/99000863
type: object
title: Codeunit 99000863 "Service Line Invt. Profile"
summary: Codeunit 99000863 "Service Line Invt. Profile" in Base Application (Microsoft.Service.Document). 1 public procedures, 2 events, 5 event subscribers. Introduced in BC25, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "25"
  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: 0dc4a32c2f6a4b1b8413994ad400c7ad0b95e76a89ae1065cf1176e639d7d8bf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Service/Document/ServiceLineInvtProfile.Codeunit.al
    title: src/Layers/W1/BaseApp/Service/Document/ServiceLineInvtProfile.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: 99000863
name: Service Line Invt. Profile
namespace: Microsoft.Service.Document
app: Base Application
extends: null
first_version: "25"
last_version: "30"
present_in:
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 2
  subscribers: 5
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 99000863 "Service Line Invt. Profile"

> Codeunit 99000863 "Service Line Invt. Profile" in Base Application (Microsoft.Service.Document). 1 public procedures, 2 events, 5 event subscribers. Introduced in BC25, still in BC30, changed in BC28.

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

## Events published

- `OnAfterTransferInventoryProfileFromServiceLine(var InventoryProfile: Record "Inventory Profile"; var ServiceLine: Record "Service Line")` (integration)
- `OnTransServLineToProfileOnBeforeProcessLine(ServiceLine: Record "Service Line"; var ShouldProcess: Boolean; var Item: REcord Item)` (integration)

## Event subscriptions

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

## Procedures

- `TransferInventoryProfileFromServLine(var InventoryProfile: Record "Inventory Profile"; var ServiceLine: Record "Service Line"; var TrackingReservationEntry: Record "Reservation Entry")`

Plus 1 local procedures.

## Across versions

- Present in: BC25-30
- Changed (declaration) in: BC28

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: "Service Line Invt. Profile")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
