Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
hi,
I would like to know where you manage the copies of documents and documentVersions?
Like any other object, in :
/model/persistence/SqlElement.php->copySqlElement()
Thank you but I will wish a little more information about how to insulate the case document because I think there is a problem over there.
Indeed, when you copy a version, the version id is copied too, while for a new document version should start from 0.
what is the field "IsReF" Document Object?
So you'll probably find what you expect in the save() function of each dedicated class (/model/Document.php and /model/DocumentVersion.php) that extend the default save() function called by the copy() function (in /model/persistence/SqlElement.php)
Is there a way to know if the save () function is called when a copy or during normal processing?
It is always : it is the only way to save data to database.
ok thanks.
what is the field "IsReF" Document Object?
isRef is not in the Document object but in the DocumentVersion object.
It indicates that this version is the "referent" version (last approved).