Excel Sheet Mapping Data: Telling the Agent What to Sync

Modified on Tue, 19 Aug at 6:05 PM

Data mapping is a critical step that defines how information from PortPro TMS fields (such as Load Number, Container Status, and Customer Name) corresponds to specific columns in the selected Excel worksheet. Accurate mapping ensures that each data element is placed in the correct location.


Understanding Data Mapping


Data mapping functions as a set of instructions for the agent. For example, the "Load ID" field from the TMS could be configured to populate Column A of the Excel sheet, or a column labeled "Shipment Identifier".


Using the AI-Assisted Mapping Feature


To simplify the process, the Excel Spreadsheet AI Agent may offer an AI-assisted mapping feature. This could include:


  • Automatic Suggestions – Based on existing column headers in the selected Excel worksheet, the agent may automatically suggest potential mappings to relevant TMS fields.
  • Interactive Chat – Some versions may include an interactive chat interface where mapping requirements can be described, and the AI will configure them accordingly.


All AI-generated suggestions should be reviewed carefully. Manual adjustments can be made to ensure mappings align perfectly with operational requirements.




The Crucial Role of the Primary Key


During the mapping process, one column in the Excel worksheet must be designated as the Primary Key—the most critical component of mapping setup.


What is a Primary Key?

A Primary Key column contains a unique value for each row of data. Common choices include Load Number, Container ID, or another unique reference number from PortPro.


Why it is crucial?

The agent uses the Primary Key to:


  • Uniquely identify each row in the Excel sheet.
  • Accurately update existing rows when corresponding TMS data changes.
  • Correctly add new rows for new TMS records without creating duplicates.
  • Remove rows from Excel when the corresponding TMS record is deleted.


Important: The column selected as the Primary Key must contain unique values for every record intended for synchronization. Duplicate Primary Key values can cause synchronization errors or incorrect updates.


Reviewing and Confirming Mappings

  1. After all field mappings are defined and the Primary Key is set, the configuration should be reviewed thoroughly.
  2. Confirm that each TMS field is mapped to the correct Excel column and that the Primary Key is properly designated.
  3. Once verified, save the mappings to activate the data synchronization process.





Mappable Data:


Load #A unique reference number assigned to the load
CustomerThe name of the customer who requested the load
BranchThe branch of the customer who requested the load
Pick Up LocationThe location where the load will be picked up from
Delivery LocationThe location where the load will be delivered to
Return LocationThe location where the load will be returned to
Hook Chassis LocationThe location where the hook chassis will be located
Terminate Chassis LocationThe location where the chassis will be terminated
Freight HoldFreight status for the load
Custom HoldCustom hold status
Carrier HoldThe carrier hold status of the load
Broker HoldThe broker hold status of the load
Vessel ETAInformation about the vessel transporting the load
Last Free Day
The last day the load can be stored without incurring additional charges
Discharged DateThe date when the load was discharged
Outgate DateThe date when the load exited the gate
Empty DateThe day the container became empty
Ingate DateThe date when the load entered the gate
Ready to Return DateThe date when the load is ready for return
Loaded DateThe date when the load was loaded
ERDThe date when the container is available for return
Cut OffThe date when the load is due to be picked up
Date ReturnedThe date when the load was returned
Container #The unique identifier for the container used in the load
Container SizeThe size of the container used in the load
Container TypeThe type of container used in the load
Container OwnerThe owner of the container used in the load
Chassis #The unique identifier for the chassis used in the load
Chassis SizeThe size of the chassis used in the load
Chassis TypeThe type of chassis used in the load
Chassis OwnerThe owner of the chassis used in the load
Genset #The unique identifier for the genset used in the load
TemperatureThe temperature of the container
RouteThe route of the load
SCACThe SCAC of the load
Tare WeightThe tare weight of the load
HazmatWhether the load is a hazardous material
OverweightWhether the load is overweight
OverheightWhether the load is overheight
LiquorWhether the load contains liquor
HotWhether the load is urgent
GensetThe genset of the load
Street TurnThe street turn of the load
House Bill Of LadingThe house bill of lading of the load
Booking #The booking number of the load
Reference #The secondary reference number of the load
Vessel NameThe name of the vessel transporting the load
VoyageThe voyage number of the load
Purchase Order #The purchase order number of the load
Shipment #The shipment number of the load
Pick Up #The pick up number of the load
Appointment #The appointment number of the load
Return #The return number of the load
Reservation #The reservation number of the load
Seal #The seal number of the load
Master Bill Of LadingThe master bill of lading of the load
Delivery Reference #The delivery reference number of the load
Ready for PickupWhether the load is ready for pickup
Gray Chassis #The unique identifier for the gray chassis used in the load
Gray Chassis SizeThe size of the gray chassis used in the load
Gray Chassis TypeThe type of gray chassis used in the load
Gray Chassis OwnerThe owner of the gray chassis used in the load
StatusCurrent load status (e.g. dispatched, enroute to deliver)
Load TypeType of the load (IMPORT, EXPORT, ROAD, BILL ONLY)
Billing DateThe date when the load was billed
Available DateThe date when the load is available
Pick Up Apt FromThe start time of the load pick up appointment
Pick Up Apt ToThe end time of the load pick up appointment
Delivery Apt FromThe start time of the load delivery appointment
Delivery Apt ToThe end time of the load delivery appointment
Return Apt FromThe start time of the load return appointment
Return Apt ToThe end time of the load return appointment
Per Diem Free DayLast Date to return the container to port for free
Trailer #The unique identifier for the Trailer used in the load
Trailer SizeThe size of the trailer used in the load
Trailer TypeThe type of trailer used in the load
Delivered To Unload DateThe date when the load was delivered to the unload location
Load Completed DateThe date when the load was completed
Current LocationThe last known location of the load
Lift Off Reference #The lift off reference number of the load
PiecesThe commodity and the number of pieces
Delivery Arrival TimeThe time of the delivery arrival for the load
Driver NotesThe notes for the driver of the load
Yard NotesThe notes for the yard of the load
Load NotesThe notes for the load


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article