Page 1345 "Sales Price and Line Discounts"
Base Application · Microsoft.Sales.Pricing
Across versions
- BC23present
- BC24declaration changed
- BC25declaration changed
- BC26-27unchanged
- BC28declaration changed
- BC29-30unchanged
Neighbourhood 2 connected objects and pages
Base Application · Microsoft.Sales.Pricing · captioned “Sales Prices” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Sales Prices |
| SourceTable | Sales Price and Line Disc Buff |
| PageType | List |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| Group | Line Type | Line Type | Specifies if the line is for a sales price or a sales line discount. from the table field |
| Sales Type | Sales Type | Specifies the sales type of the price or discount. The sales type defines whether the sales price or discount is for an individual customer, a customer discount group, or for all customers. from the table field | |
| Sales Code | Sales Code | Specifies the sales code of the price or discount. The sales code depends on the value in the Sales Type field. The code can represent an individual customer, a customer discount group, or for all customers. from the table field | |
| Type | Type | Specifies if the discount is valid for an item or for an item discount group. from the table field | |
| Code | Code | Specifies a code for the sales line price or discount. from the table field | |
| Unit of Measure Code | Unit of Measure Code | 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. from the table field | |
| Minimum Quantity | Minimum Quantity | Specifies the quantity that must be entered on the sales document to warrant the sales price or discount. from the table field | |
| Line Discount % | Line Discount % | Specifies the discount percentage that is granted for the item on the line. from the table field | |
| Unit Price | Unit Price | Specifies the price of one unit of the item or resource. You can enter a price manually or have it entered according to the Price/Profit Calculation field on the related card. from the table field | |
| Starting Date | Starting Date | Specifies the date from which the sales line discount is valid. from the table field | |
| Ending Date | Ending Date | Specifies the date to which the sales line discount is valid. from the table field | |
| Currency Code | Currency Code | Specifies the currency that must be used on the sales document line to warrant the sales price or discount. from the table field | |
| Price Includes VAT | Price Includes VAT | Specifies if the price that is granted includes VAT. from the table field | |
| Allow Invoice Disc. | Allow Invoice Disc. | Specifies if an invoice discount will be calculated when the sales price is offered. from the table field | |
| VAT Bus. Posting Gr. (Price) | VAT Bus. Posting Gr. (Price) | Specifies the VAT business posting group for customers who you want to apply the sales price to. This price includes VAT. | |
| Variant Code | Variant Code | Specifies the variant that must be used on the sales document line to warrant the sales price or discount. from the table field | |
| Allow Line Disc. | Allow Line Disc. | Specifies if line discounts are allowed. from the table field |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Show Current Only | Show only valid price and discount agreements that have ending dates later than today’s date. | |
| Show All | Show all price and discount agreements, including those with ending dates earlier than today’s date. | ||
| Refresh Data | Update sales prices or sales line discounts with values that other users may have added for the customer since you opened the window. | ||
| Set Special Prices | Set up different prices for items that you sell to the customer. An item price is automatically granted on invoice lines when the specified criteria are met, such as customer, quantity, or ending date. | ||
| Set Special Discounts | Set up different discounts for items that you sell to the customer. An item discount is automatically granted on invoice lines when the specified criteria are met, such as customer, quantity, or ending date. |
Procedures
InitPage(ForItem: Boolean): Initializes the page layout based on whether it is displayed for an item or a customer.LoadItem(Item: Record Item): Loads price and line discount data for the specified item.LoadCustomer(Customer: Record Customer): Loads price and line discount data for the specified customer.GetLoadedItemNo(): Code[20]: Gets the item number that was loaded for this page.GetLoadedCustNo(): Code[20]: Gets the customer number that was loaded for this page.RunUpdatePriceIncludesVatAndPrices(IncludesVat: Boolean): Updates the price includes VAT flag and recalculates prices for the loaded item.
Plus 4 local procedures.
Triggers
OnInit, OnNewRecord
Relations
- source table Table 1304 “Sales Price and Line Disc Buff”
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 7049 “Feature - Price Calculation” (1 call:
OnInit → FailIfFeatureEnabled)
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: "page", object_name: "Sales Price and Line Discounts"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.