---
title: "Codeunit 5506 Graph Mgt - Sales Quote Buffer, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/points/
object: https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/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 5506 Graph Mgt - Sales Quote Buffer, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/points/

31 procedures and triggers with a step in src/Layers/W1/BaseApp/Integration/Graph/GraphMgtSalesQuoteBuffer.Codeunit.al, in source order, read from the text, not from a run.

## OnAfterInsertSalesHeader

[Line 33](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L33), local.

- [35](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L35) calls `CheckValidRecord`
- [35](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L35) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [38](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L38) calls `CheckUpdatesDisabled`
- [41](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L41) calls `InsertOrModifyFromSalesHeader`

## OnAfterModifySalesHeader

[Line 45](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L45), local.

- [47](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L47) calls `CheckValidRecord`
- [47](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L47) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [50](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L50) calls `CheckUpdatesDisabled`
- [53](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L53) calls `InsertOrModifyFromSalesHeader`

## OnAfterDeleteSalesHeader

[Line 57](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L57), local.

- [61](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L61) calls `CheckValidRecord`
- [61](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L61) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [64](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L64) calls `CheckUpdatesDisabled`
- [70](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L70) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Delete

## OnAfterResetRecalculateInvoiceDisc

[Line 74](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L74), local.

- [76](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L76) calls `CheckValidRecord`
- [76](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L76) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [79](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L79) calls `CheckUpdatesDisabled`
- [82](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L82) calls `InsertOrModifyFromSalesHeader`

## OnAfterInsertSalesLine

[Line 86](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L86), local.

- [88](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L88) calls `CheckValidLineRecord`
- [91](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L91) calls `CheckUpdatesDisabled`
- [94](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L94) calls `ModifyTotalsSalesLine`

## OnAfterModifySalesLine

[Line 98](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L98), local.

- [100](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L100) calls `CheckValidLineRecord`
- [103](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L103) calls `CheckUpdatesDisabled`
- [106](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L106) calls `ModifyTotalsSalesLine`

## OnAfterDeleteSalesLine

[Line 110](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L110), local.

- [114](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L114) calls `CheckValidLineRecord`
- [117](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L117) calls `CheckUpdatesDisabled`
- [125](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L125) calls `ModifyTotalsSalesLine`
- [132](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L132) calls `BlankTotals`

## OnAfterCalculateSalesDiscountOnSalesHeader

[Line 136](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L136), local.

- [138](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L138) calls `CheckValidRecord`
- [138](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L138) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [141](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L141) calls `CheckUpdatesDisabled`
- [144](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L144) calls `InsertOrModifyFromSalesHeader`

## PropagateOnInsert

[Line 147](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L147).

- [154](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L154) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [162](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L162) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `TransferFieldsWithValidate`
- [163](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L163) calls `SetStatusOptionToSalesHeader`
- [169](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L169) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CopySellToAddressToBillToAddress`
- [170](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L170) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetDefaultPaymentServices`
- [171](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L171) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify(true)

## PropagateOnModify

[Line 177](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L177).

- [184](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L184) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [193](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L193) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `TransferFieldsWithValidate`
- [194](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L194) calls `SetStatusOptionToSalesHeader`
- [197](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L197) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `CopySellToAddressToBillToAddress`
- [200](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L200) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Modify(true)
- [202](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L202) calls [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) `SetDefaultPaymentServices`
- [203](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L203) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Insert(true)

## PropagateOnDelete

[Line 207](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L207).

- [211](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L211) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`
- [215](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L215) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `CleanAggregateWithoutParent`
- [219](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L219) writes [Table 36 Sales Header](https://jonas-paprotka.de/ref/table/36-sales-header/) Delete(true)

## UpdateBufferTableRecords

[Line 222](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L222).

- [232](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L232) calls `InsertOrModifyFromSalesHeader`
- [233](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L233) calls [Codeunit 9994 API Data Upgrade](https://jonas-paprotka.de/ref/codeunit/9994-api-data-upgrade/) `CountRecordsAndCommit`
- [239](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L239) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Delete(true)
- [240](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L240) calls [Codeunit 9994 API Data Upgrade](https://jonas-paprotka.de/ref/codeunit/9994-api-data-upgrade/) `CountRecordsAndCommit`

## InsertOrModifyFromSalesHeader

[Line 245](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L245), local.

- [255](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L255) calls `SetStatusOptionFromSalesHeader`
- [256](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L256) calls `AssignTotalsFromSalesHeader`
- [257](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L257) calls [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) `UpdateReferencedRecordIds`
- [260](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L260) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Modify(true)
- [262](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L262) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Insert(true)

## AssignTotalsFromSalesHeader

[Line 318](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L318), local.

- [326](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L326) calls `BlankTotals`
- [330](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L330) calls `AssignTotalsFromSalesLine`

## AssignTotalsFromSalesLine

[Line 333](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L333), local.

- [345](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L345) calls [Codeunit 57 Document Totals](https://jonas-paprotka.de/ref/codeunit/57-document-totals/) `CalculateSalesTotals`

## BlankTotals

[Line 354](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L354), local.

- [361](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L361) calls `CheckUpdatesDisabled`
- [370](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L370) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Modify

## CheckValidLineRecord

[Line 384](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L384), local.

- [386](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L386) calls [Codeunit 5465 Graph Mgt - General Tools](https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/) `IsApiEnabled`

## ModifyTotalsSalesLine

[Line 395](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L395), local.

- [409](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L409) calls `CheckUpdatesDisabled`
- [412](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L412) calls `AssignTotalsFromSalesLine`
- [413](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L413) writes [Table 5505 Sales Quote Entity Buffer](https://jonas-paprotka.de/ref/table/5505-sales-quote-entity-buffer/) Modify(true)

## TransferSalesInvoiceLineAggregateToSalesLine

[Line 416](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L416), local.

- [424](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L424) calls [Codeunit 10 Type Helper](https://jonas-paprotka.de/ref/codeunit/10-type-helper/) `TransferFieldsWithValidate`

## RedistributeInvoiceDiscounts

[Line 429](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L429).

- [437](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L437) runs [Codeunit 56 Sales - Calc Discount By Type](https://jonas-paprotka.de/ref/codeunit/56-sales-calc-discount-by-type/)

## LoadLines

[Line 442](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L442).

- [453](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L453) calls `LoadSalesLines`

## LoadSalesLines

[Line 456](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L456), local.

- [465](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L465) calls `TransferFromSalesLine`
- [466](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L466) writes [Table 5476 Sales Invoice Line Aggregate](https://jonas-paprotka.de/ref/table/5476-sales-invoice-line-aggregate/) Insert(true)

## TransferFromSalesLine

[Line 470](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L470), local.

- [477](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L477) calls [Codeunit 5477 Sales Invoice Aggregator](https://jonas-paprotka.de/ref/codeunit/5477-sales-invoice-aggregator/) `GetIdFromDocumentIdAndSequence`
- [480](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L480) calls [Codeunit 5477 Sales Invoice Aggregator](https://jonas-paprotka.de/ref/codeunit/5477-sales-invoice-aggregator/) `SetTaxGroupIdAndCode`
- [487](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L487) calls [Table 5476 Sales Invoice Line Aggregate](https://jonas-paprotka.de/ref/table/5476-sales-invoice-line-aggregate/) `SetDiscountValue`
- [488](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L488) calls [Table 5476 Sales Invoice Line Aggregate](https://jonas-paprotka.de/ref/table/5476-sales-invoice-line-aggregate/) `UpdateReferencedRecordIds`
- [489](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L489) calls `UpdateLineAmountsFromSalesLine`
- [490](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L490) calls [Codeunit 5477 Sales Invoice Aggregator](https://jonas-paprotka.de/ref/codeunit/5477-sales-invoice-aggregator/) `SetItemVariantId`

## PropagateInsertLine

[Line 493](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L493).

- [499](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L499) calls `VerifyCRUDIsPossibleForLine`
- [517](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L517) calls `TransferSalesInvoiceLineAggregateToSalesLine`
- [518](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L518) writes [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) Insert(true)
- [521](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L521) calls `RedistributeInvoiceDiscounts`
- [524](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L524) calls `TransferFromSalesLine`

## PropagateModifyLine

[Line 527](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L527).

- [532](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L532) calls `VerifyCRUDIsPossibleForLine`
- [537](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L537) calls `TransferSalesInvoiceLineAggregateToSalesLine`
- [539](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L539) writes [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) Modify(true)
- [542](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L542) calls `RedistributeInvoiceDiscounts`
- [545](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L545) calls `TransferFromSalesLine`

## PropagateDeleteLine

[Line 548](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L548).

- [553](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L553) calls `VerifyCRUDIsPossibleForLine`
- [556](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L556) writes [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) Delete(true)
- [558](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L558) calls `RedistributeInvoiceDiscounts`

## PropagateMultipleLinesUpdate

[Line 562](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L562).

- [569](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L569) calls `VerifyCRUDIsPossibleForLine`
- [570](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L570) calls `GetFieldSetBufferWithAllFieldsSet`
- [575](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L575) writes [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) DeleteAll(true)
- [579](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L579) calls `LoadLines`
- [587](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L587) calls `PropagateDeleteLine`
- [597](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L597) calls `PropagateInsertLine`
- [599](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L599) calls `PropagateModifyLine`

## GetFieldSetBufferWithAllFieldsSet

[Line 605](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L605).

- [610](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L610) calls `RegisterFieldSet`
- [611](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L611) calls `RegisterFieldSet`
- [612](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L612) calls `RegisterFieldSet`
- [613](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L613) calls `RegisterFieldSet`
- [614](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L614) calls `RegisterFieldSet`
- [615](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L615) calls `RegisterFieldSet`
- [617](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L617) calls [Table 98 General Ledger Setup](https://jonas-paprotka.de/ref/table/98-general-ledger-setup/) `UseVat`
- [618](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L618) calls `RegisterFieldSet`
- [620](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L620) calls `RegisterFieldSet`
- [622](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L622) calls `RegisterFieldSet`
- [623](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L623) calls `RegisterFieldSet`
- [624](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L624) calls `RegisterFieldSet`
- [625](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L625) calls `RegisterFieldSet`
- [626](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L626) calls `RegisterFieldSet`
- [627](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L627) calls `RegisterFieldSet`
- [628](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L628) calls `RegisterFieldSet`

## RegisterFieldSet

[Line 631](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L631), local.

- [643](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L643) writes [Table 8450 Field Buffer](https://jonas-paprotka.de/ref/table/8450-field-buffer/) Insert

## UpdateLineAmountsFromSalesLine

[Line 669](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L669), local.

- [671](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L671) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `GetLineAmountExclVAT`
- [672](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L672) calls [Table 37 Sales Line](https://jonas-paprotka.de/ref/table/37-sales-line/) `GetLineAmountInclVAT`
- [675](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L675) calls `UpdateInvoiceDiscountAmount`

## CheckUpdatesDisabled

[Line 687](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L687), local.

- [692](https://jonas-paprotka.de/ref/codeunit/5506-graph-mgt-sales-quote-buffer/source/#L692) calls [Codeunit 5532 Disable Aggregate Table Update](https://jonas-paprotka.de/ref/codeunit/5532-disable-aggregate-table-update/) `OnGetAggregateTablesUpdateEnabled`

## Source

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

JOP-AL, 2026-11-20.
