Table
AlcoholDeclarationTransMovement_RU
Alcohol declaration lines - movement
Movement lines of an alcohol declaration, used for Russia. There is one line per journal, declaration type, separate division, product type and manufacturer. It holds quantities for receipts, issues, returns and totals, with opening and closing quantities.
- Table name
AlcoholDeclarationTransMovement_RU- Module
EGAIS- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
UniqueIdx- Replacement key
None- Key fields
JournalId, AlcoholDeclarationType, BranchId, AlcoholProductionTypeId, ManufacturerId- Model
Foundation
Fields (28)
| 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) | Yes | AlcoholDeclarationJournalTransBranch_RU.AlcoholDeclarationType | None |
BranchIdSeparate division of the line, linked to the separate divisions table. | String (20)BranchId_RU | Yes | Branches_RU.BranchId | None |
AlcoholProductionTypeIdAlcohol product type, linked to the alcohol production types table. | StringAlcoholProductionTypeId_RU | Yes | AlcoholProductionType_RU.TypeId | None |
ManufacturerIdCode of the manufacturer, which is a vendor account. | String (20)AlcoholManufacturerId_RU | Yes | VendTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExportSalesQtyQuantity sold for export. | RealQty | No | None | |
ImportPurchQtyQuantity bought from import. | RealQty | No | None | |
InternalTransferIssueQtyQuantity issued in a move within the same organisation. | RealQty | No | None | |
InternalTransferReceiptQtyQuantity received in a move within the same organisation. | RealQty | No | None | |
ManufacturerPurchQtyQuantity bought from manufacturers. | RealQty | No | None | |
OtherIssueQtyQuantity in other issue transactions. | RealQty | No | None | |
OtherRecieptQtyQuantity in other receipts. | RealQty | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodEndQtyQuantity at the end of the reporting period. | RealQty | No | None | |
PeriodStartQtyQuantity at the start of the reporting period. | RealQty | No | None | |
PurchReturnQtyQuantity of production returns, held in the purchase return field. | RealQty | 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 | |
RetailSalesQtyQuantity sold to retail trade organisations. | RealQty | No | None | |
SalesReturnQtyQuantity returned to vendors, held in the sales return field. | RealQty | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TotalIssueQtyTotal quantity of issue transactions. | RealQty | No | None | |
TotalPurchQtyTotal quantity purchased. | RealQty | No | None | |
TotalReceiptQtyTotal quantity received. | RealQty | No | None | |
TotalSalesQtyTotal quantity sold. | RealQty | No | None | |
WholesalePurchQtyQuantity bought from wholesale trade organisations. | RealQty | No | None | |
WholesaleSalesQtyQuantity sold to wholesale trade organisations. | RealQty | No | None |
Indexes (1)
UniqueIdxPrimary indexJournalId,AlcoholDeclarationType,BranchId,AlcoholProductionTypeId,ManufacturerIdUnique, alternate key.
Relations (5)
Each relation joins AlcoholDeclarationTransMovement_RU to another table on the fields shown.
AlcoholDeclarationJournalTable_RU→AlcoholDeclarationJournalTable_RUJoin on
JournalId = AlcoholDeclarationJournalTable_RU.JournalIdMany AlcoholDeclarationTransMovement_RU records → exactly one AlcoholDeclarationJournalTable_RU record
AlcoholDeclarationJournalTransBranch_RU→AlcoholDeclarationJournalTransBranch_RUJoin on
JournalId = AlcoholDeclarationJournalTransBranch_RU.JournalId,AlcoholDeclarationType = AlcoholDeclarationJournalTransBranch_RU.AlcoholDeclarationType,BranchId = AlcoholDeclarationJournalTransBranch_RU.BranchIdMany AlcoholDeclarationTransMovement_RU records → exactly one AlcoholDeclarationJournalTransBranch_RU record
AlcoholManufacturer_RU→VendTableJoin on
ManufacturerId = VendTable.AccountNumMany AlcoholDeclarationTransMovement_RU records → exactly one VendTable record
AlcoholProductionType_RU→AlcoholProductionType_RUJoin on
AlcoholProductionTypeId = AlcoholProductionType_RU.TypeIdMany AlcoholDeclarationTransMovement_RU records → exactly one AlcoholProductionType_RU record
Branches_RU→Branches_RUJoin on
BranchId = Branches_RU.BranchIdMany AlcoholDeclarationTransMovement_RU records → exactly one Branches_RU record
Get this data out
No public entity reads from AlcoholDeclarationTransMovement_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with AlcoholDeclarationTransMovement_RU in a report, an integration or a migration? Talk to Dr Dynamics.