Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count : Time taken :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark Query failed Database : Queried time :
Table structure
Settings for the table structure (list of columns).
Table structure
Documentation Whether the table structure actions should be hidden. Restore default value
Documentation Whether column comments should be shown in table structure view Restore default value
Default transformations
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value
Documentation Values for options list for default transformations. These will be overwritten if transformation is filled in at table structure page. Restore default value

discount_rebate_claims

# Name Type Collation Attributes Null Default Comments Extra Action
1 bigint(20) UNSIGNED No None AUTO_INCREMENT Change Change Drop Drop
2 varchar(60) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
3 smallint(5) UNSIGNED No 1 Change Change Drop Drop
4 varchar(64) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
5 bigint(20) UNSIGNED No None Change Change Drop Drop
6 bigint(20) UNSIGNED Yes NULL Change Change Drop Drop
7 bigint(20) UNSIGNED No None ledger_details.id - validated by application Change Change Drop Drop
8 date No None Change Change Drop Drop
9 date No None Change Change Drop Drop
10 enum('TAXABLE_VALUE', 'NET_INVOICE_VALUE', 'COLLEC... utf8mb4_unicode_ci No None Change Change Drop Drop
11 decimal(18,2) No 0.00 Change Change Drop Drop
12 decimal(18,2) No 0.00 Change Change Drop Drop
13 decimal(18,2) No 0.00 Change Change Drop Drop
14 decimal(18,2) No 0.00 Change Change Drop Drop
15 decimal(18,2) No 0.00 Change Change Drop Drop
16 decimal(9,4) No 0.0000 Change Change Drop Drop
17 decimal(9,4) No 0.0000 Change Change Drop Drop
18 decimal(18,2) No 0.00 Change Change Drop Drop
19 decimal(18,2) No 0.00 Change Change Drop Drop
20 decimal(18,2) No 0.00 Change Change Drop Drop
21 decimal(18,2) No 0.00 Change Change Drop Drop
22 decimal(18,2) No 0.00 Change Change Drop Drop
23 decimal(18,2) No 0.00 Change Change Drop Drop
24 decimal(18,2) No 0.00 Change Change Drop Drop
25 decimal(18,2) No 0.00 Change Change Drop Drop
26 enum('UNDECIDED', 'GST_CREDIT_NOTE', 'COMMERCIAL_C... utf8mb4_unicode_ci No UNDECIDED Change Change Drop Drop
27 enum('Y', 'N', 'NA') utf8mb4_unicode_ci No NA Change Change Drop Drop
28 enum('Y', 'N', 'NA') utf8mb4_unicode_ci No NA Change Change Drop Drop
29 enum('Y', 'N', 'NA') utf8mb4_unicode_ci No NA Change Change Drop Drop
30 enum('Y', 'N', 'NA') utf8mb4_unicode_ci No NA Change Change Drop Drop
31 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
32 enum('DRAFT', 'CALCULATED', 'SUBMITTED', 'APPROVAL... utf8mb4_unicode_ci No DRAFT Change Change Drop Drop
33 int(10) UNSIGNED No 1 Change Change Drop Drop
34 int(10) UNSIGNED No 1 Change Change Drop Drop
35 char(64) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
36 datetime Yes NULL Change Change Drop Drop
37 bigint(20) UNSIGNED Yes NULL discount_credit_note_entries.id Change Change Drop Drop
38 varchar(50) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
39 int(10) UNSIGNED No None Change Change Drop Drop
40 int(10) UNSIGNED No None Change Change Drop Drop
41 int(10) UNSIGNED No None Change Change Drop Drop
42 int(10) UNSIGNED No None Change Change Drop Drop
43 int(10) UNSIGNED Yes NULL Change Change Drop Drop
44 int(10) UNSIGNED Yes NULL Change Change Drop Drop
45 int(10) UNSIGNED Yes NULL Change Change Drop Drop
46 int(10) UNSIGNED Yes NULL Change Change Drop Drop
47 int(10) UNSIGNED Yes NULL Change Change Drop Drop
48 datetime Yes NULL Change Change Drop Drop
49 datetime Yes NULL Change Change Drop Drop
50 datetime Yes NULL Change Change Drop Drop
51 datetime Yes NULL Change Change Drop Drop
52 datetime Yes NULL Change Change Drop Drop
53 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
54 varchar(500) utf8mb4_unicode_ci Yes NULL Change Change Drop Drop
55 tinyint(1) No 0 Change Change Drop Drop
56 int(10) UNSIGNED Yes NULL Change Change Drop Drop
57 datetime Yes NULL Change Change Drop Drop
58 datetime No current_timestamp() Change Change Drop Drop
59 datetime Yes NULL ON UPDATE CURRENT_TIMESTAMP() Change Change Drop Drop
60 enum('TAXABLE_BASE', 'DOCUMENT_VALUE') utf8mb4_unicode_ci No TAXABLE_BASE Snapshot of scheme discount basis at calculation time Change Change Drop Drop
61 decimal(18,2) No 0.00 Server-calculated amount on which scheme rate/fixed/slab was applied Change Change Drop Drop
62 enum('TAXABLE_DISCOUNT', 'GROSS_CREDIT') utf8mb4_unicode_ci No TAXABLE_DISCOUNT Meaning of discount_amount for this immutable calculation snapshot Change Change Drop Drop
63 decimal(18,2) No 0.00 Pre-tax discount represented by tax allocation snapshot Change Change Drop Drop
64 varchar(60) utf8mb4_unicode_ci No STEP_5_BASIS_GST_SNAPSHOT_V1 Allocation engine/version used to create the snapshot Change Change Drop Drop
With selected: With selected:

Add column  Add column(s)  
Indexes Documentation
Action Keyname Type Unique Packed Column Cardinality Collation Null Comment
Edit Edit Rename Rename Drop Drop PRIMARY BTREE Yes No id 0 A No
Edit Edit Rename Rename Drop Drop uq_drc_period_seq BTREE Yes No branch_id 0 A No
scheme_id 0 A No
ledger_id 0 A No
period_from 0 A No
period_to 0 A No
claim_sequence_no 0 A No
Edit Edit Rename Rename Drop Drop uq_drc_claim_no BTREE Yes No branch_id 0 A No
finance_year_id 0 A No
claim_no 0 A Yes
Edit Edit Rename Rename Drop Drop uq_drc_idempotency BTREE Yes No branch_id 0 A No
idempotency_key 0 A Yes
Edit Edit Rename Rename Drop Drop uq_drc_credit_note BTREE Yes No credit_note_entry_id 0 A Yes
Edit Edit Rename Rename Drop Drop idx_drc_queue BTREE No No branch_id 0 A No
finance_year_id 0 A No
status 0 A No
delete_status 0 A No
created_at 0 A No
Edit Edit Rename Rename Drop Drop idx_drc_customer_period BTREE No No branch_id 0 A No
ledger_id 0 A No
scheme_id 0 A No
period_from 0 A No
period_to 0 A No
status 0 A No
delete_status 0 A No
Edit Edit Rename Rename Drop Drop idx_drc_scheme_status BTREE No No branch_id 0 A No
scheme_id 0 A No
status 0 A No
delete_status 0 A No
period_to 0 A No
Edit Edit Rename Rename Drop Drop idx_drc_posted BTREE No No branch_id 0 A No
finance_year_id 0 A No
posted_at 0 A Yes
credit_note_entry_id 0 A Yes
Edit Edit Rename Rename Drop Drop fk_drc_scheme BTREE No No scheme_id 0 A No
Edit Edit Rename Rename Drop Drop fk_drc_agreement BTREE No No agreement_id 0 A Yes
Create an index on columns
Partitions Documentation
Information
Space usage
Data 16.0 KiB
Index 160.0 KiB
Overhead 0 B
Effective 176.0 KiB
Total 176.0 KiB
Optimize table Optimize table
Row statistics
Format dynamic
Collation utf8mb4_unicode_ci
Next autoindex 1
Creation Sep 19, 2026 at 09:30 AM
Last update Sep 29, 2026 at 08:09 PM
Last check Sep 29, 2026 at 08:09 PM