Hi
The GL entry is recorded automatically for each line of Debit and Credit for all kinds of doctypes possessing accounting impact. For instance, sales invoice brings receivable and income account GLs to be booked generally and as soon as you cancel it will again record reversals for each line.
This is why you see first two lines for the submitted record and then two for cancelled record.
thanks for your response @ahsantareen
i found the meaning of duplicate it is not duplicate but when i submit the doc in our filters is sales inovice and the customer, the JL created as my filter its appear for the uniqe sales invoice once but when i cancelled it appear towic why? because the cancelled action edit the first gl and add new record so its appear towic