We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070b3c8 commit d64da12Copy full SHA for d64da12
Fix scripts/FixscriptsForAutoNumberingIssues
@@ -0,0 +1,10 @@
1
+#Fixscript for autonumbering issues
2
+#This script will be run in global using scripts Background
3
+
4
+var nm = new NumberManager(tablename);
5
+var gr = new GlideRecord(tablename);
6
+gr.orderBy('sys_created_on');
7
+gr.query();
8
+while (gr.next()) {
9
+ gr.number = nm.getNextObjNumberPadded();
10
+ gr.update();
0 commit comments