R33122 ObjectFile - Change File Name If Same Filename Exists
Code | 33122 |
Entity | Systems.Core.ObjectFiles Entity |
Name | ChangeFileNameIfSameFilenameExists |
Attribute | Filename |
Layer | Back-End |
Events | Commit |
Priority | Normal |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | If ObjectFile1.FileName == ObjectFile2.FileName Where ObjectFile2 is the new file Then rename ObjectFile2.FileName as follows: ObjectFile2.FileName = FileName(1) |
Description | When uploading a new file if there is a file with the same name in the folder, the name of the new file is changed by adding a digit at the back. For Example: file; file(1); file(2)... |
Message | |
Version | 22 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.