Shipments and Cargo Inbound Management

The Inbound Shipments Management section is one of Urdarat's key operational interfaces, designed for delivery agencies and intermediate stations to manage incoming shipments and transported goods, confirm the arrival of parcels (Cargos), manage transit stations, and accurately track transportation movements through secure operational and financial processes.


1. Viewing Incoming Shipments and Trips

This section provides a dedicated dashboard for viewing and filtering incoming shipments:

  • Shipments List: Track shipments and trips arriving at the agency or station, with advanced filtering options based on the relevant entity or agency.
  • Shipment and Cargo Details: Open a shipment's details to view the list of associated parcels (Cargos) that fall within the receiving agency's authorized scope.

2. Confirming Receipt of Shipments and Cargos (Shipment Received)

Cargo receipt is processed through controlled database transactions:

  • ID Validation and Sanitization: The system verifies the selected cargos, sanitizes the submitted ID array, and converts its values into integers to prevent data manipulation or injection attempts.
  • Updating Cargo and Station Statuses: Once receipt is confirmed, the system automatically updates cargo statuses according to their current stage and closes the station status associated with that stage by setting stop_status to 2.
  • Tracking Records: New cargo tracking records are generated and stored for the cargos actually received, documenting their journey and status changes.
  • Closing the Station and Parent Shipment: The station status is updated for the current agency. The parent shipment is marked as completed by setting its status to 2 once all its associated stations have been completed.

3. Reversing Receipt Confirmation and Cancelling Shipment Closure (Rollback & Cancellation)

  • 24-Hour Cancellation Window: The system allows receipt confirmation to be reversed within a strict time limit of up to 24 hours.
  • Restoring Previous Statuses: The station is reopened by restoring its status to 1, the cargos are returned to their statuses from before the confirmation, and the tracking records associated with that operation are deleted. This allows operational teams to correct on-the-ground receiving errors.