tableSales & Receivablesofficial - Microsoftderived - from the source, no model text

Table 19 "Cust. Invoice Disc."

Base Application · Microsoft.Sales.Pricing

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25-26unchanged
  4. BC271 procedures changed, 1 procedures added
  5. BC285 fields changed
  6. BC29-30unchanged

Neighbourhood 2 connected objects and pages

Table 4 "Currency" (relates to)CurrencyPage 23 "Cust. Invoice Discounts" (pages and codeunits on it, 2 links)Cust. Invoice Discounts

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.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

Pages and codeunits on this table

Countries that replace it

ES

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.

Evidence 1 sources