Codeunit 8004 Post Sub. Contract Renewal

Subscription Billing, Microsoft.SubscriptionBilling

src/Apps/W1/Subscription Billing/App/Contract Renewal/Codeunits/PostSubContractRenewal.Codeunit.al16 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 12, trigger

  1. 14callsRunCheck
  2. 15callsPost

RunCheck line 18, local

  1. 27callsCodeunit 8003 Sub. Contract Renewal Mgt. IsContractRenewal
  2. 30callsTable 18 Customer CheckBlockedCustOnDocs
  3. 33callsTable 18 Customer CheckBlockedCustOnDocs
  4. 36callsCodeunit 8003 Sub. Contract Renewal Mgt. FilterSalesLinesWithTypeServiceObject
  5. 40callsTable 8068 Sales Subscription Line FilterOnSalesLine

Post line 50, local

  1. 55callsCodeunit 8003 Sub. Contract Renewal Mgt. FilterSalesLinesWithTypeServiceObject
  2. 59callsCreatePlannedServiceCommitments
  3. 60callsProcessPlannedServiceCommitment
  4. 61callsSetQuantites

CreatePlannedServiceCommitments line 66, local

  1. 71callsTable 8068 Sales Subscription Line FilterOnSalesLine
  2. 74callsInsertPlannedServiceCommitmentFromSalesServiceCommitment

InsertPlannedServiceCommitmentFromSalesServiceCommitment line 78, local

  1. 86raisesOnBeforeInsertPlannedSubscriptionLineFromSalesSubscriptionLineIsHandled
  2. 99validatesTable 8059 Subscription Line Subscription Line Start Date
  3. 102validatesTable 8059 Subscription Line Subscription Line Start Date
  4. 104validatesTable 8059 Subscription Line Subscription Line Start Date
  5. 109callsTable 8059 Subscription Line CopyFromSalesServiceCommitment
  6. 110callsTable 8059 Subscription Line CalculateSubscriptionDates
  7. 111callsTable 8059 Subscription Line SetCurrencyData
  8. 112callsTable 8059 Subscription Line SetLCYFields
  9. 113callsTable 8059 Subscription Line SetDefaultDimensions
  10. 114callsTable 8059 Subscription Line GetCombinedDimensionSetID
  11. 122writesTable 8002 Planned Subscription Line Insert
  12. 124raisesOnAfterInsertPlannedSubscriptionLineFromSalesSubscriptionLine

ProcessPlannedServCommsForPostedSalesInvoice line 141, internal

  1. 147callsDropPlannedServiceCommitmentBuffer
  2. 157callsCreatePlannedServiceCommitmentBuffer
  3. 161callsProcessPlannedServiceCommitmentBuffer

ProcessPlannedServCommsForPostedSalesCreditMemo line 164, internal

  1. 178callsTable 8062 Cust. Sub. Contract Line GetServiceCommitment
  2. 179callsTable 8059 Subscription Line ServiceCommitmentArchiveExistsForPeriodExists
  3. 180callsCreatePlannedServiceCommitmentFromServiceCommitment
  4. 181callsTable 8059 Subscription Line UpdateServiceCommitmentFromServiceCommitmentArchive

ProcessPlannedServCommsForPostedPurchaseInvoice line 188, internal

  1. 194callsDropPlannedServiceCommitmentBuffer
  2. 204callsCreatePlannedServiceCommitmentBuffer
  3. 208callsProcessPlannedServiceCommitmentBuffer

ProcessPlannedServCommsForPostedPurchaseCreditMemo line 211, internal

  1. 225callsTable 8065 Vend. Sub. Contract Line GetServiceCommitment
  2. 226callsTable 8059 Subscription Line ServiceCommitmentArchiveExistsForPeriodExists
  3. 227callsCreatePlannedServiceCommitmentFromServiceCommitment
  4. 228callsTable 8059 Subscription Line UpdateServiceCommitmentFromServiceCommitmentArchive

DropPlannedServiceCommitmentBuffer line 235, local

  1. 239writesTable 8002 Planned Subscription Line DeleteAll

CreatePlannedServiceCommitmentBuffer line 242, local

  1. 247writesTable 8002 Planned Subscription Line Insert

CreatePlannedServiceCommitmentFromServiceCommitment line 251, local

  1. 259writesTable 8002 Planned Subscription Line Insert

ProcessPlannedServiceCommitmentBuffer line 262, local

  1. 270callsProcessPlannedServiceCommitment

ProcessPlannedServiceCommitment line 278

  1. 287raisesOnBeforeProcessPlannedSubscriptionLineIsHandled
  2. 292callsCheckPerformServiceCommitmentUpdate
  3. 301callsTable 8059 Subscription Line SetLCYFields
  4. 308raisesOnBeforeUpdateSubscriptionLineFromPlannedSubscriptionLine
  5. 310callsTable 8059 Subscription Line ArchiveServiceCommitment
  6. 311writesTable 8059 Subscription Line Modify
  7. 312writesTable 8002 Planned Subscription Line Delete(true)

CheckPerformServiceCommitmentUpdate line 316, local

  1. 330callsTable 8059 Subscription Line SetPerformUpdateForContractPriceUpdate
  2. 332raisesOnCheckPerformSubscriptionLineUpdate

SetQuantites line 336, local

  1. 348writesTable 37 Sales Line Modify