Borrowing Request Checked In From Customer
This event hook is triggered when an item is processed from the borrowing Check Item In batch processing form. This event is triggered regardless of the transaction's status. i.e. This event will still trigger even it the request was canceled or the item was never picked up by the customer.
Event Hook Name: BorrowingRequestCheckedInFromCustomer
Input Parameters
TransactionNumber | The transaction number that was processed. |
|---|---|
RequestType | The request type of the processed transaction. |
Example
The following is an example of the syntax used to register for the Borrowing Request Checked In From Customer event hook and has a sample handler to add a note to the processed transaction.
function Init()
RegisterSystemEventHandler("BorrowingRequestCheckedInFromCustomer",
"CheckedInHandler");
end
function CheckedInHandler(transactionProcessedEventArgs)
ExecuteCommand("AddNote", { transactionProcessedEventArgs.TransactionNumber,
"Sample Note" });
end