[Vtigercrm-developers] Readonly fields changes are not tracked neither supports workflows

Matus Sopko sopko at its4you.sk
Fri Jul 23 12:44:27 GMT 2021


Sorry Prasad, but you never has this needs ?

Field A
Field B
Field C = A+B

We want to have Field C like createdtime, modfiedtime. It's calculated 
with WF, after save,.... and we don't need display this field C in 
create/editview. We need calculate it and show in detailview.


S pozdravom / Best regards / Mit freundlichen Grüßen
Ing. Matus SOPKO
IT-Solutions4You s.r.o.

Dňa 23. 7. 2021 o 14:32 Prasad napísal(a):
> Please provide some use-cases so its easy to understand the need.
>
> On Wed, Jul 7, 2021 at 8:01 PM nilay khatri <nilay.spartan at gmail.com 
> <mailto:nilay.spartan at gmail.com>> wrote:
>
>     If we add a readonly field, we can not update its value using API,
>     we need to do a direct database query. And hence updates are not
>     tracked neither workflows can be set.
>
>     Ideally one would expect the readonly fields to be available in
>     workflows and that we can update its value via API, such as in an
>     event handler to keep a count of Opportunities in Contacts.
>
>     If we had support from workflows, it would be so easy, but
>     currently we need to implement code for that. Also for what has to
>     happen next, such as if count is greater than a certain number!
>
>     Correct me if I am wrong.
>     _______________________________________________
>     http://www.vtiger.com/ <http://www.vtiger.com/>
>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210723/10794600/attachment.html>


More information about the vtigercrm-developers mailing list