Table

InventItemSampling

Item sampling

Defines item sampling rules for quality checks, keyed by a sampling ID. It sets how the sample size is found, such as percent, fixed quantity or acceptance sampling. It also holds acceptance sampling chart settings, AQL levels and sample registration and testing options.

Table name
InventItemSampling
Module
Inventory
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
InventQualityManagement
Primary index
InventItemSamplingIdIdx
Replacement key
InventItemSamplingIdIdx
Key fields
InventItemSamplingId
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventItemSamplingIdUnique ID of the item sampling rule.String
InventItemSamplingId
YesNone
CompleteBlockingYes/no flag for full blocking.Enum
InventBlockingComplete
NoYes (enum)
NoNone
CountByItemYes/no flag to split the count by item.Enum
WHSBreakCountByItem
NoYes (enum)
NoNone
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
CreatePerUpdatedQuantityYes/no flag for creating tests per updated quantity.Enum
InventTestCreatePerUpdatedQuantity
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the sampling rule.String (60)
Description
NoNone
DiscriminatingInventoryDimensionsNumber that sets the mandatory inventory dimensions.Integer
InventTestDiscriminatingInventDims
NoNone
ItemSamplingValueValue used with the quantity specification, such as a percentage or fixed amount.Real
InventItemSamplingValue
YesNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PerNthLicensePlateNumber n, so that sampling applies to every nth license plate.Integer
WHSPerNthLicensePlate
NoNone
QMSAQLChartIdName of the acceptance sampling chart set. Points to an acceptance sampling chart.String
QMSAQLChartId
NoQMSAQLChart.ChartIdNone
QMSAQLInspectionLevelIdInspection level used within the chart. Points to an inspection level of the chosen chart.String
QMSAQLInspectionLevelId
NoQMSAQLChartInspectionLevel.InspectionLevelIdNone
QMSCriticalAQLPercentAcceptable quality level index for critical defects. Points to an index in the chosen chart.String
QMSAQLIndexId
NoQMSAQLChartIndex.IndexIdNone
QMSMajorAQLPercentAcceptable quality level index for major defects. Points to an index in the chosen chart.String
QMSAQLIndexId
NoQMSAQLChartIndex.IndexIdNone
QMSMinorAQLPercentAcceptable quality level index for minor defects. Points to an index in the chosen chart.String
QMSAQLIndexId
NoQMSAQLChartIndex.IndexIdNone
QMSSampleInspectionMethodMethod of sample inspection: None, Inline process, Continuous process or Both.Enum
QMSSampleInspectionMethod (enum)
NoNone
QMSSampleRegistrationNumNumber that sets how often samples are registered, compared with the receipts coming in.Integer
QMSSampleRegistrationNumber
NoNone
QMSSampleRegistrationOptionWhether samples are registered by Batch or License plate.Enum
QMSSampleRegistrationOption (enum)
NoNone
QMSSampleSizeNumber of items in each sample. It is used together with the sample unit.Integer
QMSSampleSize
NoNone
QMSSampleTestingNumNumber that sets how many registered samples are tested with quality orders.Integer
QMSSampleTestingNumber
NoNone
QMSSampleUnitUnit of measure for the sample size.String
UnitOfMeasureSymbol
NoUnitOfMeasure.SymbolNone
QMSUseAcceptanceSamplingChartChoice of whether acceptance sampling charts are used: None or Single.Enum
QMSUseAcceptanceSamplingChart (enum)
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
SamplingScopeScope the sampling applies to: Order, Shipment or Load.Enum
WHSQualityManagementSamplingScope (enum)
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
TestQtySpecificationWay the sample quantity is set: Percent, Fixed quantity, Full license plate or Acceptance sampling.Enum
InventTestQtySpecification (enum)
NoNone

Indexes (1)

Relations (6)

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

  • QMSAQLChart → QMSAQLChart

    Join on QMSAQLChartId = QMSAQLChart.ChartId, QMSAQLChart.IsValid = NoYes::Yes

    Many InventItemSampling records → zero or one QMSAQLChart record

  • QMSAQLChartInspectionLevel → QMSAQLChartInspectionLevel

    Join on QMSAQLChartId = QMSAQLChartInspectionLevel.ChartId, QMSAQLInspectionLevelId = QMSAQLChartInspectionLevel.InspectionLevelId

    Many InventItemSampling records → zero or one QMSAQLChartInspectionLevel record

  • QMSAQLChartIndexCritical → QMSAQLChartIndex

    Join on QMSAQLChartId = QMSAQLChartIndex.ChartId, QMSCriticalAQLPercent = QMSAQLChartIndex.IndexId

    Many InventItemSampling records → zero or one QMSAQLChartIndex record

  • QMSAQLChartIndexMinor → QMSAQLChartIndex

    Join on QMSAQLChartId = QMSAQLChartIndex.ChartId, QMSMinorAQLPercent = QMSAQLChartIndex.IndexId

    Many InventItemSampling records → zero or one QMSAQLChartIndex record

  • QMSAQLChartIndexMajor → QMSAQLChartIndex

    Join on QMSAQLChartId = QMSAQLChartIndex.ChartId, QMSMajorAQLPercent = QMSAQLChartIndex.IndexId

    Many InventItemSampling records → zero or one QMSAQLChartIndex record

  • QMSSampleUnit → UnitOfMeasure

    Join on QMSSampleUnit = UnitOfMeasure.Symbol

    Many InventItemSampling records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk