Table

AlcoholDeclarationJournalTransBranch_RU

Alcohol declaration journal lines by separate division

Alcohol declaration journal lines split by separate division, used for Russia. The key is the journal, declaration type and division. Each line holds the calculation status, correction number and approval details.

Table name
AlcoholDeclarationJournalTransBranch_RU
Module
EGAIS
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
JournalTypeBranchIdx
Replacement key
JournalTypeBranchIdx
Key fields
JournalId, AlcoholDeclarationType, BranchId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
JournalIdNumber of the alcohol declaration journal that the line belongs to.String (20)
AlcoholDeclarationJournalId_RU
YesAlcoholDeclarationJournalTable_RU.JournalIdNone
AlcoholDeclarationTypeType of declaration: wholesale 5, 6 or 7, or retail 11 or 12.Enum
AlcoholDeclarationType_RU (enum)
NoAlcoholDeclarationJournalTrans_RU.AlcoholDeclarationTypeNone
BranchIdSeparate division of the line, linked to the separate divisions table.String (20)
BranchId_RU
YesBranches_RU.BranchIdNone
ApprovedShows whether the line is approved (yes or no).Enum
Approved
NoYes (enum)
NoNone
ApproverWorker who approved the line, linked to the worker record.Int64
HcmWorkerRecId
NoHcmWorker.RecIdNone
CorrectionNumNumber of the correction.Integer
AlcoholDeclarationCorrectionNum_RU
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
StatusShows whether the line is calculated or not calculated.Enum
AlcoholDeclarationStatus_RU (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • AlcoholDeclarationJournalTable_RU → AlcoholDeclarationJournalTable_RU

    Join on JournalId = AlcoholDeclarationJournalTable_RU.JournalId

    Many AlcoholDeclarationJournalTransBranch_RU records → exactly one AlcoholDeclarationJournalTable_RU record

  • AlcoholDeclarationJournalTrans_RU → AlcoholDeclarationJournalTrans_RU

    Join on JournalId = AlcoholDeclarationJournalTrans_RU.JournalId, AlcoholDeclarationType = AlcoholDeclarationJournalTrans_RU.AlcoholDeclarationType

    Many AlcoholDeclarationJournalTransBranch_RU records → exactly one AlcoholDeclarationJournalTrans_RU record

  • Branches_RU → Branches_RU

    Join on BranchId = Branches_RU.BranchId

    Many AlcoholDeclarationJournalTransBranch_RU records → exactly one Branches_RU record

  • HcmWorker_FK → HcmWorker

    Join on Approver = HcmWorker.RecId

    Many AlcoholDeclarationJournalTransBranch_RU records → zero or one HcmWorker record

Get this data out

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

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

Email sales@drdynamics.co.uk