Table 19 "Cust. Invoice Disc."
Base Application · Microsoft.Sales.Pricing
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC271 procedures changed, 1 procedures added
- BC285 fields changed
- BC29-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Sales.Pricing · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Cust. Invoice Disc. |
| 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 Δ BC28 | Code[20] | Specifies the contents of the Invoice Disc. Code field on the customer card. | NotBlank |
| 2 | Minimum Amount Δ BC28 | Decimal | Specifies the minimum amount that the invoice must total for the discount to be granted or the service charge levied. For discounts, only sales lines where the Allow Invoice Disc. field is selected are included in the calculation. | |
| 3 | Discount % Δ BC28 | Decimal | Specifies the discount percentage that the customer can receive by buying for at least the minimum amount. | |
| 4 | Service Charge Δ BC28 | Decimal | Specifies the amount of the service charge that the customer will have to pay on a purchase of at least the amount in the Minimum Amount field. | |
| 5 | Currency Code Δ BC28 | Code[10] | Specifies the currency code for invoice discount terms. | TableRelation Table 4 “Currency” |
Keys
- Key1: Code, Currency Code, Minimum Amount (clustered)
Events published
OnBeforeGetRec(var CustInvoiceDisc: Record "Cust. Invoice Disc."; var NewCode: Code[20]; var CurrencyCode: Code[10]; var CurrencyDate: Date; var BaseAmount: Decimal)(integration)
Procedures
GetRec(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal)Δ BC27 (obsolete 27.0: Replaced by W1 procedure GetRecord()): Gets the customer invoice discount record based on the specified criteria.GetRecord(NewCode: Code[20]; CurrencyCode: Code[10]; CurrencyDate: Date; BaseAmount: Decimal): Boolean+ BC27: Gets the customer invoice discount record based on the specified criteria, handling currency conversion if needed.
Relations
- lookup page Page 23 “Cust. Invoice Discounts”
- Currency Code: TableRelation Table 4 “Currency”
Pages and codeunits on this table
- Page 23 “Cust. Invoice Discounts” (source table)
Countries that replace it
Deprecations
- procedure GetRec: Pending 27.0 (#if not CLEAN27), “Replaced by W1 procedure GetRecord()”
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: "table", object_name: "Cust. Invoice Disc."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.