{"title":"Codeunit 8034 Sub. Billing Background Jobs, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/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":"codeunit","id":8034,"name":"Sub. Billing Background Jobs","app":"Subscription Billing","url":"https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/","path":"src/Apps/W1/Subscription Billing/App/Billing/Codeunits/SubBillingBackgroundJobs.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":{"codeunit:8711":{"name":"Telemetry","url":"https://jonas-paprotka.de/ref/codeunit/8711-telemetry/"},"table:472":{"name":"Job Queue Entry","url":"https://jonas-paprotka.de/ref/table/472-job-queue-entry/"},"table:8060":{"name":"Billing Template","url":"https://jonas-paprotka.de/ref/table/8060-billing-template/"}},"procs":[{"name":"ScheduleAutomatedBillingJob","line":8,"kind":"procedure","params":1,"steps":[[17,"call","IsAutomatedBillingJobScheduled",1],[18,"call","CreateJobQueueEntryForAutomatedBilling",2],[20,"call","UpdateJobQueueEntryForAutomatedBilling",2],[26,"ext","codeunit",8711,"LogMessage",6]]},{"name":"HandleAutomatedBillingJob","line":30,"kind":"procedure","params":1,"steps":[[34,"call","ScheduleAutomatedBillingJob",1],[36,"call","RemoveAutomatedBillingJob",1]]},{"name":"RemoveAutomatedBillingJob","line":39,"kind":"procedure","params":1,"steps":[[46,"write",472,"Delete"],[48,"write",8060,"Modify"]]},{"name":"CreateJobQueueEntryForAutomatedBilling","line":61,"kind":"procedure","access":"local","params":2,"steps":[[63,"ext","table",472,"ScheduleRecurrentJobQueueEntryWithFrequency",4],[65,"write",8060,"Modify"],[71,"write",472,"Modify"]]},{"name":"UpdateJobQueueEntryForAutomatedBilling","line":74,"kind":"procedure","access":"local","params":2,"steps":[[80,"write",472,"Modify"],[81,"ext","table",472,"IsReadyToStart",0],[82,"ext","table",472,"Restart",0]]}]}