"Change item type details" operation
To change the details of the ItemType
object users would need to locate the item type first. They can do it either from the form of a particular item or by running a query that finds item types. As normally there will be very few item types in the system we will define the “All item types” query that will find all item types. To define such a query we create a new query as described in the “Find Item” operation, select ItemType
as the object that the query will be looking for, but we do not define any conditions.
We select Name
, MaxBorrowNumber
, MaxLoanPeriod
and MaxRenewals
as the attributes that will be displayed and we sort the results by Name
in ascending order. We also add “Edit” and “Delete” item operations to the query.
Once the query has been defined we add a new item in the visual perspective under the “Find” item called Item types
of the “Run Query” type that runs the newly defined “All item types” query.