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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JournalIdNumber of the alcohol declaration journal that the line belongs to. | String (20)AlcoholDeclarationJournalId_RU | Yes | AlcoholDeclarationJournalTable_RU.JournalId | None |
AlcoholDeclarationTypeType of declaration: wholesale 5, 6 or 7, or retail 11 or 12. | EnumAlcoholDeclarationType_RU (enum) | No | AlcoholDeclarationJournalTrans_RU.AlcoholDeclarationType | None |
BranchIdSeparate division of the line, linked to the separate divisions table. | String (20)BranchId_RU | Yes | Branches_RU.BranchId | None |
ApprovedShows whether the line is approved (yes or no). | EnumApprovedNoYes (enum) | No | None | |
ApproverWorker who approved the line, linked to the worker record. | Int64HcmWorkerRecId | No | HcmWorker.RecId | None |
CorrectionNumNumber of the correction. | IntegerAlcoholDeclarationCorrectionNum_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StatusShows whether the line is calculated or not calculated. | EnumAlcoholDeclarationStatus_RU (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
JournalTypeBranchIdxPrimary indexReplacement keyJournalId,AlcoholDeclarationType,BranchIdUnique, alternate key.
Relations (4)
Each relation joins AlcoholDeclarationJournalTransBranch_RU to another table on the fields shown.
AlcoholDeclarationJournalTable_RU→AlcoholDeclarationJournalTable_RUJoin on
JournalId = AlcoholDeclarationJournalTable_RU.JournalIdMany AlcoholDeclarationJournalTransBranch_RU records → exactly one AlcoholDeclarationJournalTable_RU record
AlcoholDeclarationJournalTrans_RU→AlcoholDeclarationJournalTrans_RUJoin on
JournalId = AlcoholDeclarationJournalTrans_RU.JournalId,AlcoholDeclarationType = AlcoholDeclarationJournalTrans_RU.AlcoholDeclarationTypeMany AlcoholDeclarationJournalTransBranch_RU records → exactly one AlcoholDeclarationJournalTrans_RU record
Branches_RU→Branches_RUJoin on
BranchId = Branches_RU.BranchIdMany AlcoholDeclarationJournalTransBranch_RU records → exactly one Branches_RU record
HcmWorker_FK→HcmWorkerJoin on
Approver = HcmWorker.RecIdMany 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.