Table

BusinessDocumentTypes

Electronic document sources

Setup for electronic document sources. Each record names a source table and links it to model mappings for the document and its context. It also holds settings for file-name number sequences, batch submission, company and the date range to include.

Table name
BusinessDocumentTypes
Module
Cross-module and platform
Table group
Group
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AppSetupIdUnique ID of the application setup. The metadata gives no further detail.low confidenceGuidNoNone
BatchSizeCounter value for the batch. The name suggests the number of items per batch.low confidenceInteger
Counter
NoNone
BatchSubmissionYes or no flag showing whether documents are submitted in batches.Enum
NoYes (enum)
NoNone
BatchSubmissionNumberSeqPoints to the number sequence used for batch submissions.Int64
RefRecId
NoNumberSequenceTable.RecIdNone
CDSIntegrationYes or no flag for integration with Dataverse.Enum
NoYes (enum)
NoNone
DaysToConsiderNumber of days to look back when selecting records.IntegerNoNone
ERModelMappingBusinessDocumentPoints to the model mapping used for the electronic document.Int64
ERModelMappingID
NoERModelMappingTable.RecIdNone
ERModelMappingContextPoints to the model mapping used as the document context.Int64
ERModelMappingID
NoERModelMappingTable.RecIdNone
FileNameNumberSeqPoints to the number sequence used for file names.Int64
RefRecId
NoNumberSequenceTable.RecIdNone
FileNameVariableNameID of the variable used in the file name.String (50)
BusinessDocumentResponseState
NoNone
FilterFieldName of the date field used to filter records.String
FieldName
NoNone
LegalEntityIdCompany (legal entity) that the setup applies to.String
SelectableDataArea
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableNameName of the source table for the electronic document.String
TableName
NoNone

Indexes (1)

Relations (5)

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

  • ERModelMappingTable → ERModelMappingTable

    Join on ERModelMappingContext = ERModelMappingTable.RecId

    Many BusinessDocumentTypes records → zero or one ERModelMappingTable record

  • ERModelMappingBusinessDocument → ERModelMappingTable

    Join on ERModelMappingBusinessDocument = ERModelMappingTable.RecId

    Many BusinessDocumentTypes records → zero or one ERModelMappingTable record

  • NumberSequenceTable → NumberSequenceTable

    Join on FileNameNumberSeq = NumberSequenceTable.RecId

    Zero or one BusinessDocumentTypes record → zero or one NumberSequenceTable record

  • BatchSubmissionNumberSequenceTable → NumberSequenceTable

    Join on BatchSubmissionNumberSeq = NumberSequenceTable.RecId

    Zero or one BusinessDocumentTypes record → zero or one NumberSequenceTable record

  • DataArea_Company → DataArea

    Join on LegalEntityId = DataArea.id, DataArea.isVirtual = null

    Many BusinessDocumentTypes records → zero or one DataArea record

Get this data out

No public entity reads from BusinessDocumentTypes. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk