Table

InventTestCertOfAnalysisTable

Certificate of analysis

Holds the header of a certificate of analysis. It links the certificate to an item, inventory dimensions, a quality order and a reference such as a sales order line. It also stores the customer, contact, route and packing slip date. Each certificate has its own ID as key.

Table name
InventTestCertOfAnalysisTable
Module
Inventory
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
InventQualityManagement
Primary index
CertificateOfAnalysisIdIdx
Replacement key
CertificateOfAnalysisIdIdx
Key fields
InventCertificateOfAnalysisId
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventCertificateOfAnalysisIdUnique ID of the certificate of analysis. It is the key of the table.String (20)
InventCertificateOfAnalysisId
YesNone
AccountRelationThe customer or vendor account the certificate relates to.String (20)
InventTestAccountRelation
NoCustTable.AccountNumVendTable.AccountNumNone
ContactPersonIdThe contact person for the certificate.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
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
InventDimIdIdentifies the inventory dimensions that apply to the certificate.String (20)
InventDimId
NoInventDim.inventDimIdNone
InventRefIdNumber of the referenced order, here a sales order.String (20)
InventRefId
NoSalesTable.SalesIdNone
InventRefTransIdLot ID of the referenced order line, here a sales order line.String (20)
InventRefTransId
NoSalesLine.InventTransIdNone
ItemIdThe item the certificate is for.String (20)
ItemId
YesInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QMSCustAccountCustomer account the certificate is for.String (20)
CustAccount
NoCustTable.AccountNumNone
QMSPackingSlipDateDate shown on the certificate, likely the packing slip date. The metadata only labels it Date.low confidenceDate
TransDate
NoNone
QMSSalesIdSales order the certificate relates to.String (20)
SalesId
NoNone
QualityOrderIdThe quality order the certificate comes from.String (20)
InventQualityOrderId
YesInventQualityOrderTable.QualityOrderIdNone
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
ReferenceTypeThe type of reference, such as sales, purchase, production or transfer.Enum
InventTestReferenceType (enum)
NoNone
RouteIdThe route the certificate relates to.String (20)
RouteId
NoRouteTable.RouteIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (10)

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

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many InventTestCertOfAnalysisTable records → zero or one ContactPerson record

  • CustTable → CustTable

    Join on ReferenceType = InventTestReferenceType::Sales, AccountRelation = CustTable.AccountNum

    Many InventTestCertOfAnalysisTable records → zero or one CustTable record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many InventTestCertOfAnalysisTable records → zero or one InventDim record

  • InventQualityOrderTable → InventQualityOrderTable

    Join on QualityOrderId = InventQualityOrderTable.QualityOrderId

    Many InventTestCertOfAnalysisTable records → exactly one InventQualityOrderTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many InventTestCertOfAnalysisTable records → exactly one InventTable record

  • RouteTable → RouteTable

    Join on RouteId = RouteTable.RouteId

    Many InventTestCertOfAnalysisTable records → zero or one RouteTable record

  • SalesLine → SalesLine

    Join on ReferenceType = InventTestReferenceType::Sales, InventRefId = SalesLine.SalesId, InventRefTransId = SalesLine.InventTransId

    Many InventTestCertOfAnalysisTable records → zero or one SalesLine record

  • SalesTable → SalesTable

    Join on ReferenceType = InventTestReferenceType::Sales, InventRefId = SalesTable.SalesId

    Many InventTestCertOfAnalysisTable records → zero or one SalesTable record

  • VendTable → VendTable

    Join on ReferenceType = InventTestReferenceType::Purch, AccountRelation = VendTable.AccountNum

    Many InventTestCertOfAnalysisTable records → zero or one VendTable record

  • CustTableCOA → CustTable

    Join on QMSCustAccount = CustTable.AccountNum

    Many InventTestCertOfAnalysisTable records → zero or one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk