---
title: "Table 1304 Sales Price and Line Disc Buff"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/1304-sales-price-and-line-disc-buff/
type: table
id: 1304
name: "Sales Price and Line Disc Buff"
app: "Base Application"
namespace: Microsoft.Sales.Pricing
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/1304-sales-price-and-line-disc-buff/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 1304 Sales Price and Line Disc Buff

Jonas Paprotka, https://jonas-paprotka.de/ref/table/1304-sales-price-and-line-disc-buff/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Sales.Pricing |
| Versions | 17-28 |
| Source file | Sales/Pricing/SalesPriceandLineDiscBuff.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Code | Code[20] | 17-28 | - | - |
| 2 | Sales Code | Code[20] | 17-28 | - | - |
| 3 | Currency Code | Code[10] | 17-28 | - | - |
| 4 | Starting Date | Date | 17-28 | - | - |
| 5 | Line Discount % | Decimal | 17-28 | - | - |
| 6 | Unit Price | Decimal | 17-28 | - | - |
| 7 | Price Includes VAT | Boolean | 17-28 | - | - |
| 10 | Allow Invoice Disc. | Boolean | 17-28 | - | - |
| 11 | VAT Bus. Posting Gr. (Price) | Code[20] | 17-28 | - | - |
| 13 | Sales Type | Option | 17-28 | - | - |
| 14 | Minimum Quantity | Decimal | 17-28 | - | - |
| 15 | Ending Date | Date | 17-28 | - | - |
| 21 | Type | Enum Sales Line Discount Type | 17-28 | - | - |
| 1300 | Line Type | Option | 17-28 | - | - |
| 1301 | Loaded Item No. | Code[20] | 17-28 | - | - |
| 1302 | Loaded Disc. Group | Code[20] | 17-28 | - | - |
| 1303 | Loaded Customer No. | Code[20] | 17-28 | - | - |
| 1304 | Loaded Price Group | Code[20] | 17-28 | - | - |
| 5400 | Unit of Measure Code | Code[10] | 17-28 | - | - |
| 5700 | Variant Code | Code[10] | 17-28 | - | - |
| 7001 | Allow Line Disc. | Boolean | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Line Type, Type, Code, Sales Type, Sales Code, Starting Date, Currency Code, Variant Code, Unit of Measure Code, Minimum Quantity, Loaded Item No., Loaded Disc. Group, Loaded Customer No., Loaded Price Group | 17-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| LoadDataForItem | (Record Item) | - | public | 17-28 | - | - |
| LoadDataForCustomer | (Record Customer) | - | public | 17-28 | - | - |
| LoadDataForCustomer | (var Record Customer, Integer) | Integer | public | 17-28 | - | - |
| FilterToActualRecords | () | - | public | 17-28 | - | - |
| CustHasLines | (Record Customer) | Boolean | public | 17-28 | - | - |
| ItemHasLines | (Record Item) | Boolean | public | 17-28 | - | - |
| UpdatePriceIncludesVatAndPrices | (Record Item, Boolean) | - | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterVATPostingSetupGet | (var Record VAT Posting Setup) | 17-28 | - | - |
| Integration event | OnBeforeDeleteOldRecordVersion | (var Record Sales Price and Line Disc Buff, Record Sales Price and Line Disc Buff, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteOldRecordVersionFromPrices | (Record Sales Price and Line Disc Buff, var Boolean) | 17-28 | - | - |
| Integration event | OnInsertNewDiscountLineOnBeforeInsert | (var Record Sales Line Discount, Record Sales Price and Line Disc Buff) | 17-28 | - | - |
| Integration event | OnInsertNewPriceLineOnBeforeInsert | (var Record Sales Price, Record Sales Price and Line Disc Buff) | 17-28 | - | - |
| Integration event | OnLoadSalesLineDiscountOnBeforeInsert | (var Record Sales Price and Line Disc Buff, Record Sales Line Discount) | 17-28 | - | - |
| Integration event | OnLoadSalesPriceOnBeforeInsert | (var Record Sales Price and Line Disc Buff, Record Sales Price) | 17-28 | - | - |
| Integration event | OnLookupCodeCaseElse | () | 17-28 | - | - |
| Integration event | OnValidateTypeCaseElse | () | 17-28 | - | - |
| Integration event | OnAfterSetFiltersOnSalesPrice | (var Record Sales Price and Line Disc Buff) | 17-20 | - | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItem | (var Record Sales Price and Line Disc Buff) | 17-20 | - | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItemGroup | (var Record Sales Price and Line Disc Buff) | 17-20 | - | - |
| Integration event | OnAfterFilterToActualRecords | (var Record Sales Price and Line Disc Buff) | 17-28 | - | - |
| Integration event | OnAfterSetFiltersOnSalesPrice | (var Record Sales Price and Line Disc Buff, var Record Sales Price) | 21-28 | - | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItem | (var Record Sales Price and Line Disc Buff, var Record Sales Line Discount) | 21-28 | - | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItemGroup | (var Record Sales Price and Line Disc Buff, var Record Sales Line Discount) | 21-28 | - | - |
| Integration event | OnLoadDataForCustomerOnAfterSetLoadedCustomerFields | (var Record Customer, Integer, var Record Sales Price and Line Disc Buff) | 28 | - | - |
| Integration event | OnLoadDataForCustomerOnAfterCalcLoadedLines | (var Integer, var Integer, var Record Sales Price and Line Disc Buff, var Record Customer, Integer) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
