Table

PdsMRCCustomerHistory

Product safety data sheet log

Logs safety data sheets that were sent to customers. Each record is identified by customer, sales order, item and document number. It also records the bill of materials, country, language and last sent date.

Table name
PdsMRCCustomerHistory
Module
Product information management
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
PdsMRC
Primary index
SalesItemDocumentIdx
Replacement key
None
Key fields
Customer, SalesId, ItemId, DocumentId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustomerAccount of the customer who received the safety data sheet.String (20)
CustAccount
YesCustTable.AccountNumNone
SalesIdThe sales order linked to the log entry.String (20)
SalesId
YesSalesTable.SalesIdNone
ItemIdThe item that the safety data sheet is for.String (20)
ItemId
YesInventTable.ItemIdNone
DocumentIdNumber of the safety data sheet in the log entry.String (20)
PdsMRCDocumentId
YesPdsMRCDocument.DocumentIdNone
BOMIdThe bill of materials linked to the log entry.String (20)
PdsMRCBOMId
NoBOMTable.BOMIdNone
CountryIdThe country or region linked to the log entry.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LanguageIdLanguage of the safety data sheet.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
LastSentDate when the document was last sent.Date
PdsMRCLastSent
NoNone
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 (9)

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

  • BOMTable → BOMTable

    Join on BOMId = BOMTable.BOMId

    Many PdsMRCCustomerHistory records → zero or one BOMTable record

  • CustomerRelation → CustTable

    Join on Customer = CustTable.AccountNum

    Many PdsMRCCustomerHistory records → exactly one CustTable record

  • DocumentIdRelation → PdsMRCDocument

    Join on DocumentId = PdsMRCDocument.DocumentId

    Many PdsMRCCustomerHistory records → exactly one PdsMRCDocument record

  • DocumentRelation → PdsMRCDocument

    Join on CountryId = PdsMRCDocument.CountryId, BOMId = PdsMRCDocument.BOMID, ItemId = PdsMRCDocument.ItemId, LanguageId = PdsMRCDocument.Language

    Many PdsMRCCustomerHistory records → exactly one PdsMRCDocument record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PdsMRCCustomerHistory records → exactly one InventTable record

  • languagetable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId

    Many PdsMRCCustomerHistory records → zero or one LanguageTable record

  • LanguageTableLookup → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many PdsMRCCustomerHistory records → exactly one LanguageTable record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryId = LogisticsAddressCountryRegion.CountryRegionId

    Many PdsMRCCustomerHistory records → zero or one LogisticsAddressCountryRegion record

  • SalesIdRelation → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many PdsMRCCustomerHistory records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk