|
id
|
bigint(20) unsigned
|
|
|
|
|
scheme_code
|
varchar(40)
|
|
|
|
|
scheme_name
|
varchar(150)
|
|
|
|
|
scheme_type
|
enum
|
-- |
|
OTHER
|
|
calculation_method
|
enum
|
-- |
|
PERCENTAGE
|
|
turnover_basis
|
enum
|
-- |
|
TAXABLE_VALUE
|
|
claim_frequency
|
enum
|
-- |
|
ON_DEMAND
|
|
valid_from
|
date
|
|
|
|
|
valid_to
|
date
|
|
|
|
|
minimum_turnover
|
decimal(18,2)
|
|
|
0.00
|
|
maximum_turnover
|
decimal(18,2)
|
|
|
|
|
target_amount
|
decimal(18,2)
|
|
|
0.00
|
|
default_discount_rate
|
decimal(9,4)
|
|
|
0.0000
|
|
fixed_discount_amount
|
decimal(18,2)
|
|
|
0.00
|
|
maximum_discount_amount
|
decimal(18,2)
|
|
|
|
|
return_treatment
|
enum
|
-- |
|
SUBTRACT_POSTED
|
|
agreement_required
|
tinyint(1)
|
|
|
0
|
|
invoice_link_required
|
tinyint(1)
|
|
|
1
|
|
gst_treatment_mode
|
enum
|
-- |
|
AUTO
|
|
itc_confirmation_required
|
tinyint(1)
|
|
|
0
|
|
approval_required
|
tinyint(1)
|
|
|
1
|
|
allow_partial_claim
|
tinyint(1)
|
|
|
0
|
|
allow_multiple_claims_per_period
|
tinyint(1)
|
|
|
0
|
|
discount_ledger_id
|
bigint(20) unsigned
|
|
|
0
|
|
priority
|
smallint(5) unsigned
|
|
|
100
|
|
notes
|
text
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
0
|
|
updated_by
|
int(10) unsigned
|
|
|
0
|
|
deleted_by
|
int(10) unsigned
|
|
|
|
|
deleted_at
|
datetime
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|
|
discount_basis_mode
|
enum
|
-- |
|
TAXABLE_BASE
|