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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxPeriodThe sales tax settlement period. | StringTaxPeriod | Yes | TaxPeriodHead.TaxPeriod | None |
FromDateStart date of the settlement period. | DateTaxPeriodDate | Yes | TaxReportPeriod.FromDate | None |
ToDateEnd date of the settlement period. | DateTaxPeriodDate | Yes | TaxReportPeriod.ToDate | None |
TaxBookThe sales tax book this status is for. | Int64TaxBookRecId | No | TaxBook.RecId | None |
ChangedPageNoPage number the numbering was changed to. | IntegerPageNo | No | TaxItalianSalesTaxBookStatusEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FirstPageNoFirst page number of the book. | IntegerPageNo | No | TaxItalianSalesTaxBookStatusEntity | |
FirstPageSummaryNoPage number where the summary starts. | IntegerPageNo | No | TaxItalianSalesTaxBookStatusEntity | |
IncludeReverseTrans_ITShows whether reverse documents are included, used for Italy. | EnumIncludeReverseTrans_ITNoYes (enum) | No | TaxItalianSalesTaxBookStatusEntity | |
IncludeZeroLines_ITShows whether zero-amount documents are included, used for Italy. | EnumIncludeZeroLines_ITNoYes (enum) | No | TaxItalianSalesTaxBookStatusEntity | |
LastPageNoLast page number of the book. | IntegerPageNo | No | TaxItalianSalesTaxBookStatusEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintBlankPageShows whether a blank page is printed when there are no transactions. | EnumNoYes (enum) | No | TaxItalianSalesTaxBookStatusEntity | |
PrintoutStatusState of the printout: not generated, empty, needs regeneration or generated. | EnumTaxBookPrintoutStatus (enum) | No | TaxItalianSalesTaxBookStatusEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBookStatusTypeWhether the row is for a tax book or a tax summary. | EnumTaxBookStatusType (enum) | No | TaxItalianSalesTaxBookStatusEntity |
Indexes (2)
Relations (3)
Each relation joins TaxBookStatus to another table on the fields shown.
TaxBook→TaxBookJoin on
TaxBook = TaxBook.RecIdMany TaxBookStatus records → zero or one TaxBook record
TaxPeriodHead→TaxPeriodHeadJoin on
TaxPeriod = TaxPeriodHead.TaxPeriodMany TaxBookStatus records → exactly one TaxPeriodHead record
TaxReportPeriod→TaxReportPeriodJoin on
TaxPeriod = TaxReportPeriod.TaxPeriod,FromDate = TaxReportPeriod.FromDate,ToDate = TaxReportPeriod.ToDateMany 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.
TaxItalianSalesTaxBookStatusEntity· 9 fields from this table
Need help with TaxBookStatus in a report, an integration or a migration? Talk to Dr Dynamics.