Codeunit 8055 Sub. Contracts Item Management

Subscription Billing, Microsoft.SubscriptionBilling

src/Apps/W1/Subscription Billing/App/Base/Codeunits/SubContractsItemManagement.Codeunit.al23 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SalesLineOnBeforeValidateNo line 32, local

  1. 36callsPreventBillingItem
  2. 42callsPreventServiceCommitmentItem

PurchaseLineOnBeforeValidateEvent line 47, local

  1. 51callsPreventBillingItem

OnBeforePostPurchLine line 55, local

  1. 64callsTable 39 Purchase Line IsLineAttachedToBillingLine

BOMComponentOnAfterValidateNo line 73, local

  1. 76callsPreventBillingItem

PreventServiceCommitmentItem line 79, local

  1. 83callsIsServiceCommitmentItem

PreventBillingItem line 87, local

  1. 91callsGetItem

IsServiceCommitmentItem line 108

  1. 112callsGetItem

IsItemWithServiceCommitments line 118, internal

  1. 122callsGetItem

GetSalesPriceForItem line 131

  1. 140callsCreateTempSalesHeader
  2. 141callsCreateTempSalesLine
  3. 142callsCalculateUnitPrice

CreateTempSalesHeader line 145, internal

  1. 147callsTable 36 Sales Header SetHideValidationDialog
  2. 149validatesTable 36 Sales Header Document Type
  3. 150validatesTable 36 Sales Header Status
  4. 151callsTable 36 Sales Header InitRecord
  5. 153validatesTable 36 Sales Header Sell-to Customer No.
  6. 155validatesTable 36 Sales Header Bill-to Customer No.
  7. 156validatesTable 36 Sales Header Currency Code

CreateTempSalesLine line 165, internal

  1. 168callsTable 37 Sales Line SetHideValidationDialog
  2. 169callsTable 37 Sales Line SuspendStatusCheck
  3. 170validatesTable 37 Sales Line Document Type
  4. 187callsGetQtyPerUnitOfMeasure

CalculateUnitPrice line 206

  1. 210callsTable 37 Sales Line GetPriceCalculationHandler
  2. 211callsTable 37 Sales Line ApplyDiscount
  3. 212callsTable 37 Sales Line ApplyPrice

CreateTempPurchaseHeader line 226, internal

  1. 228callsTable 38 Purchase Header SetHideValidationDialog
  2. 230validatesTable 38 Purchase Header Document Type
  3. 231validatesTable 38 Purchase Header Status
  4. 232callsTable 38 Purchase Header InitRecord
  5. 234validatesTable 38 Purchase Header Pay-to Vendor No.
  6. 235validatesTable 38 Purchase Header Currency Code

CreateTempPurchaseLine line 244, internal

  1. 247callsTable 39 Purchase Line SuspendStatusCheck
  2. 248validatesTable 39 Purchase Line Document Type
  3. 264callsGetQtyPerUnitOfMeasure

CalculateDirectUnitCost line 269

  1. 274callsTable 39 Purchase Line GetPriceCalculationHandler

ErrorIfAllowInvoiceDiscountForPriceListLineForServiceCommitmentItem line 284, local

  1. 294callsTable 27 Item IsServiceCommitmentItem
  2. 295callsTable 27 Item GetDoNotAllowInvoiceDiscountForServiceCommitmentItemErrorText

DisableInvoiceDiscountForServiceCommitmentItemAfterPriceAssetAssigned line 299, local

  1. 301callsDisableInvoiceDiscountForServiceCommitmentItem

DisableInvoiceDiscountForServiceCommitmentItemAfterChangingAmountType line 305, local

  1. 307callsDisableInvoiceDiscountForServiceCommitmentItem

InsertItemServiceCommPackAfterCreateNewItem line 327, local

  1. 329callsInsertItemServCommPackFromItemTemplServCommPack

InsertItemServiceCommPackAfterCreateItemFromTemplate line 333, local

  1. 335callsInsertItemServCommPackFromItemTemplServCommPack

InsertItemServCommPackFromItemTemplServCommPack line 338, local

  1. 345callsInsertItemServiceCommitmentPackage

InsertItemServiceCommitmentPackage line 349, internal

  1. 360callsTable 8058 Item Subscription Package ErrorIfInvoicingItemIsNotServiceCommitmentItemForDiscount
  2. 361validatesTable 8058 Item Subscription Package Price Group
  3. 362writesTable 8058 Item Subscription Package Insert(true)

DisableInvoiceDiscountForServiceCommitmentItem line 366, local

  1. 371callsTable 27 Item IsServiceCommitmentItem