class Item class
Open a new, empty record at the beginning of the dataset and creates an edit_form for visuall editing of the record.
container parameter (Jquery object of the DOM element) is specified the
edit form html template is inserted in the container.
container parameter is not specified but Modeless form attribute is
set in the
Edit Form Dialog or modeless attribute
edit_options is set programmatically and task has the
attribute set and the application doesn’t have modal forms, the
modeless edit form will be created in the new tab of the
forms_container object of the task.
In all other cases the modal form will be created.
If insertion of a record is allowed in modeless mode, the application calls the copy method to create a copy of the item. This copy will be used to insert the record.