Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Processing Rated Usage Inputs

This API is used to unrate the processed usage input. It also reverts the Amount and Quantity from Billing Schedules, Usage Schedules, and Revenue Fee Schedules.

API

Signature

processRatedUsageInput

static void processRatedUsageInput(Set usageInputIDs)

It accepts a Set of Usage Input IDs as input. For all entered Usage Input IDs, it unrates all the usage Inputs and reverts the amount and quantity from the related billing schedules, usage scheules, and revenue fee schedules. On completion of the batch job, the user receives a batch job status email.

Request

Field

Type

Required?

Description

usageInputIDs

Set <Id>

Yes

Set of usage input IDs

Code Sample

Set<Id> usageInputIds = new Set<ID>{usageInput1.Id, usageInput2.Id}; Apttus_Billing.BillingService.processRatedUsageInput(usageInputIds);