Adds a runtime search to the current set of entries.
Adds a runtime sort to the current set of entries. Use [[B.db.SortDirection]] to specify the sort direction.
Optional
sortDirection: SortDirectionDefault is [[SortDirection.FIELD_DEFAULT]].
An object of alternate ids for this object, with values as [[AltId]]
An array of alternate ids for this object.
Same as calling optAncestor(var).orElse(null)
For multi-entry reports with search criteria based on the current date/time, causes the report to run as though the current date/time was timestamp. This can be used to view the results of the report as they would have looked in the past or as they will look in the future, assuming today's data. The result of this function is the prior value set, if any.
If this object is a Collection it returns it as an array. The majority of objects in the system are Collections. For most objects, this is the same as calling [[children]].
Get the children of the object. This retrieval goes one level deep.
Optional
classType: string | numberClears any search criteria, sorts and timestamp anchor which may have been previously set. Also, resets the remember feature. The result of this function is true if search or sort parameters were actually cleared by the function. The result is false if the function did not have any settings to clear.
The "created at" timestamp of this object.
The creator of this object.
Same as calling optCurrent().orElse(null)
The deleted children of this object. Only looks one level deep. E.g. a form's deleted children could include fields and form entries. A folder's deleted children could include folders, forms, and formulas, but not any of those forms' entries.
The default display name of this object. For the most part, this is the same as calling toString()
, which is the same as inserting the object into a string.
Sets the Display Name.
Performs the specified action for each element in an array.
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.
Optional
thisArg: anyAn object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
Gets an array of all the object's ancestors.
The [[Id]] of this object bounded to T.
Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
The value to locate in the array.
Optional
fromIndex: numberThe array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.
A String field containing the URL to view list the entries of a multi-entry form within the User Profile/My Account area. The URL contained by this field only works correctly when clicked by the user who's record the current entry belongs to. Other users will receive an error when attempting to go to the URL.
A String field containing the URL to view list the entries of a multi-entry form. This value will be null for single-entry forms. This value is always a relative URL, meaning it does not contain the protocol prefix or domain name such as http://xyzzy.bluestep.net.
Returns the Local Cache object for this Thread/Base Object.
Same as calling optLock().orElse(null)
Checks if passed in object has compatible categories and units for the [{MultiFormRecord]]. If you call this methd and it returns false, then byId(val)
or optById(val)
will thrown an exception. Same as calling meetsCriteriaResults(param).success
Checks if passed in object has compatible categories and units for the [{Query]]. Returns a results object. If results.success is false the results.message will contain a message of why.
The [[User]] that last modified this object.
A String field containing the URL to create a new entry of this form. This value will be null for single-entry forms. This value is always a relative URL meaning it does not contain the protocol prefix or domain name such as http://xyzzy.bluestep.net.
A [[Java.Optional]] of the ancestor with the specific class.
A [[Java.Optional]] of the current object's parent object.
Optional
classType: string | numberSame as calling optParent(var).orElse(null)
Optional
classType: string | numberFor formulas that are part of a merge report, calling this function causes any current, or future, search and/or sort critieria to be remembered and used when displaying the same multi-entry report in the merge report. This also works for the '[all entries]' report. This function should only be called from a merge report formula. Calling it from other types of formulas will have unpredictable results possibly including storing bad data in Relate. This function results in a boolean value which indicates whether calling the function had an effect.
Reset the current object so that it is cleared from the cache and looked up from the database.
Set how many entries you want to return, based on the configured Multi Entry Form Report and runtime searches.
The [[Id]] or [[AltId]] that the system deems most relevant.
Makes changes to the database for this object
The versions of this object.
This represents a Multi Entry Form that belongs to a Record.
Example