You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-09-02 22:09:26

Taras_
Member
From: Russia
Registered: 2006-04-25
Posts: 57
Website

Automatic management of inventory numbers.

First of all - thanks for GLPI! ;-)

I have question about inventory number management.
Is it possible (or planned) in GLPI to assign inventory numbers to added hardware automaticaly, i.e. as AUTO INCREMENT in MySQL or something like this?


Multiple GLPI instances. Thanks to developers! smile

Offline

#2 2006-09-02 22:46:49

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Automatic management of inventory numbers.

it is already done but not translated in the english online help :

automatic translation

In templates

Codification Automatique (fields marked by *)
The name, inventory and immobilization number fields  are filled automatically with creation if the field corresponding in the gauge contains a chain of formatting of the form:
< XXX####X > 
* < and > in beginning and end of the format indicate that it acts of a format.
* X represents an unspecified character
* \g: seek number among all the identical fields based on the same format
* #: site of the number to be incremented (a number of figures equal to the number of #)
* \Y: year on 4 digits
* \y: year on 2 digits
* \m: month
* \d: day


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-09-02 22:58:02

Taras_
Member
From: Russia
Registered: 2006-04-25
Posts: 57
Website

Re: Automatic management of inventory numbers.

I think,it's that i want, but i don't understend, how i can use it?
Where i can enable this functionality or where i should type this mask for automatic filling of field?

Thanks in advance!


Multiple GLPI instances. Thanks to developers! smile

Offline

#4 2006-09-02 23:01:43

Taras_
Member
From: Russia
Registered: 2006-04-25
Posts: 57
Website

Re: Automatic management of inventory numbers.

Sorry! I understand now! ;-)

Big thanks!


Multiple GLPI instances. Thanks to developers! smile

Offline

#5 2006-09-09 08:57:10

Igzter
Member
Registered: 2006-09-09
Posts: 14

Re: Automatic management of inventory numbers.

MoYo wrote:

it is already done but not translated in the english online help :

automatic translation

In templates

Codification Automatique (fields marked by *)
The name, inventory and immobilization number fields  are filled automatically with creation if the field corresponding in the gauge contains a chain of formatting of the form:
< XXX####X > 
* < and > in beginning and end of the format indicate that it acts of a format.
* X represents an unspecified character
* \g: seek number among all the identical fields based on the same format
* #: site of the number to be incremented (a number of figures equal to the number of #)
* \Y: year on 4 digits
* \y: year on 2 digits
* \m: month
* \d: day

How can we help improving the non-french help, because I can see this being a problem both now and in the future with documentationdrift. This is a big issue with most opensource projects.

Thomas

Offline

#6 2006-09-09 14:14:09

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Automatic management of inventory numbers.

Yes it is a problem.
A solution will be found in few days.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#7 2006-09-09 14:17:23

Igzter
Member
Registered: 2006-09-09
Posts: 14

Re: Automatic management of inventory numbers.

MoYo wrote:

Yes it is a problem.
A solution will be found in few days.

Lovely,

In the meantime I am struggling with my translationefforts, but I seem to have a problem - with the actual format (DOS/ANSI/UTF?). Either it doesnt load or the swedish characters ÅÄÖåäö become scrambledd into something really wierd. Any idea why? I wrote a small application to help me translate the full file that drops it down for testing then restores the english one etc, I got it all working now except för the actual translated file doesn't work. I think it must be a format problem, because it looks good in ultraedit.

Thomas

Offline

#8 2006-09-09 14:35:16

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Automatic management of inventory numbers.

GLPi is in UTF8 so swedish characters is not a problem like chinese or japanese characters.
If your application is UTF8 compatible it must works...

Our home made onlien translation application is UTF8 compliant and there is no problem.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#9 2016-01-25 12:48:46

madaniel
Member
Registered: 2015-12-18
Posts: 6

Re: Automatic management of inventory numbers.

¿It's  possible to assign inventory number automatically to OCS (or other source) automatically?

Offline

Board footer

Powered by FluxBB