Skip to content

Commit cf3b220

Browse files
Fix invalid JS syntax in autonumber fix script
Previously, the file used invalid JS comment syntax and was missing a closing bracket on its while block.
1 parent 5d284c5 commit cf3b220

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Fixscript for autonumbering issues
2-
# This script will be run in global using scripts Background
3-
# Update the tableName per requirement
1+
// Fix script for autonumbering issues
2+
// This script will be run in global using scripts Background
3+
// Update the tableName per requirement
44

55
var nm = new NumberManager(tableName);
66

@@ -15,8 +15,6 @@ grTableName.orderBy('sys_created_on');
1515
grTableName.query();
1616

1717
while (grTableName.next()) {
18-
19-
grTableName.number =
20-
nm.getNextObjNumberPadded();
21-
22-
grTableName.update();
18+
grTableName.number = nm.getNextObjNumberPadded();
19+
grTableName.update();
20+
}

0 commit comments

Comments
 (0)