Share via


Ledger::allowAccountStructureRemoval Method

Provides a single point where consumers can update code to optionally prevent the removal of an account structure from the ledger.

Syntax

client server public static boolean allowAccountStructureRemoval(DimensionHierarchy _dimensionHierarchy, [LedgerRecId _ledger])

Run On

Called

Parameters

Return Value

Type: boolean
true to allow the removal to continue; otherwise, false.

Remarks

If a consumer prevents the removal of the account structure, that consumer must present a notification to inform the user that the removal did not occur and explain why.

See Also

Reference

Ledger Table