Hi Guys,
I'm using espo to track session, so i add the session details in opportunity entity and use task to deduct the session in opportunity.
Example.
John record in opportunity has 10 session.
When i run a task to john, it will reduce the session to -1
At the moment im adding a custom field called "balance" as a result of how many session that john have.
The thing is, sometimes the user is deducting session when it already has 0 session left in the balance, which eventually the balance will be negative amount.
Is there any way that i can stop user for being save the task if the balance has gone to zero.
Any help will be appreciated
Thanks
I'm using espo to track session, so i add the session details in opportunity entity and use task to deduct the session in opportunity.
Example.
John record in opportunity has 10 session.
When i run a task to john, it will reduce the session to -1
At the moment im adding a custom field called "balance" as a result of how many session that john have.
The thing is, sometimes the user is deducting session when it already has 0 session left in the balance, which eventually the balance will be negative amount.
Is there any way that i can stop user for being save the task if the balance has gone to zero.
Any help will be appreciated
Thanks
Comment