Page 161 Purchase Statistics

Base Application, Microsoft.Purchases.Document

src/Layers/W1/BaseApp/Purchases/Document/PurchaseStatistics.Page.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

InvDiscountAmount.OnValidate line 47, trigger

  1. 49callsUpdateInvDiscAmount

TotalAmount1.OnValidate line 61, trigger

  1. 63callsUpdateTotalAmount

Vend..OnAfterGetRecord line 168, trigger

  1. 172callsGetVATSpecification
  2. 181callsCalculateTotals

OnOpenPage line 184, trigger

  1. 186callsTable 38 Purchase Header PrepareOpeningDocumentStatistics
  2. 190callsVendInvDiscRecExists
  3. 194raisesOnOpenPageOnBeforeSetEditable
  4. 196callsSetVATSpecification

OnClosePage line 199, trigger

  1. 203callsCodeunit 66 Purch - Calc Disc. By Type ResetRecalculateInvoiceDisc

OnQueryClosePage line 206, trigger

  1. 208callsGetVATSpecification
  2. 209callsTable 290 VAT Amount Line GetAnyLineModified
  3. 210callsUpdateVATOnPurchLines

UpdateHeaderInfo line 243, local

  1. 248callsTable 290 VAT Amount Line GetTotalInvDiscAmount
  2. 251callsTable 290 VAT Amount Line GetTotalVATAmount
  3. 253callsTable 290 VAT Amount Line GetTotalAmountInclVAT
  4. 272callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  5. 276raisesOnAfterUpdateHeaderInfo

GetVATSpecification line 279, local

  1. 282callsTable 290 VAT Amount Line GetAnyLineModified
  2. 283callsUpdateHeaderInfo

UpdateTotalAmount line 294, protected

  1. 298callsCheckAllowInvDisc
  2. 301callsUpdateInvDiscAmount
  3. 306callsUpdateInvDiscAmount

UpdateInvDiscAmount line 309, protected

  1. 313callsCheckAllowInvDisc
  2. 314callsTable 290 VAT Amount Line GetTotalInvDiscBaseAmount
  3. 324callsTable 290 VAT Amount Line SetInvoiceDiscountAmount
  4. 327callsUpdateHeaderInfo
  5. 331writesTable 38 Purchase Header Modify
  6. 332callsUpdateVATOnPurchLines

UpdateVATOnPurchLines line 343

  1. 347callsGetVATSpecification
  2. 348callsTable 290 VAT Amount Line GetAnyLineModified
  3. 349callsTable 39 Purchase Line UpdateVATOnLines
  4. 350callsTable 39 Purchase Line UpdateVATOnLines

CalculateTotals line 369, local

  1. 379callsCodeunit 90 Purch.-Post GetPurchLines
  2. 381callsCodeunit 90 Purch.-Post SumPurchLinesTemp
  3. 384raisesOnCalculateTotalsOnAfterPurchPostSumPurchLinesTemp
  4. 400callsTable 39 Purchase Line CalcVATAmountLines
  5. 401writesTable 290 VAT Amount Line ModifyAll
  6. 402callsSetVATSpecification
  7. 404raisesOnAfterCalculateTotals