@forwardslashns/taskit-validation-messages 1.10.3 → 1.10.4
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/README.md +1 -1
- package/dist/validation/features/client-relationships-common.validation-messages.d.ts +4 -4
- package/dist/validation/features/client-relationships-common.validation-messages.js +4 -4
- package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-relationships-income-sources.validation-messages.js +7 -7
- package/dist/validation/features/client-relationships-owners.validation-messages.d.ts +7 -7
- package/dist/validation/features/client-relationships-owners.validation-messages.js +7 -7
- package/dist/validation/validation-messages.d.ts +18 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ VALIDATION_FEATURES.CLIENT_RECORD_CONTACT;
|
|
|
39
39
|
VALIDATION_FEATURES.CLIENT_RECORD_COMISSION_DETAIL;
|
|
40
40
|
VALIDATION_FEATURES.CLIENT_CURRENT_ENTITY_STATUS;
|
|
41
41
|
VALIDATION_FEATURES.CLIENT_RECORD_ENTITY_TYPE_HISTORY;
|
|
42
|
-
VALIDATION_FEATURES.
|
|
42
|
+
VALIDATION_FEATURES.CLIENT_RECORD_FILING_STATUS_HISTORY;
|
|
43
43
|
VALIDATION_FEATURES.CLIENT_RECORD_ENTITY_STATE_HISTORY;
|
|
44
44
|
VALIDATION_FEATURES.CLIENT_RELATIONSHIP;
|
|
45
45
|
VALIDATION_FEATURES.FILING_CATEGORY;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const CLIENT_RELATIONSHIPS_COMMON: {
|
|
2
2
|
readonly CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
|
|
3
3
|
readonly message: "A client cannot have a relationship with itself.";
|
|
4
|
-
readonly affectedFields: readonly ["
|
|
4
|
+
readonly affectedFields: readonly ["relatedClient"];
|
|
5
5
|
};
|
|
6
6
|
readonly INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
|
|
7
7
|
readonly message: "{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.";
|
|
8
8
|
readonly params: readonly ["clientName", "entityType", "relationshipType"];
|
|
9
|
-
readonly affectedFields: readonly ["
|
|
9
|
+
readonly affectedFields: readonly ["relationshipType"];
|
|
10
10
|
};
|
|
11
11
|
readonly STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
|
|
12
12
|
readonly message: "This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.";
|
|
@@ -54,12 +54,12 @@ export declare const CLIENT_RELATIONSHIPS_COMMON: {
|
|
|
54
54
|
readonly CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
55
55
|
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.";
|
|
56
56
|
readonly params: readonly ["clientName", "relatedClientName", "relationshipType"];
|
|
57
|
-
readonly affectedFields: readonly ["
|
|
57
|
+
readonly affectedFields: readonly ["relationshipType", "relatedClient", "startingDate", "endingDate"];
|
|
58
58
|
};
|
|
59
59
|
readonly CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
|
|
60
60
|
readonly message: "{relatedClientName} cannot be associated with {clientName} more than once within the same timeframe. Please ensure there are no conflicting relationships for these clients in this timeframe.";
|
|
61
61
|
readonly params: readonly ["relatedClientName", "clientName"];
|
|
62
|
-
readonly affectedFields: readonly ["
|
|
62
|
+
readonly affectedFields: readonly ["relationshipType", "relatedClient", "startingDate", "endingDate"];
|
|
63
63
|
};
|
|
64
64
|
readonly CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
|
|
65
65
|
readonly message: "There is another {relationshipType} relationship between {relatedClientName} and {clientName} ending on {relationshipEnding}. Please review and adjust the dates to track this relationship in one record.";
|
|
@@ -4,12 +4,12 @@ exports.CLIENT_RELATIONSHIPS_COMMON = void 0;
|
|
|
4
4
|
exports.CLIENT_RELATIONSHIPS_COMMON = {
|
|
5
5
|
CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
|
|
6
6
|
message: `A client cannot have a relationship with itself.`,
|
|
7
|
-
affectedFields: ['
|
|
7
|
+
affectedFields: ['relatedClient'],
|
|
8
8
|
},
|
|
9
9
|
INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
|
|
10
10
|
message: `{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.`,
|
|
11
11
|
params: ['clientName', 'entityType', 'relationshipType'],
|
|
12
|
-
affectedFields: ['
|
|
12
|
+
affectedFields: ['relationshipType'],
|
|
13
13
|
},
|
|
14
14
|
STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
|
|
15
15
|
message: `This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.`,
|
|
@@ -57,12 +57,12 @@ exports.CLIENT_RELATIONSHIPS_COMMON = {
|
|
|
57
57
|
CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
58
58
|
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.`,
|
|
59
59
|
params: ['clientName', 'relatedClientName', 'relationshipType'],
|
|
60
|
-
affectedFields: ['
|
|
60
|
+
affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
|
|
61
61
|
},
|
|
62
62
|
CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
|
|
63
63
|
message: `{relatedClientName} cannot be associated with {clientName} more than once within the same timeframe. Please ensure there are no conflicting relationships for these clients in this timeframe.`,
|
|
64
64
|
params: ['relatedClientName', 'clientName'],
|
|
65
|
-
affectedFields: ['
|
|
65
|
+
affectedFields: ['relationshipType', 'relatedClient', 'startingDate', 'endingDate'],
|
|
66
66
|
},
|
|
67
67
|
CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
|
|
68
68
|
message: `There is another {relationshipType} relationship between {relatedClientName} and {clientName} ending on {relationshipEnding}. Please review and adjust the dates to track this relationship in one record.`,
|
package/dist/validation/features/client-relationships-income-sources.validation-messages.d.ts
CHANGED
|
@@ -2,27 +2,27 @@ export declare const CLIENT_RELATIONSHIPS_INCOME_SOURCES: {
|
|
|
2
2
|
readonly SUBSIDIARY_CANNOT_HAVE_PARENT: {
|
|
3
3
|
readonly message: "{clientName} cannot have subsidiary relationships since it is filing as a subsidiary under {parentClientName} during this timeframe. Please adjust the timeframe or select a different relationship type.";
|
|
4
4
|
readonly params: readonly ["clientName", "parentClientName"];
|
|
5
|
-
readonly affectedFields: readonly ["
|
|
5
|
+
readonly affectedFields: readonly ["relationshipType", "startingDate", "endingDate"];
|
|
6
6
|
};
|
|
7
7
|
readonly SUBSIDIARY_REQUIRES_FILES_SEPARATELY: {
|
|
8
8
|
readonly message: "A subsidiary relationship can only be added to an entity that files separately. Please update the Sub/Parent status before adding a subsidiary relationship, or choose a different relationship type.";
|
|
9
|
-
readonly affectedFields: readonly ["
|
|
9
|
+
readonly affectedFields: readonly ["relationshipType", "filingStatus"];
|
|
10
10
|
};
|
|
11
11
|
readonly SUBSIDIARY_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
12
12
|
readonly message: "A subsidiary must allocate 100% profit to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
13
|
-
readonly affectedFields: readonly ["profit", "
|
|
13
|
+
readonly affectedFields: readonly ["profit", "relationshipType"];
|
|
14
14
|
};
|
|
15
15
|
readonly SUBSIDIARY_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
16
16
|
readonly message: "A subsidiary must allocate 100% loss to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
17
|
-
readonly affectedFields: readonly ["loss", "
|
|
17
|
+
readonly affectedFields: readonly ["loss", "relationshipType"];
|
|
18
18
|
};
|
|
19
19
|
readonly SUBSIDIARY_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
20
20
|
readonly message: "A subsidiary must allocate 100% capital to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
21
|
-
readonly affectedFields: readonly ["capital", "
|
|
21
|
+
readonly affectedFields: readonly ["capital", "relationshipType"];
|
|
22
22
|
};
|
|
23
23
|
readonly SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
24
24
|
readonly message: "A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.";
|
|
25
|
-
readonly affectedFields: readonly ["
|
|
25
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
26
26
|
};
|
|
27
27
|
readonly K1_ISSUER_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
28
28
|
readonly message: "A K1 issuer must allocate a profit percentage greater than 0%. Please enter a profit percentage, or change Receives K1 to 'No'.";
|
|
@@ -51,7 +51,7 @@ export declare const CLIENT_RELATIONSHIPS_INCOME_SOURCES: {
|
|
|
51
51
|
readonly K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
52
52
|
readonly message: "{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.";
|
|
53
53
|
readonly params: readonly ["relatedClient", "entityType"];
|
|
54
|
-
readonly affectedFields: readonly ["
|
|
54
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
55
55
|
};
|
|
56
56
|
readonly INCOME_SOURCE_TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
|
|
57
57
|
readonly message: "The ownership percentages for {relatedClient}'s profit exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.";
|
|
@@ -5,27 +5,27 @@ exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = {
|
|
|
5
5
|
SUBSIDIARY_CANNOT_HAVE_PARENT: {
|
|
6
6
|
message: `{clientName} cannot have subsidiary relationships since it is filing as a subsidiary under {parentClientName} during this timeframe. Please adjust the timeframe or select a different relationship type.`,
|
|
7
7
|
params: ['clientName', 'parentClientName'],
|
|
8
|
-
affectedFields: ['
|
|
8
|
+
affectedFields: ['relationshipType', 'startingDate', 'endingDate'],
|
|
9
9
|
},
|
|
10
10
|
SUBSIDIARY_REQUIRES_FILES_SEPARATELY: {
|
|
11
11
|
message: `A subsidiary relationship can only be added to an entity that files separately. Please update the Sub/Parent status before adding a subsidiary relationship, or choose a different relationship type.`,
|
|
12
|
-
affectedFields: ['
|
|
12
|
+
affectedFields: ['relationshipType', 'filingStatus'],
|
|
13
13
|
},
|
|
14
14
|
SUBSIDIARY_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
15
15
|
message: `A subsidiary must allocate 100% profit to its parent. Please update the percentage to 100% or change the relationship type.`,
|
|
16
|
-
affectedFields: ['profit', '
|
|
16
|
+
affectedFields: ['profit', 'relationshipType'],
|
|
17
17
|
},
|
|
18
18
|
SUBSIDIARY_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
19
19
|
message: `A subsidiary must allocate 100% loss to its parent. Please update the percentage to 100% or change the relationship type.`,
|
|
20
|
-
affectedFields: ['loss', '
|
|
20
|
+
affectedFields: ['loss', 'relationshipType'],
|
|
21
21
|
},
|
|
22
22
|
SUBSIDIARY_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
23
23
|
message: `A subsidiary must allocate 100% capital to its parent. Please update the percentage to 100% or change the relationship type.`,
|
|
24
|
-
affectedFields: ['capital', '
|
|
24
|
+
affectedFields: ['capital', 'relationshipType'],
|
|
25
25
|
},
|
|
26
26
|
SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
27
27
|
message: `A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.`,
|
|
28
|
-
affectedFields: ['
|
|
28
|
+
affectedFields: ['relatedClient', 'relationshipType'],
|
|
29
29
|
},
|
|
30
30
|
K1_ISSUER_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
31
31
|
message: `A K1 issuer must allocate a profit percentage greater than 0%. Please enter a profit percentage, or change Receives K1 to 'No'.`,
|
|
@@ -54,7 +54,7 @@ exports.CLIENT_RELATIONSHIPS_INCOME_SOURCES = {
|
|
|
54
54
|
K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
55
55
|
message: `{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.`,
|
|
56
56
|
params: ['relatedClient', 'entityType'],
|
|
57
|
-
affectedFields: ['
|
|
57
|
+
affectedFields: ['relatedClient', 'relationshipType'],
|
|
58
58
|
},
|
|
59
59
|
INCOME_SOURCE_TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
|
|
60
60
|
message: `The ownership percentages for {relatedClient}'s profit exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const CLIENT_RELATIONSHIPS_OWNERS: {
|
|
2
2
|
readonly PARENT_RELATIONSHIP_REQUIRES_FILES_UNDER_PARENT: {
|
|
3
3
|
readonly message: "A Parent relationship can only be added to an entity that files under parent. Please update the Sub/Parent status before adding a parent relationship, or choose a different relationship type.";
|
|
4
|
-
readonly affectedFields: readonly ["
|
|
4
|
+
readonly affectedFields: readonly ["relationshipType", "filingStatus"];
|
|
5
5
|
};
|
|
6
6
|
readonly MULTIPLE_ACTIVE_PARENT_RELATIONSHIPS: {
|
|
7
7
|
readonly message: "All parent relationships besides the current one must have an ending date. Please add an ending date for any parent relationships that are no longer current, before adding this parent relationship.";
|
|
@@ -10,28 +10,28 @@ export declare const CLIENT_RELATIONSHIPS_OWNERS: {
|
|
|
10
10
|
readonly MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
|
|
11
11
|
readonly message: "There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with {parentRelatedClientName} starting {relationshipStarting}. Please add an end date to that relationship before adding a new one.";
|
|
12
12
|
readonly params: readonly ["parentRelatedClientName", "relationshipStarting"];
|
|
13
|
-
readonly affectedFields: readonly ["
|
|
13
|
+
readonly affectedFields: readonly ["relationshipType", "startingDate"];
|
|
14
14
|
};
|
|
15
15
|
readonly PARENT_CANNOT_BE_SUB_ENTITY: {
|
|
16
16
|
readonly message: "{relatedClientName} cannot be the parent of {clientName}, since it is filing as a sub-entity under another parent during this timeframe. Please adjust the timeframe or select a different relationship type.";
|
|
17
17
|
readonly params: readonly ["relatedClientName", "clientName"];
|
|
18
|
-
readonly affectedFields: readonly ["
|
|
18
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType", "startingDate", "endingDate"];
|
|
19
19
|
};
|
|
20
20
|
readonly PARENT_ENTITY_TYPE_MISMATCH: {
|
|
21
21
|
readonly message: "A parent entity must be the same entity type as the client during the relationship's timeframe. Please select a different relationship type or update either client's entity type.";
|
|
22
|
-
readonly affectedFields: readonly ["
|
|
22
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
23
23
|
};
|
|
24
24
|
readonly PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
25
25
|
readonly message: "A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
26
|
-
readonly affectedFields: readonly ["profit", "
|
|
26
|
+
readonly affectedFields: readonly ["profit", "relationshipType"];
|
|
27
27
|
};
|
|
28
28
|
readonly PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
29
29
|
readonly message: "A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
30
|
-
readonly affectedFields: readonly ["loss", "
|
|
30
|
+
readonly affectedFields: readonly ["loss", "relationshipType"];
|
|
31
31
|
};
|
|
32
32
|
readonly PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
33
33
|
readonly message: "A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
34
|
-
readonly affectedFields: readonly ["capital", "
|
|
34
|
+
readonly affectedFields: readonly ["capital", "relationshipType"];
|
|
35
35
|
};
|
|
36
36
|
readonly SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
37
37
|
readonly message: "A shareholder relationship that issues a K1 must have a profit percentage greater than 0%. Please enter a profit percentage, or change Issues K1 to 'No'.";
|
|
@@ -4,7 +4,7 @@ exports.CLIENT_RELATIONSHIPS_OWNERS = void 0;
|
|
|
4
4
|
exports.CLIENT_RELATIONSHIPS_OWNERS = {
|
|
5
5
|
PARENT_RELATIONSHIP_REQUIRES_FILES_UNDER_PARENT: {
|
|
6
6
|
message: `A Parent relationship can only be added to an entity that files under parent. Please update the Sub/Parent status before adding a parent relationship, or choose a different relationship type.`,
|
|
7
|
-
affectedFields: ['
|
|
7
|
+
affectedFields: ['relationshipType', 'filingStatus'],
|
|
8
8
|
},
|
|
9
9
|
MULTIPLE_ACTIVE_PARENT_RELATIONSHIPS: {
|
|
10
10
|
message: `All parent relationships besides the current one must have an ending date. Please add an ending date for any parent relationships that are no longer current, before adding this parent relationship.`,
|
|
@@ -13,28 +13,28 @@ exports.CLIENT_RELATIONSHIPS_OWNERS = {
|
|
|
13
13
|
MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
|
|
14
14
|
message: `There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with {parentRelatedClientName} starting {relationshipStarting}. Please add an end date to that relationship before adding a new one.`,
|
|
15
15
|
params: ['parentRelatedClientName', 'relationshipStarting'],
|
|
16
|
-
affectedFields: ['
|
|
16
|
+
affectedFields: ['relationshipType', 'startingDate'],
|
|
17
17
|
},
|
|
18
18
|
PARENT_CANNOT_BE_SUB_ENTITY: {
|
|
19
19
|
message: `{relatedClientName} cannot be the parent of {clientName}, since it is filing as a sub-entity under another parent during this timeframe. Please adjust the timeframe or select a different relationship type.`,
|
|
20
20
|
params: ['relatedClientName', 'clientName'],
|
|
21
|
-
affectedFields: ['
|
|
21
|
+
affectedFields: ['relatedClient', 'relationshipType', 'startingDate', 'endingDate'],
|
|
22
22
|
},
|
|
23
23
|
PARENT_ENTITY_TYPE_MISMATCH: {
|
|
24
24
|
message: `A parent entity must be the same entity type as the client during the relationship's timeframe. Please select a different relationship type or update either client's entity type.`,
|
|
25
|
-
affectedFields: ['
|
|
25
|
+
affectedFields: ['relatedClient', 'relationshipType'],
|
|
26
26
|
},
|
|
27
27
|
PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
28
28
|
message: `A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
|
|
29
|
-
affectedFields: ['profit', '
|
|
29
|
+
affectedFields: ['profit', 'relationshipType'],
|
|
30
30
|
},
|
|
31
31
|
PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
32
32
|
message: `A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
|
|
33
|
-
affectedFields: ['loss', '
|
|
33
|
+
affectedFields: ['loss', 'relationshipType'],
|
|
34
34
|
},
|
|
35
35
|
PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
36
36
|
message: `A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.`,
|
|
37
|
-
affectedFields: ['capital', '
|
|
37
|
+
affectedFields: ['capital', 'relationshipType'],
|
|
38
38
|
},
|
|
39
39
|
SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
40
40
|
message: `A shareholder relationship that issues a K1 must have a profit percentage greater than 0%. Please enter a profit percentage, or change Issues K1 to 'No'.`,
|
|
@@ -651,12 +651,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
651
651
|
readonly CLIENT_RELATIONSHIPS_COMMON: {
|
|
652
652
|
readonly CURRENT_CLIENT_CANNOT_BE_RELATED_TO_CURRENT_CLIENT: {
|
|
653
653
|
readonly message: "A client cannot have a relationship with itself.";
|
|
654
|
-
readonly affectedFields: readonly ["
|
|
654
|
+
readonly affectedFields: readonly ["relatedClient"];
|
|
655
655
|
};
|
|
656
656
|
readonly INVALID_RELATIONSHIP_TYPE_FOR_ENTITY_TYPE: {
|
|
657
657
|
readonly message: "{clientName} is a/an {entityType}, which can't have {relationshipType}s. Please update the relationship type.";
|
|
658
658
|
readonly params: readonly ["clientName", "entityType", "relationshipType"];
|
|
659
|
-
readonly affectedFields: readonly ["
|
|
659
|
+
readonly affectedFields: readonly ["relationshipType"];
|
|
660
660
|
};
|
|
661
661
|
readonly STARTING_DATE_BEFORE_CLIENT_DATE_ESTABLISHED: {
|
|
662
662
|
readonly message: "This relationship's start date cannot be before {clientName}'s date established, {clientDateEstablished}. Please adjust the dates to proceed.";
|
|
@@ -704,12 +704,12 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
704
704
|
readonly CIRCULAR_RELATIONSHIP_DETECTED: {
|
|
705
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.";
|
|
706
706
|
readonly params: readonly ["clientName", "relatedClientName", "relationshipType"];
|
|
707
|
-
readonly affectedFields: readonly ["
|
|
707
|
+
readonly affectedFields: readonly ["relationshipType", "relatedClient", "startingDate", "endingDate"];
|
|
708
708
|
};
|
|
709
709
|
readonly CONFLICTING_RELATIONSHIP_TYPES_SAME_TIMEFRAME: {
|
|
710
710
|
readonly message: "{relatedClientName} cannot be associated with {clientName} more than once within the same timeframe. Please ensure there are no conflicting relationships for these clients in this timeframe.";
|
|
711
711
|
readonly params: readonly ["relatedClientName", "clientName"];
|
|
712
|
-
readonly affectedFields: readonly ["
|
|
712
|
+
readonly affectedFields: readonly ["relationshipType", "relatedClient", "startingDate", "endingDate"];
|
|
713
713
|
};
|
|
714
714
|
readonly CONSECUTIVE_DUPLICATE_RELATIONSHIPS: {
|
|
715
715
|
readonly message: "There is another {relationshipType} relationship between {relatedClientName} and {clientName} ending on {relationshipEnding}. Please review and adjust the dates to track this relationship in one record.";
|
|
@@ -720,7 +720,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
720
720
|
readonly CLIENT_RELATIONSHIPS_OWNERS: {
|
|
721
721
|
readonly PARENT_RELATIONSHIP_REQUIRES_FILES_UNDER_PARENT: {
|
|
722
722
|
readonly message: "A Parent relationship can only be added to an entity that files under parent. Please update the Sub/Parent status before adding a parent relationship, or choose a different relationship type.";
|
|
723
|
-
readonly affectedFields: readonly ["
|
|
723
|
+
readonly affectedFields: readonly ["relationshipType", "filingStatus"];
|
|
724
724
|
};
|
|
725
725
|
readonly MULTIPLE_ACTIVE_PARENT_RELATIONSHIPS: {
|
|
726
726
|
readonly message: "All parent relationships besides the current one must have an ending date. Please add an ending date for any parent relationships that are no longer current, before adding this parent relationship.";
|
|
@@ -729,28 +729,28 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
729
729
|
readonly MULTIPLE_PARENT_RELATIONSHIPS_SAME_TIMEFRAME: {
|
|
730
730
|
readonly message: "There can only be one parent relationship associated to a client during the same timeframe. There is a current parent relationship with {parentRelatedClientName} starting {relationshipStarting}. Please add an end date to that relationship before adding a new one.";
|
|
731
731
|
readonly params: readonly ["parentRelatedClientName", "relationshipStarting"];
|
|
732
|
-
readonly affectedFields: readonly ["
|
|
732
|
+
readonly affectedFields: readonly ["relationshipType", "startingDate"];
|
|
733
733
|
};
|
|
734
734
|
readonly PARENT_CANNOT_BE_SUB_ENTITY: {
|
|
735
735
|
readonly message: "{relatedClientName} cannot be the parent of {clientName}, since it is filing as a sub-entity under another parent during this timeframe. Please adjust the timeframe or select a different relationship type.";
|
|
736
736
|
readonly params: readonly ["relatedClientName", "clientName"];
|
|
737
|
-
readonly affectedFields: readonly ["
|
|
737
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType", "startingDate", "endingDate"];
|
|
738
738
|
};
|
|
739
739
|
readonly PARENT_ENTITY_TYPE_MISMATCH: {
|
|
740
740
|
readonly message: "A parent entity must be the same entity type as the client during the relationship's timeframe. Please select a different relationship type or update either client's entity type.";
|
|
741
|
-
readonly affectedFields: readonly ["
|
|
741
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
742
742
|
};
|
|
743
743
|
readonly PARENT_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
744
744
|
readonly message: "A parent must own a profit percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
745
|
-
readonly affectedFields: readonly ["profit", "
|
|
745
|
+
readonly affectedFields: readonly ["profit", "relationshipType"];
|
|
746
746
|
};
|
|
747
747
|
readonly PARENT_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
748
748
|
readonly message: "A parent must own a loss percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
749
|
-
readonly affectedFields: readonly ["loss", "
|
|
749
|
+
readonly affectedFields: readonly ["loss", "relationshipType"];
|
|
750
750
|
};
|
|
751
751
|
readonly PARENT_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
752
752
|
readonly message: "A parent must own a capital percentage of 100%. Please update the percentage to 100% or change the relationship type.";
|
|
753
|
-
readonly affectedFields: readonly ["capital", "
|
|
753
|
+
readonly affectedFields: readonly ["capital", "relationshipType"];
|
|
754
754
|
};
|
|
755
755
|
readonly SHAREHOLDER_K1_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
756
756
|
readonly message: "A shareholder relationship that issues a K1 must have a profit percentage greater than 0%. Please enter a profit percentage, or change Issues K1 to 'No'.";
|
|
@@ -793,27 +793,27 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
793
793
|
readonly SUBSIDIARY_CANNOT_HAVE_PARENT: {
|
|
794
794
|
readonly message: "{clientName} cannot have subsidiary relationships since it is filing as a subsidiary under {parentClientName} during this timeframe. Please adjust the timeframe or select a different relationship type.";
|
|
795
795
|
readonly params: readonly ["clientName", "parentClientName"];
|
|
796
|
-
readonly affectedFields: readonly ["
|
|
796
|
+
readonly affectedFields: readonly ["relationshipType", "startingDate", "endingDate"];
|
|
797
797
|
};
|
|
798
798
|
readonly SUBSIDIARY_REQUIRES_FILES_SEPARATELY: {
|
|
799
799
|
readonly message: "A subsidiary relationship can only be added to an entity that files separately. Please update the Sub/Parent status before adding a subsidiary relationship, or choose a different relationship type.";
|
|
800
|
-
readonly affectedFields: readonly ["
|
|
800
|
+
readonly affectedFields: readonly ["relationshipType", "filingStatus"];
|
|
801
801
|
};
|
|
802
802
|
readonly SUBSIDIARY_PROFIT_PERCENTAGE_MUST_BE_100: {
|
|
803
803
|
readonly message: "A subsidiary must allocate 100% profit to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
804
|
-
readonly affectedFields: readonly ["profit", "
|
|
804
|
+
readonly affectedFields: readonly ["profit", "relationshipType"];
|
|
805
805
|
};
|
|
806
806
|
readonly SUBSIDIARY_LOSS_PERCENTAGE_MUST_BE_100: {
|
|
807
807
|
readonly message: "A subsidiary must allocate 100% loss to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
808
|
-
readonly affectedFields: readonly ["loss", "
|
|
808
|
+
readonly affectedFields: readonly ["loss", "relationshipType"];
|
|
809
809
|
};
|
|
810
810
|
readonly SUBSIDIARY_CAPITAL_PERCENTAGE_MUST_BE_100: {
|
|
811
811
|
readonly message: "A subsidiary must allocate 100% capital to its parent. Please update the percentage to 100% or change the relationship type.";
|
|
812
|
-
readonly affectedFields: readonly ["capital", "
|
|
812
|
+
readonly affectedFields: readonly ["capital", "relationshipType"];
|
|
813
813
|
};
|
|
814
814
|
readonly SUBSIDIARY_ENTITY_TYPE_MISMATCH: {
|
|
815
815
|
readonly message: "A subsidiary entity must be the same entity type as the client during the relationship's timeframe (besides DBA or LLC subsidiaries). Please select a different relationship type, or update either client's entity type.";
|
|
816
|
-
readonly affectedFields: readonly ["
|
|
816
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
817
817
|
};
|
|
818
818
|
readonly K1_ISSUER_PROFIT_PERCENTAGE_MUST_BE_GREATER_THAN_0: {
|
|
819
819
|
readonly message: "A K1 issuer must allocate a profit percentage greater than 0%. Please enter a profit percentage, or change Receives K1 to 'No'.";
|
|
@@ -842,7 +842,7 @@ export declare const VALIDATION_MESSAGES: {
|
|
|
842
842
|
readonly K1_ISSUER_INVALID_ENTITY_TYPE: {
|
|
843
843
|
readonly message: "{relatedClient} is a/an {entityType}, which cannot issue K1s. Please select a different client or choose a different relationship type.";
|
|
844
844
|
readonly params: readonly ["relatedClient", "entityType"];
|
|
845
|
-
readonly affectedFields: readonly ["
|
|
845
|
+
readonly affectedFields: readonly ["relatedClient", "relationshipType"];
|
|
846
846
|
};
|
|
847
847
|
readonly INCOME_SOURCE_TOTAL_PROFIT_PERCENTAGE_EXCEEDS_100: {
|
|
848
848
|
readonly message: "The ownership percentages for {relatedClient}'s profit exceeds 100% for this timeframe. Please update their shareholder percentages so that the total between all owners does not exceed 100%.";
|