# Implement Time Based Happy Hours Scheme in Sale Bill

**YouTube:** [How to Apply a Time Based Happy Hours Scheme in Sale Bill?](https://www.youtube.com/watch?v=hicS_0xFFuM)

## How to Apply a Time Based Happy Hours Scheme in Sale Bill?

In this tutorial, we will learn how to set up a **Happy Hour Scheme** in Logic ERP, where a discount is applied only during specific time intervals on selected days.

***

### **Access to Scheme Campaign**

* Navigate to the **Configuration** menu.
* Open **Setup Scheme Campaign**.
* Click **Refresh**.

Since this scheme depends on timing, first enable the **Campaign Schedule** column:

* Open **Set Column Attributes** and enable **Campaign Schedule**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FLeSzKgybWxq88vSjhXiI%2FSet%20Column%20Attribute.png?alt=media&#x26;token=4acf7147-b7cc-4bfd-a754-65996474e48e" alt=""><figcaption></figcaption></figure>

* Enter the **Scheme Campaign Name**.
* Define the **active date range** for the campaign.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FymFK2MBnXv5FXNYms4xi%2FFlash%20Sa%3Be.png?alt=media&#x26;token=1d76280e-a9ad-4cbf-bf3c-8bdbc4ac673f" alt=""><figcaption></figcaption></figure>

***

### **Configure the Happy Hour Schedule**

* In the **Campaign Schedule** column, press the **Space** key to open the scheduler.
* Define the **Task Name** (e.g., “Happy Hour Discount”).
* Set the **Start Time** and **End Time** during which the scheme will remain active.
* Click **Add**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FkUhlEBuevqYM03juBgeE%2FTime%20Slab.png?alt=media&#x26;token=c58e9241-ca1f-4832-855b-2b44d90335ed" alt=""><figcaption></figcaption></figure>

#### **Set Recurrence Pattern**

* Choose whether the schedule should repeat **Weekly** or **Monthly**.
* For **Weekly**, select:
  * The applicable week (specific or all weeks)
  * The **days** on which the scheme should run\
    \&#xNAN;*Example: Enable the scheme every Friday during the specified hours.*

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fnw3bNP5g1VcLWt1yB0LZ%2FRecurrence%20Pattern.png?alt=media&#x26;token=9f66475f-ecbf-40b2-bffa-7f3e1a5018ca" alt=""><figcaption></figcaption></figure>

The system will display the start date automatically.

* Click **Add/Update** and then **Done** to save the schedule.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6vybgfP8w1A57cLtOeIy%2FAdd%20to%20update.png?alt=media&#x26;token=8f62a5a4-6be7-4407-bbcc-0fca3dd676b8" alt=""><figcaption></figcaption></figure>

* Save the scheme campaign.

***

### **Configure Group Options**

* Go to the **Group Options** tab.
* Select the scheme campaign.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FHvUBHx3Kps93V3JUtNbS%2FChoose%20Group.png?alt=media&#x26;token=39882bdb-0dc5-4c3d-b769-fe2436198423" alt=""><figcaption></figcaption></figure>

* Enter the **Group Name**.
* In the *Scheme Group Type* column, press the **Space** key.
* Select the appropriate type (e.g., Company/Brand/Item Group).

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F7ehlwwflpuQwJn8nW2NV%2FFlash%20Sale%20Group.png?alt=media&#x26;token=38d46c65-fec3-44a1-b277-9daafa977803" alt=""><figcaption></figcaption></figure>

* Save the changes.

***

### **Assign Items to the Scheme**

* Open the **Scheme Group** tab.
* Select the appropriate **Item Category/Brand** on which the scheme will apply.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FqePq06Sxokc622Egsr6d%2FScheme%20Group%20-%20Shirt.png?alt=media&#x26;token=e2014c6a-2afc-483c-9b15-6c339fa70509" alt=""><figcaption></figcaption></figure>

* Click **Save**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FZWCKg1NmolrKgUMk9JeI%2FSave%20-%20Scheme%20Group.png?alt=media&#x26;token=f3cf968b-93ce-4e66-b60f-ee7c73472cc4" alt=""><figcaption></figcaption></figure>

***

### **Define Slab Details**

* Open **Scheme Campaign Slab Details** from the configuration menu.
* Select the scheme campaign.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FSkZh8vV53MCu1zlIcp0p%2FChoose%20Group.png?alt=media&#x26;token=ab1061c2-833d-446a-88f2-68b959081bd8" alt=""><figcaption></figcaption></figure>

* Enter **1** in the *Minimum Quantity/Value* field.
* Set **Scheme Basis = Quantity**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fxojfn6pkyDIE8TpuyWbZ%2FMin%20Qty.png?alt=media&#x26;token=810ac835-166d-49d7-9baa-96fc4c55ce10" alt=""><figcaption></figcaption></figure>

#### **Slab Setup**

* Slab Value = **1**
* Cash Discount (CD) = **25%**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Flq6Ia03ppZ7aXzJjV1Cn%2FDefine%20Slab.png?alt=media&#x26;token=6070fcdd-0d0f-4a06-be65-03c60c6c97cc" alt=""><figcaption></figcaption></figure>

* Save the slab settings.

***

### **Implement the Happy Hour Scheme in the Sale Bill**

* Open the **Sale Bill (Touch Screen)** window.
* Start a **new transaction**.

#### **Scenario 1 — Outside Happy Hour Timing**

* Even though the day is correct (e.g., Friday), if the current time is *not* within the scheduled happy hour:
  * Save the bill → **No scheme will appear**.
  * This confirms that the scheme is inactive outside the defined time interval.

#### **Scenario 2 — During Happy Hour Timing**

* Create a new bill once the Happy Hour time has started.
* Save the voucher:
  * The **Happy Hour Scheme** appears in the available schemes window.
  * Tick to apply the scheme.
  * The discount is applied automatically.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FFTCBSRMYwL1AwwNJOWFi%2FTime.png?alt=media&#x26;token=8864c53c-fe93-4e10-aaee-893ac77af1f0" alt=""><figcaption></figcaption></figure>

This verifies that the scheme activates and deactivates strictly according to the defined **day + time interval**.

***

### **Conclusion**

Happy Hour Schemes in Logic ERP help automate time-based promotions by applying discounts only during predefined hours and days. Once configured, the system intelligently checks the day, time, and schedule rules before enabling the discount, ensuring accurate and effortless promotional management at the billing counter.
