Hi,
I've got another problem. I have written a new configitem-class which is called books. I have used the class computer as an template and add catalogs for this class to the general catalog. It seems all to be okay, i can add new config items and search them and so on. The problem is that the counter of this class in the config-item overview page is always 0. If i search the items all were found, but the status view is always set to 0?!
Here is my class:
Config Item Klasse: Bücher
Version: 16
Erstellt ------------------------------------------------------------------------------------------
bbw Akademie für betriebswirtschaftliche Weiterbildung GmbH
Rheinpfalzallee 82, 10318 Berlin
Amtsgericht Berlin Charlottenburg, HRB 38757
Geschäftsführer: Dipl.-Kaufmann Klaus-Dieter Teufel, Dipl.-Ökonom Dr. sc. Andreas Forner
von: user3
Erstellt: 22..03.2009 11:42:15
Definition: [
{
Key => 'Titel',
Name => 'Untertitel',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
},
},
{
Key => 'Autor',
Name => 'Autor',
Searchable => 1,
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
Required => 1,
},
CountMax => 3,
},
{
Key => 'Verlag',
Name => 'Verlag',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Bücher::Verlag',
Translation => 1,
Required => 1,
},
},
{
Key => 'ISBN',
Name => 'ISBN-Nummer',
Searchable => 1,
Input => {
Type => 'Text',
Size => 13,
Required => 1,
},
},
{
Key => 'Description',
Name => 'Description',
Searchable => 1,
Input => {
Type => 'TextArea',
},
},
{
Key => 'RechNr',
Name => 'Rechnungsnummer',
Searchable => 1,
Input => {
Type => 'Text',
Size => 11,
Required => 1,
},
},
{
Key => 'Owner',
Name => 'aktueller Besitzer',
Searchable => 1,
Input => {
Type => 'Customer',
},
},
{
Key => 'Date',
Name => 'verliehen seit',
Searchable => 1,
Input => {
Type => 'Text',
Size => 20,
MaxLength => 30,
},
},
{
Key => 'Standort',
Name => 'Standort',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Bücher::Standort',
Translation => 1,
},
},
];
Ahs anybody an idea?
Thanks
M.Wehr