{"title":"Report 715 Price List, extension points 29","url":"https://jonas-paprotka.de/ref/report/715-price-list/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":"report","id":715,"name":"Price List","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/715-price-list/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/715-price-list/source/","path":"src/Layers/W1/BaseApp/Inventory/Reports/PriceList.Report.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:37":{"name":"Sales Line","url":"https://jonas-paprotka.de/ref/table/37-sales-line/"},"codeunit:7001":{"name":"Price Calculation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/7001-price-calculation-mgt/"},"codeunit:7009":{"name":"CopyFromToPriceListLine","url":"https://jonas-paprotka.de/ref/codeunit/7009-copyfromtopricelistline/"},"codeunit:7011":{"name":"Price Source List","url":"https://jonas-paprotka.de/ref/codeunit/7011-price-source-list/"},"table:5054":{"name":"Contact Business Relation","url":"https://jonas-paprotka.de/ref/table/5054-contact-business-relation/"},"codeunit:365":{"name":"Format Address","url":"https://jonas-paprotka.de/ref/codeunit/365-format-address/"},"table:7006":{"name":"Price Calculation Setup","url":"https://jonas-paprotka.de/ref/table/7006-price-calculation-setup/"},"codeunit:5402":{"name":"Unit of Measure Management","url":"https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"table:7002":{"name":"Sales Price","url":"https://jonas-paprotka.de/ref/table/7002-sales-price/"},"table:7004":{"name":"Sales Line Discount","url":"https://jonas-paprotka.de/ref/table/7004-sales-line-discount/"},"table:36":{"name":"Sales Header","url":"https://jonas-paprotka.de/ref/table/36-sales-header/"}},"procs":[{"name":"MinimumQty_SalesPrices.OnAfterGetRecord","line":164,"kind":"trigger","steps":[[166,"call","PrintSalesPrice",1]]},{"name":"MinimumQty_SalesPrices.OnPreDataItem","line":169,"kind":"trigger","steps":[[171,"call","PreparePrintSalesPrice",1]]},{"name":"ItemNo_SalesLineDiscs.OnAfterGetRecord","line":195,"kind":"trigger","steps":[[197,"call","PrintSalesDisc",0]]},{"name":"ItemNo_SalesLineDiscs.OnPreDataItem","line":200,"kind":"trigger","steps":[[202,"call","PreparePrintSalesDisc",1]]},{"name":"VATText_Variant_SalesPrices.OnAfterGetRecord","line":230,"kind":"trigger","steps":[[232,"call","PrintSalesPrice",1]]},{"name":"VATText_Variant_SalesPrices.OnPreDataItem","line":235,"kind":"trigger","steps":[[237,"call","PreparePrintSalesPrice",1]]},{"name":"LineDisc_Variant_SalesLineDescs.OnAfterGetRecord","line":259,"kind":"trigger","steps":[[261,"call","PrintSalesDisc",0]]},{"name":"LineDisc_Variant_SalesLineDescs.OnPreDataItem","line":264,"kind":"trigger","steps":[[266,"call","PreparePrintSalesDisc",1]]},{"name":"LineDisc_Variant_SalesLineDescs.OnAfterGetRecord","line":270,"kind":"trigger","steps":[[288,"call","SetCurrencyFactorInHeader",1],[289,"ext","table",37,"GetLineWithPrice",1],[292,"ext","codeunit",7001,"GetHandler",2],[294,"ext","codeunit",7009,"CopyTo",2],[296,"ext","codeunit",7009,"CopyTo",2]]},{"name":"LineDisc_Variant_SalesLineDescs.OnAfterGetRecord","line":300,"kind":"trigger","steps":[[317,"call","SetCurrencyFactorInHeader",1],[318,"ext","table",37,"GetLineWithPrice",1],[321,"ext","codeunit",7001,"GetHandler",2],[323,"ext","codeunit",7009,"CopyTo",2],[325,"ext","codeunit",7009,"CopyTo",2]]},{"name":"LineDisc_Variant_SalesLineDescs.OnPreDataItem","line":328,"kind":"trigger","steps":[[330,"ext","codeunit",7011,"Init",0],[344,"ext","codeunit",7011,"Add",2],[346,"ext","codeunit",7011,"Add",2],[347,"ext","table",5054,"FindByRelation",2],[349,"ext","codeunit",7011,"Add",2],[351,"ext","codeunit",7011,"Add",1],[357,"ext","codeunit",7011,"Add",2],[364,"ext","codeunit",7011,"Add",2],[367,"ext","codeunit",7011,"Add",1]]},{"name":"SalesCodeCtrl.OnValidate","line":452,"kind":"trigger","steps":[[454,"call","ValidateSalesCode",0]]},{"name":"OnOpenPage","line":477,"kind":"trigger","steps":[[479,"call","VerifyPriceSetup",0]]},{"name":"OnPreReport","line":503,"kind":"trigger","steps":[[505,"call","ValidateSalesCode",0],[508,"ext","codeunit",365,"Company",2],[513,"call","SetCurrency",0]]},{"name":"VerifyPriceSetup","line":572,"kind":"procedure","access":"local","params":0,"steps":[[576,"ext","table",7006,"FindDefault",2]]},{"name":"ConvertPricetoUoM","line":592,"kind":"procedure","access":"local","params":2,"steps":[[598,"ext","codeunit",5402,"GetQtyPerUnitOfMeasure",2]]},{"name":"ConvertPriceLCYToFCY","line":606,"kind":"procedure","access":"local","params":2,"steps":[[612,"ext","table",330,"ExchangeRate",2],[614,"ext","table",330,"ExchangeAmtLCYToFCY",4]]},{"name":"PreparePrintSalesPrice","line":621,"kind":"procedure","access":"local","params":1,"steps":[[627,"write",7002,"DeleteAll"],[634,"write",7002,"DeleteAll"]]},{"name":"PrintSalesPrice","line":641,"kind":"procedure","access":"local","params":1,"steps":[[669,"call","ConvertPricetoUoM",2],[670,"call","ConvertPriceLCYToFCY",2]]},{"name":"PreparePrintSalesDisc","line":673,"kind":"procedure","access":"local","params":1,"steps":[[679,"write",7004,"DeleteAll"],[686,"write",7004,"DeleteAll"]]},{"name":"SetCurrencyFactorInHeader","line":712,"kind":"procedure","access":"local","params":1,"steps":[[716,"ext","table",36,"UpdateCurrencyFactor",0]]}]}