---
id: object/table/3
type: object
title: Table 3 "Payment Terms"
summary: Table 3 "Payment Terms" in Base Application (Microsoft.Foundation.PaymentTerms). 8 fields, 4 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28-29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: e5dc365ff5cf34508a648bfc0c4b7b8cdab5758e8757f495d0960f652871bc36
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/PaymentTerms/PaymentTerms.Table.al
    title: src/Layers/W1/BaseApp/Foundation/PaymentTerms/PaymentTerms.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_paymentterm_create
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_paymentterm_delete
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_paymentterm_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_paymentterm_update
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_paymentTerm
    - https://learn.microsoft.com/dynamics365/business-central/finance-payment-terms
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-finance
  localizations:
    - localization/ca
    - localization/es
    - localization/fi
    - localization/it
    - localization/mx
    - localization/us
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 3
name: Payment Terms
namespace: Microsoft.Foundation.PaymentTerms
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries:
  - ca
  - es
  - fi
  - it
  - mx
  - us
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 6
  events: 1
  subscribers: 0
relations:
  out: 1
  referenced_by: 61
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 3 "Payment Terms"

> Table 3 "Payment Terms" in Base Application (Microsoft.Foundation.PaymentTerms). 8 fields, 4 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28-29.

Base Application · Microsoft.Foundation.PaymentTerms · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Foundation/PaymentTerms/PaymentTerms.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30023 "APIV2 - Payment Terms"](../page/30023.md) (5 Learn pages), [Page 4 "Payment Terms"](../page/4.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Payment Terms |
| 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 | Code | Code[10] | Specifies a code to identify this set of payment terms. | NotBlank |
| 2 | Due Date Calculation | DateFormula | Specifies a formula that determines how to calculate the due date, for example, when you create an invoice. |  |
| 3 | Discount Date Calculation | DateFormula | Specifies the date formula if the payment terms include a possible payment discount. |  |
| 4 | Discount % | Decimal | Specifies the percentage of the invoice amount (amount including VAT is the default setting) that will constitute a possible payment discount. |  |
| 5 | Description | Text[100] | Specifies an explanation of the payment terms. |  |
| 6 | Calc. Pmt. Disc. on Cr. Memos | Boolean | Specifies that a payment discount, cash discount, cash discount date, and due date are calculated on credit memos with these payment terms. |  |
| 8 | Last Modified Date Time | DateTime | — | not editable |
| 720 | Coupled to CRM | Boolean | Coupled to Dataverse <small>caption</small> | obsolete Removed 26.0; #if not CLEANSCHEMA26; not editable |

## Keys

- Key1: Code (clustered)

## Events published

- `OnAfterTranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])` (integration)

## Procedures

- `TranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])`
- `GetDescriptionInCurrentLanguageFullLength(): Text[100]`
- `UsePaymentDiscount(): Boolean`
- `GetDueDateCalculation(var DueDateCalculation: DateFormula)`

Plus 1 local procedures.

## Triggers

OnDelete, OnInsert, OnModify, OnRename

## Relations

- lookup page [Page 4 "Payment Terms"](../page/4.md)

## Referenced by

61 fields in 45 objects relate to this table (TableRelation or CalcFormula).

- [Table 18 "Customer"](../table/18.md): Cash Flow Payment Terms Code, Payment Terms Code, Payment Terms Id
- [Table 23 "Vendor"](../table/23.md): Cash Flow Payment Terms Code, Payment Terms Code, Payment Terms Id
- [Table 1381 "Customer Templ."](../table/1381.md): Cash Flow Payment Terms Code, Payment Terms Code
- [Table 1383 "Vendor Templ."](../table/1383.md): Cash Flow Payment Terms Code, Payment Terms Code
- [Table 36 "Sales Header"](../table/36.md): Payment Terms Code, Prepmt. Payment Terms Code
- [Table 38 "Purchase Header"](../table/38.md): Payment Terms Code, Prepmt. Payment Terms Code
- [Table 5107 "Sales Header Archive"](../table/5107.md): Payment Terms Code, Prepmt. Payment Terms Code
- [Table 5109 "Purchase Header Archive"](../table/5109.md): Payment Terms Code, Prepmt. Payment Terms Code
- [Table 5475 "Sales Invoice Entity Aggregate"](../table/5475.md): Payment Terms Code, Payment Terms Id
- [Table 5495 "Sales Order Entity Buffer"](../table/5495.md): Payment Terms Code, Payment Terms Id
- [Table 5496 "Purchase Order Entity Buffer"](../table/5496.md): Payment Terms Code, Payment Terms Id
- [Table 5505 "Sales Quote Entity Buffer"](../table/5505.md): Payment Terms Code, Payment Terms Id
- [Table 5507 "Sales Cr. Memo Entity Buffer"](../table/5507.md): Payment Terms Code, Payment Terms Id
- [Table 5508 "Purch. Cr. Memo Entity Buffer"](../table/5508.md): Payment Terms Code, Payment Terms Id
- [Table 1001 "Job Task"](../table/1001.md): Payment Terms Code
- [Table 110 "Sales Shipment Header"](../table/110.md): Payment Terms Code
- [Table 112 "Sales Invoice Header"](../table/112.md): Payment Terms Code
- [Table 114 "Sales Cr.Memo Header"](../table/114.md): Payment Terms Code
- [Table 120 "Purch. Rcpt. Header"](../table/120.md): Payment Terms Code
- [Table 122 "Purch. Inv. Header"](../table/122.md): Payment Terms Code
- [Table 124 "Purch. Cr. Memo Hdr."](../table/124.md): Payment Terms Code
- [Table 167 "Job"](../table/167.md): Payment Terms Code
- [Table 172 "Standard Customer Sales Code"](../table/172.md): Payment Terms Code
- [Table 181 "Posted Gen. Journal Line"](../table/181.md): Payment Terms Code
- [Table 289 "Payment Method"](../table/289.md): Direct Debit Pmt. Terms Code
- [Table 30158 "Shpfy Payment Terms"](../table/30158.md): Payment Terms Code
- [Table 462 "Payment Term Translation"](../table/462.md): Payment Term
- [Table 5135 "Job Archive"](../table/5135.md): Payment Terms Code
- [Table 5136 "Job Task Archive"](../table/5136.md): Payment Terms Code
- [Table 5477 "Purch. Inv. Entity Aggregate"](../table/5477.md): Payment Terms Code
- [Table 5900 "Service Header"](../table/5900.md): Payment Terms Code
- [Table 5965 "Service Contract Header"](../table/5965.md): Payment Terms Code
- [Table 5970 "Filed Service Contract Header"](../table/5970.md): Payment Terms Code
- [Table 5990 "Service Shipment Header"](../table/5990.md): Payment Terms Code
- [Table 5992 "Service Invoice Header"](../table/5992.md): Payment Terms Code
- [Table 5994 "Service Cr.Memo Header"](../table/5994.md): Payment Terms Code
- [Table 6010 "Service Header Archive"](../table/6010.md): Payment Terms Code
- [Table 6650 "Return Shipment Header"](../table/6650.md): Payment Terms Code
- [Table 6660 "Return Receipt Header"](../table/6660.md): Payment Terms Code
- [Table 751 "Standard General Journal Line"](../table/751.md): Payment Terms Code
- [Table 8010 "Imported Cust. Sub. Contract"](../table/8010.md): Payment Terms Code
- [Table 8052 "Customer Subscription Contract"](../table/8052.md): Payment Terms Code
- [Table 8063 "Vendor Subscription Contract"](../table/8063.md): Payment Terms Code
- [Table 81 "Gen. Journal Line"](../table/81.md): Payment Terms Code
- [Table 846 "Cash Flow Worksheet Line"](../table/846.md): Payment Terms Code

## Pages and codeunits on this table

- [Page 20023 "APIV1 - Payment Terms"](../page/20023.md) (source table)
- [Page 30023 "APIV2 - Payment Terms"](../page/30023.md) (source table)
- [Page 4 "Payment Terms"](../page/4.md) (source 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.

- [Codeunit 43 "Language"](../codeunit/43.md) (1 call: `GetDescriptionInCurrentLanguageFullLength → GetUserLanguageCode`)
- [Codeunit 5342 "CRM Synch. Helper"](../codeunit/5342.md) (1 call: `OnRename → UpdateCDSOptionMapping`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28-29

## Countries that replace it

[CA](../../localizations/ca.md), [ES](../../localizations/es.md), [FI](../../localizations/fi.md), [IT](../../localizations/it.md), [MX](../../localizations/mx.md), [US](../../localizations/us.md)

## Deprecations

- field Coupled to CRM: Removed 26.0 (#if not CLEANSCHEMA26), "Replaced by page control Coupled to Dataverse"

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: "table", object_name: "Payment Terms")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
