Interface "Usage Data Processing"
Subscription Billing · Microsoft.SubscriptionBilling
Across versions
- BC23-28not present
- BC29-30present
Subscription Billing · Microsoft.SubscriptionBilling · BC29-30 · source at ea08af5e · facts from BC29
Procedures
ImportUsageData(var UsageDataImport: Record "Usage Data Import")ProcessUsageData(var UsageDataImport: Record "Usage Data Import"): Process imported records in the connector-specific staging table: 1. Create Usage Data Supp. Customers if they do not exist. 2. Create Usage Data Supp. Subscriptions if they do not exist. 3. Validate Subscription Lines and check their dates. 4. Assign the Subscription to the staging table record if …ValidateImportedData(var UsageDataImport: Record "Usage Data Import"): Validate that imported staging data exists before Usage Data Billing creation. Set an error on the Usage Data Import if no staging data is found.CreateBillingData(var UsageDataImport: Record "Usage Data Import"): Create Usage Data Billing records from the connector-specific staging table. Handle retry logic for previously failed staging records.UpdateImportStatus(var UsageDataImport: Record "Usage Data Import"): Check the connector-specific staging table for errors after billing creation and set the Usage Data Import status accordingly.DeleteImportedData(var UsageDataImport: Record "Usage Data Import"): Delete all connector-specific staging table records for a given Usage Data Import. Called when the Usage Data Import is deleted or reset.UpdateSubscriptionHeaderNo(SupplierReference: Text[80]; SubscriptionHeaderNo: Code[20]): Update the Subscription Header No. in the connector-specific staging table when a Supplier Subscription is connected to a Subscription.OpenSupplierSettings(var UsageDataSupplier: Record "Usage Data Supplier"): Open the connector-specific supplier settings page. Called when the user wants to view or edit settings for a particular Usage Data Supplier.DeleteSupplierData(var UsageDataSupplier: Record "Usage Data Supplier"): Delete connector-specific data associated with a Usage Data Supplier. Called when the Usage Data Supplier is deleted.GetImportedLineCount(var UsageDataImport: Record "Usage Data Import"; OnlyErrors: Boolean): Integer: Get the count of imported lines in the connector-specific staging table.ShowImportedLines(var UsageDataImport: Record "Usage Data Import"; ShowOnlyErrors: Boolean): Open the connector-specific staging table page for the given Usage Data Import, optionally filtered to show only lines with errors.
Ask your agent
Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "interface", object_name: "Usage Data Processing"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.