---
title: "Codeunit 7028 Res. Journal Line - Price"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/7028-res-journal-line-price/
type: codeunit
id: 7028
name: "Res. Journal Line - Price"
app: "Base Application"
namespace: Microsoft.Projects.Resources.Journal
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/7028-res-journal-line-price/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 7028 Res. Journal Line - Price

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/7028-res-journal-line-price/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Projects.Resources.Journal |
| Versions | 17-28 |
| Source file | Projects/Resources/Journal/ResJournalLinePrice.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetTableNo | () | Integer | public | 17-28 | - | - |
| SetLine | (Enum Price Type, Variant) | - | public | 17-28 | - | - |
| SetLine | (Enum Price Type, Variant, Variant) | - | public | 17-28 | - | - |
| SetSources | (var Codeunit Price Source List) | - | public | 17-28 | - | - |
| GetLine | (var Variant) | - | public | 17-28 | - | - |
| GetLine | (var Variant, var Variant) | - | public | 17-28 | - | - |
| GetPriceType | () | Enum Price Type | public | 17-28 | - | - |
| IsPriceUpdateNeeded | (Enum Price Amount Type, Boolean, Integer) | Boolean | public | 17-28 | - | - |
| IsDiscountAllowed | () | Boolean | public | 17-28 | - | - |
| Verify | () | - | public | 17-28 | - | - |
| SetAssetSourceForSetup | (var Record Dtld. Price Calculation Setup) | Boolean | public | 17-28 | - | - |
| GetAssetType | () | Enum Price Asset Type | public | 17-28 | - | - |
| CopyToBuffer | (var Codeunit Price Calculation Buffer Mgt.) | Boolean | public | 17-28 | - | - |
| SetPrice | (Enum Price Amount Type, Record Price List Line) | - | public | 17-28 | - | - |
| ValidatePrice | (Enum Price Amount Type) | - | public | 17-28 | - | - |
| Update | (Enum Price Amount Type) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterFillBuffer | (var Record Price Calculation Buffer, Record Res. Journal Line) | 17-28 | - | - |
| Integration event | OnAfterSetPrice | (var Record Res. Journal Line, Record Price List Line, Enum Price Amount Type) | 17-28 | - | - |
| Integration event | OnBeforeSetPrice | (var Record Res. Journal Line, Record Price List Line, Enum Price Amount Type, var Boolean, Enum Price Type) | 22-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
