if (selllingTempType.length > 0) {
for (int j = 0; j < selllingTempType.length; j++) {
Long longTemplete = Long.parseLong(selllingTempType[j].getSaleTemplateID());
DeleteSellingManagerTemplateCall tcall = new DeleteSellingManagerTemplateCall(EbayStoreHelper.getApiContext((String)context.get("productStoreId"), locale, delegator));
DeleteSellingManagerTemplateRequestType treq = new DeleteSellingManagerTemplateRequestType();
DeleteSellingManagerTemplateResponseType tresp = null;
treq.setSaleTemplateID(longTemplete);
tresp = (DeleteSellingManagerTemplateResponseType) tcall.execute(treq);
if (tresp != null && "SUCCESS".equals(tresp.getAck().toString())) {
result = ServiceUtil.returnSuccess();
} else {