If the transaction state is current on-hold, and a quantity is given then a partial-remove
will be triggered and the remaining quantity will be on-hold. If no quantity is given, then
this will set the transaction state to removed and the stock will be permanently removed from
the current stock.
If the transaction state was open or null, and a quantity is given, then the specified quantity
is permanently removed from the stock.