codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 11043 "DE Payment Means Helper" (DE)

DE country layer · Microsoft.eServices.EDocument.Formats

Across versions

  1. BC23-29not present
  2. BC30present

DE country layer · Microsoft.eServices.EDocument.Formats · BC30 · source at f18567dc · facts from BC30

An object of the DE localization, not part of W1.

Properties

Property Value
Access Public

Events published

  • OnBeforeCheckPaymentMeansCodeSupported(PaymentMeansCode: Code[3]; SourceDocumentHeader: RecordRef; var IsHandled: Boolean) (integration): Fires before an unsupported payment means code is rejected during Check(). Subscribe and set IsHandled to true when the extension supplies the document data that the given code requires, for example through OnInsertPaymentMeansOnBeforeAddToRoot.

Procedures

  • GetPaymentMeansCode(PaymentMethodCode: Code[10]): Code[3]: Returns the UNCL4461 payment means code for the given Payment Method Code. Falls back to ‘58’ (SEPA Credit Transfer) if no code is configured.
  • IsDirectDebit(PaymentMeansCode: Code[3]): Boolean: Returns true when the given UNCL4461 payment means code is a SEPA direct debit code (49 or 59). Direct debit requires the BG-19 mandate data (BT-89, BT-90, BT-91) in the exported document.
  • IsCreditTransfer(PaymentMeansCode: Code[3]): Boolean: Returns true when the given UNCL4461 payment means code is a credit transfer code (30 or 58). Credit transfer only requires the payee account (BT-84) in the exported document.
  • GetCreditorNo(CompanyBankAccountCode: Code[20]): Code[35]: Returns the SEPA Creditor Identifier from the company bank account. Used for SEPA Direct Debit payment means (49/59) in the SellerTradeParty/AccountingSupplierParty.
  • CheckPaymentDataAvailable(SourceDocumentHeader: RecordRef): Validates that all required payment data is available for the given document before export. Called from XRechnungFormat.Check() and ZUGFeRDFormat.Check(). Covers SEPA direct debit mandate completeness and the creditor identifier (BT-90), and rejects payment means codes for which neither this app nor…

Plus 5 local procedures.

Recent changes

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: "DE Payment Means Helper"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

A DE country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.

Evidence 1 sources