Accounting Apex API Developer Reference

c2g.ReminderRulesService

global with sharing class ReminderRulesService

The service class used to fetch transaction lines relating to Reminder Rules.

Methods

getTransactionLinesForAllRules

global static Map<Id, List<c2g__codaTransactionLineItem__c>> getTransactionLinesForAllRules(Id companyId, Date reminderDate)

Use this method to retrieve all transaction lines for given company, for a given date.

Input Parameters

Name Type Description
companyId Id The id of company, we are fetching transaction lines for.
reminderDate Date The date for which we want to get the transaction lines.

Return Value

Returns a map of transaction lines by rule id.

getTransactionLinesByRuleId

global static List<c2g__codaTransactionLineItem__c> getTransactionLinesByRuleId(Id ruleId, Date reminderDate)

Use this method to retrieve all transaction lines for given rule, for given date.

Input Parameters

Name Type Description
ruleId Id The rule id for which we want to get the transaction lines.
reminderDate Date The date for which we want to get the transaction lines.

Return Value

Returns a list of transaction lines for given rule id for given date;.

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