🔍
BIG Pega COE Team

EDI Logic Deep-Dive Specification

Category: US Train_Cargo

Complete extracted index of all Electronic Data Interchange (EDI), S309, and segment parsing behaviors across the legacy architecture.

🎯 EDI Scope Detected: Extracted 7 specific EDI behaviors out of 116 total legacy rules in US Train_Cargo.

Module: GCX111E 7 EDI Rules Found

R-GCX111E-cbl-00016 11:Handle Manual Arrival Status
Decision Rules
Business View: Assuming a train has been found with current operational status during the '11:Handle Manual Arrival Status' routine, when the train has arrived automatically and the arrival message has been sent or acknowledged, the system executes logic to ensure that the system returns 'arrived' as the train status.
Given
A train has been found with current operational status
When
The train has arrived automatically and the arrival message has been sent or acknowledged
Then
The system returns 'ARRIVED' as the train status
R-GCX111E-cbl-00017 11:Handle Manual Arrival Status
Decision Rules
Business View: Assuming a train has been found with current operational status during the '11:Handle Manual Arrival Status' routine, when the train has arrived manually and the arrival message has been sent or acknowledged, the system executes logic to ensure that the system returns 'mnl-arr' as the train status.
Given
A train has been found with current operational status
When
The train has arrived manually and the arrival message has been sent or acknowledged
Then
The system returns 'MNL-ARR' as the train status
R-GCX111E-cbl-00038 Set Status to 'ARRIVED'
Decision Rules
Business View: Assuming a train is found and has a current status during the 'Set Status to 'ARRIVED'' routine, when the train has arrived (gcwtl-arrived-yes is true) and the train message has been sent or acknowledged, the system executes logic to ensure that the train status should be overridden to 'arrived'.
Given
A train is found and has a current status
When
The train has arrived (GCWTL-ARRIVED-YES is true) AND the train message has been sent OR acknowledged
Then
The train status should be overridden to 'ARRIVED'
R-GCX111E-cbl-00039 Set Status to 'MNL-ARR'
Decision Rules
Business View: Assuming a train is found and status processing is in progress during the 'Set Status to 'MNL-ARR'' routine, when the train has been manually marked as arrived (gcwtl-arrived-manual is true) and the train message has been sent or acknowledged, the system executes logic to ensure that the train status should be set to 'mnl-arr'.
Given
A train is found and status processing is in progress
When
The train has been manually marked as arrived (GCWTL-ARRIVED-MANUAL is true) AND the train message has been sent OR acknowledged
Then
The train status should be set to 'MNL-ARR'
R-GCX111E-cbl-00112 Invalid Parameters Error
Validation Rules
Business View: <EXCLUSION CRITERIA> If a database operation has been performed on train list data, and the database response indicates invalid parameters were provided occurs during the 'Invalid Parameters Error' routine, then the system must guarantee that the system should display an error message about invalid parameters and terminate processing.
EXCLUDING
A database operation has been performed on train list data
When
The database response indicates invalid parameters were provided
Then
The system should display an error message about invalid parameters and terminate processing
R-GCX111E-cbl-00113 Too Many Equipment Error
Validation Rules
Business View: Assuming a database operation has been performed on train list data during the 'Too Many Equipment Error' routine, when the database response indicates the train has too many equipment items, the system executes logic to ensure that the system should display an error message about train capacity exceeded and terminate processing.
Given
A database operation has been performed on train list data
When
The database response indicates the train has too many equipment items
Then
The system should display an error message about train capacity exceeded and terminate processing
R-GCX111E-cbl-00082 Process Found Train Status
Decision Rules
Business View: Assuming a train status request is being processed and the train exists in the system during the 'Process Found Train Status' routine, when the train is found in the database, the system executes logic to ensure that the train status should be set to the current operational status from the train record, with special status 'arrived' if train has arrived and message was sent or acknowledged, or 'mnl-arr' if train arrived manually and message was sent or acknowledged.
Given
A train status request is being processed and the train exists in the system
When
The train is found in the database
Then
The train status should be set to the current operational status from the train record, with special status 'ARRIVED' if train has arrived and message was sent or acknowledged, or 'MNL-ARR' if train arrived manually and message was sent or acknowledged
← Return to Categories