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 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)
YesAlcoholDeclarationJournalTransBranch_RU.AlcoholDeclarationTypeNone
BranchIdSeparate division of the line, linked to the separate divisions table.String (20)
BranchId_RU
YesBranches_RU.BranchIdNone
AlcoholProductionTypeIdAlcohol product type, linked to the alcohol production types table.String
AlcoholProductionTypeId_RU
YesAlcoholProductionType_RU.TypeIdNone
ManufacturerIdCode of the manufacturer, which is a vendor account.String (20)
AlcoholManufacturerId_RU
YesVendTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExportSalesQtyQuantity sold for export.Real
Qty
NoNone
ImportPurchQtyQuantity bought from import.Real
Qty
NoNone
InternalTransferIssueQtyQuantity issued in a move within the same organisation.Real
Qty
NoNone
InternalTransferReceiptQtyQuantity received in a move within the same organisation.Real
Qty
NoNone
ManufacturerPurchQtyQuantity bought from manufacturers.Real
Qty
NoNone
OtherIssueQtyQuantity in other issue transactions.Real
Qty
NoNone
OtherRecieptQtyQuantity in other receipts.Real
Qty
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PeriodEndQtyQuantity at the end of the reporting period.Real
Qty
NoNone
PeriodStartQtyQuantity at the start of the reporting period.Real
Qty
NoNone
PurchReturnQtyQuantity of production returns, held in the purchase return field.Real
Qty
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
RetailSalesQtyQuantity sold to retail trade organisations.Real
Qty
NoNone
SalesReturnQtyQuantity returned to vendors, held in the sales return field.Real
Qty
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalIssueQtyTotal quantity of issue transactions.Real
Qty
NoNone
TotalPurchQtyTotal quantity purchased.Real
Qty
NoNone
TotalReceiptQtyTotal quantity received.Real
Qty
NoNone
TotalSalesQtyTotal quantity sold.Real
Qty
NoNone
WholesalePurchQtyQuantity bought from wholesale trade organisations.Real
Qty
NoNone
WholesaleSalesQtyQuantity sold to wholesale trade organisations.Real
Qty
NoNone

Indexes (1)

Relations (5)

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

  • AlcoholDeclarationJournalTable_RU → AlcoholDeclarationJournalTable_RU

    Join on JournalId = AlcoholDeclarationJournalTable_RU.JournalId

    Many AlcoholDeclarationTransMovement_RU records → exactly one AlcoholDeclarationJournalTable_RU record

  • AlcoholDeclarationJournalTransBranch_RU → AlcoholDeclarationJournalTransBranch_RU

    Join on JournalId = AlcoholDeclarationJournalTransBranch_RU.JournalId, AlcoholDeclarationType = AlcoholDeclarationJournalTransBranch_RU.AlcoholDeclarationType, BranchId = AlcoholDeclarationJournalTransBranch_RU.BranchId

    Many AlcoholDeclarationTransMovement_RU records → exactly one AlcoholDeclarationJournalTransBranch_RU record

  • AlcoholManufacturer_RU → VendTable

    Join on ManufacturerId = VendTable.AccountNum

    Many AlcoholDeclarationTransMovement_RU records → exactly one VendTable record

  • AlcoholProductionType_RU → AlcoholProductionType_RU

    Join on AlcoholProductionTypeId = AlcoholProductionType_RU.TypeId

    Many AlcoholDeclarationTransMovement_RU records → exactly one AlcoholProductionType_RU record

  • Branches_RU → Branches_RU

    Join on BranchId = Branches_RU.BranchId

    Many 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.

Email sales@drdynamics.co.uk