Codeunit 11503 "CHMgt" (CH)
CH country layer · Microsoft.Bank.Payment
Across versions
- BC23-28not present
- BC29-30present
CH country layer · Microsoft.Bank.Payment · BC29-30 · source at ea08af5e · facts from BC29
An object of the CH localization, not part of W1.
Events published
OnPrepareEsrOnAfterCalcAmt(var SalesInvoiceHeader: Record "Sales Invoice Header"; var Amt: Decimal)(integration)OnPrepareEsrOnBeforeCompressArray(var SalesInvoiceHeader: Record "Sales Invoice Header"; var Adr: array[8] of Text[100])(integration)
Event subscriptions
- SuggestVendorPaymentFromBufferUpdatePaymentLine subscribes to Report “Suggest Vendor Payments” OnBeforeUpdateGnlJnlLineDimensionsFromVendorPaymentBuffer
- HandleOnAfterCopyFieldsFromVendorLedgerEntryFromBuffer subscribes to Table “Vendor Payment Buffer” OnAfterCopyFieldsFromVendorLedgerEntry
- HandleOnAfterCopyFieldsToGenJournalLineFromBuffer subscribes to Table “Vendor Payment Buffer” OnAfterCopyFieldsToGenJournalLine
- HandleOnAfterSetJournalLineFieldsFromApplication subscribes to Table “Gen. Journal Line” OnAfterSetJournalLineFieldsFromApplication
- HandleOnAfterSalesLineSetFilters subscribes to Codeunit “Document Totals” OnAfterSalesLineSetFilters
- HandleOnAfterSalesCheckIfDocumentChanged subscribes to Codeunit “Document Totals” OnAfterSalesCheckIfDocumentChanged
- HandleOnCalculateSalesSubPageTotalsOnAfterSetFilters subscribes to Codeunit “Document Totals” OnCalculateSalesSubPageTotalsOnAfterSetFilters
Procedures
PrepareEsr(SalesInvHeader: Record "Sales Invoice Header"; var ESRSetup: Record "ESR Setup"; var EsrType: Option Default,ESR,"ESR+"; var Adr: array[8] of Text[100]; var AmtTxt: Text[30]; var CurrencyCode: Code[10]; var DocType: Text[10]; var RefNo: Text[35]; var CodingLine: Text[100])PrepareEsrConsolidate(var ESRSetup: Record "ESR Setup"; var EsrType: Option Default,ESR,"ESR+"; var AmtTxt: Text[30]; var CurrencyCode: Code[10]; var DocType: Text[10]; var RefNo: Text[35]; var CodingLine: Text[100]; CurrencyCode2: Code[10]; PaymentMethodCode: Code[10]; _No: Code[20]; Amt: Decimal)ReplaceXMLNamespaceCaption(var TempBlob: Codeunit "Temp Blob"; OldCaption: Text; NewCaption: Text)IsSwissSEPACTExport(GenJournalLine: Record "Gen. Journal Line"): BooleanIsSwissSEPADDExport(DirectDebitCollectionNo: Integer): BooleanIsSwissSEPACTImport(BankAccountNo: Code[20]): BooleanIsDomesticIBAN(IBAN: Code[50]): BooleanGetClearingNoFromIBAN(IBAN: Code[50]): Code[5](internal): Extracts the Swiss bank clearing number (IID) from a domestic (CH/LI) IBAN.IsDomesticCurrency(CurrencyCode: Code[10]): BooleanIsSEPACountry(CountryCode: Code[10]): BooleanIsESRFormat(RefNo: Text): BooleanNoOfPaymentsForBatchBooking(): Integer(obsolete 29.0: The batch booking behavior is now configurable per bank account via the SEPA CT Batch Booking field.)
Plus 5 local procedures.
Triggers
OnRun
Recent changes
- 2026-08-17 #10136 [CH][SEPA CT] Export requires both IBAN and Clearing No. for domestic payments and refunds (main, BC30, fix)
Deprecations
- procedure NoOfPaymentsForBatchBooking: Pending 29.0 (#if not CLEAN29), “The batch booking behavior is now configurable per bank account via the SEPA CT Batch Booking field.”
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). 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: "CHMgt"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.
A CH country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.