Table
BaseDocument_IT
Base document
Holds base document references used for Italy, such as an order, contract or original invoice. A row points to a source record through a table ID and record ID, for example an invoice, sales order or purchase order, and adds reference codes like CIPE and tender codes.
- Table name
BaseDocument_IT- Module
Shared payables and receivables- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CIPEcodeCIPE code of the base document. | String (15)Code_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DocumentDateDate of the base document. | DateDocumentDate_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
DocumentNumberNumber of the base document. | String (20)Number_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
DocumentTypeKind of base document, such as payment order, contract, agreement or original invoice. | EnumDocumentType_IT (enum) | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
ItemNumberItem number on the base document. | String (20)Number_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
LineNumberLine number on the base document. | IntegerLineNumber_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
OrderOrAgreementCodeCode of the related order or agreement. | String (100)OrderOrAgreementCode_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchIdPurchase order number linked to the base document. | String (20)PurchId | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentBaseDocumentEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdSystem record ID of the record this base document refers to. | Int64RefRecId | No | BusinessDocumentBaseDocumentEntity | |
RefTableIdID of the table that the referenced record is in. | IntegerRefTableId | No | BusinessDocumentBaseDocumentEntity | |
SalesIdSales order number linked to the base document. | String (20)SalesId | No | BusinessDocumentBaseDocumentEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TenderCodeIdentification code of the tender procedure. | String (15)Code_IT | No | BusinessDocumentBaseDocumentEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 3 more |
Indexes (2)
RefTableIdxNot unique.
RefRecIdNot unique.
Relations (15)
Each relation joins BaseDocument_IT to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
RefTableId = CustInvoiceJour.TableId,RefRecId = CustInvoiceJour.RecIdZero or one BaseDocument_IT record → exactly one CustInvoiceJour record
ProjInvoiceJour→ProjInvoiceJourJoin on
RefTableId = ProjInvoiceJour.TableId,RefRecId = ProjInvoiceJour.RecIdZero or one BaseDocument_IT record → exactly one ProjInvoiceJour record
CustInvoiceTable→CustInvoiceTableJoin on
RefTableId = CustInvoiceTable.TableId,RefRecId = CustInvoiceTable.RecIdCardinality not set in the metadata.
InventJournalTable→InventJournalTableJoin on
RefTableId = InventJournalTable.TableId,RefRecId = InventJournalTable.RecIdZero or one BaseDocument_IT record → exactly one InventJournalTable record
LedgerJournalTable→LedgerJournalTableJoin on
RefTableId = LedgerJournalTable.TableId,RefRecId = LedgerJournalTable.RecIdZero or one BaseDocument_IT record → exactly one LedgerJournalTable record
ProjJournalTable→ProjJournalTableJoin on
RefTableId = ProjJournalTable.TableId,RefRecId = ProjJournalTable.RecIdZero or one BaseDocument_IT record → exactly one ProjJournalTable record
SalesTable→SalesTableJoin on
RefTableId = SalesTable.TableId,RefRecId = SalesTable.RecIdZero or one BaseDocument_IT record → exactly one SalesTable record
ProjProposalJour→ProjProposalJourJoin on
RefTableId = ProjProposalJour.TableId,RefRecId = ProjProposalJour.RecIdZero or one BaseDocument_IT record → exactly one ProjProposalJour record
ProjTable→ProjTableJoin on
RefTableId = ProjTable.TableId,RefRecId = ProjTable.RecIdZero or one BaseDocument_IT record → exactly one ProjTable record
PurchTable→PurchTableJoin on
RefTableId = PurchTable.TableId,RefRecId = PurchTable.RecIdZero or one BaseDocument_IT record → exactly one PurchTable record
LedgerJournalTrans→LedgerJournalTransJoin on
RefTableId = LedgerJournalTrans.TableId,RefRecId = LedgerJournalTrans.RecIdZero or one BaseDocument_IT record → exactly one LedgerJournalTrans record
VendInvoiceInfoTable→VendInvoiceInfoTableJoin on
RefTableId = VendInvoiceInfoTable.TableId,RefRecId = VendInvoiceInfoTable.RecIdZero or one BaseDocument_IT record → exactly one VendInvoiceInfoTable record
CustTrans→CustTransJoin on
RefTableId = CustTrans.TableId,RefRecId = CustTrans.RecIdZero or one BaseDocument_IT record → exactly one CustTrans record
VendTrans→VendTransJoin on
RefTableId = VendTrans.TableId,RefRecId = VendTrans.RecIdZero or one BaseDocument_IT record → exactly one VendTrans record
VendInvoiceJour→VendInvoiceJourJoin on
RefTableId = VendInvoiceJour.TableId,RefRecId = VendInvoiceJour.RecIdZero or one BaseDocument_IT record → exactly one VendInvoiceJour record
Get this data out
Tables are not exposed directly. These public entities read from BaseDocument_IT; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentBaseDocumentEntity· 12 fields from this tableSalesOrderHeaderV4Entity· 8 fields from this tableSalesOrderHeaderV3Entity· 8 fields from this tableSalesOrderHeaderV2Entity· 8 fields from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 8 fields from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 8 fields from this table
Need help with BaseDocument_IT in a report, an integration or a migration? Talk to Dr Dynamics.