GenericValue trackingCodeVisit = delegator.makeValue("TrackingCodeVisit",
UtilMisc.toMap("trackingCodeId", trackingCodeId, "visitId", visit.get("visitId"),
"fromDate", nowStamp, "sourceEnumId", "TKCDSRC_COOKIE"));
try {
//not doing this inside a transaction, want each one possible to go in
trackingCodeVisit.create();
} catch (GenericEntityException e) {
Debug.logError(e, "Error while saving TrackingCodeVisit", module);
//don't return error, want to get as many as possible: return "error";
}
}