=====
Items
=====

Select a group node in the project tree to get access to items that this 
group owns, see 
:doc:`Task tree </programming/task_tree>`.

At the bottom of the page there are 3 buttons:

* **New** - click on New to create a new item in the 
  :doc:`Item Editor Dialog <item_editor_dialog>`

* **Edit** - use this button to modify item's attributes as well to add, change
  or delete fields in the 
  :doc:`Item Editor Dialog <item_editor_dialog>`

* **Delete** - click on the button to delete an item and its underlying database 
  table. 

You can use the up and down arrows to arrange the items in the list. This may be 
useful for creating a menu or display it in some way on the web page. 

The right panel of the page have following buttons:

* **Client module** - click on this button to open the 
  :doc:`Code editor </admin/code_editor>`
  to edit client module of an item, see 
  :doc:`Working with modules </programming/modules>`.

* **Server module**	- click on this button to open the 
  :doc:`Code editor </admin/code_editor>`
  to edit server module of an item, see 
  :doc:`Working with modules </programming/modules>`.

* **View Form** - use this button to invoke the 
  :doc:`View Form Dialog <view_form_dialog>` 
  to set how the view form will be displayed.

* **Edit Form** - use this button to invoke the 
  :doc:`Edit Form Dialog <edit_form_dialog>`
  to set how the edit form will be displayed.

* **Filters** - use this button to invoke the
  :doc:`Filters Dialog <filters_dialog>`
  to create, modify and delete item filters. See
  :doc:`Filters </programming/data/filters>`.

* **Details** - use this button to invoke the
  :doc:`Details Dialog <details_dialog>`
  to add or remove details linked to the item.

* **Order** - use this button to invoke the
  :doc:`Order Dialog <order_dialog>`
  to specify how records will be ordered by default. See
  :doc:`open </refs/client/item/m_open>`
  method

* **Indices** - сlick this button to open the
  :doc:`Indices Dialog <indices_dialog>`
  to create and delete indices for the item database table.

* **Foreign keys** - сlick this button to open the
  :doc:`Foreign Keys Dialog <foreign_keys_dialog>`
  to create foreign keys for the database table.

* **Reports** - сlick this button to open the
  :doc:`Reports Dialog <reports_dialog>`
  to specify reports that could printed for the item. 
  A new project has a function that can be used to create a dropup 
  button to print the reports.
  
* **Privileges** - click this button to open a dialog to configure the 
  privileges assigned to user roles for this item.

.. image:: /admin/_images/items.png
	:align: center
	:alt: Task node
	

.. toctree::
   :maxdepth: 1
   
   item_editor_dialog
   field_editor_dialog
   edit_form_dialog
   view_form_dialog
   filters_dialog
   details_dialog
   order_dialog
   indices_dialog
   foreign_keys_dialog
   reports_dialog
