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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventItemSamplingIdUnique ID of the item sampling rule. | StringInventItemSamplingId | Yes | None | |
CompleteBlockingYes/no flag for full blocking. | EnumInventBlockingCompleteNoYes (enum) | No | None | |
CountByItemYes/no flag to split the count by item. | EnumWHSBreakCountByItemNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatePerUpdatedQuantityYes/no flag for creating tests per updated quantity. | EnumInventTestCreatePerUpdatedQuantityNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the sampling rule. | String (60)Description | No | None | |
DiscriminatingInventoryDimensionsNumber that sets the mandatory inventory dimensions. | IntegerInventTestDiscriminatingInventDims | No | None | |
ItemSamplingValueValue used with the quantity specification, such as a percentage or fixed amount. | RealInventItemSamplingValue | Yes | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PerNthLicensePlateNumber n, so that sampling applies to every nth license plate. | IntegerWHSPerNthLicensePlate | No | None | |
QMSAQLChartIdName of the acceptance sampling chart set. Points to an acceptance sampling chart. | StringQMSAQLChartId | No | QMSAQLChart.ChartId | None |
QMSAQLInspectionLevelIdInspection level used within the chart. Points to an inspection level of the chosen chart. | StringQMSAQLInspectionLevelId | No | QMSAQLChartInspectionLevel.InspectionLevelId | None |
QMSCriticalAQLPercentAcceptable quality level index for critical defects. Points to an index in the chosen chart. | StringQMSAQLIndexId | No | QMSAQLChartIndex.IndexId | None |
QMSMajorAQLPercentAcceptable quality level index for major defects. Points to an index in the chosen chart. | StringQMSAQLIndexId | No | QMSAQLChartIndex.IndexId | None |
QMSMinorAQLPercentAcceptable quality level index for minor defects. Points to an index in the chosen chart. | StringQMSAQLIndexId | No | QMSAQLChartIndex.IndexId | None |
QMSSampleInspectionMethodMethod of sample inspection: None, Inline process, Continuous process or Both. | EnumQMSSampleInspectionMethod (enum) | No | None | |
QMSSampleRegistrationNumNumber that sets how often samples are registered, compared with the receipts coming in. | IntegerQMSSampleRegistrationNumber | No | None | |
QMSSampleRegistrationOptionWhether samples are registered by Batch or License plate. | EnumQMSSampleRegistrationOption (enum) | No | None | |
QMSSampleSizeNumber of items in each sample. It is used together with the sample unit. | IntegerQMSSampleSize | No | None | |
QMSSampleTestingNumNumber that sets how many registered samples are tested with quality orders. | IntegerQMSSampleTestingNumber | No | None | |
QMSSampleUnitUnit of measure for the sample size. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
QMSUseAcceptanceSamplingChartChoice of whether acceptance sampling charts are used: None or Single. | EnumQMSUseAcceptanceSamplingChart (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SamplingScopeScope the sampling applies to: Order, Shipment or Load. | EnumWHSQualityManagementSamplingScope (enum) | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TestQtySpecificationWay the sample quantity is set: Percent, Fixed quantity, Full license plate or Acceptance sampling. | EnumInventTestQtySpecification (enum) | No | None |
Indexes (1)
InventItemSamplingIdIdxPrimary indexReplacement keyUnique, alternate key.
Relations (6)
Each relation joins InventItemSampling to another table on the fields shown.
QMSAQLChart→QMSAQLChartJoin on
QMSAQLChartId = QMSAQLChart.ChartId,QMSAQLChart.IsValid = NoYes::YesMany InventItemSampling records → zero or one QMSAQLChart record
QMSAQLChartInspectionLevel→QMSAQLChartInspectionLevelJoin on
QMSAQLChartId = QMSAQLChartInspectionLevel.ChartId,QMSAQLInspectionLevelId = QMSAQLChartInspectionLevel.InspectionLevelIdMany InventItemSampling records → zero or one QMSAQLChartInspectionLevel record
QMSAQLChartIndexCritical→QMSAQLChartIndexJoin on
QMSAQLChartId = QMSAQLChartIndex.ChartId,QMSCriticalAQLPercent = QMSAQLChartIndex.IndexIdMany InventItemSampling records → zero or one QMSAQLChartIndex record
QMSAQLChartIndexMinor→QMSAQLChartIndexJoin on
QMSAQLChartId = QMSAQLChartIndex.ChartId,QMSMinorAQLPercent = QMSAQLChartIndex.IndexIdMany InventItemSampling records → zero or one QMSAQLChartIndex record
QMSAQLChartIndexMajor→QMSAQLChartIndexJoin on
QMSAQLChartId = QMSAQLChartIndex.ChartId,QMSMajorAQLPercent = QMSAQLChartIndex.IndexIdMany InventItemSampling records → zero or one QMSAQLChartIndex record
QMSSampleUnit→UnitOfMeasureJoin on
QMSSampleUnit = UnitOfMeasure.SymbolMany 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.