Magidoc

AccountingPeriod
Object

Fields

#

_id

ID !
Non-null

workspaceId

ID !
Non-null

glCompanyId

The GL company whose books this calendar governs. Null in a workspace that has provisioned no companies — that workspace has one implicit set of books, and this is its calendar.

name

Non-null

startDate

Non-null

endDate

Non-null

status

Non-null

closedAt

closedBy

closeChecklist

closeControls

restatement

How the system of record has moved this period since its close. Set only on a period the QuickBooks import closed to mirror the source's book-close date and then wrote into again, because the source accepted a revision inside its closed books; null on every other period.

externalService

The system this calendar came from: null for a period an operator created in Hive, the external service that provisioned it otherwise. A workspace importing a source's fiscal calendar keeps two books of periods in one register, and this is what tells a reader which row belongs to which.

calendarOverlap

How this period's calendar stood against the others governing the same books, back when two periods could cover one day. They no longer can — every writer of the collection refuses a range another period already governs — so this answers null on every period.

postingActivity

The journals that reached this period's ledger, newest first — a window, not all of them.

postingActivityCount

How many journals reached this period's ledger, which postingActivity is a window onto.

pendingPostings

The documents that would write a journal into this period, which postingActivity's journals already have. Each row can be dry-run through previewPosting; a posted document cannot.

createdAt

Non-null

modifiedAt

Non-null

createdBy

ID !
Non-null

modifiedBy

ID !
Non-null

Usages

#

References

#

  • Field getAccountingPeriods from Query
  • Field getAccountingPeriod from Query