I added some constants values to the extension I created.
I created a new catalog.
I created a new item form in this catalog.
I want to do a math operation using the constants value I have created.
Catalog Attributes are as follows
What I want to do is as follows
Sum = My Constatns value + Value1
So it's a very simple math operation, but I want to define my constants value from the tools form I will create myself.
I created a new attribute in the form right window and edited it as constants set. I placed the corresponding Constants value inside the form.
I added OnChange event to my Value1 and Total fields. I wrote the relevant codes. If I use the "Value2" catalog attribute instead of my Constants value, my action happens. After this stage, what should I do to use my Constants value instead of "Value2"?
I know I have to do this with a command like Constatns Get() but I couldn't find a solution.
Please can you help me?
The 1C:Enterprise developers forum