These are implemented rules that check the current field's value for compatibility with all the field values above it. If it is not compatible, ShipGear changes it to a compatible value.
FedEx Ship Manager Field Name |
Rule |
Message |
Ship To Country |
Determine meaning of country for subsequent rules (case independent): Get proposed country code according to the country name / country code passed in. Set CountryType according to the country code (US, Canada, the rest of world) |
'Set valid value.' |
RecipientState |
If ShipToCountry is International then set to "" |
International address does not have a State. |
RecipientPostalCode |
Domestic: check for NNNNN format
Canada: check for ANA NAN format |
US Postal Code should be numeric-only, 5 digits long.
CA Postal Code should be specified in the "ANA NAN" format. |
ServiceType_Domestic |
International: set to N/A
If FirstOvernight and (FirstOvernight is not available for the recipient ZIP) change to 'FedEx Priority Overnight'
If ResidentialDeliveryFlag and FedEx Ground Service and (PackageWeight <= 70lbs) and (not COD) then set to 'FedEx Home Delivery'
If ResidentialDeliveryFlag and FedEx Ground Service and (PackageWeight <= 70lbs) and COD then do nothing and show warning
If ( not ResidentialDeliveryFlag ) and 'FedEx Home Delivery' then set to FedEx Ground Service
If FHDDeliveryType in ('Certain', 'Evening', 'Appoint') then set to 'FedEx Home Delivery'
|
Not applicable for international shipments.
'FedEx First Overnight is not available for this destination.'
Updated to reflect Residential Delivery option.
Updated to reflect Home Delivery Type option. |
ServiceType_International |
Domestic: set to N/A
If IntlFirst and (IntlFirst is not available for the recipient country/ZIP pair) change to 'FedEx International Priority'
|
Not applicable for domestic shipments.
'FedEx International First is not available for this destination.' |
PackageType |
If Ground: if not Your Packaging set to Your Packaging
If Express: if Domestic: if 10kg Box or 25kg Box then set to 'Your Packaging'
|
Only Custom Packaging is allowed for FedEx Ground service.
FedEx 10KG Box and 25KG Box packaging types are available for international shipments only. |
ResidentialDeliveryFlag |
If 'FedEx Home Delivery' then set to N/A |
Residential Delivery is not applicable to the Home Delivery service. |
RecipientAccountNumber |
If (not numeric, 9 digits long) and (BillRecipient or Bill3rdParty) set to |
FedEx Recipient Account is 9 digits length, and is required for "Bill Recipient" and "Bill Third Party" payment types. |
ShipDate |
If (less than Now) set to Now
If (more than 10 days in future set to (Now+10); if Sunday set to previous Saturday
If Sunday set to next Monday |
'ShipDate should not be a past date.'
'ShipDate should be no more than 10 days in the future.'
'ShipDate should be in the format MM/DD/YYYY, Monday to Saturday.' |
HomeDelivery_DeliveryDate |
If (less than Now) set to Now; make sure Date is in range Tuesday-Saturday |
'Home Delivery Date should be in the range Tuesday.. Saturday.'
|
IsDocumentShipment |
Domestic: set to N |
Not applicable for domestic shipments. |
HazardousMaterialsFlag_Internal Field |
Express: set to N |
Not applicable for Express shipments. |
|
Ground: set to N
Express: if 'FedEx First Overnight' set to N |
Not applicable for Ground shipments.
'Not applicable for First Overnight shipments.' |
AlcoholFlag_Internal Field |
Ground: set to N |
Not applicable for Ground shipments. |
HomeDeliveryFlag_Internal Field |
Express: set to N |
Not applicable for Express shipments. |
InsidePickupFlag |
If not (Domestic and Freight) set to N |
Applicable to U.S. Domestic freight service only. |
InsideDeliveryFlag |
If not (Domestic and Freight) set to N |
Applicable to U.S. Domestic freight service only. |
SaturdayDeliveryFlag |
Ground: set to N |
Not applicable for Ground shipments |
'Not applicable for International shipments. |
||
SaturdayPickupFlag |
Ground: set to N |
Not applicable for Ground shipments. |
Applicable to Saturday shipments only.
|
||
'Is not applicable to Freight shipments.' |
||
SignatureOptions |
FDXE: If Freight set to 'Direct Signature Required' |
'Only "Direct Signature Required" option is available for Freight shipments.' |
'Only "Adult Signature Required" option is available for Alcohol shipments.' |
||
'Only "Direct Signature Required" and "Adult Signature Required" options are available for this shipping scenario.' |
||
'Is not applicable for "Hold At Location" shipments.' |
||
'Set default value.' |
||
'Only "Adult Signature Required" option is available for this shipping scenario.' |
||
'Is not applicable for "Hold At Location" shipments.' |
||
'Only "Adult Signature Required" option is available for this shipping scenario.' |
||
'Set default value.' |
||
'Is not applicable for Alcohol Ground shipments.' |
||
'Only "Direct Signature Required" and "Adult Signature Required" options are available for this shipping scenario.' |
||
'Is not applicable for "Hold At Location" Ground shipments.' |
||
'Set default value.' |
||
'Signature Option is not available for this shipping scenario.' |
||
'Set default value.' |
||
'Only "Direct Signature Required" and "Adult Signature Required" options are available for this shipping scenario.' |
||
'Set default value.' |
||
'Only "Adult Signature Required" option is available for Alcohol shipments.' |
||
'Set default value.' |
||
'Only "Direct Signature Required" and "Adult Signature Required" options are available for this shipping scenario.' |
||
'Is not applicable for "Hold At Location" Ground shipments.' |
||
'Set default value.' |
||
'Signature Option is not applicable to International shipments.' |
||
RecipientAddress1 |
If empty set to |
Recipient address is required. |
RecipientCity |
If empty set to ' CITY REQUIRED' |
Recipient city is required. |
NumberOfPackages |
If not (an integer > 0) set to 1 |
Number of packages is required. |
PackageWeight |
If not (an integer > 0) set to 1 |
Package weight is required. |
CODGroundReference |
P.O -> 1 Invoice -> 2 Custom -> 3 Default -> 0 |
'Translated into FedEx ShipManager value.' |
SenderDeliveryNotification SenderShipmentNotification |
If SenderEmail is not valid set to N |
Valid Sender email address required for notification. |
RecipientDeliveryNotification RecipientShipmentNotification |
If RecipientEmail is not valid set to N |
Valid Recipient email address required for notification. |
Other1DeliveryNotification Other1ShipmentNotification |
If Other1Email is not valid set to N |
Valid email address required for notification. |
Other2DeliveryNotification Other2ShipmentNotification |
If Other2Email is not valid set to N |
Valid email address required for notification. |
|
Strip out all non-numeric characters |
'Corrected Phone Number.' |
|
If FDXG: set to N |
'"Dry Ice" special service is not valid for this shipping scenario.' |