Codeunit 8033 Generic Connector Processing

Subscription Billing, Microsoft.SubscriptionBilling

Source AL, 370 lines

src/Apps/W1/Subscription Billing/App/Usage Based Billing/Codeunits/GenericConnectorProcessing.Codeunit.allines 6 to 21 of 370, Copyright (c) Microsoft Corporation. MIT

codeunit 8033 "Generic Connector Processing" implements "Usage Data Processing"{    var        ImportAndProcessUsageData: Codeunit "Import And Process Usage Data";        CreateUsageDataBilling: Codeunit "Create Usage Data Billing";        ProgressTracker: Codeunit "Sub. Billing Progress Tracker";        ProcessImportedLinesLbl: Label 'Processing imported usage data lines...';        CreateBillingDataLbl: Label 'Creating usage data billing...';        ImportEntryDetailLbl: Label 'Import Entry No. %1', Comment = '%1 = Usage Data Import Entry No.';        ProcessingSetupErr: Label 'You must specify either a reading/writing XMLport or a reading/writing codeunit.';        UsageDataLinesProcessingErr: Label 'Errors were found while processing the Usage Data Lines.';        NoDataFoundErr: Label 'No data found for processing step %1.', Comment = '%1 = Name of the processing step';        NoServiceObjectErr: Label 'The %1 ''%2'' is not linked to an %3.', Comment = '%1 = Table name, %2 = Entry number, %3 = Table name';        ServiceObjectProvisionEndDateErr: Label 'The %1 ''%2'' is deinstalled.', Comment = '%1 = Table name, %2 = Entry number';        ReferenceNotFoundErr: Label 'For %1 ''%2'' no linked %3 was found.', Comment = '%1 = Field name, %2 = Entry description, %3 = Table name';        NotValidServiceCommitmentErr: Label 'Subscription Line %2 found for Subscription %1 is not valid. Please check the Subscription Line and adjust the validity of the Subscription Line if necessary.', Comment = '%1 = Object number, %2 = Entry number';

All 370 lines

Events 1 in 29

[IntegrationEvent] OnAfterImportUsageDataBlobToUsageDataGenericImport(UsageDataBlob: Record "Usage Data Blob"; var UsageDataImport: Record "Usage Data Import")new in 26

Public procedures 11 in 29

ImportUsageData(var UsageDataImport: Record "Usage Data Import")new in 26changed in 28
ProcessUsageData(var UsageDataImport: Record "Usage Data Import")new in 26changed in 28
ValidateImportedData(var UsageDataImport: Record "Usage Data Import")new in 28
CreateBillingData(var UsageDataImport: Record "Usage Data Import")new in 28
UpdateImportStatus(var UsageDataImport: Record "Usage Data Import")new in 28
DeleteImportedData(var UsageDataImport: Record "Usage Data Import")new in 28

All 14 procedures in 26-29

Changes 14 in 28

List17181920212223242526272829
Procedures14
ImportUsageData(var UsageDataImport: Record "Usage Data Import")new in 26changed in 28
changed, was internal ImportUsageData(var UsageDataImport: Record "Usage Data Import")
ProcessUsageData(var UsageDataImport: Record "Usage Data Import")new in 26changed in 28
changed, was internal ProcessUsageData(var UsageDataImport: Record "Usage Data Import")
internal FindAndProcessUsageDataImport(var UsageDataImport: Record "Usage Data Import")26 to 27
gone
internal TestUsageDataImport(var UsageDataImport: Record "Usage Data Import")26 to 27
gone
internal SetUsageDataImportError(var UsageDataImport: Record "Usage Data Import")26 to 27
gone
ValidateImportedData(var UsageDataImport: Record "Usage Data Import")new in 28
added

All 14 changes in 26-29