closeWithoutSaving |
Closes the form ignoring all changes that have been made on it. |
enableCommand |
Enables or disables the form command. |
executeCommandByName |
[v8.1] Execute the command with the passed name. The command must exist and must be enabled. |
isViewMaximized |
[v8.1] Inspects whether the passed view is maximized or restored. |
leaveUiTransaction |
[v18.0] Provides means to control concurrent access to data by form logic and background sync. This method releases the last clearance obtained by successful call to tryEnterUiTransaction. Can be called even if all clearances are already released or were not obtained at all. See tryEnterUiTransaction for more info. |
loadTab |
[v10.1] (Re)loads the tab of the passed name. |
maximizeView |
[v8.1] Makes the passed view maximized/restored. |
onCanExecuteCommand |
Binds or unbinds the handler called when the EntityForm needs to find out whether the command can be executed (is enabled). |
onChange |
Binds or unbinds the handler for onChange event on EntityForm. |
onCommand |
Binds or unbinds the handler for EntityForm command. |
onItemChange |
[v11.2] Binds or unbinds the handler for specific item change event on EntityForm. |
onPostSave |
[v8.2] Binds or unbinds the handler for onPostSave event on EntityForm. |
onProcessLoaded |
Binds or unbinds the handler for onProcessLoaded event on EntityForm. |
onSave |
Binds or unbinds the handler for onSave event on EntityForm. |
onSelectedViewChanged |
[v9.3] Binds or unbinds the handler for onSelectedViewChanged event on EntityForm. |
openSalesEntityDetail |
[v8.2] Shows an entity edit dialog. |
refreshForm |
Reloads the form's edit state. |
requestObject |
Requests the managed EntityForm object. |
save |
[v9.0]Saves the form entity and its children and refreshes the form. |
saveAndClose |
Saves edited entity and closes the form. |
selectTabEx |
[v8.0] Selects the form tab by its name. |
setFieldValue |
[v18.0] Sets the field value on entity record shown on this EntityForm. |
setFieldValues |
[v18.0] Sets several field values on entity record loaded on this EntityForm. |
setFileFieldContent |
[v18.2] Sets the file field content and file name on entity record shown on this EntityForm. |
showPleaseWait |
Shows a please wait message, disabling the form except for the close command. |
tryEnterUiTransaction |
[v18.0] Provides means to control concurrent access to data by form logic and background sync. This method obtains a clearance to perform data manipulation. The clearance will be obtained when background sync is not running, or form sync behavior is configured as 'No action'. If background sync is running and form sync behavior is configured to 'Block save during sync' or 'Block save during sync and prevent sync while form is open'", the clearance is not obtained. Each obtained clearance must be dutifully released using leaveUiTransaction(). It is possible to call this method multiple times, but each call reserves its own internal clearance, so there must be the same number of calls to leaveUiTransaction to properly release clearance and allow background sync. |