The system inventory cannot be modified or deleted
The system inventory (form_type_code
= '**'
) is created by the system when one accession is created, so, the system inventory record cannot be modified or deleted by any user(including the administrator) or the APIs. The update of the system inventory when the accession_number_part1, part_2, and part3 are modified must continue working.
a message when the user presses the Save
button is ok.
A constraint for ensuring that one accession must have only one system inventory could help to avoid this problem.