Highlighted
Acclaimed Contributor.
Acclaimed Contributor.
188 views

Update data for ESS main menu calculated in login.DEFAULT

I added to login.DEFAULT to calculations tab some variable $Q.appr which calculated in Script (ScriptLibrary)

This script calculate current quantity of approval records where current user are approver and it has status pending.

Now when user use ESS for approve, he can see amount to be approved, but after approve or denie some records (another words when quantity of records changed) my digit did not update.

How can i make update for it whitout relogin for user.

0 Likes
4 Replies
Highlighted
Honored Contributor.
Honored Contributor.

Re: Update data for ESS main menu calculated in login.DEFAULT

Hello

Did you set the calculation in the Update event or in the display event, please share with us your calculation as well.

Thanks in advance.

BR!

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Update data for ESS main menu calculated in login.DEFAULT

Hmm... I suppose that  login.DEFAULT works only when user log in.

I did set only for ADD (true)

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: Update data for ESS main menu calculated in login.DEFAULT

Hello

Correct, since you have the calculation in the login.DEFAULT fc, its only executing once, when it logs in, so i recommend to switch the FC that you are using, one example will be the fc for the form that contains the value.

Hope it helps.

BR!

 

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Update data for ESS main menu calculated in login.DEFAULT

You mean that i should add and use FC for meny.gui.ess.SD.

 

and I was thinking about a trigger that would recalculate the values that i need after update table (this is for table Approval - 2 counters, quantity of my interactions which waiting for approve and quantity of my approvals which i should approve)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.