- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am getting errors in my script for my custom auto part numbering.
I am using a script to define a prefix for my part number then select the correct sequencer to use for that prefix family.
That all appears to be working correctly. The error is coming from the libray script SequencOperator. In need to have the next sequence number generated zero padded and if I check the check box on the sequencer I get the following error.
"[sequenceOperator (line 25, col 0)] org.mozilla.javascript.EcmaError: ReferenceError: "padding" is not defined. (sequenceOperator#25)"
Attached is the autonumber script and the definition of the sequencer I am testing. The code is incomplete as not all the possible prefix 'CASE' statements are included as I am currently testing the validity of the script logic.
Any help is appreciated as the script works fine as long as I don't check the zero pad check box on the sequencer
Thanks,
Bob Donovan
Bigge Power Constructors
Solved! Go to Solution.