Unallocate and unreserver with code

guys the code below i created to unallocate everything is working except for the method unallocateAndUnreserve. Any help will be really appreciated

foreach (var data in orderdata)
		{

			CreateUD13Row(boUD13, data.Key1, data.PartNum, data.OrderNum, data.OrderLine, data.OrderRelNum, data.UnallocAmt, data.DateLog, data.EntryPerson);

			CreateUD14RowBackup(boUD14, data.Key1, data.PartNum, data.OrderNum, data.OrderLine, data.OrderRelNum, data.UnallocAmt, data.DateLog, data.EntryPerson);


			//Assingning data and unallocating
			orderRelWhereClause = "OrderRel.PartNum >= '" + data.PartNum + "' and OrderRel.PartNum <= '" + data.PartNum + "'";

			dsOrderAllocLst = boOrderAlloc.GetListOfOrders(waveWhereClause, orderHedWhereClause, orderDtlWhereClause, orderRelWhereClause, customerWhereClause, partAllocWhereClause, countryWhereClause, shipToWhereClause, creditHoldClause, i_SortByOrder, i_SortByWarehouse, i_SortByAllocation, pageSize, absolutePage, out morePages, NO_Company);
			MessageBox.Show("afer list dataset"); 
			dsOrderAlloc = boOrderAlloc.OrderAllocationGetRows(dsOrderAllocLst, 0);
			MessageBox.Show("before unallocating");
			dsOrderAlloc.OrderAlloc[i].RowMod = "U";
			dsOrderAlloc.OrderAllocSupply[i].RowMod = "U";
	

			boOrderAlloc.UnallocateAndUnreserve(dsOrderAlloc,out msg);

			i++;
		}

Any errors you are receiving?

i am getting no errors at all. the method UnallocateAndUnreserve is not doing anything