> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.claruswms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SBD and BBD Date Validation

> How the HHD system validates Sell By and Best Before dates to prevent out-of-date stock from being received into the warehouse.

## Preventing out-of-date stock

The Handheld Device (HHD) system automatically validates any entered **Sell By Date (SBD)** or **Best Before Date (BBD)** against the current system date and time. This prevents expired stock from being accidentally received or entered into the system.

## How it works

Consider a standard "blind receipt" workflow:

<Steps>
  <Step title="Date entry">
    When prompted, you enter a Sell By or Best Before date on the HHD. If today's date is **11/03/2026** and you enter an expired date such as **10/03/2025**, the system triggers an immediate alert.

    <Frame>
      <img src="https://mintcdn.com/clarussoftwareltd/IoDXnMWDsRrsTbC6/images/knowledgebase/validation-sbd-bbd-preventing-1.png?fit=max&auto=format&n=IoDXnMWDsRrsTbC6&q=85&s=4cc289ddc3ea0c27e075e8d2d63f9167" alt="HHD screen showing an expired date entry triggering an alert" width="1432" height="1084" data-path="images/knowledgebase/validation-sbd-bbd-preventing-1.png" />
    </Frame>
  </Step>

  <Step title="Error handling">
    An error message is displayed, blocking you from proceeding with a date in the past.

    <Frame>
      <img src="https://mintcdn.com/clarussoftwareltd/IoDXnMWDsRrsTbC6/images/knowledgebase/validation-sbd-bbd-preventing-2.png?fit=max&auto=format&n=IoDXnMWDsRrsTbC6&q=85&s=caf4a23c3fbbdd14721c1cea11b9b840" alt="HHD error message blocking progress due to an expired date" width="1602" height="649" data-path="images/knowledgebase/validation-sbd-bbd-preventing-2.png" />
    </Frame>
  </Step>

  <Step title="Correction">
    Once you correct the date to a valid future date (e.g., **12/03/2026**), the system validates the entry and allows you to continue.

    <Frame>
      <img src="https://mintcdn.com/clarussoftwareltd/IoDXnMWDsRrsTbC6/images/knowledgebase/validation-sbd-bbd-preventing-3.png?fit=max&auto=format&n=IoDXnMWDsRrsTbC6&q=85&s=9e1e2249d3515a044f67e589d00429e9" alt="HHD screen accepting a corrected valid future date" width="738" height="850" data-path="images/knowledgebase/validation-sbd-bbd-preventing-3.png" />
    </Frame>
  </Step>
</Steps>

<Info>This validation works identically for both **Sell By** and **Best Before** date fields.</Info>

<Tip>This safeguard helps improve inventory accuracy and reduce waste by catching date entry errors at the point of receipt.</Tip>
