Table

TaxBookStatus

Sales tax book status

Tracks the status of sales tax books for a settlement period and date range. It stores page numbers and the printout status. The key is period, from date, to date and book.

Table name
TaxBookStatus
Module
Tax
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
TaxBookPeriodIdx
Key fields
TaxPeriod, FromDate, ToDate, TaxBook
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxPeriodThe sales tax settlement period.String
TaxPeriod
YesTaxPeriodHead.TaxPeriodNone
FromDateStart date of the settlement period.Date
TaxPeriodDate
YesTaxReportPeriod.FromDateNone
ToDateEnd date of the settlement period.Date
TaxPeriodDate
YesTaxReportPeriod.ToDateNone
TaxBookThe sales tax book this status is for.Int64
TaxBookRecId
NoTaxBook.RecIdNone
ChangedPageNoPage number the numbering was changed to.Integer
PageNo
NoTaxItalianSalesTaxBookStatusEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FirstPageNoFirst page number of the book.Integer
PageNo
NoTaxItalianSalesTaxBookStatusEntity
FirstPageSummaryNoPage number where the summary starts.Integer
PageNo
NoTaxItalianSalesTaxBookStatusEntity
IncludeReverseTrans_ITShows whether reverse documents are included, used for Italy.Enum
IncludeReverseTrans_IT
NoYes (enum)
NoTaxItalianSalesTaxBookStatusEntity
IncludeZeroLines_ITShows whether zero-amount documents are included, used for Italy.Enum
IncludeZeroLines_IT
NoYes (enum)
NoTaxItalianSalesTaxBookStatusEntity
LastPageNoLast page number of the book.Integer
PageNo
NoTaxItalianSalesTaxBookStatusEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintBlankPageShows whether a blank page is printed when there are no transactions.Enum
NoYes (enum)
NoTaxItalianSalesTaxBookStatusEntity
PrintoutStatusState of the printout: not generated, empty, needs regeneration or generated.Enum
TaxBookPrintoutStatus (enum)
NoTaxItalianSalesTaxBookStatusEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxBookStatusTypeWhether the row is for a tax book or a tax summary.Enum
TaxBookStatusType (enum)
NoTaxItalianSalesTaxBookStatusEntity

Indexes (2)

Relations (3)

Each relation joins TaxBookStatus to another table on the fields shown.

  • TaxBook → TaxBook

    Join on TaxBook = TaxBook.RecId

    Many TaxBookStatus records → zero or one TaxBook record

  • TaxPeriodHead → TaxPeriodHead

    Join on TaxPeriod = TaxPeriodHead.TaxPeriod

    Many TaxBookStatus records → exactly one TaxPeriodHead record

  • TaxReportPeriod → TaxReportPeriod

    Join on TaxPeriod = TaxReportPeriod.TaxPeriod, FromDate = TaxReportPeriod.FromDate, ToDate = TaxReportPeriod.ToDate

    Many TaxBookStatus records → exactly one TaxReportPeriod record

Get this data out

Tables are not exposed directly. These public entities read from TaxBookStatus; use one of them in Power BI, Power Platform or a data management project.

Need help with TaxBookStatus in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk