Announcement

Collapse
No announcement yet.

Determine max numeric value in table

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Determine max numeric value in table

    I have a entity/table with a numeric field in it and depending on the status/stage of that record I want to have the numeric value set to the max of that value in the table +1. Is there a function through which I can achieve this or do I have to do this by writing custom php code? I know how to code, but am not yet a pro in writing custom code in Espo, and where to place it. Any help would be appreciated.

    Kind regards,

    Emil

  • #2
    EspoCrm has 'number' field type
    EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.

    You can try to use this logic, because there is nothing other, except sql executing

    Comment

    Working...
    X