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

Table 7023 "Sales Price Worksheet"

Base Application · Microsoft.Sales.Pricing

Across versions

  1. BC23present
  2. BC241 fields changed
  3. BC25declaration changed
  4. BC26declaration changed
  5. BC27unchanged
  6. BC2816 fields changed
  7. BC29-30unchanged

Neighbourhood 9 connected objects and pages

Table 27 "Item" (relates to, 2 links)ItemTable 18 "Customer" (relates to)CustomerTable 323 "VAT Business Posting Group" (relates to)VAT Business Posting GroupTable 4 "Currency" (relates to)CurrencyTable 5071 "Campaign" (relates to)CampaignTable 5401 "Item Variant" (relates to)Item VariantTable 5404 "Item Unit of Measure" (relates to)Item Unit of MeasureTable 6 "Customer Price Group" (relates to)Customer Price GroupPage 7023 "Sales Price Worksheet" (pages and codeunits on it)Sales Price Worksheet

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 Sales Price Worksheet
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 Item No. Δ BC28 Code[20] Specifies the number of the item for which sales prices are being changed or set up. TableRelation Table 27 “Item”; NotBlank
2 Sales Code Δ BC28 Code[20] Specifies the Sales Type code. TableRelation Table 18 “Customer”, Table 5071 “Campaign”, Table 6 “Customer Price Group” (if (“Sales Type” = const(“Customer Price Group”)) “Customer Price Group” else if (“Sales Type” = const(Customer)) Customer else if (“Sales Type” = const(Campaign)) Campaign)
3 Currency Code Δ BC28 Code[10] Specifies the currency code of the sales price. TableRelation Table 4 “Currency”
4 Starting Date Δ BC28 Date Specifies the earliest date on which the item can be sold at the sales price.
5 Current Unit Price Δ BC28 Decimal Specifies the unit price of the item. not editable
6 New Unit Price Δ BC28 Decimal Specifies the new unit price that is valid for the selected combination of Sales Code, Currency Code and/or Starting Date.
7 Price Includes VAT Δ BC28 Boolean Specifies if the sales price includes VAT.
10 Allow Invoice Disc. Δ BC28 Boolean Specifies if an invoice discount will be calculated when the sales price is offered.
11 VAT Bus. Posting Gr. (Price) Code[20] Specifies the code for the VAT business posting group of customers for whom the sales prices will apply. via Page 7023 “Sales Price Worksheet” TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group)
13 Sales Type Δ BC28 Enum “Sales Price Type” Specifies the type of sale that the price is based on, such as All Customers or Campaign. enum Enum 7023 “Sales Price Type”
14 Minimum Quantity Δ BC28 Decimal Specifies the minimum sales quantity that must be met to warrant the sales price.
15 Ending Date Δ BC28 Date Specifies the date on which the sales price agreement ends.
20 Item Description Δ BC24 Δ BC28 Text[100] Specifies the description of the item on the worksheet line. FlowField: lookup(Item.Description where(“No.” = field(“Item No.”)))
21 Sales Description Δ BC28 Text[100] Specifies the description of the sales type, such as Campaign, on the worksheet line.
5400 Unit of Measure Code Δ BC28 Code[10] Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. TableRelation Table 5404 “Item Unit of Measure” (“Item Unit of Measure”.Code where(“Item No.” = field(“Item No.”)))
5700 Variant Code Δ BC28 Code[10] Specifies the variant of the item on the line. TableRelation Table 5401 “Item Variant” (“Item Variant”.Code where(“Item No.” = field(“Item No.”)))
7001 Allow Line Disc. Δ BC28 Boolean Specifies if a line discount will be calculated when the sales price is offered.

Keys

  • Key1: Starting Date, Ending Date, Sales Type, Sales Code, Currency Code, Item No., Variant Code, Unit of Measure Code, Minimum Quantity (clustered)
  • Key2: Item No., Variant Code, Unit of Measure Code, Minimum Quantity, Starting Date, Ending Date, Sales Type, Sales Code, Currency Code

Events published

  • OnAfterCalcCurrentPriceFound(var SalesPriceWorksheet: Record "Sales Price Worksheet"; SalesPrice: Record "Sales Price") (integration)
  • OnCalcCurrentPriceOnAfterSetFilters(var SalesPrice: Record "Sales Price"; SalesPriceWorksheet: Record "Sales Price Worksheet") (integration)
  • OnCalcCurrentPriceOnPriceNotFound(var SalesPriceWorksheet: Record "Sales Price Worksheet") (integration)

Procedures

  • CalcCurrentPrice(var PriceAlreadyExists: Boolean): Calculates and retrieves the current price for the worksheet item based on matching sales price records.
  • SetSalesDescription(): Sets the Sales Description field based on the sales type and code.

Triggers

OnInsert, OnRename

Relations

Pages and codeunits on this table

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: "Sales Price Worksheet"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources