Table "Payment Terms"
ID 3
Namespace: Microsoft.Foundation.PaymentTerms
Properties
| Name | Value |
|---|---|
| Caption | Payment Terms |
| DataCaptionFields | 1,5 |
| LookupPageID | Page Microsoft.Foundation.PaymentTerms."Payment Terms" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| Code | Code[10] | Specifies a code to identify this set of payment terms. |
| "Due Date Calculation" | DateFormula | Specifies a formula that determines how to calculate the due date, for example, when you create an invoice. |
| "Discount Date Calculation" | DateFormula | Specifies the date formula if the payment terms include a possible payment discount. |
| "Discount %" | Decimal | Specifies the percentage of the invoice amount (amount including VAT is the default setting) that will constitute a possible payment discount. |
| Description | Text[100] | Specifies an explanation of the payment terms. |
| "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. |
| "Last Modified Date Time" | DateTime | |
| "Coupled to CRM" | Boolean | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
TranslateDescription
procedure TranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentTerms | Table Microsoft.Foundation.PaymentTerms."Payment Terms" | |
| Language | Code[10] |
GetDescriptionInCurrentLanguageFullLength
procedure GetDescriptionInCurrentLanguageFullLength(): Text[100]
Returns
| Type | Description |
|---|---|
| Text[100] |
UsePaymentDiscount
procedure UsePaymentDiscount(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
Events
OnAfterTranslateDescription
[IntegrationEvent(False,False)]
local procedure OnAfterTranslateDescription(var PaymentTerms: Record "Payment Terms"; Language: Code[10])
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentTerms | Table Microsoft.Foundation.PaymentTerms."Payment Terms" | |
| Language | Code[10] |