Add an invoice or batch to a queue
To add an invoice or batch to a queue, use an event handler. For more information about writing event handlers, see "Setting queues" topic in API help. You can add each invoice or batch to as many queues as desired.
Usually, you use an existing queue. However, it is possible to add the invoice or batch to a new queue. In this case, the queue is defined when the invoice or batch is added to it.
The invoice or batch remains in the queue throughout processing, until it is deleted from the database. You can also remove it from a queue using an event handler.