ALTER TABLE `0p4_gin_inv` 
ADD INDEX `idx_gin_inv_gin_id`(`good_issue_note_id`) USING BTREE,
ADD INDEX `idx_gin_inv_inv_id`(`invoice_id`) USING BTREE;


ALTER TABLE `0p4_invoice` 
ADD INDEX `idx-inv_inv_no`(`invoice_no`) USING BTREE;