I have one doubt while using DI API. I am creating Sales Invoice using DI API. For some reasons i need to rollback the created SalesInvoice. Is it possible using DI API. If it is a salesorder i have a option of cancelling the salesOrder. But for Invoice i was unable to Cancel it.
So i need to rollback the current Transaction. How can i achieve this? Can any body send me Sample Code of this?
Thanks in Advance,