@halfnum

Definition

Half period number

Used to trigger @if statements by making the condition equal to the first or second part of the year.

Returns

  • 1—first half

  • 2—second half

Example

If a company accumulates taxes for the first half of the year and pays taxes second half, this formula could be entered in a Taxes Payable account:

@if(@halfnum=1, @sum(v1690,@ytd), 0)

with Total Taxes (v1690).