Table

COORule

Country of Origin Rules

Country of origin rules for items. Each row is keyed by item and destination country or region, and gives the origin country or region.

Table name
COORule
Module
Product information management
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
COOCertification
Primary index
None
Replacement key
ItemDestCountryIdx
Key fields
ItemId, DestCountryRegionId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ItemIdItem number the rule applies to, linked to the item record.String (20)
ItemId
YesInventTable.ItemIdNone
DestCountryRegionIdDestination country or region of the rule.String
AddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrigCountryRegionIdOrigin country or region assigned for that item and destination.String
AddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdNone
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

Indexes (1)

Relations (3)

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

  • DestCountryRegionId → LogisticsAddressCountryRegion

    Join on DestCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many COORule records → exactly one LogisticsAddressCountryRegion record

  • OrigCountryRegionId → LogisticsAddressCountryRegion

    Join on OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many COORule records → exactly one LogisticsAddressCountryRegion record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many COORule records → exactly one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk