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.

By calling an API

You can draft rate usage inputs in bulk by calling the draftPendingUsageInput API. This API supports processing 1000 usage inputs in the synchronous mode. The API gives no response about the result of processed or errored-out usage inputs. If the usage inputs are processed in batch mode, an email containing processed usage input information is sent to the user. If the usage inputs are processed synchronously then the user can verify the result by looking into individual usage input records.

There are four different flavors of this API.

Parameter

Result

Apttus_Billing.BillingService.draftPendingUsageInput();

If you do not pass any parameter and call this API, it runs in batch mode and draft rates all the usage inputs present in the system. You will be notified when processing is complete.

Apttus_Billing.BillingService.draftPendingUsageInput(Set<Id> usageInputIds);

This API processes the specified usage inputs in batch mode. You must pass all the usage input IDs pertaining to one or more asset line items. You will be notified when processing is complete.

Apttus_Billing.BillingService.draftPendingUsageInput(Set<Id> usageInputsIds, Boolean processSynchronously);

This API processes the specified usage inputs either in batch mode or synchronously, depending on the flag value. You will get no email notification when the processing is complete.

Apttus_Billing.BillingService.draftPendingUsageInputRelatedToALIs (Set<Id> assetLineItemIds);

This API processes all usage inputs of specified asset line items in batch mode. You will be notified when processing is complete.

The (Draft) Rated Quantity and (Draft) Fee Amount are updated on the Usage Schedule. The Usage Inputs related lists are updated with the new usage inputs and corresponding (Draft) Rated Amount.

Once you are satisfied with the forecasted values in the above-mentioned fields you can process the usage input. You can call the API to Process Usage Input. The forecasted amount is rated and updated in the Rated Amount field. The corresponding billing schedule reflects the rated amount as the fee amount to be billed.