Codeunit 8029 Usage Based Billing Mgmt.

Subscription Billing, Microsoft.SubscriptionBilling

src/Apps/W1/Subscription Billing/App/Usage Based Billing/Codeunits/UsageBasedBillingMgmt.Codeunit.al12 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

ConnectSubscriptionsToServiceObjects line 22

  1. 41callsTestUsageDataSubscription
  2. 43callsAskToProceedIfServiceObjectIsAssignedToMultipleSubscriptions
  3. 44callsErrorIfServiceObjectItemIsBlocked
  4. 50callsConnectSubscriptionToServiceObjectWithNewServiceCommitments
  5. 52callsConnectSubscriptionToServiceObjectWithExistingServiceCommitments
  6. 55writesTable 8016 Usage Data Supp. Subscription Modify
  7. 56callsTable 8016 Usage Data Supp. Subscription UpdateSubscriptionHeaderNoInImportedData

DisconnectServiceCommitmentFromSubscription line 62

  1. 69callsCodeunit 27 Confirm Management GetResponse
  2. 70callsResetSupplierReferenceEntryNoForServiceObject
  3. 71callsTable 8016 Usage Data Supp. Subscription ResetServiceObjectAndServiceCommitment

ResetSupplierReferenceEntryNoForServiceObject line 75, local

  1. 81writesTable 8059 Subscription Line ModifyAll

ConnectSubscriptionToServiceObjectWithExistingServiceCommitments line 84, internal

  1. 93callsCheckAndConnectServiceCommitmentToUsageDataSubscription
  2. 96callsTable 8016 Usage Data Supp. Subscription SetErrorReason
  3. 100validatesTable 8016 Usage Data Supp. Subscription Subscription Header No.
  4. 101validatesTable 8016 Usage Data Supp. Subscription Subscription Line Entry No.
  5. 102validatesTable 8016 Usage Data Supp. Subscription Processing Status

CheckAndConnectServiceCommitmentToUsageDataSubscription line 106, local

  1. 109callsTable 8016 Usage Data Supp. Subscription SetErrorReason
  2. 110writesTable 8016 Usage Data Supp. Subscription Modify
  3. 114writesTable 8059 Subscription Line Modify

CloseExistingServiceCommitments line 118, local

  1. 125writesTable 8059 Subscription Line Modify
  2. 126callsTable 8059 Subscription Line IsPartnerVendor
  3. 129callsTable 8057 Subscription Header UpdateServicesDates

CheckIfServiceCommPackageHasUsageBasedReference line 149, local

  1. 157callsTable 8055 Subscription Package FilterCodeOnPackageFilter
  2. 157callsTable 8058 Item Subscription Package GetAllStandardPackageFilterForItem
  3. 163callsTable 8056 Subscription Package Line IsPartnerVendor
  4. 164callsTable 8016 Usage Data Supp. Subscription SetErrorReason
  5. 172callsTable 8016 Usage Data Supp. Subscription SetErrorReason

CheckIfUsageDataSubscriptionIsSetToNewServiceCommitments line 177, local

  1. 180callsTable 8016 Usage Data Supp. Subscription SetErrorReason

TestUsageDataSubscription line 183, local

  1. 186callsCheckIfUsageDataSubscriptionIsSetToNewServiceCommitments
  2. 189callsTable 8016 Usage Data Supp. Subscription SetErrorReason

AskToProceedIfServiceObjectIsAssignedToMultipleSubscriptions line 192, local

  1. 201callsCodeunit 27 Confirm Management GetResponse

ErrorIfServiceObjectItemIsBlocked line 205, local

  1. 214callsTable 8016 Usage Data Supp. Subscription SetErrorReason

ConnectSubscriptionToServiceObjectWithNewServiceCommitments line 217

  1. 234callsFindCustomerServiceCommitmentFromServiceObject
  2. 237callsTable 8016 Usage Data Supp. Subscription SetErrorReason
  3. 241callsAssignVendorContractNoFromServiceCommitment
  4. 244callsCheckIfServiceCommPackageHasUsageBasedReference
  5. 247callsCloseExistingServiceCommitments
  6. 252callsCodeunit 8075 Extend Sub. Contract Mgt. ExtendContract
  7. 255validatesTable 8016 Usage Data Supp. Subscription Subscription Header No.
  8. 256validatesTable 8016 Usage Data Supp. Subscription Subscription Line Entry No.
  9. 257validatesTable 8016 Usage Data Supp. Subscription Processing Status