Codeunit 20508 Subc. Price Management

Subcontracting, Microsoft.Manufacturing.Subcontracting

src/Apps/W1/Subcontracting/App/src/Purchase/SubcPriceManagement.Codeunit.al19 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

ApplySubcontractorPricingToProdOrderRouting line 32

  1. 39callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 54callsSetSubcontractorPriceForPriceCalculation
  3. 64callsSetRoutingPriceListCost

ApplySubcontractorPricingToPlanningRouting line 77

  1. 84callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 99callsSetSubcontractorPriceForPriceCalculation
  3. 109callsSetRoutingPriceListCost
  4. 121validatesTable 99000830 Planning Routing Line Direct Unit Cost
  5. 123callsTable 99000830 Planning Routing Line UpdateDatetime

CalcStandardCostOnAfterCalcRtngLineCost line 126

  1. 137callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 154callsCodeunit 20500 Subc. Session State GetRecordID
  3. 158callsCodeunit 20500 Subc. Session State GetRecordID
  4. 165callsCodeunit 20500 Subc. Session State GetDate
  5. 171callsCodeunit 20500 Subc. Session State ClearAllDictionariesForKey
  6. 172callsCodeunit 20500 Subc. Session State ClearAllDictionariesForKey

CalcStandardCostOnAfterCalcRtngLineCost line 175, internal

  1. 186callsCalcRtngCostPerUnit
  2. 192callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CalculateCostTime

CalcRtngCostPerUnit line 203, local

  1. 210callsSetSubcontractorPriceForPriceCalculation
  2. 220callsSetRoutingPriceListCost

GetSubcPriceList line 233

  1. 242callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 258callsGetLine
  3. 260callsSetSubcontractorPriceForPriceCalculation
  4. 270callsSetRoutingPriceListCost

SetRoutingPriceListCost line 292

  1. 304callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 343callsGetUOMPrice
  3. 345callsGetPriceByUOM
  4. 347callsConvertPriceToUOM
  5. 349callsConvertPriceFromCurrency

GetUOMPrice line 358, local

  1. 365callsCodeunit 5402 Unit of Measure Management GetQtyPerUnitOfMeasure

ConvertPriceToUOM line 389

  1. 393callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled

ConvertPriceToCurrency line 404, local

  1. 426callsTable 330 Currency Exchange Rate ExchangeAmtLCYToFCY
  2. 428callsTable 330 Currency Exchange Rate ExchangeRate
  3. 430callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  4. 432callsTable 330 Currency Exchange Rate ExchangeRate
  5. 434callsTable 330 Currency Exchange Rate ExchangeAmtFCYToFCY

ConvertPriceFromCurrency line 441, local

  1. 447callsTable 330 Currency Exchange Rate ExchangeAmtFCYToLCY
  2. 449callsTable 330 Currency Exchange Rate ExchangeRate

GetSubcPriceForReqLine line 452

  1. 466callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 491callsTable 246 Requisition Line GetQuantityForUOM
  3. 495callsGetUOMPrice
  4. 495callsTable 246 Requisition Line GetQuantityBase
  5. 499callsGetProdOrderRtngLine
  6. 501callsGetOperationCostFactor
  7. 504callsGetPriceByUOM
  8. 513callsConvertPriceToUOM
  9. 513callsTable 246 Requisition Line GetQuantityForUOM
  10. 514callsConvertPriceToCurrency
  11. 525callsTable 246 Requisition Line GetQuantityBase

GetAutomaticSubcCostForReqLine line 531, internal

  1. 533callsGetProdOrderRtngLine
  2. 537callsGetNonPriceListDirectCost
  3. 538callsGetSubcPriceForReqLine

IsAutomaticSubcCostForReqLine line 544, internal

  1. 548callsGetAutomaticSubcCostForReqLine
  2. 552callsGetNonPriceListDirectCost

GetSubcPriceForPurchLine line 555

  1. 563callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 571callsTryGetSubcPriceListCostForPurchLine
  3. 573callsGetNonPriceListDirectCost
  4. 577validatesTable 39 Purchase Line Line Discount %

TryGetSubcPriceListCostForPurchLine line 580, local

  1. 590callsCodeunit 20569 Subc. Feature Flag Handler IsSubcontractingEnabled
  2. 598callsGetProdOrderRtngLine
  3. 617callsGetUOMPrice
  4. 617callsGetQuantityBase
  5. 618callsGetOperationCostFactor
  6. 619callsGetPriceByUOM
  7. 625callsConvertPriceToUOM
  8. 625callsTable 39 Purchase Line GetQuantityPerUOM
  9. 626callsConvertPriceToCurrency

GetOperationCostFactor line 630, local

  1. 636callsGetTimeBasedOperationCostFactor

GetTimeBasedOperationCostFactor line 639, local

  1. 648callsGetLine
  2. 652callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CalcQtyAdjdForBOMScrap
  3. 660callsCodeunit 99000758 Mfg. Cost Calculation Mgt. CalculateCostTime

GetNonPriceListDirectCost line 671, local

  1. 676callsGetLine