ADVANCED SEARCH
|
Advanced Search | |
| Structures are used to extend the standard objects. When you define an element, you choose the type. If defining through the Classic system:
|
| AVAILABLE FIELDS | TYPE | ||
| StructureData | Number | The structure data corresponding to the structure element, ie from STRUCTURE_DATA_MANAGE. Is only available if you have specified at least one structure element | |
| _XXXX or seXXXX | Date, Numeric, String | The alias for the Element, see SETUP_STRUCTURE_ELEMENT_MANAGE | |
| _XXXXText or seXXXXText | String | Returns the text of the selected value for a select / combo field |
| EXAMPLE | |
| 1. Opportunity Search grabbing the text for a structure field alias se2006. | |
| var oAdvancedSearch = new AdvancedSearch(); oAdvancedSearch.endPoint = 'opportunity'; oAdvancedSearch.method = 'OPPORTUNITY_SEARCH'; oAdvancedSearch.addField( 'reference,_myelement,amount'); oAdvancedSearch.addFilter('id', 'EQUAL_TO', glObjectContext); oAdvancedSearch.rf = 'JSON'; oAdvancedSearch.getResults(interfaceQuoteShow) |