View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Screen customization plugin - get contact phone number - ProjeQtOr
 

[SOLVED] Screen customization plugin - get contact phone number

More
20 Aug 2024 12:07 #1 by AMAZ
Hello,

I regularly use the screen customization plugin, and I'm wondering if it is possible to do what I need.

On the ticket screen, I would like to display the phone number associated with the previously chosen requester. ("Demandeur" in french).

I have found that a calculated field can be parametered with "###EVAL###", but is it possible to retrieve the value of the previous field to get the associated phone number in database ?

Thank you in advance for your help and feedback,

Kind regards,

Please Log in or Create an account to join the conversation.

More
20 Aug 2024 14:12 - 20 Aug 2024 14:12 #2 by babynus
Yes, it will work, you need to define default value as

###EVAL### $val=SqlList::getFieldFromId("Contact", $this->idContact, 'phone');

and set to readonly so that it is calculated at each save

Babynus
Administrator of ProjeQtOr web site
Last edit: 20 Aug 2024 14:12 by babynus.
The following user(s) said Thank You: AMAZ

Please Log in or Create an account to join the conversation.

More
20 Aug 2024 14:38 #3 by AMAZ
Thank you very much, it actually works perfectly well!

Best Regards,

AMAZ

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.033 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.