This will contain information regarding the WWEX LTL carrier setup components, FAQs, etc.
If you are having issues with the carrier notifications not going out:
Set Location Parameters "204Carrier" with a value of "WWEX" and "204Dock" with a value of "15:00:00". This sends up details on the carrier as WWEX and the Dock Close time of 1500 hours. The 204 component identifies this EDI information as the Carrier Notification.
From Brad @ RateLinx:
WWEX does this when determining if it should do a pickup request:
//check that the status is telling us to do a pickup request
string attStatus = shipment.GetAttributeVal(0, "204Status", "");
if (attStatus.ToUpper() != "SEND") //nothing to send
return new rlResultInfo("Success");
//get and validate the dock close and pickup times
string attDock = shipment.GetAttributeVal(0, "204Dock", "");
string attPickup = shipment.GetAttributeVal(0, "204Pickup", "");
if (attDock.Trim() == "" || attPickup.Trim() == "")
throw new Exception("204Dock and 204Pickup attributes must be provided.");
DateTime dtDock, dtPickup;
if (!DateTime.TryParse(attDock, rlUtility.USCult, System.Globalization.DateTimeStyles.None, out dtDock))
throw new Exception("204Dock is invalid, format must be MM/dd/yyyy HH:mm.");
if (!DateTime.TryParse(attPickup, rlUtility.USCult, System.Globalization.DateTimeStyles.None, out dtPickup))
throw new Exception("204Pickup is invalid, format must be MM/dd/yyyy HH:mm.");
In the P21 Integrations, the following code exists:
if (Globals.shipment.ShipVia.CarrierType == "LTL" && Globals.GetCarrierProp(Globals.shipment.ShipVia.CarrierCode, "204Notification", "N") == "Y")
{
TimeZoneInfo easternZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
Globals.SetShipmentAttribute("204Dock", DateTime.Now.ToString("MM/dd/yyyy") + " " + Globals.GetSystemParameter("P21DockClose", "17:00")); //format: MM/dd/yyyy HH:mm (The date part of this doesn't matter, but it needs to be a valid date in the database, it represents the time the dock closes).
if (Globals.shipment.ShipDate.Value.Date != DateTime.Now.Date) //format: MM/dd/yyyy HH:mm (Date and time the pickup should occur at the earliest)
Globals.SetShipmentAttribute("204Pickup", TimeZoneInfo.ConvertTime(Globals.shipment.ShipDate.Value.Date + DateTime.Now.TimeOfDay, easternZone).ToString("MM/dd/yyyy HH:mm"));
else
Globals.SetShipmentAttribute("204Pickup", TimeZoneInfo.ConvertTime(DateTime.Now.AddHours(1), easternZone).ToString("MM/dd/yyyy HH:mm"));
Globals.SetShipmentAttribute("204Status", "SEND"); //set to SEND when you want it to go out. This will get updated to Pending, and then a status on an EDI 990/997 return from the carrier.
}
So it is that we need to make sure to set a Carrier Prop called "204Notification" with a value of "Y" for the "WWEX" LTL Carrier (or any other LTL carrier using that carrier code) . This has to be done manually through the DB directly.
In general, the following 3 Attributes have to be set on the shipment:
204Dock = <dock closing time in MM/dd/yyyy HH:mm format>
204Pickup = <carrier pickup time in MM/dd/yyyy HH:mm format>
This will email to the SHIPTO.email attribute.
"Update is going out today that'll set the email bol flag and send the shipto email address in the pickup request whenever there's a shipto email populated."