{"title":"Page 398 Sales Credit Memo Statistics, extension points 29","url":"https://jonas-paprotka.de/ref/page/398-sales-credit-memo-statistics/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":398,"name":"Sales Credit Memo Statistics","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/398-sales-credit-memo-statistics/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/398-sales-credit-memo-statistics/source/","path":"src/Layers/W1/BaseApp/Sales/History/SalesCreditMemoStatistics.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:114":{"name":"Sales Cr.Memo Header","url":"https://jonas-paprotka.de/ref/table/114-sales-cr-memo-header/"},"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"table:115":{"name":"Sales Cr.Memo Line","url":"https://jonas-paprotka.de/ref/table/115-sales-cr-memo-line/"},"codeunit:5836":{"name":"Cost Calculation Management","url":"https://jonas-paprotka.de/ref/codeunit/5836-cost-calculation-management/"}},"procs":[{"name":"TotalAdjCostLCY - CostLCY.OnDrillDown","line":175,"kind":"trigger","steps":[[177,"ext","table",114,"LookupAdjmtValueEntries",0]]},{"name":"CreditLimitLCYExpendedPct.OnAfterGetRecord","line":223,"kind":"trigger","steps":[[227,"ext","table",4,"Initialize",1],[229,"call","CalculateTotals",0],[243,"ext","table",330,"ExchangeAmtFCYToLCY",4],[246,"event","OnAfterGetRecordOnBeforeCalculateProfitLCY",0],[254,"event","OnAfterGetRecordOnAfterCalculateAdjProfitLCY",0],[275,"ext","table",115,"CalcVATAmountLines",2]]},{"name":"CalculateTotals","line":315,"kind":"procedure","access":"local","params":0,"steps":[[321,"event","OnBeforeCalculateTotals",1],[328,"event","OnCalculateTotalsOnAfterSalesCrMemoLineSetFilters",0],[334,"ext","table",115,"GetVATPct",0],[346,"ext","table",115,"GetVATPct",0],[350,"ext","codeunit",5836,"CalcSalesCrMemoLineCostLCY",1],[350,"ext","codeunit",5836,"CalcSalesCrMemoLineNonInvtblCostAmt",1],[352,"event","OnCalculateTotalsOnAfterAddLineTotals",0]]}]}