If the user enters or changes Employee from NULL to populated, the system performs these actions:
-
When the user leaves the field:
-
Populates these fields from the Employee record using the value in Employee: Employee Description, Employee Org., Job Title, and Department.
-
Unprotects Issue Expiration Date.
-
-
When the user saves the record:
-
Creates an issue transaction that records Transaction Date/Time, Transaction Type (Issue), Employee (New), Key/Ring, Organization, Type, Parent Ring, and Parent Ring Org.
-
Populates Issue Date with Current System Date.
-
Changes Status to Issued (System Code = I).
-
If the user changes Employee from populated to NULL, the system performs these actions:
-
When the user leaves the field:
-
Clears these fields: Employee Description, Employee Org., Job Title, Department, Issue Date, Issue Expiration Date, and Holder Notes.
-
-
When the user saves the record:
-
Creates a return transaction that records Transaction Date/Time, Transaction Type (Return), Employee (Old), Key/Ring, Organization, Type, Parent Ring, and Parent Ring Org.
-
Changes Status to In Stock (System Code = S).
-
Protects Issue Expiration Date
-
If the user changes Employee from one value to another, the system performs these actions:
-
When the user leaves the field:
-
Clears then populates these fields from the Employee record using the value in Employee: Employee Description, Employee Org., Job Title, and Department.
-
Clears these fields: Issue Date, Issue Expiration Date, and Holder Notes.
-
-
When the user saves the record:
-
Creates a return transaction that records Transaction Date/Time, Transaction Type (Return), Employee (Old), Key/Ring, Organization, Type, Parent Ring, Parent Ring Org., and then,
-
Creates an issue transaction that records Transaction Date/Time, Transaction Type (Issue), Employee (New), Key/Ring, Organization, Type, Parent Ring, and Parent Ring Org.
-
Populates Issue Date with Current System Date.
-