---
title: "Page 8034 Create Usage B. Vend. B. Docs, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/points/
object: https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/
app: "Subscription Billing"
major: 29
source: https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/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/"
---

# Page 8034 Create Usage B. Vend. B. Docs, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/points/

2 procedures and triggers with a step in src/Apps/W1/Subscription Billing/App/Usage Based Billing/Pages/CreateUsageBVendBDocs.Page.al, in source order, read from the text, not from a run.

## OnQueryClosePage

[Line 45](https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/source/#L45), trigger.

- [48](https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/source/#L48) calls `CreateBillingDocumentForContract`

## CreateBillingDocumentForContract

[Line 70](https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/source/#L70), local.

- [80](https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/source/#L80) calls [Codeunit 8062 Billing Proposal](https://jonas-paprotka.de/ref/codeunit/8062-billing-proposal/) `CreateBillingProposalForContract`
- [85](https://jonas-paprotka.de/ref/page/8034-create-usage-b-vend-b-docs/source/#L85) calls [Codeunit 8062 Billing Proposal](https://jonas-paprotka.de/ref/codeunit/8062-billing-proposal/) `CreateBillingDocument`

## Source

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

JOP-AL, 2026-11-20.
