ich habe in meinen Config Items die Location wie folgt drin stehen.
Soweit funktioniert das auch.{
Key => 'Location',
Name => 'Location',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Location',
Translation => 1,
},
Sub => [
{
Key => 'LocationType',
Name => 'Location Type',
Searchable => 1,
Input => {
Type => 'GeneralCatalog',
Class => 'ITSM::ConfigItem::Location::Type',
Translation => 1,
},
},
],
},
In Location haben wir unsere Standorte drin stehn.
In Location Type würd ich gern Zimmernummern/Raumtypen zur Auswahl geben.
Da aber nicht in jedem Standort die selben Räume zur Verfügung stehen würd ich die Auswahl bei LocationType gern von Location abhängig machen.
Geht das? Wenn ja, wie?
mfG