|
id
|
bigint(20) unsigned
|
|
|
|
|
reversal_run_id
|
bigint(20) unsigned
|
|
|
|
|
line_no
|
smallint(5) unsigned
|
|
|
|
|
source_posting_family
|
varchar(20)
|
|
|
|
|
source_posting_run_line_id
|
bigint(20) unsigned
|
|
|
|
|
source_ledger_posting_id
|
bigint(20) unsigned
|
|
|
|
|
source_audit_posting_id
|
bigint(20) unsigned
|
|
|
|
|
source_row_fingerprint
|
char(64)
|
|
|
|
|
ledger_id
|
bigint(20) unsigned
|
|
|
|
|
ledger_group_id
|
bigint(20) unsigned
|
|
|
|
|
original_entry_side
|
enum
|
-- |
|
|
|
original_dr_amount
|
decimal(18,2)
|
|
|
0.00
|
|
original_cr_amount
|
decimal(18,2)
|
|
|
0.00
|
|
reversal_entry_side
|
enum
|
-- |
|
|
|
reversal_dr_amount
|
decimal(18,2)
|
|
|
0.00
|
|
reversal_cr_amount
|
decimal(18,2)
|
|
|
0.00
|
|
correspondent_ledger_id
|
bigint(20) unsigned
|
|
|
|
|
corr_ledger_group_id
|
bigint(20) unsigned
|
|
|
|
|
sort_order
|
smallint(5) unsigned
|
|
|
|
|
is_main_row
|
tinyint(1) unsigned
|
|
|
0
|
|
cash_or_bank
|
enum
|
-- |
|
Party
|
|
by_or_to
|
enum
|
-- |
|
|
|
txn_date
|
date
|
|
|
|
|
narration
|
varchar(500)
|
|
|
|
|
reversal_row_fingerprint
|
char(64)
|
|
|
|
|
reversal_ledger_posting_id
|
bigint(20) unsigned
|
|
|
|
|
reversal_audit_posting_id
|
bigint(20) unsigned
|
|
|
|
|
execution_status
|
varchar(20)
|
|
|
PENDING
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|