Table

BusinessDocumentSubmission

Electronic document submission log

Logs submissions of electronic documents, with status, error messages and timing. It points to the source record by table ID and record ID. It also has fields for Chorus Pro, used for France. Rows can link to a parent submission.

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

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChorusProDepositDateTime_FRDate and time the invoice was submitted to Chorus Pro, used for France, held as text.String (30)
BusinessDocumentSubmittedDateTimeString
NoBusinessDocChorusProProjInvoiceEntityBusinessDocChorusProSalesInvoiceEntity
ChorusProDepositId_FRDeposit identifier from Chorus Pro, used for France.String (100)
BusinessDocChorusProDepositId_FR
NoBusinessDocChorusProProjInvoiceEntityBusinessDocChorusProSalesInvoiceEntity
ChorusProInvoiceStatus_FRInvoice status from Chorus Pro, used for France.String (50)
BusinessDocChorusProInvoiceStatus_FR
NoBusinessDocChorusProProjInvoiceEntityBusinessDocChorusProSalesInvoiceEntity
ChorusProRefusalReason_FRReason given for rejection in Chorus Pro, used for France.String (254)
BusinessDocChorusProRefusalReason_FR
NoBusinessDocChorusProProjInvoiceEntityBusinessDocChorusProSalesInvoiceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocDetailsDataStored document detail key data.low confidenceContainer
KeyData
NoNone
DocDetailsDataValuesDocument detail values that identify the document.low confidenceString (50)
KeyDataArray
NoNone
ErrorMsgError message text from a failed submission.String (255)
ErrorMsg
NoNone
ExecutionIdUnique ID (GUID) of the execution.Guid
SysGuid
NoNone
ExistExternalYes or No flag showing whether related external submissions exist.Enum
NoYesId
NoYes (enum)
NoNone
FilenameName of the file submitted.String (259)
Filename
NoNone
KeyDataStored key field data of the document.Container
KeyData
NoNone
KeyDataValuesKey values that identify the document.String (50)
KeyDataArray
NoNone
LogStored log data in container form.low confidenceContainer
KeyData
NoNone
ParentRefRecIdPoints to the parent submission record.Int64
RefRecId
NoBusinessDocumentSubmission.RecIdNone
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
RefRecIdSystem record ID of the record that was submitted.Int64
RefRecId
NoNone
RefTableIdID of the table that holds the submitted record.Integer
RefTableId
NoNone
StageNumber of the stage of the submission.Integer
Integer
NoNone
StageDescriptionShort text describing the stage.String (60)
Description
NoNone
StateProcessing state of the submission, such as Scheduled, Completed or Failed.Enum
BusinessDocumentState (enum)
NoNone
StatusLong text with the document status.String (-1)
BusinessDocumentSubmissionStatus
NoNone
StatusCodeCode of the document status.String (50)
BusinessDocumentSubmissionStatusCodeStr
NoNone
StatusDetailsLong text with details of the document status.String (-1)
BusinessDocumentSubmissionStatusDetails
NoNone
StatusReasonLong text giving the reason for the document status.String (-1)
BusinessDocumentSubmissionStatusReason
NoNone
StatusReturnDateTimeDate and time the status was returned.UtcDateTime
BusinessDocumentSubmissionStatusReturnDateTime
NoNone
SubmittedDateTimeDate and time the document was sent, held as text.String (30)
BusinessDocumentSubmittedDateTimeString
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimestampTicksTimestamp stored as a tick count.low confidenceInt64NoNone
UIDUnique ID (GUID) of the electronic document.GuidNoNone

Indexes (4)

Relations (3)

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

  • Common → Common

    Join on RefTableId = Common.TableId, RefRecId = Common.RecId

    Zero or one BusinessDocumentSubmission record → exactly one Common record

  • BusinessDocumentSubmissionParent → BusinessDocumentSubmission

    Join on ParentRefRecId = BusinessDocumentSubmission.RecId

    Zero or one BusinessDocumentSubmission record → exactly one BusinessDocumentSubmission record

  • CustInvoiceJour → CustInvoiceJour

    Join on RefTableId = CustInvoiceJour.TableId, RefRecId = CustInvoiceJour.RecId

    Zero or one BusinessDocumentSubmission record → exactly one CustInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk