This function returns an array of all output fields on the screen.
Example:
The code below finds all output fields that meet certain criteria and applies the deAbbreviate() function to them.
var fields = getOutputFields(); for (var i = 0; i < fields.length; i++) { var field = fields[i]; if (field.className == "A22" && get(field.id).length == 1) { deAbbreviate(field.id, ["A", "D", "I"], ["Active", "Deleted", "Inactive"]); } }