You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/packages/backend/apps/api/src/route-controllers/confirmation-of-enrollment/models/confirmation-of-enrollment.dto.ts
Copy file name to clipboardExpand all lines: sources/packages/backend/libs/integrations/src/institution-integration/ece-integration/ece-files/ece-response-file-detail.ts
+3-3
Original file line number
Diff line number
Diff line change
@@ -64,10 +64,10 @@ export class ECEResponseFileDetail extends ECEResponseFileRecord {
64
64
getInvalidDataMessage(): string|undefined{
65
65
consterrors: string[]=[];
66
66
if(isNaN(this.disbursementIdentifier)){
67
-
errors.push("invalid unique index number for the disbursement record.");
67
+
errors.push("Invalid unique index number for the disbursement record.");
68
68
}
69
-
if(!this.applicationNumber){
70
-
errors.push("application number not found or invalid.");
Copy file name to clipboardExpand all lines: sources/packages/backend/libs/integrations/src/institution-integration/ece-integration/ece-integration.module.ts
Copy file name to clipboardExpand all lines: sources/packages/backend/libs/integrations/src/institution-integration/ece-integration/ece-response.integration.service.ts
+18-4
Original file line number
Diff line number
Diff line change
@@ -23,11 +23,23 @@ export class ECEResponseIntegrationService extends SFTPIntegrationBase<
consterror=`The ECE response file ${remoteFilePath}has an invalid record type on header: ${header.recordType}`;
42
+
consterror=`The ECE response file has an invalid record type on header: ${header.recordType}`;
31
43
this.logger.error(error);
32
44
// If the header is not the expected one, throw an error.
33
45
thrownewError(error);
@@ -42,14 +54,16 @@ export class ECEResponseIntegrationService extends SFTPIntegrationBase<
42
54
}
43
55
// The file is expected to have at least one detail record.
44
56
if(!fileLines.length){
45
-
consterror=`The ECE response file ${remoteFilePath} does not have any detail records to process.`;
57
+
consterror=
58
+
"The ECE response file does not have any detail records to process.";
46
59
this.logger.error(error);
47
60
thrownewError(error);
48
61
}
49
62
// The total count of detail records is mentioned in the footer record and it is expected to
50
63
// match the actual count of total records.
51
64
if(fileLines.length!==footer.totalDetailRecords){
52
-
consterror=`In ${remoteFilePath} the total count of detail records mentioned in the footer record does not match with the actual total details records count.`;
65
+
consterror=
66
+
"In the total count of detail records mentioned in the footer record does not match with the actual total details records count.";
0 commit comments