Codeunit 7049 Feature - Price Calculation

Base Application, Microsoft.Pricing.Calculation

src/Layers/W1/BaseApp/Pricing/Calculation/FeaturePriceCalculation.Codeunit.al17 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

IsDataUpdateRequired line 30

  1. 32callsCountRecords

ReviewData line 36

  1. 42callsPage 2845 Data Upgrade Overview Set

AfterUpdate line 46

  1. 48runsCodeunit 7001 Price Calculation Mgt.

UpdateData line 51

  1. 64callsFillPriceListNos
  2. 65callsCreateDefaultPriceLists
  3. 68callsCodeunit 7009 CopyFromToPriceListLine SetGenerateHeader
  4. 70callsAdjustCRMConnectionSetup
  5. 72callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  6. 73callsCodeunit 2614 Feature Data Update Mgt. LogTask
  7. 76callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  8. 77callsCodeunit 2614 Feature Data Update Mgt. LogTask
  9. 80callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  10. 81callsCodeunit 2614 Feature Data Update Mgt. LogTask
  11. 84callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  12. 85callsCodeunit 2614 Feature Data Update Mgt. LogTask
  13. 88callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  14. 89callsCodeunit 2614 Feature Data Update Mgt. LogTask
  15. 92callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  16. 93callsCodeunit 2614 Feature Data Update Mgt. LogTask
  17. 96callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  18. 97callsCodeunit 2614 Feature Data Update Mgt. LogTask
  19. 100callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  20. 101callsCodeunit 2614 Feature Data Update Mgt. LogTask
  21. 104callsCodeunit 7009 CopyFromToPriceListLine CopyFrom
  22. 105callsCodeunit 2614 Feature Data Update Mgt. LogTask
  23. 107raisesOnUpdateDataOnBeforeUpdateAmountTypeOnHeaders
  24. 109callsUpdateAmountTypeOnHeaders

GetTaskDescription line 112

  1. 114callsGetListOfTables

AdjustCRMConnectionSetup line 141, local

  1. 150writesTable 5331 CRM Integration Record DeleteAll
  2. 151callsCodeunit 5330 CRM Integration Management IsCRMIntegrationEnabled
  3. 152callsRemoveIntegrationTableMapping
  4. 153callsRemoveIntegrationTableMapping
  5. 154callsCodeunit 5334 CRM Setup Defaults ResetExtendedPriceListConfiguration
  6. 156writesTable 5373 CRM Full Synch. Review Line Delete
  7. 158writesTable 5373 CRM Full Synch. Review Line Delete

CountRecords line 162, local

  1. 176writesTable 265 Document Entry DeleteAll
  2. 179callsInsertDocumentEntry
  3. 180callsInsertDocumentEntry
  4. 181callsInsertDocumentEntry
  5. 182callsInsertDocumentEntry
  6. 183callsInsertDocumentEntry
  7. 184callsInsertDocumentEntry
  8. 185callsInsertDocumentEntry
  9. 186callsInsertDocumentEntry
  10. 187callsInsertDocumentEntry
  11. 188callsInsertDocumentEntry
  12. 190raisesOnAfterCountRecords

FillPriceListNos line 193, local

  1. 201callsGetPriceListNoSeries
  2. 202writesTable 311 Sales & Receivables Setup Modify
  3. 206callsGetPriceListNoSeries
  4. 207writesTable 312 Purchases & Payables Setup Modify
  5. 211callsGetPriceListNoSeries
  6. 212writesTable 315 Jobs Setup Modify

GetPriceListNoSeries line 216

  1. 229writesTable 308 No. Series Insert
  2. 234validatesTable 309 No. Series Line Starting No.
  3. 235validatesTable 309 No. Series Line Ending No.
  4. 236validatesTable 309 No. Series Line Increment-by No.
  5. 237writesTable 309 No. Series Line Insert(true)

GetListOfTables line 241, local

  1. 259raisesOnAfterGetListOfTables

InsertDocumentEntry line 262, local

  1. 272writesTable 265 Document Entry Insert

RemoveIntegrationTableMapping line 275, local

  1. 288writesTable 472 Job Queue Entry DeleteAll(true)
  2. 289writesTable 5335 Integration Table Mapping Delete(true)

CreateDefaultPriceLists line 293, local

  1. 295callsDefineDefaultPriceList
  2. 296callsDefineDefaultPriceList
  3. 297callsDefineDefaultPriceList
  4. 298callsDefineDefaultPriceList

UpdateAmountTypeOnHeaders line 301, local

  1. 308callsTable 7000 Price List Header UpdateAmountType

DefineDefaultPriceList line 312

  1. 316callsCodeunit 7017 Price List Management DefineDefaultPriceList

FailIfFeatureDisabled line 319

  1. 323callsCodeunit 7001 Price Calculation Mgt. IsExtendedPriceCalculationEnabled

FailIfFeatureEnabled line 327

  1. 331callsCodeunit 7001 Price Calculation Mgt. IsExtendedPriceCalculationEnabled