As per the GetUnearned function, but uses the Element's "AccountingLedgerIncludeOpeningInReports" property to determine whether or not to include Opening accruals.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| dateAsAt | Date | The Date As At to calculate the Balance. | ||
| unearned | Decimal | ByRef | The Accounting Ledgers Unearned value. |