Can we create unique constraint on AP_INVOICES_ALL to avoid duplicate voucher number issue
Oracle EBS R12.2.7
Italian Localization
Issue - Facing Duplicate Voucher number.
Details - There is Italian localization functionality. It assigns Temporary sequence to AP invoices once it imports. After Invoice Validates, it checks for VAT lines and convert that temporary to Permenent sequence.
While assigning Permenent sequence, there are situations where same voucher number ( doc_sequence_value ) is assigned to multiple invoices.
This issue is not reproducible in lower instances.
As as workaround solution, we want to create Unique constraint on the below three columns in AP_INVOICES_ALL standard oracle table.
1. Org_id
2. doc_sequence_id
3. doc_sequence_value
Question - Can we create unique constraint on this standard oracle table AP_INVOICE_ALL. Are there known issues or suggestions from the expert team in this community.