Compartir a través de


MainAccount.validateCloseType Method

Determines the ledger type and Account close type and through an error message if DimensionLedgerAccountType is DimensionLedgerAccountType::Totalor DimensionLedgerAccountType::Statistical and AccountCloseType is not equal to AccountCloseType::NotApplicable.

Syntax

public boolean validateCloseType()

Run On

Called

Return Value

Type: boolean
false if DimensionLedgerAccountType is DimensionLedgerAccountType::Total or DimensionLedgerAccountType::Statisticaland AccountCloseType is not equal to AccountCloseType::NotApplicable; true otherwise.

Remarks

This method throws an error message when the following conditions are true:

  • The value of the DimensionLedgerAccountType enumeration is equal to the DimensionLedgerAccountType::Total or DimensionLedgerAccountType::Statistical value.

  • The value of the AccountCloseType enumeration is not equal to the AccountCloseType::NotApplicable value.

See Also

Reference

MainAccount Table