Kindly give me some ideas to create 2 value holder and after get addition it'll be display in another value holder.
The only way I know of to do this is to write a custom provider which would take the two value holders as parameters and return the third value holder with the result of the addition.
Business Rules Consulting, inc.
ya ... i did that, but if the result assign is directly to value holder means it showing compilation error as
Error: The assignment target is invalid. You can assign values only to variables, properties and indexed properties.
I assigned like this (Value Holder)= Variable(Result of addition) for display that value holder in template.
Can it able to assign directly or anyother way available for this..
A value holder will appear as a constant in your SRL code. This is also the compilation error you are getting - you are trying to assign to a constant, which is invalid. (That said, you can obviously have value holders that generate references to variables etc, but this does not seem to be the case here)
If you need to be able to select/input two values through value holders, and display the sum in the RMA, you need to use a value holder. If you need to display the sum, simply add a placeholder for the sum value holder in your display section.
If all you need is to generate code to add thesee two values, then all you need to do is
myVariable = Value Holder1 + Value Holder2; // obviously use better names.
myObject.property = ...; // for object references
Thanks for your valuable information.
Retrieving data ...