---
id: object/codeunit/7024
type: object
title: Codeunit 7024 "Job Planning Line - Price"
summary: Codeunit 7024 "Job Planning Line - Price" in Base Application (Microsoft.Projects.Project.Planning). 16 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC26.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: b3eca6eaea9aab23e295fa321dff8003803dc5e27e3d8a63908858dcb9a57aea
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLinePrice.Codeunit.al
    title: src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLinePrice.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: 7024
name: Job Planning Line - Price
namespace: Microsoft.Projects.Project.Planning
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 25
  events: 6
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 1
---

# Codeunit 7024 "Job Planning Line - Price"

> Codeunit 7024 "Job Planning Line - Price" in Base Application (Microsoft.Projects.Project.Planning). 16 public procedures, 6 events. Present since at least BC23, still in BC30, changed in BC26.

Base Application · Microsoft.Projects.Project.Planning · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLinePrice.Codeunit.al) · facts from BC29

## Events published

- `OnAfterFillBuffer(var PriceCalculationBuffer: Record "Price Calculation Buffer"; JobPlanningLine: Record "Job Planning Line")` (integration)
- `OnAfterGetAssetType(JobPlanningLine: Record "Job Planning Line"; var AssetType: Enum "Price Asset Type")` (integration)
- `OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; JobPlanningLine: Record "Job Planning Line"; var Result: Boolean)` (integration)
- `OnAfterSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; CurrPriceType: Enum "Price Type")` (integration)
- `OnBeforeSetPrice(var JobPlanningLine: Record "Job Planning Line"; PriceListLine: Record "Price List Line"; AmountType: Enum "Price Amount Type"; var IsHandled: Boolean; CurrPriceType: Enum "Price Type")` (integration)
- `OnAfterAddSources(var JobPlanningLine: Record "Job Planning Line"; CurrPriceType: Enum "Price Type"; var PriceSourceList: Codeunit "Price Source List"; Job: Record Job)` (integration)

## Procedures

- `GetTableNo(): Integer`
- `SetLine(PriceType: Enum "Price Type"; Line: Variant)`
- `SetLine(PriceType: Enum "Price Type"; Header: Variant; Line: Variant)`
- `SetSources(var NewPriceSourceList: codeunit "Price Source List")`
- `GetLine(var Line: Variant)`
- `GetLine(var Header: Variant; var Line: Variant)`
- `GetPriceType(): Enum "Price Type"`
- `IsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer): Boolean`
- `IsDiscountAllowed(): Boolean`
- `Verify()`
- `SetAssetSourceForSetup(var DtldPriceCalculationSetup: Record "Dtld. Price Calculation Setup"): Boolean`
- `GetAssetType(): Enum "Price Asset Type"`
- `CopyToBuffer(var PriceCalculationBufferMgt: Codeunit "Price Calculation Buffer Mgt."): Boolean`
- `SetPrice(AmountType: enum "Price Amount Type"; PriceListLine: Record "Price List Line")`
- `ValidatePrice(AmountType: enum "Price Amount Type")`
- `Update(AmountType: enum "Price Amount Type")`

Plus 3 local procedures.

## 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 7011 "Price Source List"](../codeunit/7011.md) (5 calls: `AddSources → Add`, `AddSources → AddJobAsSources`, `AddSources → Init`, …)
- [Codeunit 7008 "Price Calculation Buffer Mgt."](../codeunit/7008.md) (1 call: `CopyToBuffer → Set`)

## Implements

- [Interface "Line With Price"](../interface/line-with-price.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC26

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: "codeunit", object_name: "Job Planning Line - Price")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
