I have ODT.Class Actions with code
function SetValue(text){
HowToGetObject? .Keys(text + "[Enter]")
}
And ODT.Data.CustomerName element it has type of Actions class, so I can use SetValue method Also it has method GetObject, that allow me to get object:
function GetObject(){
return NameMapping.Sys.Orders.OrderForm.Group.Customer
}
The bellow code works with system SetText() method
ODT.Data.CustomerNameTextField.GetObject().SetText("Text")
I need somehow get object reference in my SetValue(text) method in order to do bellow
ODT.Data.CustomerNameTextField.GetObject().SetValue("Text")
I'm interested in system SetText(string) method? How does it work?
Will be glad to have any help. Thanks in advance, Denis