tableFinanceofficial - Microsoftderived - from the source, no model text

Table 1230 "SEPA Direct Debit Mandate"

Base Application · Microsoft.Bank.DirectDebit

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25unchanged
  4. BC26declaration changed
  5. BC27unchanged
  6. BC2812 fields changed
  7. BC29-30unchanged

Neighbourhood 18 connected objects and pages

Table 18 "Customer" (relates to)CustomerTable 287 "Customer Bank Account" (relates to)Customer Bank AccountTable 308 "No. Series" (relates to)No. SeriesPage 1230 "SEPA Direct Debit Mandates" (pages and codeunits on it, 3 links)SEPA Direct Debit MandatesPage 456 "No. Series" (calls)No. SeriesTable 1208 "Direct Debit Collection Entry" (referenced by, 2 links)Direct Debit Collection EntryTable 112 "Sales Invoice Header" (referenced by)Table 172 "Standard Customer Sales Code" (referenced by)Standard Customer Sales CodeTable 181 "Posted Gen. Journal Line" (referenced by)Posted Gen. Journal LineTable 21 "Cust. Ledger Entry" (referenced by)Cust. Ledger EntryTable 36 "Sales Header" (referenced by)Sales HeaderTable 5900 "Service Header" (referenced by)Table 5965 "Service Contract Header" (referenced by)Service Contract HeaderTable 5970 "Filed Service Contract Header" (referenced by)Filed Service Contract HeaderTable 5992 "Service Invoice Header" (referenced by)Service Invoice HeaderTable 6010 "Service Header Archive" (referenced by)Service Header ArchiveTable 81 "Gen. Journal Line" (referenced by)SEPA Direct Debit in Business Central (Learn pages)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Bank.DirectDebit · captioned “Direct Debit Mandate” · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 1230 “SEPA Direct Debit Mandates” (1 Learn page).

Properties

Property Value
Caption Direct Debit Mandate
DataClassification CustomerContent

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
1 ID Δ BC28 Code[35] Specifies the ID of the direct-debit mandate.
2 Customer No. Δ BC28 Code[20] Specifies the customer that the direct-debit mandate is activated for. TableRelation Table 18 “Customer”; NotBlank
3 Customer Bank Account Code Δ BC28 Code[20] Specifies customer bank account that the direct-debit mandate is activated for. TableRelation Table 287 “Customer Bank Account” (“Customer Bank Account”.Code where(“Customer No.” = field(“Customer No.”))); NotBlank
4 Valid From Δ BC28 Date Specifies the date when the direct-debit mandate starts.
5 Valid To Δ BC28 Date Specifies the date when the direct-debit mandate ends.
6 Date of Signature Δ BC28 Date Specifies when the direct-debit mandate was signed by the customer. NotBlank
7 Type of Payment Δ BC28 Option Specifies if the direct-debit transaction is the first or the last according to the expected number of direct-debit transactions that you entered in the Expected Number of Debits field. OptionCaption: OneOff,Recurrent
8 Blocked Δ BC28 Boolean Specifies that the related record is blocked from being posted in transactions, for example a customer that is declared insolvent or an item that is placed in quarantine.
9 Expected Number of Debits Δ BC28 Integer Specifies how many direct-debit transactions you expect to perform using the direct-debit mandate. This field is used to calculate when to enter First or Last in the Sequence Type field in the Direct Debit Collect. Entries window.
10 Debit Counter Δ BC28 Integer Specifies how many direct-debit transactions have been performed using the direct-debit mandate. not editable
11 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
12 Closed Δ BC28 Boolean Specifies that the direct-debit mandate is closed, for example because the date in the Valid To field has been exceeded. not editable
13 Ignore Exp. Number of Debits Δ BC28 Boolean Specifies that the direct-debit mandate will not be closed automatically when the debit counter reaches the expected number of debits.

Keys

  • Key1: ID (clustered)
  • Key2: Customer No.

Events published

  • OnBeforeInsert(var IsHandled: boolean; var SEPADirectDebitMandate: Record "SEPA Direct Debit Mandate") (integration): Integration event triggered before inserting a new mandate record.
  • OnBeforeModify(var IsHandled: boolean; var SEPADirectDebitMandate: Record "SEPA Direct Debit Mandate") (integration): Integration event triggered before modifying a mandate record.

Procedures

  • IsMandateActive(TransactionDate: Date): Boolean: Checks if the mandate is active and valid for the specified transaction date.
  • GetDefaultMandate(CustomerNo: Code[20]; DueDate: Date): Code[35]: Finds the default active mandate for a customer on a specific due date. Prioritizes customer’s preferred bank account if specified.
  • UpdateCounter(): Increments the debit counter when the mandate is used and updates the closed status.
  • GetSequenceType(): Integer: Determines the SEPA sequence type based on mandate type and usage history.
  • RollBackSequenceType(): Decrements the debit counter when a collection is rejected or rolled back.

Plus 6 local procedures.

Triggers

OnInsert, OnModify

Relations

Referenced by

13 fields in 12 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

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.

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: "table", object_name: "SEPA Direct Debit Mandate"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources