You should use dispatch. Dispatch will be triggered before checkin and write <currentversion>+1 to a variable.
Thank you ! that works perfect.
I have been using this same method for some time now, but I am noticing that my user-defined variable for that I have linked to the <Last Version> value from the PDM is getting out-of-sync... For instance, my <Last Version> value from a data card is 14, but my dispatch-linked PDM Variable for that version is only at a value of 8... I'm noticing this in several places now, I don't know what the issue is...