how to get the tenant name on initial Change order page edit window (before saving the ticket). I would like to capture the tenant name to use in the my custom java script function which sets the change type.
element = document.main_form.elements;
var z_tenant = element['SET.tenant'].value;
Try with the variable: argTenantId
Retrieving data ...