Precondition:
I have bellow elements ODT.Class ElementActions with code


Code:
function SetValue(obj, text){
obj.Keys(text + "[Enter]")
}
And ODT.Data.Application.CustomerName element it has type of ElementActions class, so I can use SetValue method
Also it has method GetObject with code

Code:
function CustomeTextField(){
return NameMapping.Sys.Orders.OrderForm.Group.Customer
}
My test:

Code:
function start (){
ODT.Data.Application.OrderScreen.CustomerName.SetValue(ODT.Data.Application.OrderScreen.CustomerName.GetObject(), "Text")
 }
Here will be useful to get object without repeating
ODT.Data.Application.OrderScreen.CustomerName.GetO bject() code in signature, so my question is How to do it?

I read some article about This or Self keywords, but Iím not sure that it can help me to deal with it (https://support.smartbear.com/viewarticle/72522/)


The bellow code with system SetText() method works fine

Code:
ODT.Data.VFT.OrderScreen.CustomerNameTextField.GetObject().SetText("Text")
The question is how it works with system SetText() method?