Codeunit 5986 Serv-Amounts Mgt.

Base Application, Microsoft.Service.Posting

src/Layers/W1/BaseApp/Service/Posting/ServAmountsMgt.Codeunit.al13 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

Initialize line 44

  1. 47callsGetCurrency
  2. 50raisesOnAfterInitialize

GetDimensions line 53

  1. 55callsCodeunit 411 Dimension Buffer Management GetDimensions

DivideAmount line 63

  1. 69callsRoundingLineInserted
  2. 72raisesOnBeforeDivideAmount
  3. 84raisesOnDivideAmountOnSalesTaxCalculation
  4. 87raisesOnDivideAmountOnAfterGetTempVATAmountLine
  5. 90raisesOnDivideAmountOnSetVATPercentFromVATAmountLine
  6. 95writesTable 290 VAT Amount Line Insert
  7. 100callsTable 5902 Service Line MaxQtyToInvoice
  8. 103callsTable 5902 Service Line MaxQtyToInvoice
  9. 107callsTable 5902 Service Line CalcChargeableQty
  10. 111raisesOnDivideAmountOnAfterCalcLineAmountExpected
  11. 112callsAmountsDifferByMoreThanRoundingPrecision
  12. 117callsAmountsDifferByMoreThanRoundingPrecision
  13. 148raisesOnDivideAmountOnAfterSetVATAmountLineRemainderToZero
  14. 153callsTable 5902 Service Line CalcLineAmount
  15. 154callsTable 290 VAT Amount Line CalcLineAmount
  16. 155raisesOnDivideAmountOnAfterCalcVATAmountLineRemainder
  17. 157callsTable 5902 Service Line CalcLineAmount
  18. 158callsTable 290 VAT Amount Line CalcLineAmount
  19. 178callsTable 5902 Service Line CalcLineAmount
  20. 184callsTable 5902 Service Line CalcLineAmount
  21. 194callsTable 5902 Service Line CalcLineAmount
  22. 195callsTable 290 VAT Amount Line CalcLineAmount
  23. 196raisesOnDivideAmountOnAfterCalcRemainderVATAmount
  24. 201raisesOnDivideAmountOnAfterCalcServiceLineAmountIncludingVAT
  25. 208raisesOnDivideAmountOnBeforeTempVATAmountLineRemainderModify
  26. 209writesTable 290 VAT Amount Line Modify
  27. 212raisesOnAfterDivideAmount

RoundAmount line 215

  1. 222raisesOnBeforeRoundAmount
  2. 224callsIncrAmount
  3. 225callsIncrement
  4. 225callsCodeunit 5402 Unit of Measure Management WeightRndPrecision
  5. 226callsIncrement
  6. 226callsCodeunit 5402 Unit of Measure Management WeightRndPrecision
  7. 227callsIncrement
  8. 227callsCodeunit 5402 Unit of Measure Management CubageRndPrecision
  9. 228callsIncrement
  10. 230callsIncrement
  11. 238raisesOnRoundAmountOnBeforeCalculateLCYAmountsIsHandled
  12. 251callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  13. 260callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  14. 266callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  15. 272callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  16. 278callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  17. 284callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  18. 290callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  19. 297callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  20. 303raisesOnRoundAmountOnBeforeIncrAmount
  21. 304callsIncrAmount
  22. 307callsIncrement

ReverseAmount line 310

  1. 327raisesOnAfterReverseAmount

InvoiceRounding line 330

  1. 344callsTable 4 Currency InvoiceRoundingDirection
  2. 347raisesOnBeforeInvoiceRoundingAmount
  3. 354raisesOnInvoiceRoundingAmountOnBeforeCheckUseTempData
  4. 359validatesTable 5902 Service Line No.
  5. 359callsTable 92 Customer Posting Group GetInvRoundingAccount
  6. 364validatesTable 5902 Service Line Type
  7. 365validatesTable 5902 Service Line No.
  8. 365callsTable 92 Customer Posting Group GetInvRoundingAccount
  9. 368raisesOnInvoiceRoundingAmountOnAfterCheckUseTempData
  10. 372validatesTable 5902 Service Line Quantity
  11. 374validatesTable 5902 Service Line Unit Price
  12. 376validatesTable 5902 Service Line Unit Price
  13. 382validatesTable 5902 Service Line Amount Including VAT
  14. 389raisesOnAfterInvoiceRounding

IncrAmount line 392, local

  1. 397callsIncrement
  2. 398callsIncrement
  3. 399callsIncrement
  4. 400callsIncrement
  5. 401callsIncrement
  6. 402callsIncrement
  7. 403callsIncrement
  8. 404callsIncrement
  9. 405callsIncrement
  10. 407raisesOnAfterIncrAmount

SumServiceLines line 425

  1. 429callsSumServiceLinesTemp

SumServiceLinesTemp line 434

  1. 444callsInitialize
  2. 447callsSumServiceLines2
  3. 467callsTable 5902 Service Line GetVATPct

SumServiceLines2 line 472, local

  1. 488callsInitialize
  2. 489writesTable 290 VAT Amount Line DeleteAll
  3. 490callsTable 5902 Service Line CalcVATAmountLines
  4. 493callsGetCurrency
  5. 498raisesOnSumServiceLines2OnBeforeSetTypeFiltersIsHandled
  6. 512callsRoundingLineInserted
  7. 539callsDivideAmount
  8. 543callsRoundingLineInserted
  9. 546raisesOnSumServiceLine2OnAfterSetVATPercentFromServLine
  10. 550callsRoundAmount
  11. 556callsCodeunit 6476 Serv. Cost Calculation Mgt. CalcServLineCostLCY
  12. 557callsGetServLineAdjCostLCY
  13. 564writesTable 5902 Service Line Insert
  14. 567raisesOnSumServiceLines2OnBeforeInvoiceRoundingIsHandled
  15. 569callsRoundingLineInserted
  16. 572callsMAX
  17. 575callsInvoiceRounding
  18. 578callsRunOnAfterUpdateInvoiceRounding

GetCurrency line 583, local

  1. 586callsTable 4 Currency InitRoundingPrecision

GetServiceLines line 593

  1. 603callsInitialize
  2. 605callsSumServiceLines2

RunOnAfterUpdateInvoiceRounding line 657, internal

  1. 659raisesOnAfterUpdateInvoiceRounding