---
id: object/codeunit/20105
type: object
title: Codeunit 20105 "AMC Banking Mgt."
summary: Codeunit 20105 "AMC Banking Mgt." in AMCBanking365Fundamentals (Microsoft.Bank.Payment). 34 public procedures, 1 events, 4 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 28.0).
tier: official
language: en
tags:
  - codeunit
  - amcbanking365fundamentals
versions:
  introduced: "29"
  last_changed: null
  deprecated: "28.0"
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 7389d12d70efeaaf2a8803a9a0a35313b637fd9f0245afb1e23d85175f2b0c84
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AMCBanking365Fundamentals/app/Codeunits/AMCBankingMgt.Codeunit.al
    title: src/Apps/W1/AMCBanking365Fundamentals/app/Codeunits/AMCBankingMgt.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: 20105
name: AMC Banking Mgt.
namespace: Microsoft.Bank.Payment
app: AMCBanking365Fundamentals
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete:
  state: Pending
  tag: "28.0"
  reason: AMC Banking 365 Fundamental extension is discontinued
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 47
  events: 1
  subscribers: 4
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 8
  called_by: 18
  implements: 0
---

# Codeunit 20105 "AMC Banking Mgt."

> Codeunit 20105 "AMC Banking Mgt." in AMCBanking365Fundamentals (Microsoft.Bank.Payment). 34 public procedures, 1 events, 4 event subscribers. Introduced in BC29, still in BC30. Obsolete (Pending since 28.0).

AMCBanking365Fundamentals · Microsoft.Bank.Payment · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/AMCBanking365Fundamentals/app/Codeunits/AMCBankingMgt.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "AMC Banking Setup" = r |
| ObsoleteState | Pending |
| ObsoleteTag | 28.0 |
| ObsoleteReason | AMC Banking 365 Fundamental extension is discontinued |

## Events published

- `OnGetModulePostFix(var PostFixValue: Text; AMCBankingSetup: Record "AMC Banking Setup")` (integration)

## Event subscriptions

- HandleBankDataConvRegisterServiceConnection subscribes to Table "Service Connection" OnRegisterServiceConnection
- AMCOnClearCompanyConfiguration subscribes to Codeunit "Environment Cleanup" OnClearCompanyConfig
- AMCHandleOnAfterCreatedNewCompanyByCopyCompany subscribes to Report "Copy Company" OnAfterCreatedNewCompanyByCopyCompany
- AMCBankOnCompanyInitialize subscribes to Codeunit "Company-Initialize" OnCompanyInitialize

## Procedures

- `InitDefaultURLs(var AMCBankingSetup: Record "AMC Banking Setup")`
- `SetURLsToDefault(var AMCBankingSetup: Record "AMC Banking Setup")`
- `GetNamespace(): Text`
- `GetCleanLicenseServerName(AMCBankingSetup: Record "AMC Banking Setup"): Text` (internal)
- `GetLicenseServerName(): Text`
- `GetLicenseRegisterTag(): Text`
- `IsLicenseEqualAMC(): Boolean` (internal)
- `IsSolutionSandbox(AMCBankingSetup: Record "AMC Banking Setup"): Boolean`
- `GetSupportURL(SupportXmlDoc: XmlDocument): Text`
- `CheckCredentials()`
- `ApiVersion(): Text[10]`
- `GetCurrentApiVersion(): Text[10]` (internal)
- `AMCBankInitializeBaseData()`
- `GetDefaultCreditTransferMsgNo(): Text[20]`
- `GetAMCClientCode(): Text`
- `GetLicenseNumber(): Text[40]`
- `IsAMCFundamentalsEnabled(): Boolean` (internal)
- `IsAMCBusinessInstalled(): Boolean` (internal)
- `GetDemoSolutionCode(): Text[50]`
- `GetEnterPriseSolutionCode(): Text[50]`
- `GetLicenseXmlApi(): Text`
- `GetModuleInfoWebCall(): Text`
- `GetServiceURL(AMCServiceUrl: Text; AMCAPIVersion: Text): Text[250]`
- `GetDataExchDef_CT(): Code[20]`
- `GetDataExchDef_STMT(): Code[20]`
- `GetDataExchDef_PP(): Code[20]`
- `GetDataExchDef_CREM(): Code[20]`
- `ShowDetailedLogInfo(ActivityLog: Record "Activity Log"; DefaultFileName: Text; ShowFileDialog: Boolean): Text`
- `GetAppCaller(): Text[30]`
- `SetFieldValue(var RecordRef: RecordRef; FieldId: Integer; XmlValueVariant: Variant; AppendToValue: Boolean; UseValidate: Boolean)` (internal)
- `updateValue(var fieldref: FieldRef; ValueVariant: Variant; UseValidate: Boolean)` (internal)
- `GetFieldValue(RecordRef: RecordRef; FieldNo: Integer): Text` (internal)
- `GetBankFileName(BankAccount: Record "Bank Account"): Text[250]` (internal)
- `AMCTenantId(): Text` (internal)

Plus 8 local procedures.

## Triggers

OnRun

## 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 10 "Type Helper"](../codeunit/10.md) (3 calls: `GetFieldValue → GetXMLAmountFormatWithTwoDecimalPlaces`, `SetFieldValue → Evaluate`, `SetFieldValue → GetOptionNoFromTableField`)
- [Codeunit 20118 "AMC Bank Service Request Mgt."](../codeunit/20118.md) (3 calls: `GetSupportURL → GetConvertlogXPath`, `GetSupportURL → getNodeValue`, `GetSupportURL → GetSyslogXPath`)
- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (3 calls: `SetFieldValue → CreateOutStream`, `SetFieldValue → ToRecordRef`, `ShowDetailedLogInfo → FromRecord`)
- [Codeunit 457 "Environment Information"](../codeunit/457.md) (2 calls: `GetLicenseNumber → IsSaaS`, `IsSolutionSandbox → IsSandbox`)
- [Codeunit 1306 "Company Information Mgt."](../codeunit/1306.md) (1 call: `CheckCredentials → IsDemoCompany`)
- [Codeunit 419 "File Management"](../codeunit/419.md) (1 call: `ShowDetailedLogInfo → BLOBExport`)
- [Codeunit 433 "Azure AD Tenant"](../codeunit/433.md) (1 call: `GetLicenseNumber → GetAadTenantId`)
- [Page 20101 "AMC Banking Setup"](../page/20101.md) (1 call: `CheckCredentials → (object)`)

## Called by

- [Codeunit 20117 "AMC Bank Assisted Mgt."](../codeunit/20117.md) (39 calls: `CheckCreateDataExchDef → GetAppCaller`, `CheckCreateDataExchDef → GetDataExchDef_CT`, `CheckCreateDataExchDef → GetDataExchDef_STMT`, …)
- [Codeunit 20126 "AMC Bank Process Statement"](../codeunit/20126.md) (10 calls: `getAddressStruct → SetFieldValue`, `getAddressUnStruct → SetFieldValue`, `getAmountPosting → GetFieldValue`, …)
- [Page 20109 "AMC Bank Signup to Service"](../page/20109.md) (7 calls: `GetLoginURL → GetAppCaller`, `GetLoginURL → GetCleanLicenseServerName`, `GetLoginURL → GetLicenseNumber`, …)
- [Codeunit 20113 "AMC Bank Exp. CT Hndl"](../codeunit/20113.md) (6 calls: `ConvertPaymentDataToFormat → GetAppCaller`, `DisplayErrorFromResponse → GetSupportURL`, `InsertPaymentFileError → GetSupportURL`, …)
- [Codeunit 20114 "AMC Bank Imp.STMT. Hndl"](../codeunit/20114.md) (6 calls: `ConvertBankStatementToFormat → GetAppCaller`, `DisplayErrorFromResponse → GetSupportURL`, `PrepareSOAPRequestBody → GetAMCClientCode`, …)
- [Codeunit 20115 "AMC Bank Imp.BankList Hndl"](../codeunit/20115.md) (4 calls: `DisplayErrorFromResponse → GetSupportURL`, `OnRun → GetAppCaller`, `PrepareSOAPRequestBody → GetNamespace`, …)
- [Codeunit 20118 "AMC Bank Service Request Mgt."](../codeunit/20118.md) (4 calls: `GetWebServiceResponse → GetNamespace`, `GetXTLToken → CheckCredentials`, `GetXTLToken → GetAppCaller`, …)
- [Codeunit 20129 "AMC Bank PrePost Proc"](../codeunit/20129.md) (2 calls: `PostProcessStatementDate → SetFieldValue`, `PostProcessStatementEndingBalance → SetFieldValue`)
- [Page 20100 "AMC Bank Bank Name List"](../page/20100.md) (2 calls: `OnOpenPage → GetAppCaller`, `RefreshBankNamesOlderThanToday → GetAppCaller`)
- [Page 20101 "AMC Banking Setup"](../page/20101.md) (2 calls: `OnAfterGetRecord → IsSolutionSandbox`, `OnOpenPage → GetLicenseNumber`)
- [Codeunit 20116 "AMC Bank Install"](../codeunit/20116.md) (1 call: `UpdateNamespaceApiVersion → GetCurrentApiVersion`)
- [Page 20105 "AMC Bank Assisted Setup"](../page/20105.md) (1 call: `ShowURL → InitDefaultURLs`)
- [Page extension 20103 "AMC Bank Bank Account Card"](../pageextension/20103.md) (1 call: `OnOpenPage → IsAMCFundamentalsEnabled`)
- [Page extension 20104 "AMC Bank Paym. Meth. Page Ext"](../pageextension/20104.md) (1 call: `OnOpenPage → IsAMCFundamentalsEnabled`)
- [Page extension 20108 "AMC Bank Credit Trf. Reg. Ext"](../pageextension/20108.md) (1 call: `OnOpenPage → IsAMCFundamentalsEnabled`)
- [Page extension 20110 "AMC Bank Stmt Line Det. Ext"](../pageextension/20110.md) (1 call: `OnOpenPage → IsAMCFundamentalsEnabled`)
- [Page extension 20111 "AMC Bank Bank Account Page Ext"](../pageextension/20111.md) (1 call: `OnOpenPage → IsAMCFundamentalsEnabled`)
- [XMLport 20101 "AMC Bank Export CT"](../xmlport/20101.md) (1 call: `GetValue → GetFieldValue`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none
- Obsolete: Pending since 28.0, "AMC Banking 365 Fundamental extension is discontinued"

## Deprecations

- object: Pending 28.0 (#if not CLEAN28), "AMC Banking 365 Fundamental extension is discontinued"

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: "AMC Banking Mgt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
