Duplicate Deferred revenue accounting entry is being created by Autoinvoice Import job for Invoices
I'm seeing that Autoinvoice-Import job is creating duplicate Unearned revenue distributions for Invoices that were created for Orders having time based revenue contingency applied on them. I was trying to find a pattern on why this is happening but I'm unable to find out. This is only happening in production instance and I'm unable to replicate it in the testing environment.
I have checked the below tables and do not see any reason why AutoInvoice will create duplicate Unearned revenue accounting lines.
select * from apps.AR_DEFERRED_LINES_ALL whehre customer_trx_line_id = '1209146';
select * from apps.AR_DEFERRED_LINES_ALL whehre customer_trx_line_id = '1209146';