During sales order entry, we’re receiving a posting error message ‘Number sequence GL003 has been exceeded’.Ā We have multiple companies within D365 and this error is specific to only one particular company.
I don’t know if this would work in D365, but we have a job that runs nightly that compares the current value of a number sequence against it’s max and sends out an alert if it exceeds a specific threshold.
We run the following SQL to determine if there are ANY sequences to report and if so, launch another job that pulls all of them and alerts via email.Ā Ā
@Threshold INT = 90 — threshold for number sequence consumption IF ( SELECT TOP 1 NumberSequence FROM [AX2012R3_PROD].[dbo].[NUMBERSEQUENCETABLE] WHERE ROUND(((CONVERT(REAL,([NEXTREC]-[LOWEST]))/(CONVERT(REAL,[HIGHEST]-[LOWEST])))*100),1) > @Threshold ) IS NOT NULL Ā Ā BEGIN Ā Ā Ā Ā Ā Do Some Stuff Ā Ā Ā END
This doesn’t help your current situation, but may be of use in the future if you can get it to work with D365.
Jeff
—————————— Jeff Austin Application Specialist 5 Bush Brothers & Company Knoxville TN —————————— ——————————————-
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.
Report
You have already reported this .
Welcome to our new site!
Here you will find a wealth of information created for peopleĀ that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!