|
id
|
bigint(20) unsigned
|
|
|
|
|
scheme_id
|
bigint(20) unsigned
|
|
|
Browse foreign values
|
|
ledger_id
|
bigint(20) unsigned
|
|
|
|
|
agreement_no
|
varchar(80)
|
|
|
|
|
agreement_date
|
date
|
|
|
|
|
valid_from
|
date
|
|
|
|
|
valid_to
|
date
|
|
|
|
|
customer_target_amount
|
decimal(18,2)
|
|
|
0.00
|
|
custom_discount_rate
|
decimal(9,4)
|
|
|
|
|
custom_fixed_discount_amount
|
decimal(18,2)
|
|
|
|
|
document_path
|
varchar(500)
|
|
|
|
|
status
|
enum
|
-- |
|
DRAFT
|
|
remarks
|
text
|
|
|
|
|
branch_id
|
int(10) unsigned
|
|
|
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
0
|
|
updated_by
|
int(10) unsigned
|
|
|
0
|
|
cancelled_by
|
int(10) unsigned
|
|
|
|
|
cancelled_at
|
datetime
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|