AmortizationPostService Class

Overview

The following provides information regarding posting API calls for Amortization:

Amortization Post Considerations

You cannot call post method with more than 1,000 Amortizations. If you need to post or un-post more than 1,000 Amortizations you will need to call the class static method from a class which implements the Apex batchable interface.


Amortization Post Methods

The following are the global methods for the AmortizationPostService class. All methods are instance methods.

postAmortizationEntries(List<Scheduled_Revenue_Expense__c>)

Post one or many Amortization (Scheduled_Revenue_Expense__c) records

Signature

 global static List<PostResult> postAmortizationEntries(List<Scheduled_Revenue_Expense__c> amortizationEntries)

Parameters
Type: [List<Scheduled_Revenue_Expense__c>]

Return Value
Type: List<PostResult>


unpostAmortizationEntries(List<Scheduled_Revenue_Expense__c>)

Unpost one or many Amortization (Scheduled_Revenue_Expense__c) records

Signature

 global static List<PostResult> unpostAmortizationEntries(List<Scheduled_Revenue_Expense__c> amortizationEntries)

Parameters
Type: [List<Scheduled_Revenue_Expense__c>]

Return Value
Type: List<PostResult>

AmortizationPostService Error Codes

The following error codes are supported for AmortizationPostService: