Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Data identical seve...
 
Notifications
Clear all

Data identical severities

4 Posts
2 Users
0 Reactions
3,626 Views
(@djackjack)
Posts: 49
Active Member
Topic starter
 
[#1161]

Hello,

I work with the opportunities and risks that you have developed.
In these two sections, there is the severity field. My problem is that it is supplied with two fields are the same data, I want these fields have different data.

I thought of three different options.

The first is that I change the variable idSeverity by idSeverityXXXX and I create a related table, but then what are the other things I need to create (for example, add headings in the menus, etc. ..) to have the same interactions that share forward? Is there any other things to change (eg the elements in reports, ..). If so, which?

The second idSeverity left, and I think it is possible to change an element idSeverity poitant on another table and the same question arises.

And a third would change the Severity table and add a column indicating which table this field is connected and establish a legacy much like types. But again it's a little fuzzy on how to do and questions still arise.

If you have a simpler proposition, I'm listening.

Regards


 
Posted : 14 May 2013 17H23
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Hi,

Your three solutions look the same... create a new ObjectClass

Steps are :
- create table Xxxx (with at least id, name and idle)
- create /model/Xxxx.php (use existing as an exemple)
=> at this step you can use your new column idXxxx, it will automatically list content of table Xxxx
=> to have new screen to en ter values in the table :
- add new line in table Menu
- give habilitation at east to admin (with a Sql request or through screen)
=> and to have it beautifull
- define new object class in projectorIcon.css

=> you'll find some interesting posts in the Forum :
projectorria.toolware.fr/index.php/forum...-on-the-top-menu-bar
projectorria.toolware.fr/index.php/forum...s/3925-add-menu-type
projectorria.toolware.fr/index.php/forum...creer-un-objectclass
projectorria.toolware.fr/index.php/forum...enu-in-the-left-menu
projectorria.toolware.fr/index.php/forum...ions/2088-new-object


 
Posted : 14 May 2013 19H48
(@djackjack)
Posts: 49
Active Member
Topic starter
 

Severity is it related to other things? (eg reports) Because I'm afraid that by creating a new object, it generates errors because successive links are not met (a idSeverity in this report or elsewhere)

Is there then other things other than this risk class?


 
Posted : 16 May 2013 13H41
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

idSeverity is used on :
- Risk.php class
- Opportunity.php class
- opportunityPlan.php report
- riskManagementPlan.php report

That's all.


 
Posted : 17 May 2013 1H12
Share:

Scroll to Top