How about this wrinkle ... what would you do?
Total Population 20,000
Customer takes deliver of 396 ... finds 2 failures
C=0 Sampling of 315 units yields one failure (.040 AQL)
Common sense would dictate sorting / screening, but that also takes time.
Estimating number of potential defects in remaining population?
What is probability of more than estimated failures in balance of population?