Update an Item Setting Value in studio ?
Hello everyone .
I am trying to update a setting of an operation directly via the code of a business operation.
Concretely, my customer want a counter for the number of calls to the operation and the possibility to redefine the point of this counter.
I was thinking of something like:
set counter = <getSettingValue(“Count”)> … set counter = counter +1 do <setSettingValue(“Count”)> = counter
In other words, after each call, the parameter will be incremented, but if the user want to redefine it between 2 calls, he can and it will be took into account.
My parameter is present in my production class , this is the value '2000' that i would like to increment :
My question is : Is there any method to do this ?
I'm using Caché Studio 2014.1.4 on Windows .