Codeunit 7026 Service Line - Price

Base Application, Microsoft.Service.Pricing

src/Layers/W1/BaseApp/Service/Pricing/ServiceLinePrice.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SetLine line 29

  1. 34callsAddSources

SetSources line 44

  1. 46callsCodeunit 7011 Price Source List Copy

IsPriceUpdateNeeded line 65

  1. 73raisesOnAfterIsPriceUpdateNeeded

IsDiscountAllowed line 76

  1. 79raisesOnAfterIsDiscountAllowed

SetAssetSourceForSetup line 89

  1. 94callsGetAssetType
  2. 96callsCodeunit 7011 Price Source List GetSourceGroup

SetAssetSource line 99, local

  1. 102callsGetAssetType

GetAssetType line 107

  1. 121raisesOnAfterGetAssetType

CopyToBuffer line 124

  1. 129callsSetAssetSource
  2. 132callsFillBuffer
  3. 133callsCodeunit 7008 Price Calculation Buffer Mgt. Set

FillBuffer line 137, local

  1. 146callsTable 5902 Service Line GetVATPct
  2. 176callsGetDocumentDate
  3. 179validatesTable 7007 Price Calculation Buffer Currency Code
  4. 192callsIsDiscountAllowed
  5. 194raisesOnAfterFillBuffer

AddSources line 197, local

  1. 199callsCodeunit 7011 Price Source List Init
  2. 202callsAddCustomerSources
  3. 204callsCodeunit 7011 Price Source List Add
  4. 206callsCodeunit 7011 Price Source List AddJobAsSources
  5. 207raisesOnAfterAddSources

AddCustomerSources line 210, local

  1. 212callsCodeunit 7011 Price Source List Add
  2. 213callsCodeunit 7011 Price Source List Add
  3. 214callsCodeunit 7011 Price Source List Add
  4. 215callsCodeunit 7011 Price Source List Add
  5. 216callsCodeunit 7011 Price Source List Add

GetDocumentDate line 219, local

  1. 232raisesOnAfterGetDocumentDate

SetPrice line 235

  1. 240raisesOnBeforeSetPriceIsHandled
  2. 250callsTable 7001 Price List Line IsRealLine
  3. 274raisesOnAfterSetPrice

ValidatePrice line 277

  1. 283validatesTable 5902 Service Line Line Discount %
  2. 288validatesTable 5902 Service Line Unit Price
  3. 290validatesTable 5902 Service Line Unit Cost (LCY)
  4. 294raisesOnAfterValidatePrice

Update line 297

  1. 302raisesOnAfterUpdate