{"title":"Page 1345 Sales Price and Line Discounts, extension points 29","url":"https://jonas-paprotka.de/ref/page/1345-sales-price-and-line-discounts/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"page","id":1345,"name":"Sales Price and Line Discounts","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/1345-sales-price-and-line-discounts/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/1345-sales-price-and-line-discounts/source/","path":"src/Layers/W1/BaseApp/Sales/Pricing/SalesPriceandLineDiscounts.Page.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:1304":{"name":"Sales Price and Line Disc Buff","url":"https://jonas-paprotka.de/ref/table/1304-sales-price-and-line-disc-buff/"},"page:7002":{"name":"Sales Prices","url":"https://jonas-paprotka.de/ref/page/7002-sales-prices/"},"page:7004":{"name":"Sales Line Discounts","url":"https://jonas-paprotka.de/ref/page/7004-sales-line-discounts/"},"codeunit:7049":{"name":"Feature - Price Calculation","url":"https://jonas-paprotka.de/ref/codeunit/7049-feature-price-calculation/"}},"procs":[{"name":"Show Current Only.OnAction","line":131,"kind":"trigger","steps":[[133,"ext","table",1304,"FilterToActualRecords",0]]},{"name":"Refresh Data.OnAction","line":155,"kind":"trigger","steps":[[160,"call","GetLoadedItemNo",0],[161,"call","GetLoadedItemNo",0],[162,"ext","table",1304,"LoadDataForItem",1],[165,"call","GetLoadedCustNo",0],[166,"ext","table",1304,"LoadDataForCustomer",1]]},{"name":"Set Special Prices.OnAction","line":176,"kind":"trigger","steps":[[180,"call","SetSalesPriceFilters",1],[181,"run","page",7002]]},{"name":"Set Special Discounts.OnAction","line":191,"kind":"trigger","steps":[[195,"call","SetSalesLineDiscountFilters",1],[196,"run","page",7004]]},{"name":"OnInit","line":225,"kind":"trigger","steps":[[229,"ext","codeunit",7049,"FailIfFeatureEnabled",0]]},{"name":"OnNewRecord","line":232,"kind":"trigger","steps":[[234,"call","GetLoadedCustNo",0],[234,"call","GetLoadedItemNo",0],[237,"call","GetLoadedItemNo",0],[238,"call","GetLoadedCustNo",0],[239,"call","GetLoadedPriceGroup",0],[240,"call","GetLoadedDiscGroup",0]]},{"name":"LoadItem","line":270,"kind":"procedure","params":1,"steps":[[277,"ext","table",1304,"LoadDataForItem",1]]},{"name":"LoadCustomer","line":284,"kind":"procedure","params":1,"steps":[[291,"ext","table",1304,"LoadDataForCustomer",1]]},{"name":"RunUpdatePriceIncludesVatAndPrices","line":363,"kind":"procedure","params":1,"steps":[[368,"ext","table",1304,"UpdatePriceIncludesVatAndPrices",2]]}]}