
Development
This chapter gathers all information that supports developers in dealing with the extension of bill-to.
DevKitInformation
SubscriptionExists
This procedure answers the question whether a specific subscription exists. procedure SubscriptionExists( SubscriptionNo: Code ): Boolean
IsActiveSubscription
This procedure answers the question whether a specific subscription has active status. procedure IsActiveSubscription( SubscriptionNo: Code ): Boolean
IsTerminatedSubscription
This procedure answers the question whether a specific subscription has terminated status. procedure IsTerminatedSubscription( SubscriptionNo: Code ): Boolean
IsInterimBillingSubscription
This procedure answers the question whether a specific subscription is currently in interim billing. procedure IsInterimBillingSubscription( SubscriptionNo: Code ): Boolean
SubscriptionStartingDate
This procedure retrieves the starting date of the subscription. procedure SubscriptionStartingDate( SubscriptionNo: Code ): Date
SubscriptionEndingDate
This procedure retrieves the ending date of the subscription. procedure SubscriptionEndingDate( SubscriptionNo: Code ): Date
SubscriptionHistoricStartingDate
This procedure retrieves the historic starting date of the subscription. procedure SubscriptionHistoricStartingDate( SubscriptionNo: Code ): Date
SubscriptionStartOfBillingPeriod
This procedure retrieves the beginning of the subscription's billing period. procedure SubscriptionStartOfBillingPeriod( SubscriptionNo: Code ): Date
SubscriptionEndOfBillingPeriod
This procedure retrieves the end of the subscription's billing period. procedure SubscriptionEndOfBillingPeriod( SubscriptionNo: Code ): Date
SubscriptionRequestedTerminationDate
This procedure retrieves the requested termination date of the subscription. procedure SubscriptionRequestedTerminationDate( SubscriptionNo: Code ): Date
SubscriptionAcceptedTerminationDate
This procedure retrieves the accepted termination date of the subscription. procedure SubscriptionAcceptedTerminationDate( SubscriptionNo: Code ): Date
SubscriptionNextInvoiceDate
This procedure retrieves the next invoice date of the subscription. procedure SubscriptionNextInvoiceDate( SubscriptionNo: Code ): Date
SubscriptionRegularNextInvoiceDate
This procedure retrieves the regular next invoice date of the subscription. procedure SubscriptionRegularNextInvoiceDate( SubscriptionNo: Code ): Date
NumberOfSubscriptionsPerCustomer
This procedure returns the number of existing subscriptions for a specific customer. procedure NumberOfSubscriptionsPerCustomer( SellToCustomerNo: Code ): Integer
NumberOfActiveSubscriptionsPerCustomer
This procedure returns the number of active subscriptions for a specific customer. procedure NumberOfActiveSubscriptionsPerCustomer( SellToCustomerNo: Code ): Integer
NumberOfTerminatedSubscriptionsPerCustomer
This procedure returns the number of terminated subscriptions for a specific customer. procedure NumberOfTerminatedSubscriptionsPerCustomer( SellToCustomerNo: Code ): Integer
SubscriptionsPerCustomer
This procedure returns a list of existing subscriptions for a specific customer. procedure SubscriptionsPerCustomer( SellToCustomerNo: Code; var Subscriptions: Record SubscriptionBLTAPL ): Integer
ActiveSubscriptionsPerCustomer
This procedure returns a list of active subscriptions for a specific customer. procedure ActiveSubscriptionsPerCustomer( SellToCustomerNo: Code; var Subscriptions: Record SubscriptionBLTAPL ): Integer
TerminatedSubscriptionsPerCustomer
This procedure returns a list of terminated subscriptions for a specific customer. procedure TerminatedSubscriptionsPerCustomer( SellToCustomerNo: Code; var Subscriptions: Record SubscriptionBLTAPL ): Integer
NumberOfSubscriptionsDueToInvoice
This procedure returns the number of subscriptions due for invoicing. procedure NumberOfSubscriptionsDueToInvoice(): Integer
NumberOfSubscriptionsOverdueToInvoice
This procedure returns the number of overdue subscriptions for invoicing. procedure NumberOfSubscriptionsOverdueToInvoice(): Integer
NumberOfSubscriptionsDueAndOverdueToInvoice
This procedure returns the number of due and overdue subscriptions for invoicing. procedure NumberOfSubscriptionsDueAndOverdueToInvoice(): Integer
NumberOfSubscriptionsDueToInvoiceUntilToday
This procedure returns the number of subscriptions due for invoicing until today. procedure NumberOfSubscriptionsDueToInvoiceUntilToday(): Integer
NumberOfSubscriptionsDueToInvoiceUntilTomorrow
This procedure returns the number of subscriptions due for invoicing until tomorrow. procedure NumberOfSubscriptionsDueToInvoiceUntilTomorrow(): Integer
NumberOfSubscriptionsDueToInvoiceUntilEndOfWeek
This procedure returns the number of subscriptions due for invoicing until end of week. procedure NumberOfSubscriptionsDueToInvoiceUntilEndOfWeek(): Integer
NumberOfSubscriptionsDueToInvoiceUntilEndOfMonth
This procedure returns the number of subscriptions due for invoicing until end of month. procedure NumberOfSubscriptionsDueToInvoiceUntilEndOfMonth(): Integer
NumberOfSubscriptionsDueWithFilters
This procedure returns the number of subscriptions due for invoicing according to all possible filters. procedure NumberOfSubscriptionsDueWithFilters( SubscriptionFilter: Text; CustomerFilter: Text; KeyDateCalculationType: Option; KeyDateFilter: Text; UntilDate: Date; BillingFrequency: Code; SubscriptionPeriod: Code; SubscriptionTypeGroup: Code; CustomerSubscriptionGroup: Code ): Integer
NumberOfSubscriptionsDueWithParameters
This procedure returns the number of subscriptions due for invoicing according to passed parameters. procedure NumberOfSubscriptionsDueWithParameters( var TempBatchInvoicing: Record "BatchInvoicingBLTAPL" ): Integer
SubscriptionsDueToInvoice
This procedure returns a list of subscriptions due for invoicing. procedure SubscriptionsDueToInvoice( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsOverdueToInvoice
This procedure returns a list of overdue subscriptions for invoicing. procedure SubscriptionsOverdueToInvoice( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueAndOverdueToInvoice
This procedure returns a list of due and overdue subscriptions for invoicing. procedure SubscriptionsDueAndOverdueToInvoice( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueToInvoiceUntilToday
This procedure returns a list of subscriptions due for invoicing until today. procedure SubscriptionsDueToInvoiceUntilToday( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueToInvoiceUntilTomorrow
This procedure returns a list of subscriptions due for invoicing until tomorrow. procedure SubscriptionsDueToInvoiceUntilTomorrow( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueToInvoiceUntilEndOfWeek
This procedure returns a list of subscriptions due for invoicing until end of week. procedure SubscriptionsDueToInvoiceUntilEndOfWeek( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueToInvoiceUntilEndOfMonth
This procedure returns a list of subscriptions due for invoicing until end of month. procedure SubscriptionsDueToInvoiceUntilEndOfMonth( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsDueWithFilters
This procedure returns a list of subscriptions due for invoicing according to all possible filters. procedure SubscriptionsDueWithFilters( var Subscriptions: Record SubscriptionBLTAPL; SubscriptionFilter: Text; CustomerFilter: Text; KeyDateCalculationType: Option; KeyDateFilter: Text; UntilDate: Date; BillingFrequency: Code; SubscriptionPeriod: Code; SubscriptionTypeGroup: Code; CustomerSubscriptionGroup: Code ): Integer
SubscriptionsDueWithParameters
This procedure returns a list of subscriptions due for invoicing according to passed parameters. procedure SubscriptionsDueWithParameters( var Subscriptions: Record SubscriptionBLTAPL; var TempBatchInvoicing: Record "BatchInvoicingBLTAPL" ): Integer
NumberOfBatchInvoiceErrors
This procedure returns the number of errors that occurred during execution of a specific batch invoice. procedure NumberOfBatchInvoiceErrors( BatchInvoicingNo: Code ): Integer
NumberOfSubscriptionsWithAutomaticApproval
This procedure returns the number of subscriptions set to automatic approval. procedure NumberOfSubscriptionsWithAutomaticApproval(): Integer
NumberOfSubscriptionsWithManualApproval
This procedure returns the number of subscriptions set to manual approval. procedure NumberOfSubscriptionsWithManualApproval(): Integer
NumberOfActiveSubscriptionsWithAutomaticApproval
This procedure returns the number of active subscriptions set to automatic approval. procedure NumberOfActiveSubscriptionsWithAutomaticApproval(): Integer
NumberOfActiveSubscriptionsWithManualApproval
This procedure returns the number of active subscriptions set to manual approval. procedure NumberOfActiveSubscriptionsWithManualApproval(): Integer
NumberOfSubscriptionsToBeApprovedManually
This procedure returns the number of subscriptions currently waiting for manual approval. procedure NumberOfSubscriptionsToBeApprovedManually(): Integer
NumberOfSubscriptionsApprovedManually
This procedure returns the number of subscriptions currently manually approved. procedure NumberOfSubscriptionsApprovedManually(): Integer
SubscriptionsWithAutomaticApproval
This procedure returns a list of subscriptions set to automatic approval. procedure SubscriptionsWithAutomaticApproval( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsWithManualApproval
This procedure returns a list of subscriptions set to manual approval. procedure SubscriptionsWithManualApproval( var Subscriptions: Record SubscriptionBLTAPL ): Integer
ActiveSubscriptionsWithAutomaticApproval
This procedure returns a list of active subscriptions set to automatic approval. procedure ActiveSubscriptionsWithAutomaticApproval( var Subscriptions: Record SubscriptionBLTAPL ): Integer
ActiveSubscriptionsWithManualApproval
This procedure returns a list of active subscriptions set to manual approval. procedure ActiveSubscriptionsWithManualApproval( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsToBeApprovedManually
This procedure returns a list of subscriptions currently waiting for manual approval. procedure SubscriptionsToBeApprovedManually( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionsApprovedManually
This procedure returns a list of subscriptions currently manually approved. procedure SubscriptionsApprovedManually( var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionIsApprovedForInvoicing
This procedure answers the question whether a subscription is currently approved for invoicing or not. procedure SubscriptionIsApprovedForInvoicing( SubscriptionNo: Code ): Boolean
SubscriptionInvoiceApprovalType
This procedure answers the question whether a subscription is currently set to automatic or manual approval. procedure SubscriptionInvoiceApprovalType( SubscriptionNo: Code ): Option
NumberOfNewSubscriptionComponents
This procedure returns the number of new component entries for a specific subscription. procedure NumberOfNewSubscriptionComponents( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionComponentsCurrentBillingPeriod
This procedure returns the number of new component entries for the current billing period of a specific subscription. procedure NumberOfNewSubscriptionComponentsCurrentBillingPeriod( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionComponentsUntilDate
This procedure returns the number of new component entries already recorded until a specific date for a subscription. procedure NumberOfNewSubscriptionComponentsUntilDate( SubscriptionNo: Code; UntilDate: Date ): Integer
NumberOfNewSubscriptionLicenseComponents
This procedure returns the number of new software license component entries for a specific subscription. procedure NumberOfNewSubscriptionLicenseComponents( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionConsumptionComponents
This procedure returns the number of new consumption component entries for a specific subscription. procedure NumberOfNewSubscriptionConsumptionComponents( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionLicenseComponentsCurrentBillingPeriod
This procedure returns the number of new software license component entries for the current billing period of a specific subscription. procedure NumberOfNewSubscriptionLicenseComponentsCurrentBillingPeriod( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionConsumptionComponentsCurrentBillingPeriod
This procedure returns the number of new consumption component entries for the current billing period of a specific subscription. procedure NumberOfNewSubscriptionConsumptionComponentsCurrentBillingPeriod( SubscriptionNo: Code ): Integer
NumberOfNewSubscriptionLicenseComponentsUntilDate
This procedure returns the number of new software license component entries already recorded until a specific date for a subscription. procedure NumberOfNewSubscriptionLicenseComponentsUntilDate( SubscriptionNo: Code; UntilDate: Date ): Integer
NumberOfNewSubscriptionConsumptionComponentsUntilDate
This procedure returns the number of new consumption component entries already recorded until a specific date for a subscription. procedure NumberOfNewSubscriptionConsumptionComponentsUntilDate( SubscriptionNo: Code; UntilDate: Date ): Integer
NumberOfNewSubscriptionComponentsWithParameters
This procedure returns the number of new component entries for a specific subscription according to two parameters. procedure NumberOfNewSubscriptionComponentsWithParameters( SubscriptionNo: Code; CalculationMethod: Option; UntilDate: Date ): Integer
NumberOfNewSubscriptionLineComponentsUntilDate
This procedure returns the number of new component entries for a subscription item line. procedure NumberOfNewSubscriptionLineComponentsUntilDate( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; UntilDate: Date ): Integer
NumberOfChildSubscriptions
This procedure returns the number of child subscriptions of a parent subscription. procedure NumberOfChildSubscriptions( SubscriptionNo: Code ): Integer
ChildSubscriptions
This procedure returns a list of child subscriptions of a parent subscription. procedure ChildSubscriptions( SubscriptionNo: Code; var Subscriptions: Record SubscriptionBLTAPL ): Integer
SubscriptionFamily
This procedure returns a list of all subscriptions belonging to a family, i.e., the parent subscription and all children. procedure SubscriptionFamily( SubscriptionNo: Code; var Subscriptions: Record SubscriptionBLTAPL ): Integer
DevKitSearchData
FindUniqueSubscriptionLineByComponentIdentifier
This procedure finds a subscription line based on the component identifier assigned to it. procedure FindUniqueSubscriptionLineByComponentIdentifier( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; ComponentIdentifier: Code ): Boolean
FindUniqueSubscriptionLineByAlias
This procedure finds a subscription line based on the alias code assigned to it. procedure FindUniqueSubscriptionLineByAlias( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; AliasCode: Code ): Boolean
FindSubscriptionLineByCustomerAndItem
This procedure finds subscription lines based on the subscription customer and subscription item. Only lines with the calculation methods: Software License, Standard Subscription, Standard Consumption, Purchase License can be found. procedure FindSubscriptionLineByCustomerAndItem( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; CustomerNo: Code; SubscriptionItemNo: Code; StatusFilter: Text ): Integer
DevKitFunction
CreateSubscriptionInvoice
This procedure creates a new sales document as invoice from a specific subscription. procedure CreateSubscriptionInvoice( SubscriptionNo: Code ): Code
CreateDueSubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing. procedure CreateDueSubscriptionInvoices(): Code
CreateOverdueSubscriptionInvoices
This procedure creates new sales documents from all overdue subscriptions for invoicing. procedure CreateOverdueSubscriptionInvoices(): Code
CreateDueAndOverdueSubscriptionInvoices
This procedure creates new sales documents from all due or overdue subscriptions for invoicing. procedure CreateDueAndOverdueSubscriptionInvoices(): Code
CreateDueUntilTodaySubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing until today. procedure CreateDueUntilTodaySubscriptionInvoices(): Code
CreateDueUntilTomorrowSubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing until tomorrow. procedure CreateDueUntilTomorrowSubscriptionInvoices(): Code
CreateDueUntilEndOfWeekSubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing until end of week. procedure CreateDueUntilEndOfWeekSubscriptionInvoices(): Code
CreateDueUntilEndOfMonthSubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing until end of month. procedure CreateDueUntilEndOfMonthSubscriptionInvoices(): Code
CreateDueUntilDateSubscriptionInvoices
This procedure creates new sales documents from all subscriptions due for invoicing until a specific date. procedure CreateDueUntilDateSubscriptionInvoices( DueUntilDate: Date ): Code
CreateSubscriptionInvoicesWithFilters
This procedure creates new sales documents from all subscriptions due for invoicing according to all possible filters. procedure CreateSubscriptionInvoicesWithFilters( SubscriptionFilter: Text; CustomerFilter: Text; KeyDateCalculationType: Option; KeyDateFilter: Text; UntilDate: Date; BillingFrequency: Code; SubscriptionPeriod: Code; SubscriptionTypeGroup: Code; CustomerSubscriptionGroup: Code ): Code
CreateSubscriptionInvoicesWithParameters
This procedure creates new sales documents from all subscriptions due for invoicing according to parameters passed through temporary records. procedure CreateSubscriptionInvoicesWithParameters( var TempBatchInvoicing: Record "BatchInvoicingBLTAPL"; var TempBatchInvoicingArgs: Record "Batch Invoicing Args" ): Code
ActivateSubscription
This procedure sets the status of a subscription to Active. procedure ActivateSubscription( SubscriptionNo: Code ): Boolean
TerminateSubscription
This procedure sets the status of a subscription to Terminated. procedure TerminateSubscription( SubscriptionNo: Code ): Boolean
SuspendSubscription
This procedure sets the status of a subscription to Suspended. procedure SuspendSubscription( SubscriptionNo: Code ): Boolean
UpdateSubscriptionStatus
This procedure sets the subscription to a specified status. procedure UpdateSubscriptionStatus( SubscriptionNo: Code; Status: Option ): Boolean
SetRequestedTerminationDate
This procedure sets the requested termination date of a specific subscription. procedure SetRequestedTerminationDate( SubscriptionNo: Code; RequestedTerminationDate: Date ): Boolean
SetAcceptedTerminationDate
This procedure sets the accepted termination date of a specific subscription. procedure SetAcceptedTerminationDate( SubscriptionNo: Code; AcceptedTerminationDate: Date ): Boolean
ApproveSubscriptionForInvoicing
This procedure approves a subscription for invoicing. procedure ApproveSubscriptionForInvoicing( SubscriptionNo: Code ): Boolean
CopySubscription
This procedure copies the content of a subscription into a new subscription. procedure CopySubscription( SubscriptionNo: Code; SubscriptionStartingDate: Date; Status: Option; PriceTransfer: Option; MakeChild: Boolean; SuppressCommit: Boolean ): Code
UpdateCustomerDataInSubscriptionAndDocuments
This procedure copies customer data into selected subscriptions and sales documents and updates them with current customer data. procedure UpdateCustomerDataInSubscriptionAndDocuments( CustomerNo: Code; var TempCustomerUpdateArgs: Record "Customer Update Args" ): Integer
Create Data
CreateNewSubscription
This procedure creates a new subscription based on the passed parameters and returns the number of the newly created subscription. procedure CreateNewSubscription( SellToCustomerNo: Code; BillToCustomerNo: Code; SubscriptionPeriodCode: Code; BillingFrequencyCode: Code; SubscriptionStartingDate: Date; HistoricStartingDate: Date; AutoRenew: Boolean; Activate: Boolean ): Code
CreateNewSubscriptionByConfiguration
This procedure creates a new subscription based on the passed subscription configuration code and returns the number of the newly created subscription. procedure CreateNewSubscriptionByConfiguration( SubscriptionConfigCode: Code; SellToCustomerNo: Code; BillToCustomerNo: Code; SubscriptionStartingDate: Date; HistoricStartingDate: Date; Activate: Boolean ): Code
CreateNewSubscriptionByRecord
This procedure creates new subscriptions based on passed records and returns the number of each created subscription. procedure CreateNewSubscriptionByRecord( var TempDevKitCreateSubscription: Record "SubscriptionBLTAPL" ): Integer
CreateNewSubscriptionLine
This procedure creates a new subscription line based on passed parameters. procedure CreateNewSubscriptionLine( SubscriptionNo: Code; Type: Option; No: Code; Description: Text; ComponentRecordingDate: Date; ComponentQty: Decimal ): Integer
CreateNewSubscriptionLineByRecord
This procedure creates new subscription lines based on passed records. procedure CreateNewSubscriptionLineByRecord( var TempDevKitCreateSubscriptionLine: Record "DevKitCreateSubscrLineBLTAPL" ): Integer
CreateNewComponentQtyBySubscriptionLine
This procedure creates a new component entry for a subscription line based on passed parameters. procedure CreateNewComponentQtyBySubscriptionLine( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewComponentQtyBySubscriptionLineNo
This procedure creates a new component entry for a subscription line based on passed parameters. procedure CreateNewComponentQtyBySubscriptionLineNo( SubscriptionNo: Code; SubscriptionLineNo: Integer; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewComponentQtyByComponentIdentifier
This procedure creates a new component entry for a subscription line based on passed parameters. procedure CreateNewComponentQtyByComponentIdentifier( ComponentIdentifier: Code; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewComponentQtyByAlias
This procedure creates a new component entry for a subscription line based on passed parameters. procedure CreateNewComponentQtyByAlias( AliasCode: Code; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewComponentQtyByRecord
This procedure creates new component entries based on passed records. procedure CreateNewComponentQtyByRecord( var TempDevKitCreateComponent: Record "DevKitCreateComponentBLTAPL" )
DevKitImport
ApproveImportForInvoicing
This procedure approves all subscriptions associated with an import for invoicing. procedure ApproveImportForInvoicing( ImportNo: Code ): Integer
DevKitAnalysis
NumberOfActiveSubscriptionsWithoutProperDataSettings
This procedure returns the number of subscriptions with Active status that do not have proper data settings for invoicing. procedure NumberOfActiveSubscriptionsWithoutProperDataSettings( SaveAnalysis: Boolean ): Integer
NumberOfCreatedSubscriptionsWithoutProperDataSettings
This procedure returns the number of subscriptions with Created status that do not have proper data settings for invoicing. procedure NumberOfCreatedSubscriptionsWithoutProperDataSettings( SaveAnalysis: Boolean ): Integer
NumberOfActiveSubscriptionsWithAsynchronousPeriods
This procedure returns the number of subscriptions with Active status whose subscription and billing rhythms do not appear to be synchronous. procedure NumberOfActiveSubscriptionsWithAsynchronousPeriods( SaveAnalysis: Boolean ): Integer
NumberOfCreatedSubscriptionsWithAsynchronousPeriods
This procedure returns the number of subscriptions with Created status whose subscription and billing rhythms do not appear to be synchronous. procedure NumberOfCreatedSubscriptionsWithAsynchronousPeriods( SaveAnalysis: Boolean ): Integer
ActiveSubscriptionsWithoutProperDataSettings
This procedure returns a list of subscriptions with Active status that do not have proper data settings for invoicing. procedure ActiveSubscriptionsWithoutProperDataSettings( var Subscriptions: Record SubscriptionBLTAPL; SaveAnalysis: Boolean ): Integer
CreatedSubscriptionsWithoutProperDataSettings
This procedure returns a list of subscriptions with Created status that do not have proper data settings for invoicing. procedure CreatedSubscriptionsWithoutProperDataSettings( var Subscriptions: Record SubscriptionBLTAPL; SaveAnalysis: Boolean ): Integer
ActiveSubscriptionsWithAsynchronousPeriods
This procedure returns a list of subscriptions with Active status whose subscription and billing rhythms do not appear to be synchronous. procedure ActiveSubscriptionsWithAsynchronousPeriods( var Subscriptions: Record SubscriptionBLTAPL; SaveAnalysis: Boolean ): Integer
CreatedSubscriptionsWithAsynchronousPeriods
This procedure returns a list of subscriptions with Created status whose subscription and billing rhythms do not appear to be synchronous. procedure CreatedSubscriptionsWithAsynchronousPeriods( var Subscriptions: Record SubscriptionBLTAPL; SaveAnalysis: Boolean ): Integer
AnalyzeFilteredSubscriptions
This procedure allows you to analyze filtered subscriptions according to predefined criteria. procedure AnalyzeFilteredSubscriptions( var Subscription: Record SubscriptionBLTAPL; var TempIssueAnalysisSetup: Record "Issue Analysis Setup" ): Boolean
NumberOfSubscriptionsWithObservedAutoRenewals
This procedure returns the number of subscriptions for which automatic renewals were observed during invoicing. procedure NumberOfSubscriptionsWithObservedAutoRenewals( FromDate: Date; UntilDate: Date ): Integer
NumberOfSubscriptionsWithObservedTerminations
This procedure returns the number of subscriptions for which terminations were observed during invoicing. procedure NumberOfSubscriptionsWithObservedTerminations( FromDate: Date; UntilDate: Date ): Integer
NumberOfSubscriptionsWithObservedZeroPrice
This procedure returns the number of subscriptions for which zero prices were observed during invoice creation. procedure NumberOfSubscriptionsWithObservedZeroPrice( FromDate: Date; UntilDate: Date ): Integer
NumberOfSubscriptionsWithObservedZeroInvoiceAmount
This procedure returns the number of subscriptions for which zero amount invoices were observed during invoice creation. procedure NumberOfSubscriptionsWithObservedZeroInvoiceAmount( FromDate: Date; UntilDate: Date ): Integer
NumberOfSubscriptionsWithObservedAsynchronousPeriods
This procedure returns the number of subscriptions for which asynchronous subscription and billing periods were observed during invoicing. procedure NumberOfSubscriptionsWithObservedAsynchronousPeriods( FromDate: Date; UntilDate: Date ): Integer
SubscriptionsWithObservedAutoRenewals
This procedure returns a list of subscriptions for which automatic renewals were observed during invoicing. procedure SubscriptionsWithObservedAutoRenewals( var Subscriptions: Record SubscriptionBLTAPL; FromDate: Date; UntilDate: Date ): Integer
SubscriptionsWithObservedTerminations
This procedure returns a list of subscriptions for which terminations were observed during invoicing. procedure SubscriptionsWithObservedTerminations( var Subscriptions: Record SubscriptionBLTAPL; FromDate: Date; UntilDate: Date ): Integer
SubscriptionsWithObservedZeroPrice
This procedure returns a list of subscriptions for which zero prices were observed during invoice creation. procedure SubscriptionsWithObservedZeroPrice( var Subscriptions: Record SubscriptionBLTAPL; FromDate: Date; UntilDate: Date ): Integer
SubscriptionsWithObservedZeroInvoiceAmount
This procedure returns a list of subscriptions for which zero amount invoices were observed during invoice creation. procedure SubscriptionsWithObservedZeroInvoiceAmount( var Subscriptions: Record SubscriptionBLTAPL; FromDate: Date; UntilDate: Date ): Integer
SubscriptionsWithObservedAsynchronousPeriods
This procedure returns a list of subscriptions for which asynchronous subscription and billing periods were observed during invoicing. procedure SubscriptionsWithObservedAsynchronousPeriods( var Subscriptions: Record SubscriptionBLTAPL; FromDate: Date; UntilDate: Date ): Integer
GetObservationResults
This procedure returns a list of subscriptions that meet the criteria of the issue type filter. procedure GetObservationResults( var Subscriptions: Record SubscriptionBLTAPL; IssueTypeFilter: Option; FromDate: Date; UntilDate: Date ): Integer
DeleteSubscriptionIssues
This procedure deletes filtered subscription issues. procedure DeleteSubscriptionIssues( var SubscriptionIssue: Record "SubscriptionBLTAPL" ): Integer
DevKitSubscriptionUpdate
GetSubscriptionStructureBySubscription
This procedure retrieves detailed information about a subscription, its lines and their component entries. The information is split into In and Out records. The non-key fields of the In-record can be used to change the records, while the Out-records are information only. At line level, only the following calculation methods can be queried: Software License, Standard Subscription, Standard Consumption, Purchase License. procedure GetSubscriptionStructureBySubscription( var TempDevKitSubscriptionOut: Record "DevKitCreateSubscriptionBLTAPL; var TempDevKitSubscrLineOut: Record "DevKitCreateSubscrLineBLTAPL"; var TempDevKitSubscrComponentOut: Record "DevKitCreateComponentBLTAPL"; var TempDevKitSubscriptionIn: Record "DevKitCreateSubscriptionBLTAPL"; var TempDevKitSubscrLineIn: Record "DevKitCreateSubscrLineBLTAPL"; var TempDevKitSubscrComponentIn: Record "DevKitCreateComponentBLTAPL"; SubscriptionNo: Code; var Handshake: Guid ): Boolean
GetSubscriptionStructureByCustomer
This procedure retrieves detailed information about all subscriptions, their lines and component entries of a specific customer. The information is split into In and Out records. The non-key fields of the In-record can be used to change the records, while the Out-records are information only. At line level, only the following calculation methods can be queried: Software License, Standard Subscription, Standard Consumption, Purchase License. procedure GetSubscriptionStructureByCustomer( var TempDevKitSubscriptionOut: Record "DevKitCreateSubscriptionBLTAPL"; var TempDevKitSubscrLineOut: Record "DevKitCreateSubscrLineBLTAPL"; var TempDevKitSubscrComponentOut: Record "DevKitCreateComponentBLTAPL"; var TempDevKitSubscriptionIn: Record "DevKitCreateSubscriptionBLTAPL"; var TempDevKitSubscrLineIn: Record "DevKitCreateSubscrLineBLTAPL"; var TempDevKitSubscrComponentIn: Record "DevKitCreateComponentBLTAPL"; CustomerNo: Code; var Handshake: Guid ): Boolean
SetUpdateSubscriptionStructure
This procedure updates subscriptions, their lines and component entries. It must be called after GetSubscriptionTreeBySubscription or GetSubscriptionTreeByCustomer. The Get and Set procedures must be called in the same instance of DevKitSubscription. procedure SetUpdateSubscriptionStructure( var TempDevKitSubscriptionIn: Record "DevKitCreateSubscriptionBLTAPL"; var TempDevKitSubscrLineIn: Record "DevKitCreateSubscrLineBLTAPL"; var TempDevKitSubscrComponentIn: Record "DevKitCreateComponentBLTAPL"; Handshake: Guid ): Integer
DevKitServiceItem
FindSubscriptionLinesByServiceItem
This procedure finds all subscription lines based on the service item number assigned to them. procedure FindSubscriptionLinesByServiceItem( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; ServiceItemNo: Code; ReferenceDate: Date ): Boolean
FindUniqueConsumptionLineByServiceItem
This procedure finds a unique subscription line with consumption calculation method based on the service item number assigned to it. procedure FindUniqueConsumptionLineByServiceItem( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; ServiceItemNo: Code; ReferenceDate: Date ): Boolean
FindUniqueLicenseLineByServiceItem
This procedure finds a unique subscription line with software license calculation method based on the service item number assigned to it. procedure FindUniqueLicenseLineByServiceItem( var SubscriptionLine: Record "SubscriptionLineBLTAPL"; ServiceItemNo: Code; ReferenceDate: Date ): Boolean
CreateNewComponentQtyByServiceItem
This procedure creates a new component entry for a subscription line based on passed parameters. procedure CreateNewComponentQtyByServiceItem( ServiceItemNo: Code; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewLicenseComponentQtyByServiceItem
This procedure creates a new component entry for a subscription line with software license calculation method based on passed parameters. procedure CreateNewLicenseComponentQtyByServiceItem( ServiceItemNo: Code; ComponentRecordingDate: Date; ComponentQty: Decimal )
CreateNewConsumptionComponentQtyByServiceItem
This procedure creates a new component entry for a subscription line with standard consumption calculation method based on passed parameters. procedure CreateNewConsumptionComponentQtyByServiceItem( ServiceItemNo: Code; ComponentRecordingDate: Date; ComponentQty: Decimal )
![]() |
|---|
| Personal Support www.ckl-software.de/ |