|
|
Question : Versioning records
|
|
In the estimating solution that is almost done, woohoo, a new spec was introduced. I am currently generating a sequential number for each new estimate request. It was pointed out to me that sometimes a single estiamte request may have more than one version. In the event of multiple versions I would want to duplicate the record, keep the same estimate ID but in a separate field add a 1, 2, 3, etc. to represent the version. How would I duplicate the current record and all of it's field contents without incrementing the estimate ID but rather incrementing the version number?
|
Answer : Versioning records
|
|
I don't know how you are handling the estimate ID, I presume you are incrementing that in an autoenter script for the field. If you are you will have to remove that autoenter routine then creat a script to add a record that increments the the estimate ID that will be use for a new estimate, and create a script that saves the current version then duplicates the record and later increments the version number.
|
|
|
|
|