Promotion Code
Overview
Section titled “Overview”Frappe DocType Promotion Code (Lee Kim Alliance ERP).
- Category: CRM & sales support
- Module folder:
lee_kim_alliance_erp - Submittable: No
- Track changes: No
Source files
Section titled “Source files”- JSON:
leekimerp/lee_kim_alliance_erp/doctype/promotion_code/promotion_code.json - Server:
leekimerp/lee_kim_alliance_erp/doctype/promotion_code/promotion_code.py - Client:
leekimerp/lee_kim_alliance_erp/doctype/promotion_code/promotion_code.js - List client:
leekimerp/lee_kim_alliance_erp/doctype/promotion_code/promotion_code_list.js
ERPNext / standard integration
Section titled “ERPNext / standard integration”Add narrative here: which standard DocTypes (Customer, Sales Invoice, Employee, …) this document links to or replaces in workflows. See Module mapping and feature pages.
Desk & process flow
Section titled “Desk & process flow”- Typical entry: (add List / Form route or workspace name)
- Process: (add state machine / approvals / schedulers)
Fields
Section titled “Fields”| Field | Label | Type | Options | Req | RO |
|---|---|---|---|---|---|
| value | Value | Float | — | Yes | — |
| expiry_date | Expiry Date | Date | — | Yes | — |
| promotion_code | Promotion Code | Data | — | Yes | — |
| promotion_type | Promotion Type | Select | Percentage Fixed Amount | — | — |
| recurring | Recurring | Select | Disable Enable | — | — |
| recur_for | Recur For | Float | — | — | — |
| apply_to | Apply to | Select | All Other | — | — |
| maximum_user | Maximum User | Int | — | — | — |
| availed_user | Availed User | Int | — | — | — |
| packages | Packages | Table MultiSelect | Promo Code Package | — | — |
| services | Services | Table MultiSelect | Promo Code Services | — | — |
| billing_cycle | Billing Cycle | Select | One Time Monthly Quarterly Semi-Annually Annually Biennially Triennially | — | — |
| promo_user | Promo User | Select | Apply Once New Signups Apply Once / Client Lifetime Promotion Existing Client Enable for product upgrades | — | — |
| admin_notes | Admin Notes | Small Text | — | — | — |
| generate_code | Generate Code | Button | — | — | — |
| status | Status | Select | Active Stopped | — | — |
| start_date | Start Date | Date | — | Yes | — |
Structural breaks (Tab/Section/Column) are omitted from the table.