Track Token Budget

GAyathri33
Tera Contributor

Hi Team,

 

Have an urgent requirement is like that we have a form and in that 3 attributes (Client, Total Number of Tokens, and Current Available Tokens).

Ex:  Client=ABC, Current Available Tokens=50;

 

If we raised one request for ABC client and selected Total Number of Tokens=5, current Available Tokens should show 45.   This will be reduced every time we raised a request for same ABC Client and if reached all 50 Tokens, Current Available Tokens should show 0.

 

That is my requirement.  How to approach that scenario and what is code for it?

 

 Could you please help me to achieve this.

 

Thanks in Advance. 

 

1 REPLY 1

gayathridev
Tera Contributor

Please help me on the above requirement

 

Thanks,