How the System Calculates Lost Sales