Codeunit 7021 Purchase Line - Price
src/Layers/W1/BaseApp/Purchases/Pricing/PurchaseLinePrice.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
SetLine line 33
- 40callsAddSources
SetSources line 50
- 52callsCodeunit 7011 Price Source List Copy
SetPurchaseQtyInvoice line 55
- 60validatesTable 39 Purchase Line Qty. to Invoice
- 60callsTable 39 Purchase Line MaxQtyToInvoice
- 61writesTable 39 Purchase Line Modify(true)
SetPurchaseReceiveQty line 64
- 69validatesTable 39 Purchase Line Qty. to Receive
- 70writesTable 39 Purchase Line Modify(true)
IsPriceUpdateNeeded line 89
IsDiscountAllowed line 105
Verify line 111
- 116raisesOnBeforeVerifyIsHandled
- 120callsTable 39 Purchase Line IsProdOrder
SetAssetSourceForSetup line 127
- 132callsGetAssetType
- 134callsCodeunit 7011 Price Source List GetSourceGroup
SetAssetSource line 137, local
- 140callsGetAssetType
GetAssetType line 145
- 157raisesOnAfterGetAssetType
CopyToBuffer line 160
- 164raisesOnBeforeCopyToBuffer
- 167callsSetAssetSource
- 170callsFillBuffer
- 171callsCodeunit 7008 Price Calculation Buffer Mgt. Set
FillBuffer line 175, local
- 183callsTable 39 Purchase Line GetVATPct
- 211callsGetDocumentDate
- 214validatesTable 7007 Price Calculation Buffer Currency Code
- 223callsIsDiscountAllowed
- 225raisesOnAfterFillBuffer
AddSources line 228, local
- 230callsCodeunit 7011 Price Source List Init
- 231callsAddVendorSources
- 232callsCodeunit 7011 Price Source List AddJobAsSources
- 233raisesOnAfterAddSources
AddVendorSources line 236, local
- 238callsCodeunit 7011 Price Source List Add
- 239callsCodeunit 7011 Price Source List Add
- 240callsCodeunit 7011 Price Source List Add
- 241callsCodeunit 7011 Price Source List Add
GetDocumentDate line 244, local
- 246callsTable 39 Purchase Line GetDateForCalculations
- 247raisesOnAfterGetDocumentDate
SetPrice line 250
- 255raisesOnBeforeSetPriceIsHandled
- 266callsTable 7001 Price List Line IsRealLine
- 275raisesOnAfterSetPrice
ValidatePrice line 278
- 281validatesTable 39 Purchase Line Line Discount %
- 283validatesTable 39 Purchase Line Direct Unit Cost
- 285raisesOnAfterValidatePrice
Update line 288
- 293raisesOnAfterUpdate