---
title: "Codeunit 8055 Sub. Contracts Item Management"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/
type: codeunit
id: 8055
name: "Sub. Contracts Item Management"
app: "Subscription Billing"
namespace: Microsoft.SubscriptionBilling
versions: "26-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/source/?v=28 https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 8055 Sub. Contracts Item Management

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/

| | |
| --- | --- |
| App | Subscription Billing |
| Namespace | Microsoft.SubscriptionBilling |
| Versions | 26-29 |
| Minors | W1 26.0-29.0; DE 26.0-29.0; US 26.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/8055-sub-contracts-item-management/editions.json) |
| SingleInstance | Yes |
| Source file | Base/Codeunits/SubContractsItemManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| IsServiceCommitmentItem | (ItemNo: Code[20]) | Boolean | public | 26-29 | - | - |
| IsItemWithServiceCommitments | (ItemNo: Code[20]) | Boolean | internal | 26-29 | - | - |
| GetSalesPriceForItem | (var UnitPrice: Decimal; ItemNo: Code[20]; Quantity: Decimal; CurrencyCode: Code[10]; SellToCustomerNo: Code[20]; BillToCustomerNo: Code[20]) | - | public | 26-29 | - | - |
| CreateTempSalesHeader | (var TempSalesHeader: Record "Sales Header" temporary; DocumentType: Enum "Sales Document Type"; SellToCustomerNo: Code[20]; BillToCustomerNo: Code[20]; OrderDate: Date; CurrencyCode: Code[10]) | - | internal | 26-29 | - | - |
| CreateTempSalesLine | (var TempSalesLine: Record "Sales Line" temporary; var TempSalesHeader: Record "Sales Header" temporary; ServiceObject: Record "Subscription Header"; OrderDate: Date) | - | internal | 26-29 | - | - |
| CreateTempSalesLine | (var TempSalesLine: Record "Sales Line" temporary; var TempSalesHeader: Record "Sales Header" temporary; ServiceObjectType: Enum "Service Object Type"; SourceNo: Code[20]; Quantity: Decimal; OrderDate: Date; VariantCode: Code[10]) | - | internal | 26-29 | - | - |
| CalculateUnitPrice | (var TempSalesHeader: Record "Sales Header" temporary; var TempSalesLine: Record "Sales Line" temporary) | Decimal | public | 26-29 | - | - |
| CalculateUnitCost | (ItemNo: Code[20]) | Decimal | public | 26-29 | - | - |
| InsertItemServiceCommitmentPackage | (Item: Record Item; PackageCode: Code[20]; Standard: Boolean) | - | internal | 26-29 | - | - |
| GetItemTranslation | (ItemNo: Code[20]; VariantCode: Code[10]; CustomerNo: Code[20]) | Text[100] | public | 26-29 | - | - |
| SetAllowInsertOfInvoicingItem | (NewAllowInsertOfInvoicingItem: Boolean) | - | public | 26-29 | - | - |
| CreateTempPurchaseHeader | (var TempPurchaseHeader: Record "Purchase Header" temporary; DocumentType: Enum "Purchase Document Type"; PayToVendorNo: Code[20]; OrderDate: Date; CurrencyCode: Code[10]) | - | internal | 28-29 | - | - |
| CreateTempPurchaseLine | (var TempPurchaseLine: Record "Purchase Line" temporary; var TempPurchaseHeader: Record "Purchase Header" temporary; ServiceObject: Record "Subscription Header"; OrderDate: Date) | - | internal | 28-29 | - | - |
| CreateTempPurchaseLine | (var TempPurchaseLine: Record "Purchase Line" temporary; var TempPurchaseHeader: Record "Purchase Header" temporary; ServiceObjectType: Enum "Service Object Type"; SourceNo: Code[20]; Quantity: Decimal; OrderDate: Date; VariantCode: Code[10]) | - | internal | 28-29 | - | - |
| CalculateDirectUnitCost | (var TempPurchaseHeader: Record "Purchase Header" temporary; var TempPurchaseLine: Record "Purchase Line" temporary) | Decimal | public | 28-29 | - | - |

## Source

Symbols: Microsoft.SubscriptionBilling.symbols.3099ffc7-4cf7-4df6-9b96-7e4bc2bb587c, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
