Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
327707de1a
commit
96a74f625a
@@ -188,7 +188,7 @@ const IMPORTERS: ImporterConfig[] = [
|
||||
description: "Matters / cases linked to a client.",
|
||||
table: "cases",
|
||||
conflict: "external_id",
|
||||
required: ["case_number", "title", "client_id"],
|
||||
required: ["case_number", "title"],
|
||||
aliases: {
|
||||
// Identifiers
|
||||
id: "external_id", caseid: "external_id", externalid: "external_id", mycaseid: "external_id",
|
||||
@@ -264,7 +264,7 @@ const IMPORTERS: ImporterConfig[] = [
|
||||
r.client_id = cid ?? cidByName ?? cidByMgmt ?? null;
|
||||
delete r._clientext; delete r._clientname; delete r._mgmtcompany;
|
||||
delete r._assignedname; delete r._originatingname;
|
||||
if (!r.client_id) return null;
|
||||
// If no client matched, leave client_id null and create the case anyway.
|
||||
const closedFlag = String(r._closedflag ?? "").toLowerCase().trim();
|
||||
delete r._closedflag;
|
||||
const s = String(r.status ?? "").toLowerCase().trim();
|
||||
|
||||
Reference in New Issue
Block a user