@forwardslashns/taskit-validation-messages 1.9.3 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts +28 -4
- package/dist/validation/features/client-current-entity-statuses.validation-messages.d.ts.map +1 -1
- package/dist/validation/features/client-current-entity-statuses.validation-messages.js +28 -4
- package/dist/validation/features/client-records-addresses.validation-messages.d.ts +5 -5
- package/dist/validation/features/client-records-addresses.validation-messages.js +5 -5
- package/dist/validation/features/client-records-commission-details.validation-messages.d.ts +3 -3
- package/dist/validation/features/client-records-commission-details.validation-messages.js +3 -3
- package/dist/validation/features/client-records-contacts.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-contacts.validation-messages.js +2 -2
- package/dist/validation/features/client-records-credit-cards.validation-messages.d.ts +1 -1
- package/dist/validation/features/client-records-credit-cards.validation-messages.js +1 -1
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.d.ts +4 -4
- package/dist/validation/features/client-records-entity-states-histories.validation-messages.js +4 -4
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-entity-types-histories.validation-messages.js +2 -2
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.d.ts +4 -4
- package/dist/validation/features/client-records-filing-types-histories.validation-messages.js +4 -4
- package/dist/validation/features/client-records-outside-providers.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-records-outside-providers.validation-messages.js +2 -2
- package/dist/validation/features/client-relationships-common.validation-messages.d.ts +2 -2
- package/dist/validation/features/client-relationships-common.validation-messages.js +2 -2
- package/dist/validation/features/template-assignments.validation-messages.d.ts +4 -4
- package/dist/validation/features/template-assignments.validation-messages.js +4 -4
- package/dist/validation/features/templates.validation-messages.d.ts +8 -8
- package/dist/validation/features/templates.validation-messages.js +8 -8
- package/dist/validation/validation-messages.d.ts +65 -41
- package/dist/validation/validation-messages.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/validation/features/client-current-entity-statuses.validation-messages.ts +28 -4
- package/src/validation/features/client-records-addresses.validation-messages.ts +5 -5
- package/src/validation/features/client-records-commission-details.validation-messages.ts +3 -3
- package/src/validation/features/client-records-contacts.validation-messages.ts +2 -2
- package/src/validation/features/client-records-credit-cards.validation-messages.ts +1 -1
- package/src/validation/features/client-records-entity-states-histories.validation-messages.ts +4 -4
- package/src/validation/features/client-records-entity-types-histories.validation-messages.ts +2 -2
- package/src/validation/features/client-records-filing-types-histories.validation-messages.ts +4 -4
- package/src/validation/features/client-records-outside-providers.validation-messages.ts +2 -2
- package/src/validation/features/client-relationships-common.validation-messages.ts +2 -2
- package/src/validation/features/template-assignments.validation-messages.ts +4 -4
- package/src/validation/features/templates.validation-messages.ts +8 -8
|
@@ -13,27 +13,27 @@ exports.TEMPLATES = {
|
|
|
13
13
|
},
|
|
14
14
|
TYPE_REQUIRED: {
|
|
15
15
|
message: 'Template type is required',
|
|
16
|
-
affectedFields: ['
|
|
16
|
+
affectedFields: ['type'],
|
|
17
17
|
},
|
|
18
18
|
INVALID_TYPE: {
|
|
19
19
|
message: 'Invalid template type',
|
|
20
|
-
affectedFields: ['
|
|
20
|
+
affectedFields: ['type'],
|
|
21
21
|
},
|
|
22
22
|
DEFAULT_STAFF_REQUIRED: {
|
|
23
23
|
message: 'Default staff is required',
|
|
24
|
-
affectedFields: ['
|
|
24
|
+
affectedFields: ['defaultStaff'],
|
|
25
25
|
},
|
|
26
26
|
INVALID_STAFF: {
|
|
27
27
|
message: 'Invalid staff member',
|
|
28
|
-
affectedFields: ['
|
|
28
|
+
affectedFields: ['defaultStaff'],
|
|
29
29
|
},
|
|
30
30
|
INCOME_ACCOUNT_REQUIRED: {
|
|
31
31
|
message: 'Income account is required',
|
|
32
|
-
affectedFields: ['
|
|
32
|
+
affectedFields: ['incomeAccount'],
|
|
33
33
|
},
|
|
34
34
|
INVALID_INCOME_ACCOUNT: {
|
|
35
35
|
message: 'Invalid income account',
|
|
36
|
-
affectedFields: ['
|
|
36
|
+
affectedFields: ['incomeAccount'],
|
|
37
37
|
},
|
|
38
38
|
AMOUNT_REQUIRED: {
|
|
39
39
|
message: 'Amount is required when separately charged',
|
|
@@ -53,11 +53,11 @@ exports.TEMPLATES = {
|
|
|
53
53
|
},
|
|
54
54
|
INVALID_CLASSIFICATION: {
|
|
55
55
|
message: 'Invalid classification',
|
|
56
|
-
affectedFields: ['
|
|
56
|
+
affectedFields: ['classification'],
|
|
57
57
|
},
|
|
58
58
|
INVALID_SETUP_TEMPLATE: {
|
|
59
59
|
message: 'Invalid associated setup template',
|
|
60
|
-
affectedFields: ['
|
|
60
|
+
affectedFields: ['associatedSetupTemplate'],
|
|
61
61
|
},
|
|
62
62
|
OPTION_IN_USE: {
|
|
63
63
|
message: 'This template is currently in use and cannot be deleted',
|
|
@@ -48,27 +48,27 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
48
48
|
readonly STATES_NOT_FOUND: {
|
|
49
49
|
readonly message: "States do not exist";
|
|
50
50
|
readonly params: readonly ["ids"];
|
|
51
|
-
readonly affectedFields: readonly ["
|
|
51
|
+
readonly affectedFields: readonly ["state"];
|
|
52
52
|
};
|
|
53
53
|
readonly INVALID_STATE_TYPE: {
|
|
54
54
|
readonly message: "States are not of type 'State'";
|
|
55
55
|
readonly params: readonly ["ids"];
|
|
56
|
-
readonly affectedFields: readonly ["
|
|
56
|
+
readonly affectedFields: readonly ["state"];
|
|
57
57
|
};
|
|
58
58
|
readonly CITIES_NOT_FOUND: {
|
|
59
59
|
readonly message: "Cities do not exist";
|
|
60
60
|
readonly params: readonly ["ids"];
|
|
61
|
-
readonly affectedFields: readonly ["
|
|
61
|
+
readonly affectedFields: readonly ["city"];
|
|
62
62
|
};
|
|
63
63
|
readonly INVALID_CITY_TYPE: {
|
|
64
64
|
readonly message: "Cities are not of type 'City'";
|
|
65
65
|
readonly params: readonly ["ids"];
|
|
66
|
-
readonly affectedFields: readonly ["
|
|
66
|
+
readonly affectedFields: readonly ["city"];
|
|
67
67
|
};
|
|
68
68
|
readonly ZIP_CODES_NOT_FOUND: {
|
|
69
69
|
readonly message: "Zip codes do not exist";
|
|
70
70
|
readonly params: readonly ["ids"];
|
|
71
|
-
readonly affectedFields: readonly ["
|
|
71
|
+
readonly affectedFields: readonly ["zip"];
|
|
72
72
|
};
|
|
73
73
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
74
74
|
readonly message: "Contact roles do not exist";
|
|
@@ -150,7 +150,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
150
150
|
readonly CLIENT_RECORDS_CREDIT_CARDS: {
|
|
151
151
|
readonly INVALID_EXPIRATION_DATE: {
|
|
152
152
|
readonly message: "Enter a valid expiration date (i.e. 12/2024).";
|
|
153
|
-
readonly affectedFields: readonly ["
|
|
153
|
+
readonly affectedFields: readonly ["expDate"];
|
|
154
154
|
};
|
|
155
155
|
readonly INVALID_SECURITY_CODE: {
|
|
156
156
|
readonly message: "Enter a valid security code (i.e. 1234).";
|
|
@@ -177,12 +177,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
177
177
|
readonly CONTACT_ROLES_NOT_FOUND: {
|
|
178
178
|
readonly message: "Contact roles do not exist";
|
|
179
179
|
readonly params: readonly ["ids"];
|
|
180
|
-
readonly affectedFields: readonly ["
|
|
180
|
+
readonly affectedFields: readonly ["contact"];
|
|
181
181
|
};
|
|
182
182
|
readonly CONTACT_TYPES_NOT_FOUND: {
|
|
183
183
|
readonly message: "Contact types do not exist";
|
|
184
184
|
readonly params: readonly ["ids"];
|
|
185
|
-
readonly affectedFields: readonly ["
|
|
185
|
+
readonly affectedFields: readonly ["type"];
|
|
186
186
|
};
|
|
187
187
|
readonly LEGAL_CONTACT_MUST_BE_PROVIDED: {
|
|
188
188
|
readonly message: "The client must have a legal contact. Please set the contact type to 'Legal'.";
|
|
@@ -212,16 +212,16 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
212
212
|
readonly CLIENT_RECORDS_COMMISSION_DETAILS: {
|
|
213
213
|
readonly INVALID_REQUEST_IS_SUBJECT_TO_COMMISSION: {
|
|
214
214
|
readonly message: "If client is subject to commission, sales representative and commission rate must be provided.";
|
|
215
|
-
readonly affectedFields: readonly ["
|
|
215
|
+
readonly affectedFields: readonly ["subjectToCommission", "salesRepresentative", "commissionRate"];
|
|
216
216
|
};
|
|
217
217
|
readonly INVALID_REQUEST_IS_NOT_SUBJECT_TO_COMMISSION: {
|
|
218
218
|
readonly message: "If client is not subject to commission, sales representative and commission rate must not be provided.";
|
|
219
|
-
readonly affectedFields: readonly ["
|
|
219
|
+
readonly affectedFields: readonly ["subjectToCommission", "salesRepresentative", "commissionRate"];
|
|
220
220
|
};
|
|
221
221
|
readonly SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
222
222
|
readonly message: "Sales representative does not exist";
|
|
223
223
|
readonly params: readonly ["id"];
|
|
224
|
-
readonly affectedFields: readonly ["
|
|
224
|
+
readonly affectedFields: readonly ["salesRepresentative"];
|
|
225
225
|
};
|
|
226
226
|
readonly COMISSION_RATE_TOO_LOW: {
|
|
227
227
|
readonly message: "Enter a commission value greater than 0.0";
|
|
@@ -250,12 +250,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
250
250
|
readonly FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
251
251
|
readonly message: "Filing category does not exist";
|
|
252
252
|
readonly params: readonly ["id"];
|
|
253
|
-
readonly affectedFields: readonly ["
|
|
253
|
+
readonly affectedFields: readonly ["filingCategory"];
|
|
254
254
|
};
|
|
255
255
|
readonly BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
256
256
|
readonly message: "Business activity does not exist";
|
|
257
257
|
readonly params: readonly ["id"];
|
|
258
|
-
readonly affectedFields: readonly ["
|
|
258
|
+
readonly affectedFields: readonly ["businessActivity"];
|
|
259
259
|
};
|
|
260
260
|
readonly BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
261
261
|
readonly message: "Billing type does not exist";
|
|
@@ -290,7 +290,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
290
290
|
};
|
|
291
291
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BUSINESS_ACTIVITY_ID: {
|
|
292
292
|
readonly message: "Choose a Business Activity";
|
|
293
|
-
readonly affectedFields: readonly ["
|
|
293
|
+
readonly affectedFields: readonly ["businessActivity"];
|
|
294
294
|
};
|
|
295
295
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BILLING_TYPE_ID: {
|
|
296
296
|
readonly message: "Choose a Billing Type";
|
|
@@ -298,7 +298,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
298
298
|
};
|
|
299
299
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_FILING_CATEGORY_ID: {
|
|
300
300
|
readonly message: "Choose a Filing Category";
|
|
301
|
-
readonly affectedFields: readonly ["
|
|
301
|
+
readonly affectedFields: readonly ["filingCategory"];
|
|
302
302
|
};
|
|
303
303
|
readonly CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_CONTACT: {
|
|
304
304
|
readonly message: "Create a Contact - One contact needs to have been saved to this client";
|
|
@@ -368,12 +368,36 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
368
368
|
readonly message: "This client cannot be deleted because it has contacts associated";
|
|
369
369
|
readonly affectedFields: readonly [];
|
|
370
370
|
};
|
|
371
|
+
readonly INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
372
|
+
readonly message: "Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.";
|
|
373
|
+
readonly params: readonly ["dateEstablished"];
|
|
374
|
+
readonly affectedFields: readonly ["initialFilingDate"];
|
|
375
|
+
};
|
|
376
|
+
readonly FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
377
|
+
readonly message: "Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.";
|
|
378
|
+
readonly params: readonly ["initialFilingDate"];
|
|
379
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
380
|
+
};
|
|
381
|
+
readonly FINAL_FILING_DATE_REQUIRED: {
|
|
382
|
+
readonly message: "Final filing date is required when initial filing date and close date are both provided.";
|
|
383
|
+
readonly affectedFields: readonly ["finalFilingDate"];
|
|
384
|
+
};
|
|
385
|
+
readonly SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
386
|
+
readonly message: "Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.";
|
|
387
|
+
readonly params: readonly ["serviceStartingDate"];
|
|
388
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
389
|
+
};
|
|
390
|
+
readonly SERVICE_ENDING_DATE_REQUIRED: {
|
|
391
|
+
readonly message: "{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.";
|
|
392
|
+
readonly params: readonly ["clientName", "serviceStartingDate"];
|
|
393
|
+
readonly affectedFields: readonly ["serviceEndingDate"];
|
|
394
|
+
};
|
|
371
395
|
};
|
|
372
396
|
readonly CLIENT_RECORDS_ENTITY_TYPES: {
|
|
373
397
|
readonly ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
374
398
|
readonly message: "Entity type does not exist";
|
|
375
399
|
readonly params: readonly ["id"];
|
|
376
|
-
readonly affectedFields: readonly ["
|
|
400
|
+
readonly affectedFields: readonly ["entityType"];
|
|
377
401
|
};
|
|
378
402
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
379
403
|
readonly message: "One or more entity types have a start date that is before the client's date established, {clientDateEstablished}. ({entityType} starting {entityTypeStartingDate}). Please update the entity type start dates to be on or after the client's date established, or update the client's date established.";
|
|
@@ -396,7 +420,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
396
420
|
readonly ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
397
421
|
readonly message: "Entity types do not exist";
|
|
398
422
|
readonly params: readonly ["ids"];
|
|
399
|
-
readonly affectedFields: readonly ["
|
|
423
|
+
readonly affectedFields: readonly ["entityType"];
|
|
400
424
|
};
|
|
401
425
|
readonly AT_LEAST_ONE_ENTITY_TYPE_SHOULD_EXIST: {
|
|
402
426
|
readonly message: "At least one entity type should exist";
|
|
@@ -455,15 +479,15 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
455
479
|
readonly FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
456
480
|
readonly message: "Sub/Parent status does not exist";
|
|
457
481
|
readonly params: readonly ["id"];
|
|
458
|
-
readonly affectedFields: readonly ["
|
|
482
|
+
readonly affectedFields: readonly ["filingType"];
|
|
459
483
|
};
|
|
460
484
|
readonly FILING_TYPE_PARENT_REQUIRED: {
|
|
461
485
|
readonly message: "Parent needs to be specified for filing type 'Files under parent'";
|
|
462
|
-
readonly affectedFields: readonly ["
|
|
486
|
+
readonly affectedFields: readonly ["currentParent"];
|
|
463
487
|
};
|
|
464
488
|
readonly CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
465
489
|
readonly message: "Parent needs to be specified for current filing type 'Files under parent'";
|
|
466
|
-
readonly affectedFields: readonly ["
|
|
490
|
+
readonly affectedFields: readonly ["currentParent"];
|
|
467
491
|
};
|
|
468
492
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
469
493
|
readonly message: "The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.";
|
|
@@ -486,7 +510,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
486
510
|
readonly FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
487
511
|
readonly message: "Sub/Parent status do not exist";
|
|
488
512
|
readonly params: readonly ["ids"];
|
|
489
|
-
readonly affectedFields: readonly ["
|
|
513
|
+
readonly affectedFields: readonly ["filingType"];
|
|
490
514
|
};
|
|
491
515
|
readonly AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
492
516
|
readonly message: "At least one Sub/Parent status should exist";
|
|
@@ -545,7 +569,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
545
569
|
readonly STATE_ID_DOES_NOT_EXIST: {
|
|
546
570
|
readonly message: "State does not exist";
|
|
547
571
|
readonly params: readonly ["id"];
|
|
548
|
-
readonly affectedFields: readonly ["
|
|
572
|
+
readonly affectedFields: readonly ["state"];
|
|
549
573
|
};
|
|
550
574
|
readonly NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
551
575
|
readonly message: "The state, {domesticState}, starts on {domesticStateStartingDate}, which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the state or the client's date established.";
|
|
@@ -559,17 +583,17 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
559
583
|
};
|
|
560
584
|
readonly DOMESTIC_STATE_STARTING_DATE_NOT_POPULATED: {
|
|
561
585
|
readonly message: "Current Domestic State Starting Date cannot be Empty";
|
|
562
|
-
readonly affectedFields: readonly ["
|
|
586
|
+
readonly affectedFields: readonly ["stateStartingDate"];
|
|
563
587
|
};
|
|
564
588
|
readonly STATES_IDS_DOES_NOT_EXIST: {
|
|
565
589
|
readonly message: "States do not exist";
|
|
566
590
|
readonly params: readonly ["ids"];
|
|
567
|
-
readonly affectedFields: readonly ["
|
|
591
|
+
readonly affectedFields: readonly ["state"];
|
|
568
592
|
};
|
|
569
593
|
readonly RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
570
594
|
readonly message: "Residence type does not exist";
|
|
571
595
|
readonly params: readonly ["ids"];
|
|
572
|
-
readonly affectedFields: readonly ["
|
|
596
|
+
readonly affectedFields: readonly ["residence"];
|
|
573
597
|
};
|
|
574
598
|
readonly AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
575
599
|
readonly message: "At least one domestic state should exist";
|
|
@@ -671,11 +695,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
671
695
|
};
|
|
672
696
|
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
673
697
|
readonly message: "The client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.";
|
|
674
|
-
readonly affectedFields: readonly ["
|
|
698
|
+
readonly affectedFields: readonly ["final"];
|
|
675
699
|
};
|
|
676
700
|
readonly FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
677
701
|
readonly message: "The related client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.";
|
|
678
|
-
readonly affectedFields: readonly ["
|
|
702
|
+
readonly affectedFields: readonly ["final"];
|
|
679
703
|
};
|
|
680
704
|
readonly CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
681
705
|
readonly message: "{clientName} is listed as a {relationshipType} of {relatedClientName}, during the same timeframe that {relatedClientName} is listed as a {relationshipType} of {clientName}. Please review the relationship records for both clients and adjust the dates or relationship types to prevent a circular loop.";
|
|
@@ -1023,12 +1047,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1023
1047
|
readonly INVALID_TYPE: {
|
|
1024
1048
|
readonly message: "Outside provider types do not exist";
|
|
1025
1049
|
readonly params: readonly ["ids"];
|
|
1026
|
-
readonly affectedFields: readonly ["
|
|
1050
|
+
readonly affectedFields: readonly ["type"];
|
|
1027
1051
|
};
|
|
1028
1052
|
readonly SAME_TYPE_TIMELINE_OVERLAP: {
|
|
1029
1053
|
readonly message: "The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.";
|
|
1030
1054
|
readonly params: readonly ["outsideProviderType", "startDate"];
|
|
1031
|
-
readonly affectedFields: readonly ["
|
|
1055
|
+
readonly affectedFields: readonly ["starting", "ending"];
|
|
1032
1056
|
};
|
|
1033
1057
|
};
|
|
1034
1058
|
readonly TEMPLATES: {
|
|
@@ -1043,27 +1067,27 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1043
1067
|
};
|
|
1044
1068
|
readonly TYPE_REQUIRED: {
|
|
1045
1069
|
readonly message: "Template type is required";
|
|
1046
|
-
readonly affectedFields: readonly ["
|
|
1070
|
+
readonly affectedFields: readonly ["type"];
|
|
1047
1071
|
};
|
|
1048
1072
|
readonly INVALID_TYPE: {
|
|
1049
1073
|
readonly message: "Invalid template type";
|
|
1050
|
-
readonly affectedFields: readonly ["
|
|
1074
|
+
readonly affectedFields: readonly ["type"];
|
|
1051
1075
|
};
|
|
1052
1076
|
readonly DEFAULT_STAFF_REQUIRED: {
|
|
1053
1077
|
readonly message: "Default staff is required";
|
|
1054
|
-
readonly affectedFields: readonly ["
|
|
1078
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
1055
1079
|
};
|
|
1056
1080
|
readonly INVALID_STAFF: {
|
|
1057
1081
|
readonly message: "Invalid staff member";
|
|
1058
|
-
readonly affectedFields: readonly ["
|
|
1082
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
1059
1083
|
};
|
|
1060
1084
|
readonly INCOME_ACCOUNT_REQUIRED: {
|
|
1061
1085
|
readonly message: "Income account is required";
|
|
1062
|
-
readonly affectedFields: readonly ["
|
|
1086
|
+
readonly affectedFields: readonly ["incomeAccount"];
|
|
1063
1087
|
};
|
|
1064
1088
|
readonly INVALID_INCOME_ACCOUNT: {
|
|
1065
1089
|
readonly message: "Invalid income account";
|
|
1066
|
-
readonly affectedFields: readonly ["
|
|
1090
|
+
readonly affectedFields: readonly ["incomeAccount"];
|
|
1067
1091
|
};
|
|
1068
1092
|
readonly AMOUNT_REQUIRED: {
|
|
1069
1093
|
readonly message: "Amount is required when separately charged";
|
|
@@ -1083,11 +1107,11 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1083
1107
|
};
|
|
1084
1108
|
readonly INVALID_CLASSIFICATION: {
|
|
1085
1109
|
readonly message: "Invalid classification";
|
|
1086
|
-
readonly affectedFields: readonly ["
|
|
1110
|
+
readonly affectedFields: readonly ["classification"];
|
|
1087
1111
|
};
|
|
1088
1112
|
readonly INVALID_SETUP_TEMPLATE: {
|
|
1089
1113
|
readonly message: "Invalid associated setup template";
|
|
1090
|
-
readonly affectedFields: readonly ["
|
|
1114
|
+
readonly affectedFields: readonly ["associatedSetupTemplate"];
|
|
1091
1115
|
};
|
|
1092
1116
|
readonly OPTION_IN_USE: {
|
|
1093
1117
|
readonly message: "This template is currently in use and cannot be deleted";
|
|
@@ -1109,19 +1133,19 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
1109
1133
|
};
|
|
1110
1134
|
readonly DEFAULT_STAFF_REQUIRED: {
|
|
1111
1135
|
readonly message: "Default staff is required";
|
|
1112
|
-
readonly affectedFields: readonly ["
|
|
1136
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
1113
1137
|
};
|
|
1114
1138
|
readonly INVALID_STAFF: {
|
|
1115
1139
|
readonly message: "Invalid staff member";
|
|
1116
|
-
readonly affectedFields: readonly ["
|
|
1140
|
+
readonly affectedFields: readonly ["defaultStaff"];
|
|
1117
1141
|
};
|
|
1118
1142
|
readonly ASSIGNMENT_TYPE_REQUIRED: {
|
|
1119
1143
|
readonly message: "Assignment type is required";
|
|
1120
|
-
readonly affectedFields: readonly ["
|
|
1144
|
+
readonly affectedFields: readonly ["assignmentType"];
|
|
1121
1145
|
};
|
|
1122
1146
|
readonly INVALID_ASSIGNMENT_TYPE: {
|
|
1123
1147
|
readonly message: "Invalid assignment type";
|
|
1124
|
-
readonly affectedFields: readonly ["
|
|
1148
|
+
readonly affectedFields: readonly ["assignmentType"];
|
|
1125
1149
|
};
|
|
1126
1150
|
readonly ORDER_REQUIRED: {
|
|
1127
1151
|
readonly message: "Order is required for workflow assignments";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -16,12 +16,12 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
16
16
|
FILING_CATEGORY_ID_DOES_NOT_EXIST: {
|
|
17
17
|
message: `Filing category does not exist`,
|
|
18
18
|
params: ['id'],
|
|
19
|
-
affectedFields: ['
|
|
19
|
+
affectedFields: ['filingCategory'],
|
|
20
20
|
},
|
|
21
21
|
BUSINESS_ACTIVITY_ID_DOES_NOT_EXIST: {
|
|
22
22
|
message: `Business activity does not exist`,
|
|
23
23
|
params: ['id'],
|
|
24
|
-
affectedFields: ['
|
|
24
|
+
affectedFields: ['businessActivity'],
|
|
25
25
|
},
|
|
26
26
|
BILLING_TYPE_ID_DOES_NOT_EXIST: {
|
|
27
27
|
message: `Billing type does not exist`,
|
|
@@ -56,7 +56,7 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
56
56
|
},
|
|
57
57
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BUSINESS_ACTIVITY_ID: {
|
|
58
58
|
message: `Choose a Business Activity`,
|
|
59
|
-
affectedFields: ['
|
|
59
|
+
affectedFields: ['businessActivity'],
|
|
60
60
|
},
|
|
61
61
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_BILLING_TYPE_ID: {
|
|
62
62
|
message: `Choose a Billing Type`,
|
|
@@ -64,7 +64,7 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
64
64
|
},
|
|
65
65
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_FILING_CATEGORY_ID: {
|
|
66
66
|
message: `Choose a Filing Category`,
|
|
67
|
-
affectedFields: ['
|
|
67
|
+
affectedFields: ['filingCategory'],
|
|
68
68
|
},
|
|
69
69
|
CLIENT_COULD_NOT_BE_LOCKED_WITHOUT_CONTACT: {
|
|
70
70
|
message: `Create a Contact - One contact needs to have been saved to this client`,
|
|
@@ -134,4 +134,28 @@ export const CLIENT_CURRENT_ENTITY_STATUS = {
|
|
|
134
134
|
message: `This client cannot be deleted because it has contacts associated`,
|
|
135
135
|
affectedFields: [],
|
|
136
136
|
},
|
|
137
|
+
INITIAL_FILING_DATE_BEFORE_DATE_ESTABLISHED: {
|
|
138
|
+
message: `Initial filing date cannot be before date established {dateEstablished}. Please adjust the dates to continue.`,
|
|
139
|
+
params: ['dateEstablished'],
|
|
140
|
+
affectedFields: ['initialFilingDate'],
|
|
141
|
+
},
|
|
142
|
+
FINAL_FILING_DATE_BEFORE_INITIAL_FILING_DATE: {
|
|
143
|
+
message: `Final filing date cannot be before initial filing date {initialFilingDate}. Please adjust the dates to continue.`,
|
|
144
|
+
params: ['initialFilingDate'],
|
|
145
|
+
affectedFields: ['finalFilingDate'],
|
|
146
|
+
},
|
|
147
|
+
FINAL_FILING_DATE_REQUIRED: {
|
|
148
|
+
message: `Final filing date is required when initial filing date and close date are both provided.`,
|
|
149
|
+
affectedFields: ['finalFilingDate'],
|
|
150
|
+
},
|
|
151
|
+
SERVICE_ENDING_DATE_BEFORE_SERVICE_STARTING_DATE: {
|
|
152
|
+
message: `Service ending date cannot be before service starting date {serviceStartingDate}. Please adjust the dates to continue.`,
|
|
153
|
+
params: ['serviceStartingDate'],
|
|
154
|
+
affectedFields: ['serviceEndingDate'],
|
|
155
|
+
},
|
|
156
|
+
SERVICE_ENDING_DATE_REQUIRED: {
|
|
157
|
+
message: `{clientName} has been serviced since {serviceStartingDate} and is no longer our client. Please enter the service ending date.`,
|
|
158
|
+
params: ['clientName', 'serviceStartingDate'],
|
|
159
|
+
affectedFields: ['serviceEndingDate'],
|
|
160
|
+
},
|
|
137
161
|
} as const;
|
|
@@ -2,27 +2,27 @@ export const CLIENT_RECORDS_ADDRESSES = {
|
|
|
2
2
|
STATES_NOT_FOUND: {
|
|
3
3
|
message: 'States do not exist',
|
|
4
4
|
params: ['ids'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['state'],
|
|
6
6
|
},
|
|
7
7
|
INVALID_STATE_TYPE: {
|
|
8
8
|
message: `States are not of type 'State'`,
|
|
9
9
|
params: ['ids'],
|
|
10
|
-
affectedFields: ['
|
|
10
|
+
affectedFields: ['state'],
|
|
11
11
|
},
|
|
12
12
|
CITIES_NOT_FOUND: {
|
|
13
13
|
message: `Cities do not exist`,
|
|
14
14
|
params: ['ids'],
|
|
15
|
-
affectedFields: ['
|
|
15
|
+
affectedFields: ['city'],
|
|
16
16
|
},
|
|
17
17
|
INVALID_CITY_TYPE: {
|
|
18
18
|
message: `Cities are not of type 'City'`,
|
|
19
19
|
params: ['ids'],
|
|
20
|
-
affectedFields: ['
|
|
20
|
+
affectedFields: ['city'],
|
|
21
21
|
},
|
|
22
22
|
ZIP_CODES_NOT_FOUND: {
|
|
23
23
|
message: `Zip codes do not exist`,
|
|
24
24
|
params: ['ids'],
|
|
25
|
-
affectedFields: ['
|
|
25
|
+
affectedFields: ['zip'],
|
|
26
26
|
},
|
|
27
27
|
CONTACT_ROLES_NOT_FOUND: {
|
|
28
28
|
message: `Contact roles do not exist`,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export const CLIENT_RECORDS_COMMISSION_DETAILS = {
|
|
2
2
|
INVALID_REQUEST_IS_SUBJECT_TO_COMMISSION: {
|
|
3
3
|
message: 'If client is subject to commission, sales representative and commission rate must be provided.',
|
|
4
|
-
affectedFields: ['
|
|
4
|
+
affectedFields: ['subjectToCommission', 'salesRepresentative', 'commissionRate'],
|
|
5
5
|
},
|
|
6
6
|
INVALID_REQUEST_IS_NOT_SUBJECT_TO_COMMISSION: {
|
|
7
7
|
message: 'If client is not subject to commission, sales representative and commission rate must not be provided.',
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['subjectToCommission', 'salesRepresentative', 'commissionRate'],
|
|
9
9
|
},
|
|
10
10
|
SALES_REPRESENTATIVE_DOES_NOT_EXIST: {
|
|
11
11
|
message: `Sales representative does not exist`,
|
|
12
12
|
params: ['id'],
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['salesRepresentative'],
|
|
14
14
|
},
|
|
15
15
|
COMISSION_RATE_TOO_LOW: {
|
|
16
16
|
message: `Enter a commission value greater than 0.0`,
|
|
@@ -2,12 +2,12 @@ export const CLIENT_RECORDS_CONTACTS = {
|
|
|
2
2
|
CONTACT_ROLES_NOT_FOUND: {
|
|
3
3
|
message: `Contact roles do not exist`,
|
|
4
4
|
params: ['ids'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['contact'],
|
|
6
6
|
},
|
|
7
7
|
CONTACT_TYPES_NOT_FOUND: {
|
|
8
8
|
message: `Contact types do not exist`,
|
|
9
9
|
params: ['ids'],
|
|
10
|
-
affectedFields: ['
|
|
10
|
+
affectedFields: ['type'],
|
|
11
11
|
},
|
|
12
12
|
LEGAL_CONTACT_MUST_BE_PROVIDED: {
|
|
13
13
|
message: `The client must have a legal contact. Please set the contact type to 'Legal'.`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const CLIENT_RECORDS_CREDIT_CARDS = {
|
|
2
2
|
INVALID_EXPIRATION_DATE: {
|
|
3
3
|
message: 'Enter a valid expiration date (i.e. 12/2024).',
|
|
4
|
-
affectedFields: ['
|
|
4
|
+
affectedFields: ['expDate'],
|
|
5
5
|
},
|
|
6
6
|
INVALID_SECURITY_CODE: {
|
|
7
7
|
message: 'Enter a valid security code (i.e. 1234).',
|
package/src/validation/features/client-records-entity-states-histories.validation-messages.ts
CHANGED
|
@@ -2,7 +2,7 @@ export const CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
2
2
|
STATE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `State does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['state'],
|
|
6
6
|
},
|
|
7
7
|
NOT_ALIGNED_DATE_ESTABLISHED_DOMESTIC_STATE_STARTING_DATE: {
|
|
8
8
|
message: `The state, {domesticState}, starts on {domesticStateStartingDate}, which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the state or the client's date established.`,
|
|
@@ -16,17 +16,17 @@ export const CLIENT_RECORDS_ENTITY_STATES = {
|
|
|
16
16
|
},
|
|
17
17
|
DOMESTIC_STATE_STARTING_DATE_NOT_POPULATED: {
|
|
18
18
|
message: `Current Domestic State Starting Date cannot be Empty`,
|
|
19
|
-
affectedFields: ['
|
|
19
|
+
affectedFields: ['stateStartingDate'],
|
|
20
20
|
},
|
|
21
21
|
STATES_IDS_DOES_NOT_EXIST: {
|
|
22
22
|
message: `States do not exist`,
|
|
23
23
|
params: ['ids'],
|
|
24
|
-
affectedFields: ['
|
|
24
|
+
affectedFields: ['state'],
|
|
25
25
|
},
|
|
26
26
|
RESIDENCE_TYPE_DOES_NOT_EXIST: {
|
|
27
27
|
message: `Residence type does not exist`,
|
|
28
28
|
params: ['ids'],
|
|
29
|
-
affectedFields: ['
|
|
29
|
+
affectedFields: ['residence'],
|
|
30
30
|
},
|
|
31
31
|
AT_LEAST_ONE_DOMESTIC_STATE_SHOULD_EXIST: {
|
|
32
32
|
message: `At least one domestic state should exist`,
|
package/src/validation/features/client-records-entity-types-histories.validation-messages.ts
CHANGED
|
@@ -2,7 +2,7 @@ export const CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
2
2
|
ENTITY_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `Entity type does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['entityType'],
|
|
6
6
|
},
|
|
7
7
|
NOT_ALIGNED_DATE_ESTABLISHED_ENTITY_TYPE_STARTING_DATE: {
|
|
8
8
|
message: `One or more entity types have a start date that is before the client's date established, {clientDateEstablished}. ({entityType} starting {entityTypeStartingDate}). Please update the entity type start dates to be on or after the client's date established, or update the client's date established.`,
|
|
@@ -25,7 +25,7 @@ export const CLIENT_RECORDS_ENTITY_TYPES = {
|
|
|
25
25
|
ENTITY_TYPES_IDS_DOES_NOT_EXIST: {
|
|
26
26
|
message: `Entity types do not exist`,
|
|
27
27
|
params: ['ids'],
|
|
28
|
-
affectedFields: ['
|
|
28
|
+
affectedFields: ['entityType'],
|
|
29
29
|
},
|
|
30
30
|
AT_LEAST_ONE_ENTITY_TYPE_SHOULD_EXIST: {
|
|
31
31
|
message: `At least one entity type should exist`,
|
package/src/validation/features/client-records-filing-types-histories.validation-messages.ts
CHANGED
|
@@ -2,15 +2,15 @@ export const CLIENT_RECORDS_FILING_TYPES = {
|
|
|
2
2
|
FILING_TYPE_ID_DOES_NOT_EXIST: {
|
|
3
3
|
message: `Sub/Parent status does not exist`,
|
|
4
4
|
params: ['id'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['filingType'],
|
|
6
6
|
},
|
|
7
7
|
FILING_TYPE_PARENT_REQUIRED: {
|
|
8
8
|
message: `Parent needs to be specified for filing type 'Files under parent'`,
|
|
9
|
-
affectedFields: ['
|
|
9
|
+
affectedFields: ['currentParent'],
|
|
10
10
|
},
|
|
11
11
|
CURRENT_FILING_TYPE_PARENT_REQUIRED: {
|
|
12
12
|
message: `Parent needs to be specified for current filing type 'Files under parent'`,
|
|
13
|
-
affectedFields: ['
|
|
13
|
+
affectedFields: ['currentParent'],
|
|
14
14
|
},
|
|
15
15
|
NOT_ALIGNED_DATE_ESTABLISHED_FILING_TYPE_STARTING_DATE: {
|
|
16
16
|
message: `The Sub/Parent status {filingType} starts on {filingTypeStartingDate} which is earlier than the client's date established, {clientDateEstablished}. Please adjust the start date of the Sub/Parent status or the client's date established.`,
|
|
@@ -33,7 +33,7 @@ export const CLIENT_RECORDS_FILING_TYPES = {
|
|
|
33
33
|
FILING_TYPES_IDS_DOES_NOT_EXIST: {
|
|
34
34
|
message: `Sub/Parent status do not exist`,
|
|
35
35
|
params: ['ids'],
|
|
36
|
-
affectedFields: ['
|
|
36
|
+
affectedFields: ['filingType'],
|
|
37
37
|
},
|
|
38
38
|
AT_LEAST_ONE_FILING_TYPE_SHOULD_EXIST: {
|
|
39
39
|
message: `At least one Sub/Parent status should exist`,
|
|
@@ -2,11 +2,11 @@ export const CLIENT_RECORDS_OUTSIDE_PROVIDERS = {
|
|
|
2
2
|
INVALID_TYPE: {
|
|
3
3
|
message: `Outside provider types do not exist`,
|
|
4
4
|
params: ['ids'],
|
|
5
|
-
affectedFields: ['
|
|
5
|
+
affectedFields: ['type'],
|
|
6
6
|
},
|
|
7
7
|
SAME_TYPE_TIMELINE_OVERLAP: {
|
|
8
8
|
message: `The client already has {outsideProviderType} starting from {startDate}. Your entry overlaps with that time. Please adjust the dates so they don't overlap.`,
|
|
9
9
|
params: ['outsideProviderType', 'startDate'],
|
|
10
|
-
affectedFields: ['
|
|
10
|
+
affectedFields: ['starting', 'ending'],
|
|
11
11
|
},
|
|
12
12
|
} as const;
|
|
@@ -45,11 +45,11 @@ export const CLIENT_RELATIONSHIPS_COMMON = {
|
|
|
45
45
|
},
|
|
46
46
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_CLIENT_CLOSE_DATE: {
|
|
47
47
|
message: `The client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.`,
|
|
48
|
-
affectedFields: ['
|
|
48
|
+
affectedFields: ['final'],
|
|
49
49
|
},
|
|
50
50
|
FINAL_REQUIRED_WHEN_ENDING_DATE_MATCHES_RELATED_CLIENT_CLOSE_DATE: {
|
|
51
51
|
message: `The related client has a close date that is the same as the relationship ending date, therefore the relationship must be marked as final. Please update the relationship's final status to 'Yes', or adjust the dates.`,
|
|
52
|
-
affectedFields: ['
|
|
52
|
+
affectedFields: ['final'],
|
|
53
53
|
},
|
|
54
54
|
CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
55
55
|
message: `{clientName} is listed as a {relationshipType} of {relatedClientName}, during the same timeframe that {relatedClientName} is listed as a {relationshipType} of {clientName}. Please review the relationship records for both clients and adjust the dates or relationship types to prevent a circular loop.`,
|