Table 1304 Sales Price and Line Disc Buff in 18
- App
- Base Application
- Obsolete
- Pending 16.0. Replaced by the new implementation (V16) of price calculation.
Fields, 21Keys, 1Procedures, 7Events, 13
Versions171819202122232425262728latest
Source29
Fields, 21
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | Code | Code[20] | - |
| 2 | Sales Code | Code[20] | - |
| 3 | Currency Code | Code[10] | - |
| 4 | Starting Date | Date | - |
| 5 | Line Discount % | Decimal | - |
| 6 | Unit Price | Decimal | - |
| 7 | Price Includes VAT | Boolean | - |
| 10 | Allow Invoice Disc. | Boolean | - |
| 11 | VAT Bus. Posting Gr. (Price) | Code[20] | - |
| 13 | Sales Type | Option | - |
| 14 | Minimum Quantity | Decimal | - |
| 15 | Ending Date | Date | - |
| 21 | Type | Enum Sales Line Discount Type | - |
| 1300 | Line Type | Option | - |
| 1301 | Loaded Item No. | Code[20] | - |
| 1302 | Loaded Disc. Group | Code[20] | - |
| 1303 | Loaded Customer No. | Code[20] | - |
| 1304 | Loaded Price Group | Code[20] | - |
| 5400 | Unit of Measure Code | Code[10] | - |
| 5700 | Variant Code | Code[10] | - |
| 7001 | Allow Line Disc. | Boolean | - |
Keys, 1
| Name | Fields | Obsolete |
|---|---|---|
| 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 | - |
Procedures, 7
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| LoadDataForItem | (Record Item) | public | - | |
| LoadDataForCustomer | (Record Customer) | public | - | |
| LoadDataForCustomer | (var Record Customer, Integer) | Integer | public | - |
| FilterToActualRecords | () | public | - | |
| CustHasLines | (Record Customer) | Boolean | public | - |
| ItemHasLines | (Record Item) | Boolean | public | - |
| UpdatePriceIncludesVatAndPrices | (Record Item, Boolean) | public | - |
Events, 13
| Kind | Name | Parameters | Obsolete |
|---|---|---|---|
| Integration event | OnAfterVATPostingSetupGet | (var Record VAT Posting Setup) | - |
| Integration event | OnBeforeDeleteOldRecordVersion | (var Record Sales Price and Line Disc Buff, Record Sales Price and Line Disc Buff, var Boolean) | - |
| Integration event | OnBeforeDeleteOldRecordVersionFromPrices | (Record Sales Price and Line Disc Buff, var Boolean) | - |
| Integration event | OnInsertNewDiscountLineOnBeforeInsert | (var Record Sales Line Discount, Record Sales Price and Line Disc Buff) | - |
| Integration event | OnInsertNewPriceLineOnBeforeInsert | (var Record Sales Price, Record Sales Price and Line Disc Buff) | - |
| Integration event | OnLoadSalesLineDiscountOnBeforeInsert | (var Record Sales Price and Line Disc Buff, Record Sales Line Discount) | - |
| Integration event | OnLoadSalesPriceOnBeforeInsert | (var Record Sales Price and Line Disc Buff, Record Sales Price) | - |
| Integration event | OnLookupCodeCaseElse | () | - |
| Integration event | OnValidateTypeCaseElse | () | - |
| Integration event | OnAfterSetFiltersOnSalesPrice | (var Record Sales Price and Line Disc Buff) | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItem | (var Record Sales Price and Line Disc Buff) | - |
| Integration event | OnAfterSetFiltersOnSalesLineDiscountItemGroup | (var Record Sales Price and Line Disc Buff) | - |
| Integration event | OnAfterFilterToActualRecords | (var Record Sales Price and Line Disc Buff) | - |