---
title: "Codeunit 8034 Sub. Billing Background Jobs, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/points/
object: https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 8034 Sub. Billing Background Jobs, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/points/

5 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Billing/Codeunits/SubBillingBackgroundJobs.Codeunit.al, in source order, read from the text, not from a run.

## ScheduleAutomatedBillingJob

[Line 8](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L8).

- [17](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L17) calls `IsAutomatedBillingJobScheduled`
- [18](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L18) calls `CreateJobQueueEntryForAutomatedBilling`
- [20](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L20) calls `UpdateJobQueueEntryForAutomatedBilling`
- [26](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L26) calls [Codeunit 8711 Telemetry](https://jonas-paprotka.de/ref/codeunit/8711-telemetry/) `LogMessage`

## HandleAutomatedBillingJob

[Line 30](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L30).

- [34](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L34) calls `ScheduleAutomatedBillingJob`
- [36](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L36) calls `RemoveAutomatedBillingJob`

## RemoveAutomatedBillingJob

[Line 39](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L39).

- [46](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L46) writes [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) Delete
- [48](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L48) writes [Table 8060 Billing Template](https://jonas-paprotka.de/ref/table/8060-billing-template/) Modify

## CreateJobQueueEntryForAutomatedBilling

[Line 61](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L61), local.

- [63](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L63) calls [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) `ScheduleRecurrentJobQueueEntryWithFrequency`
- [65](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L65) writes [Table 8060 Billing Template](https://jonas-paprotka.de/ref/table/8060-billing-template/) Modify
- [71](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L71) writes [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) Modify

## UpdateJobQueueEntryForAutomatedBilling

[Line 74](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L74), local.

- [80](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L80) writes [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) Modify
- [81](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L81) calls [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) `IsReadyToStart`
- [82](https://jonas-paprotka.de/ref/codeunit/8034-sub-billing-background-jobs/source/#L82) calls [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) `Restart`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
