Book a Demo

Author Topic: How to extend GeneralTypes.Status ?  (Read 3419 times)

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
How to extend GeneralTypes.Status ?
« on: November 07, 2010, 02:32:33 am »
Hi,

I would like to add some additional status types through my AddIn just like I would do it manually with "Settings -> GeneralTypes -> Status.."

How can that be achieved?

Regards
Rainer

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to extend GeneralTypes.Status ?
« Reply #1 on: November 08, 2010, 05:26:26 pm »
Rainer,

I don't see another solution then something like:
Code: [Select]
myRepository.Execute ("insert into t_statustypes values ('NewStatus','Description of the new status'")

Geert

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: How to extend GeneralTypes.Status ?
« Reply #2 on: November 08, 2010, 06:23:32 pm »
Hi Geert,

thanks for your help. I think that should do ;-)

Regards
Rainer

RainerQ

  • EA User
  • **
  • Posts: 122
  • Karma: +1/-0
    • View Profile
Re: How to extend GeneralTypes.Status ?
« Reply #3 on: November 08, 2010, 09:17:12 pm »
Now that I can add my status extensions, how can I assign the "Status Type Color" ? I already searched the database, but I can't find the related table.  t_statustypes has now color column :-(

Thanks for help and hints.

Regards
Rainer