i need to pass the value from the table field to the form stringcontrol , can anyone help me on this how can i pass , if i select the field on cust parameter then the value should be pass to form string control.
Do you want to set string control value when you open the dialog based on the Cust Parameter form? Can you share more details about your code and requirements?
Thanks,
Waed Ayyad
Martin Dráb230,414Most Valuable Professional
on at
To pass the value from table field to another formstringcontrol
You seem to be saying that you need no lookup, no code or modification etc., you'll just have one or two (please clarify) dialog fields that you want to set a value to. Is that correct.
It's not clear to me what you mean by "dialog basic". If you created DialogField object on your own, I already told you how to set the value: use the value() method. If it's a SysOperation dialog, set the value in the contract class.
If you have a question, please write it down. There is none in your reply.
To pass the value from table field to another formstringcontrol
hi ,
martin ,
thanks, for reply ,
there is slight change in requirement .
my form type is dialogue basic , and the form string control is non editable on dialog , i have put the field in cust parameter form , so if i select the value of journal name from the parameter in cust parameter from the value should flow when my dialoue opens into form string control "JournalName" . please can you guide me on this .
thanks,
Regards,
Dinesh
Martin Dráb230,414Most Valuable Professional
on at
To pass the value from formstringcontrol to another formstringcontrol
Getting a setting dialog field values is simple - there is value() method for that.
But you'll need two more important parts:
1) You need to be able to run code when journal name value changes. Use registerOverrideMethod() to use your own override of modified() method. How exactly you should do it depends on how you create the dialog (which you didn't mention).
2) You want a description, but the first controls contains a journal name. You'll need to find the journal name record and take a description from there.
To pass the value from formstringcontrol to another formstringcontrol
here is my dialogue form , and the name formstringcontrol is below that where i want to pass the value of from cust parameter field should i use init method ,
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.