BOI Script to create new RMA with items not allow to return.

I got exception when I use BOI script to enter RMA detail with the item that not allow to return. Does anyone know how to solve it? I want to enter the item to the RMA detail even it is not allow to return.

Thanks