---
title: "Codeunit 10085 A/P Magnetic Media Management"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/10085-a-p-magnetic-media-management/
type: codeunit
id: 10085
name: "A/P Magnetic Media Management"
app: "Base Application"
namespace: Microsoft.Finance.VAT.Reporting
versions: "17-27"
build: 27.5.46862.47359
countries: "US"
obsolete: "Pending 25.0"
checked: 2026-11-20
changed: 2026-09-28
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 10085 A/P Magnetic Media Management

JOP-AL, https://jonas-paprotka.de/ref/codeunit/10085-a-p-magnetic-media-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.VAT.Reporting |
| Versions | 17-27 |
| Minors | US 17.0-27.5, [every minor](https://jonas-paprotka.de/ref/codeunit/10085-a-p-magnetic-media-management/editions.json) |
| Obsolete | Pending, tag 25.0, obsolete since 24: Moved to IRS Forms App. |
| Source file | Local/Finance/VAT/Reporting/APMagneticMediaManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetAmt | (Code: Code[10]; FormTypeIndex: Integer; EndLine: Integer) | Decimal | public | 17-27 | - | - |
| UpdateLines | (InvoiceEntry: Record "Vendor Ledger Entry"; FormTypeIndex: Integer; EndLine: Integer; Code: Code[10]; Amount: Decimal) | Integer | public | 17-27 | - | - |
| AnyAmount | (FormTypeIndex: Integer; EndLine: Integer) | Boolean | public | 17-27 | - | - |
| FormatMoneyAmount | (Amount: Decimal; Length: Integer) | Text[250] | public | 17-27 | - | - |
| FormatAmount | (Amount: Integer; Length: Integer) | Text[250] | public | 17-27 | - | - |
| StripNonNumerics | (Text: Text[80]) | Text[250] | public | 17-27 | - | - |
| EditCompanyInfo | (var CompInfo: Record "Company Information") | - | public | 17-27 | - | - |
| SwitchZipCodeParts | (var ZIP: Code[20]) | - | public | 17-27 | - | - |
| FormatCompanyAddress | (var CompanyInfo: Record "Company Information"; var CompanyAddress: array[8] of Text[30]) | - | public | 17-27 | - | - |
| BuildAddressLine | (CompanyInfo: Record "Company Information") | Text[40] | public | 17-27 | - | - |
| ClearAmts | () | - | public | 17-27 | - | - |
| AmtCodes | (var CodeNos: Text[12]; FormTypeIndex: Integer; EndLine: Integer) | - | public | 17-27 | - | - |
| GetTotal | (Code: Code[10]; FormTypeIndex: Integer; EndLine: Integer) | Decimal | public | 17-27 | - | - |
| ClearTotals | () | - | public | 17-27 | - | - |
| DirectSalesCheck | (IRSCodeIndex: Integer) | Boolean | public | 17-27 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnRunOnAfterInitCodeValues | (var Codes: array[4, 30] of Code[10]) | 22-27 | - | - |

## Source

Symbols: Microsoft.BaseApplication.US.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.

JOP-AL, 2026-11-20.
