Start by ensuring the Incent credential is set:

 

1 SQL> incent credential test;

 

Now delete the processed orders:

 

1 SQL> incent delete orders processed (BatchNames=(select distinct batch_name

from xactly.xc_user_batch bat

join xactly.xc_period per on per.period_id = bat.period_id

where per.name = ‘JAN-2016’));

 

Existing staged orders are unaffected.

 

NOTE: The BatchNames parameter is dynamically populated from the list of distinct batches found in the JAN-2016 period in Incent. You might need to choose a different period.