{"title":"Codeunit 6840 Release Spend Request, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6840-release-spend-request/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-22","object":{"type":"codeunit","id":6840,"name":"Release Spend Request","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6840-release-spend-request/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6840-release-spend-request/source/","path":"src/Layers/W1/BaseApp/Finance/SpendRequest/ReleaseSpendRequest.Codeunit.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:6840":{"name":"Spend Request","url":"https://jonas-paprotka.de/ref/table/6840-spend-request/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"codeunit:6840":{"name":"Release Spend Request","url":"https://jonas-paprotka.de/ref/codeunit/6840-release-spend-request/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[16,"call","Release",1]]},{"name":"Release","line":28,"kind":"procedure","params":1,"steps":[[33,"event","OnBeforeRelease",1],[41,"write",6840,"Modify"],[43,"event","OnAfterRelease",0]]},{"name":"Reopen","line":50,"kind":"procedure","params":1,"steps":[[55,"event","OnBeforeReopen",1],[63,"ext","table",6840,"GetDocumentTypeDescription",0],[67,"ext","table",6840,"GetDocumentTypeDescription",0],[70,"write",6840,"Modify"],[72,"event","OnAfterReopen",0]]},{"name":"Close","line":79,"kind":"procedure","params":1,"steps":[[85,"event","OnBeforeClose",1],[92,"ext","codeunit",27,"GetResponseOrDefault",2],[92,"ext","table",6840,"GetDocumentTypeDescription",0],[96,"write",6840,"Modify"],[98,"event","OnAfterClose",0]]},{"name":"PerformManualRelease","line":105,"kind":"procedure","params":1,"steps":[[107,"run","codeunit",6840]]},{"name":"PerformManualReopen","line":114,"kind":"procedure","params":1,"steps":[[116,"call","Reopen",1]]},{"name":"PerformManualClose","line":123,"kind":"procedure","params":1,"steps":[[125,"call","Close",1]]}]}