Table

InventBaileeCalcSetup_RU

Storage calculation setup

Setup for storage calculation, used for Russia. Each row sets a storage calculation item and a date range. It is matched by agreement, customer, warehouse and item, each as a single record, a group or all. No key is defined.

Table name
InventBaileeCalcSetup_RU
Module
Inventory
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementCodeWhether the agreement relation is a single record, a group or all.Enum
TableGroupAll (enum)
NoNone
AgreementRelationCode of the agreement classification. Relates to an agreement classification.String (60)
Name
NoNone
CalcItemIdItem used for the storage calculation. Points to an item.String (20)
InventBaileeCalcItemId
YesInventTable.ItemIdNone
CustCodeWhether the customer relation is a single customer, a group or all.Enum
TableGroupAll (enum)
NoNone
CustRelationCustomer account or customer group, depending on the customer relation type.String (20)
InventCustVendRel
NoCustGroup.CustGroupCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateFirst date the setup applies.Date
FromDate
NoNone
InventLocationCodeWhether the warehouse relation is a single record, a group or all.Enum
TableGroupAll (enum)
NoNone
InventLocationRelationWarehouse or site code, depending on the warehouse relation type.String
InventLocationRelation
NoInventLocation.InventLocationIdInventSite.SiteIdNone
ItemCodeWhether the item relation is a single item, a group or all.Enum
TableGroupAll (enum)
NoNone
ItemRelationItem or item group, depending on the item code type.String (20)
InventItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateLast date the setup applies.Date
ToDate
NoNone

Indexes (1)

Relations (9)

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

  • AgreementClassification → AgreementClassification

    Join on AgreementClassification.AgreementRelationType = 4903, AgreementCode = TableGroupAll::GroupId, AgreementRelation = AgreementClassification.Name

    Many InventBaileeCalcSetup_RU records → zero or one AgreementClassification record

  • CalcItemInventTable → InventTable

    Join on CalcItemId = InventTable.ItemId, InventTable.ItemType = ItemType::Item

    One or more InventBaileeCalcSetup_RU records → exactly one InventTable record

  • CustGroup → CustGroup

    Join on CustCode = TableGroupAll::GroupId, CustRelation = CustGroup.CustGroup

    Many InventBaileeCalcSetup_RU records → zero or one CustGroup record

  • CustTable → CustTable

    Join on CustCode = TableGroupAll::Table, CustRelation = CustTable.AccountNum

    Many InventBaileeCalcSetup_RU records → zero or one CustTable record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many InventBaileeCalcSetup_RU records → zero or one InventItemGroup record

  • InventLocation → InventLocation

    Join on InventLocationCode = TableGroupAll::Table, InventLocationRelation = InventLocation.InventLocationId

    Many InventBaileeCalcSetup_RU records → zero or one InventLocation record

  • InventSite → InventSite

    Join on InventLocationCode = TableGroupAll::GroupId, InventLocationRelation = InventSite.SiteId

    Many InventBaileeCalcSetup_RU records → zero or one InventSite record

  • InventTable → InventTable

    Join on InventTable.ItemType = ItemType::Item, ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many InventBaileeCalcSetup_RU records → zero or one InventTable record

  • InventTableCalcItem → InventTable

    Join on CalcItemId = InventTable.ItemId, InventTable.ItemType = ItemType::Item

    One or more InventBaileeCalcSetup_RU records → exactly one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk