{"title":"Table 4 Currency, extension points 29","url":"https://jonas-paprotka.de/ref/table/4-currency/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":"table","id":4,"name":"Currency","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/4-currency/source/","path":"src/Layers/W1/BaseApp/Finance/Currency/Currency.Table.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":{"codeunit:1281":{"name":"Update Currency Exchange Rates","url":"https://jonas-paprotka.de/ref/codeunit/1281-update-currency-exchange-rates/"},"codeunit:3960":{"name":"Regex","url":"https://jonas-paprotka.de/ref/codeunit/3960-regex/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"table:98":{"name":"General Ledger Setup","url":"https://jonas-paprotka.de/ref/table/98-general-ledger-setup/"},"table:330":{"name":"Currency Exchange Rate","url":"https://jonas-paprotka.de/ref/table/330-currency-exchange-rate/"},"table:15":{"name":"G/L Account","url":"https://jonas-paprotka.de/ref/table/15-g-l-account/"},"table:4":{"name":"Currency","url":"https://jonas-paprotka.de/ref/table/4-currency/"},"table:63":{"name":"Account Use Buffer","url":"https://jonas-paprotka.de/ref/table/63-account-use-buffer/"}},"procs":[{"name":"Code.OnValidate","line":48,"kind":"trigger","steps":[[53,"call","ResolveCurrencySymbol",1],[56,"ext","codeunit",1281,"ShowMissingExchangeRatesNotification",1]]},{"name":"ISO Code.OnValidate","line":89,"kind":"trigger","steps":[[97,"ext","codeunit",3960,"IsMatch",2]]},{"name":"ISO Numeric Code.OnValidate","line":111,"kind":"trigger","steps":[[117,"ext","codeunit",10,"IsNumeric",1]]},{"name":"Unrealized Gains Acc..OnValidate","line":131,"kind":"trigger","steps":[[133,"call","CheckGLAcc",1]]},{"name":"Realized Gains Acc..OnValidate","line":146,"kind":"trigger","steps":[[148,"call","CheckGLAcc",1]]},{"name":"Unrealized Losses Acc..OnValidate","line":161,"kind":"trigger","steps":[[163,"call","CheckGLAcc",1]]},{"name":"Realized Losses Acc..OnValidate","line":176,"kind":"trigger","steps":[[178,"call","CheckGLAcc",1]]},{"name":"Amount Decimal Places.OnValidate","line":271,"kind":"trigger","steps":[[273,"ext","table",98,"CheckDecimalPlacesFormat",1]]},{"name":"Unit-Amount Decimal Places.OnValidate","line":287,"kind":"trigger","steps":[[289,"ext","table",98,"CheckDecimalPlacesFormat",1]]},{"name":"Realized G/L Gains Account.OnValidate","line":566,"kind":"trigger","steps":[[568,"call","CheckGLAcc",1]]},{"name":"Realized G/L Losses Account.OnValidate","line":581,"kind":"trigger","steps":[[583,"call","CheckGLAcc",1]]},{"name":"Symbol.OnValidate","line":727,"kind":"trigger","steps":[[729,"call","CheckDuplicateCurrencySymbol",1],[730,"call","CheckLCYSymbol",1]]},{"name":"OnDelete","line":796,"kind":"trigger","steps":[[818,"write",330,"DeleteAll"]]},{"name":"InitRoundingPrecision","line":886,"kind":"procedure","params":0,"steps":[[902,"event","OnAfterInitRoundingPrecision",0]]},{"name":"CheckGLAcc","line":934,"kind":"procedure","access":"local","params":1,"steps":[[940,"ext","table",15,"CheckGLAcc",0]]},{"name":"GetGainLossAccount","line":995,"kind":"procedure","params":1,"steps":[[1000,"event","OnBeforeGetGainLossAccount",0],[1004,"call","GetUnrealizedLossesAccount",0],[1006,"call","GetUnrealizedGainsAccount",0],[1008,"call","GetRealizedLossesAccount",0],[1010,"call","GetRealizedGainsAccount",0],[1013,"event","OnGetGainLossAccountOnOtherEntryType",1]]},{"name":"ResolveCurrencySymbol","line":1152,"kind":"procedure","params":1,"steps":[[1159,"event","OnBeforeResolveCurrencySymbol",0]]},{"name":"ResolveGLCurrencySymbol","line":1219,"kind":"procedure","params":1,"steps":[[1224,"ext","table",4,"ResolveCurrencySymbol",1],[1227,"ext","table",98,"GetCurrencySymbol",0]]},{"name":"Initialize","line":1248,"kind":"procedure","params":2,"steps":[[1255,"call","InitRoundingPrecision",0]]},{"name":"SuggestSetupAccounts","line":1263,"kind":"procedure","params":0,"steps":[[1269,"call","SuggestGainLossAccounts",1],[1270,"call","SuggestOtherAccounts",1]]},{"name":"SuggestGainLossAccounts","line":1282,"kind":"procedure","access":"local","params":1,"steps":[[1285,"call","SuggestAccount",2],[1287,"call","SuggestAccount",2],[1289,"call","SuggestAccount",2],[1291,"call","SuggestAccount",2]]},{"name":"SuggestOtherAccounts","line":1299,"kind":"procedure","access":"local","params":1,"steps":[[1302,"call","SuggestAccount",2],[1304,"call","SuggestAccount",2],[1306,"call","SuggestAccount",2],[1308,"call","SuggestAccount",2],[1310,"call","SuggestAccount",2],[1312,"call","SuggestAccount",2]]},{"name":"SuggestAccount","line":1321,"kind":"procedure","access":"local","params":2,"steps":[[1333,"ext","table",63,"UpdateBuffer",2]]}]}