Harry Chen
Active Member
This issue is in JDE's FAQ in Oracle Support but still there is no easy solution so I am creating a new thread hoping to gather power from all of you to have a real solution.
We have been having question about why address book Next Number is skipping sporadically for years and now this issue is getting more serious as the next number is skipped to 7 digits. Our current next number for address book is 1005024 (7 digits) but there are only 45870 (5 digits) records totally in table F0101. So the gap of skipped next number is huge.
The document "E1: 01: FAQ - Frequently Asked Questions about Address Book Next Numbers (P0002) [ID 759399.1]" was found on Oracle Support website and the same issue is displayed on the item 1 there (1. Why are Address Book Next Numbers Skipping Sporadically? Next Numbers by Company is not active and Check Digit functionality is not active? ). The resolution in the document is actually suggesting us to monitor what applications are causing the problem - it seems it is not easy to find a solution. We are writing this Service Request hoping to get your experience or suggestions before we proceed with some steps.
1. One option could be manually change the current next number for system code 01 to a smaller number. For example we can change it from 1005024 to 100700. It is mentioned in FAQ item 3. Next Numbers for Address Book are handled differently than other Next Numbers. If the maximum number (i.e. 99999999) has been used, the next number for Address Book rolls to the next available number. So we guess lower the current Next Number would be OK and this might be the fastest workaround.
Is it safe to lower the next number manually?
2. Is there a way that we can enable a logging of next number updates or address book creation?
If so we might be able to track down and find what application are causing the next number skipping.
3. If we have to do logging by ourselves we are thinking to add table trigger to F0002.
Do you have any experience of performance impact for applying table trigger to F0002?
Is there a way that we can capture Program ID in Audit Information so we know which program of business function is changing F0002.
I found one existing post for the same issue.
Related post: Post 164185
We have been having question about why address book Next Number is skipping sporadically for years and now this issue is getting more serious as the next number is skipped to 7 digits. Our current next number for address book is 1005024 (7 digits) but there are only 45870 (5 digits) records totally in table F0101. So the gap of skipped next number is huge.
The document "E1: 01: FAQ - Frequently Asked Questions about Address Book Next Numbers (P0002) [ID 759399.1]" was found on Oracle Support website and the same issue is displayed on the item 1 there (1. Why are Address Book Next Numbers Skipping Sporadically? Next Numbers by Company is not active and Check Digit functionality is not active? ). The resolution in the document is actually suggesting us to monitor what applications are causing the problem - it seems it is not easy to find a solution. We are writing this Service Request hoping to get your experience or suggestions before we proceed with some steps.
1. One option could be manually change the current next number for system code 01 to a smaller number. For example we can change it from 1005024 to 100700. It is mentioned in FAQ item 3. Next Numbers for Address Book are handled differently than other Next Numbers. If the maximum number (i.e. 99999999) has been used, the next number for Address Book rolls to the next available number. So we guess lower the current Next Number would be OK and this might be the fastest workaround.
Is it safe to lower the next number manually?
2. Is there a way that we can enable a logging of next number updates or address book creation?
If so we might be able to track down and find what application are causing the next number skipping.
3. If we have to do logging by ourselves we are thinking to add table trigger to F0002.
Do you have any experience of performance impact for applying table trigger to F0002?
Is there a way that we can capture Program ID in Audit Information so we know which program of business function is changing F0002.
I found one existing post for the same issue.
Related post: Post 164185