GLAccountDefault Class

Encapsulates GLAccount Default record and associated GLAccount, GLAccount Specification and Ledger.

GLAccountDefault Properties

The following are properties for the GLAccountDefault class.

glAccountDefault

The GL Account Default record.

Type: AcctSeed__GL_Account_Default__c



glAccount

The GL Account record.

Type: AcctSeed__GL_Account__c



glAccountSpecification

The GL Account Specification metadata type record.

Type: AcctSeed__GL_Account_Specification__mdt



ledger

The Ledger record.

Type: AcctSeed__Ledger__c



errors

The Errors record. Inner class Errors.

Type: AcctSeed.GLAccountDefault.Errors


Errors class Properties

The following are properties for the inner class Errors.

items

The Errors map by error code.

Type: List<Map<String, String>>


Errors class Methods

The following are the methods for the Errors class. All methods are instance methods.

add(String message)

Signature

global Errors add(String message)

Return Value
Type: [AcctSeed.GLAccountDefault.Errors]

Parameters Type: [String]

Usage

AcctSeed.GLAccountDefault.Errors err = new AcctSeed.GLAccountDefault.Errors();
err.add('Error message');


add(String message, String code)

Signature

global Errors add(String message, String code)

Return Value
Type: [AcctSeed.GLAccountDefault.Errors]

Parameters Type: [String]

Usage

AcctSeed.GLAccountDefault.Errors err = new AcctSeed.GLAccountDefault.Errors();
err.add('Error message', 'Error code');


isEmpty()

Signature

global Boolean isEmpty()

Return Value
Type: [Boolean]

Usage

AcctSeed.GLAccountDefault.Errors err = new AcctSeed.GLAccountDefault.Errors();
Boolean isErrorListEmpty = err.isEmpty();