Procedure by which the sample size for an inspection is determined. In the sampling procedure, the valuation mode is also defined for the inspection result.