Table

SuppItemTable

Supplementary items

Defines supplementary items that go with another item. A rule applies to an item, group or all items, and to an account, group or all accounts, for inventory, customers or vendors. It also holds quantities, a validity period and flags for free, optional and once-only items.

Table name
SuppItemTable
Module
Sales and marketing
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
TradeAgreements
Primary index
SuppItemTableIdx
Replacement key
None
Key fields
Module, ItemCode, ItemRelation, AccountCode, AccountRelation, InventDimId, UnitId, RecId
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ModuleArea the rule is used in: inventory, customer or vendor.Enum
SuppItemModule
ModuleInventCustVend (enum)
NoSuppItemGroup.ModuleNone
ItemCodeShows whether the rule applies to one item, a group of items or all items.Enum
SuppItemItemCode
TableGroupAll (enum)
NoNone
ItemRelationItem or item group that the rule applies to, depending on the item code.String (20)
SuppItemItemRelation
NoInventTable.ItemIdNone
AccountCodeShows whether the rule applies to one account, a group of accounts or all accounts.Enum
SuppItemAccountCode
TableGroupAll (enum)
NoNone
AccountRelationCustomer or vendor account, or group, that the rule applies to, depending on the account code.String (20)
SuppItemAccountRelation
NoCustTable.AccountNumVendTable.AccountNumNone
InventDimIdInventory dimension combination that the rule applies to.String (20)
InventDimId
NoInventDim.inventDimIdNone
UnitIdUnit of measure for the quantities.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateFirst date the rule is valid.Date
FromDate
NoNone
MinimumQtySmallest quantity that applies to the rule.Real
SuppItemQtyMinimum
NoNone
MultipleQtyQuantity step used for the rule.Real
SuppItemQtyMultiple
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SuppItemFreeYes or no flag showing whether the supplementary item is free of charge.Enum
SuppItemFree
NoYes (enum)
NoNone
SuppItemIdItem that is added as the supplementary item.String (20)
SuppItemId
YesInventTable.ItemIdNone
SuppItemInventDimIdInventory dimension combination that applies to the supplementary item.String (20)
InventDimId
NoInventDim.inventDimIdNone
SuppItemOnlyOnceYes or no flag showing whether the supplementary item is added only once.Enum
SuppItemOnlyOnce
NoYes (enum)
NoNone
SuppItemOptionalYes or no flag showing whether the supplementary item is optional.Enum
SuppItemOptional
NoYes (enum)
NoNone
SuppItemQtyQuantity of the supplementary item.Real
SuppItemQty
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateLast date the rule is valid.Date
ToDate
NoNone

Indexes (1)

Relations (10)

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

  • CustSuppItemGroup → SuppItemGroup

    Join on Module = SuppItemGroup.Module, AccountCode = TableGroupAll::GroupId, AccountRelation = SuppItemGroup.GroupId

    Many SuppItemTable records → zero or one SuppItemGroup record

  • CustTable → CustTable

    Join on Module = ModuleInventCustVend::Cust, AccountCode = TableGroupAll::Table, AccountRelation = CustTable.AccountNum

    Many SuppItemTable records → zero or one CustTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SuppItemTable records → zero or one InventDim record

  • InventSuppItemGroup → SuppItemGroup

    Join on SuppItemGroup.Module = ModuleInventCustVend::Invent, ItemCode = TableGroupAll::GroupId, ItemRelation = SuppItemGroup.GroupId

    Many SuppItemTable records → zero or one SuppItemGroup record

  • InventTable → InventTable

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

    Many SuppItemTable records → zero or one InventTable record

  • SupplementaryInventDim → InventDim

    Join on SuppItemInventDimId = InventDim.inventDimId

    Many SuppItemTable records → zero or one InventDim record

  • SupplementaryInventTable → InventTable

    Join on SuppItemId = InventTable.ItemId

    Many SuppItemTable records → exactly one InventTable record

  • UnitId → UnitOfMeasure

    Join on UnitId = UnitOfMeasure.Symbol

    Many SuppItemTable records → zero or one UnitOfMeasure record

  • VendSuppItemGroup → SuppItemGroup

    Join on Module = SuppItemGroup.Module, AccountCode = TableGroupAll::GroupId, AccountRelation = SuppItemGroup.GroupId

    Many SuppItemTable records → zero or one SuppItemGroup record

  • VendTable → VendTable

    Join on Module = ModuleInventCustVend::Vend, AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many SuppItemTable records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk