.. _transactions_panel:

Transactions View
------------------

The Transaction log list can be accessed from the **Transaction Log** button on the top menu bar |new-bap-transaction-log-icon|.

On the transaction list:

* Use the **Filter** button to open the pop up dialog with which you can filter the transaction list  |new-bap-transaction-filter-icon|
* Use the **My Transactions** button to filter the transaction list to the current user  |new-bap-my-transactions-icon|


Select a transaction from the list to see details of the transaction.

On the **Details** tab:

* A transaction status message is shown.
* If the details are for a sub-transaction, a **Go to parent transaction** link is available.
* For parent transactions that were triggered form input:

  * Use the **Replay** button to open the pop up dialog with which you can filter the transaction list                                                     |new-bap-replay-transaction-icon|
  * Use the **Edit and Replay** button to open the input form of the transaction. You can edit values and the form and save to re-submit the transaction   |new-bap-transaction-edit-replay-icon|
* If the parent transaction has any associated sub-transactions, a **Sub Transactions** tab is available to show the list.
* If the transaction has any associated log details, a **Logs** tab is available to inspect 
  its log entries. Log messages can also be filtered and sorted. Select a log entry to see details.


Detail Column
.............

Information is shown according to 
the type of entity and the operation carried out by the transaction.

The comments in the table below can be used when creating
a transaction filter and specifying the value of the filter text.



.. tabularcolumns:: |p{2cm}|p{2cm}|p{11cm}|

+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Action                                  | Entity                               | Comment                                                                                                                                                 |
+=========================================+======================================+=========================================================================================================================================================+
| Create, Update, Clone and Delete        | all models                           | Detail will only contain the name on the model                                                                                                          |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Execute                                 | DataSync, Workflow, Event, Scheduler | Detail will contain the instance name                                                                                                                   |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Bulk operations on Modify, Delete, Move | all models                           | * The parent transaction detail contains: "[ no. of succeeded / no. of total ] were [updated / deleted / moved to destination_organization level]       |
|                                         |                                      |   successfully."                                                                                                                                        |
|                                         |                                      | * Bulk move from different organization levels to one organization level show the destination organization level name in the parent transaction detail. |
|                                         |                                      | * Each child transaction detail will contain the name of instance that is deleted.                                                                      |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Data Import                             | all models                           | Detail shows only the imported file name.                                                                                                               |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| Device Import                           | all devices                          | Detail shows host name or device address                                                                                                                |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
| All operations                          | all models                           | The following attribute values are considered first for inclusion in the Detail column: ``country_name``, ``DialPlanName``, ``name``, ``ip``, ``host``, |
|                                         |                                      | ``address``, ``description``, ``username``, ``type``, ``entity_id``, ``userid``, ``pattern``, ``RoleCurrent``. Otherwise, the Detail column will be     |
|                                         |                                      | empty.                                                                                                                                                  |
+-----------------------------------------+--------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+


Note that the contents of the Detail column of transaction lists are not localized.




.. |new-bap-transaction-log-icon| image:: /src/images/new-bap-transaction-log-icon.png
   :align: middle
.. |new-bap-transaction-filter-icon| image:: /src/images/new-bap-transaction-filter-icon.png
   :align: middle
.. |new-bap-my-transactions-icon| image:: /src/images/new-bap-my-transactions-icon.png
   :align: middle
.. |new-bap-replay-transaction-icon| image:: /src/images/new-bap-replay-transaction-icon.png
   :align: middle
.. |new-bap-transaction-edit-replay-icon| image:: /src/images/new-bap-transaction-edit-replay-icon.png
   :align: middle