You are not logged in.
Pages: 1
Is there a possibility to have a auto-generated and unique "Inventory number" that can be customized? For example "LLNNNNN" where L is letter and N is number.
Thanks.
Offline
http://glpi-project.org/wiki/doku.php?i … s_gabarits
It"s here. Use google to translate
JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au projet GLPI : Soutenir
Offline
Thanks for you answer. This option resolve partially my problem. It is possible to have a unique number over all types of inventory device (computers, monitors, network...etc).
For example, is possible to have a computer with inventory number "IT00001", a monitor with "IT00002" and a printer with "IT00003"?
Thanks.
Offline
hi,
I'm also looking for the possibility to create a UNIQUE inventory number. No one out there who knows how to accomplish this?
Offline
hi,
I'm also looking for the possibility to create a UNIQUE inventory number. No one out there who knows how to accomplish this?
you may take a look at the generateInventoryNumber plugin.
it may be what you're looking for but unfortunatly I haven't time yet to write the doc in english
Offline
thx wawa. I'll have a look at the plugin :-)
Offline
it's working! difficult to find, as not listed in the list of plugins. can be found here:
http://glpi-project.org/spip.php?article313
installation was also a little harder. had no menu entry "plugin" before. just tried to call http://<glpi-site>/plugins/generateinventorynumber/seupt.php.
only then I had the menu entry!?
one unlucky thing: the inventory number is only created when the record of the new asset (PC, monitor, printer,...) is safed. it actually should already be precalculated when the entry form of the new asset is displayed. i know it brings some issues with unused numbers, if the form is cancelled instead of being safed, but I'd rather take this downside :-)
thx wawa
Offline
it's working! difficult to find, as not listed in the list of plugins. can be found here:
http://glpi-project.org/spip.php?article313
where is it not listed ?
installation was also a little harder. had no menu entry "plugin" before. just tried to call http://<glpi-site>/plugins/generateinventorynumber/seupt.php.
only then I had the menu entry!?
did you logout ? it may surely be a bug
one unlucky thing: the inventory number is only created when the record of the new asset (PC, monitor, printer,...) is safed. it actually should already be precalculated when the entry form of the new asset is displayed. i know it brings some issues with unused numbers, if the form is cancelled instead of being safed, but I'd rather take this downside :-)
the plugin calculates an inventorynumber when an item is inserted in the DB
you cannot modify an inventory number once it's created
you can tell me exactly what your're looking for, and I'll see if it might be possible to add it for a new version (or if you know how to code, then you can help me, it'd be really cool)
Offline
where is it not listed ?
In the plugin list on www.glpi-project.org if I select "Resources" (on top) and "Plugins"
did you logout ? it may surely be a bug
no I (think I) didn't. But I won't follow up now ;-)
the plugin calculates an inventorynumber when an item is inserted in the DB
you cannot modify an inventory number once it's created
you can tell me exactly what your're looking for, and I'll see if it might be possible to add it for a new version (or if you know how to code, then you can help me, it'd be really cool)
Just calculate the number upon opening the empty form instead of when inserting into the DB. When record is saved, screen changes back to new empty form => need to click on "last added: xxxx" in order to receive the number. (nothing really serious, but makes a few clicks more)
I know that you would maybe create orphaned numbers if you calculate the number before the save command is issued (if action cancelled and number was already "reserved" - you need to reserve the number, because if 2 people do this at the same time, they might end up in using the same number as long as they are in edit mode)
I hope you understand my thoughts 8-)
Last edited by lalo (2009-02-16 17:34:16)
Offline
Pages: 1