Table

EGAISOutgoingDocument_RU

Outgoing EGAIS documents

Documents sent to EGAIS, used for Russia. Each record keeps the document type, version, status, sent time, the XML sent and the response. It links to a separate division and to the source document that was sent.

Table name
EGAISOutgoingDocument_RU
Module
EGAIS
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BranchIdSeparate division that sent the document. Points to a separate division record.String (20)
BranchId_RU
YesBranches_RU.BranchIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DigitalSignatureElectronic signature attached to the document when it goes to EGAIS.String (255)
EGAISDigitalSignature_RU
NoNone
DocumentIdIdentifier of the outgoing document.String
EGAISOutgoingDocumentId_RU
YesNone
DocumentTypeKind of document, such as bill of lading, ticket or inventory statement.Enum
EGAISDocumentType_RU (enum)
NoNone
DocumentVersionVersion of the EGAIS document format: version 1 or version 2.Enum
EGAISDocumentVersion_RU (enum)
NoNone
InfoStored infolog messages for the document.Container
InfologData
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
ReplyIdIdentifier of the reply received from EGAIS.String (255)
EGAISReplyId_RU
NoNone
ResponseXMLXML of the response to the document.String (-1)
XML
NoNone
SentDateTimeDate and time at which the document was sent.UtcDateTime
TransDateTime
NoNone
SourceRecIdSystem record ID of the source record behind the document, such as an inventory statement or a confirmation ticket. The table depends on the document type.Int64NoEGAISChargeOnJour_RU.InventJournalTableEGAISConfirmTicket_RU.RecIdEGAISInfoVersionTTN_RU.RecIdEGAISQuery_RU.RecIdEGAISRequestRepealWB_RU.RecIdEGAISWaybillActJour_RU.RecIdEGAISWaybillJour_RU.RecIdEGAISWriteOffJour_RU.InventJournalTableNone
StatusSending status of the document: created, queued, sent or error.Enum
EGAISOutgoingDocumentStatus_RU (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UrlWeb address linked to the document.String (255)
EGAISUrl_RU
NoNone
XMLFull XML content of the document.String (-1)
XML
YesNone

Indexes (3)

Relations (9)

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

  • Branches_RU → Branches_RU

    Join on BranchId = Branches_RU.BranchId

    Many EGAISOutgoingDocument_RU records → exactly one Branches_RU record

  • EGAISChargeOnJour_RU → EGAISChargeOnJour_RU

    Join on DocumentType = 7, SourceRecId = EGAISChargeOnJour_RU.InventJournalTable

    Zero or one EGAISOutgoingDocument_RU record → zero or one EGAISChargeOnJour_RU record

  • EGAISConfirmTicket_RU → EGAISConfirmTicket_RU

    Join on DocumentType = 4, SourceRecId = EGAISConfirmTicket_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISConfirmTicket_RU record

  • EGAISInfoVersionTTN_RU → EGAISInfoVersionTTN_RU

    Join on DocumentType = 40, SourceRecId = EGAISInfoVersionTTN_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISInfoVersionTTN_RU record

  • EGAISQuery_RU → EGAISQuery_RU

    Join on DocumentType = 9, DocumentType = 12, DocumentType = 14, DocumentType = 17, DocumentType = 18, SourceRecId = EGAISQuery_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISQuery_RU record

  • EGAISRequestRepealWB_RU → EGAISRequestRepealWB_RU

    Join on DocumentType = 43, SourceRecId = EGAISRequestRepealWB_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISRequestRepealWB_RU record

  • EGAISWaybillActJour_RU → EGAISWaybillActJour_RU

    Join on DocumentType = 3, SourceRecId = EGAISWaybillActJour_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISWaybillActJour_RU record

  • EGAISWaybillJour_RU → EGAISWaybillJour_RU

    Join on DocumentType = 1, SourceRecId = EGAISWaybillJour_RU.RecId

    Many EGAISOutgoingDocument_RU records → exactly one EGAISWaybillJour_RU record

  • EGAISWriteOffJour_RU → EGAISWriteOffJour_RU

    Join on DocumentType = 19, SourceRecId = EGAISWriteOffJour_RU.InventJournalTable

    Zero or one EGAISOutgoingDocument_RU record → zero or one EGAISWriteOffJour_RU record

Get this data out

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

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

Email sales@drdynamics.co.uk