Hi,
In the table "hikashop_order", you will find three columns.
"order_partner_id" - for the link with the partner.
"order_partner_price" (+ "order_partner_currency_id") - for the price that the partner will earn
"order_partner_paid" - for the indication if the partner has been paid for this order (it should contain the order_id which generate the invoice).
So the best for you will be to empty the column "order_partner_id" and "order_partner_price" to reset the affiliate sales.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.