Billing Central Apex API Developer Reference

ffbc.ContractsServiceActionCreateCR

global with sharing class ContractsServiceActionCreateCR

Invocable action to allow change requests to be created using clicks-not-code customisations. For the API exposing this functionality, see ContractsService.createChangeRequests For information about using the invocable method in a flow, search for "Apex action" in the Certinia Help.

Methods

createChangeRequests

global static List<ffbc.ContractsServiceActionCreateCR.Response> createChangeRequests(List<ffbc.ContractsServiceActionCreateCR.Request> requests)

Create Change Requests for active contracts.

Input Parameters

Name Type Description
requests List<ffbc.ContractsServiceActionCreateCR.Request> List of request objects containing the active contracts to create change requests for.

ffbc.ContractsServiceActionCreateCR.Request

global with sharing class Request

This class wraps the active contracts that change requests will be made for.

Properties

Name Type Description
contractId Id The ID of a contract to create a change request for.

Methods

Request

global Request()

The default constructor for a Request.

ffbc.ContractsServiceActionCreateCR.Response

global with sharing class Response

The response to a request to create a change request. This contains the ID of the active contract that the change request was created for, the ID of the change request that was created, and any errors if the change request could not be created.

Properties

Name Type Description
activeContractId Id The ID of an active contract that a change request was created for.
changeRequestId Id The ID of a change request that the action created.
hasErrors Boolean True if there was an error creating the change request.
errorMessage String Error messages if the change request was not created successfully.

Methods

Response

global Response()

The default constructor for a Response.

© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.