I'd like to create a Dispatch action to copy a part file but give the part a new number (the next one in the Serial number) and change the filename to match that new number. Copying and renaming seem straight forward, but I can't see how to get access to the Serial number from Dispatch...
Thx.
Hi Brian,
Simple answer: You can't :-( You need to write an Add-in to access the serial numbers.
However, if you are setting the part number on the datacard then it should automatically get the next part number when it is added to the vault (copied). You may need to check it in the to get the serial number applied.
Now, I don't think you can achieve the renaming in the same Dispatch script because the file you just created is not selected. There may be a way but I have not found it (Get File?).
You could always add a second Disptach that triggers after Checkin and use that to rename the file.
Tim