#IF(#FormErrors.Reason.WebserviceAuthorizationFailed)
{AuthenticationFailure}
{LoginWebserviceAuthorizationFailed}
{CheckNow}
#ELSIF(#FormErrors.Reason.ConnectionFailed)
{ConnectionFailed}
{PleaseTryAgainLater}
#ELSIF(#FormErrors.Reason.AllExportsFailed OR #FormErrors.Reason.SomeExportsFailed)
{ExportFailure}
{ShippingLabelsReviewRecommendation}
#ELSIF(#FormErrors.Reason.NoErrorDetailsReturned)
{UnknownError}
{PleaseTryAgainLater} {PleaseConsultYourProvider}
#ELSIF(#FormErrors.Form.ExportShippingLabels)
{ExportErrors}
#ELSIF(#FormErrors.Form.ExportShippingLabels)
{ExportErrors}
#LOOP(#FormErrors.Form.ExportShippingLabels.Errors)
#LOCAL("FormErrorPrinted", 1)
#IF(#Reason EQ "ProductCodeMissing")
#WITH(#ShippingLabel)#INCLUDE("INC-LinkToShippingLabel")#ENDWITH: {DispatchTypeMissing}
#ENDIF
#IF(#Reason EQ "TotalWeightMissing")
#WITH(#ShippingLabel)#INCLUDE("INC-LinkToShippingLabel")#ENDWITH: {TotalWeightMissing}
#ENDIF
#IF(#Reason EQ "AddressMissing")
#WITH(#ShippingLabel)#INCLUDE("INC-LinkToShippingLabel")#ENDWITH: {AddressMissing}
#ENDIF
#IF((#Reason NE "ProductCodeMissing")AND(#Reason NE "AddressMissing"))
#SET("FormErrorPrinted", 0)
#MENU("FormErrorMenu")#INCLUDE(#Template)#ENDMENU
#ENDIF
#IF(NOT #FormErrorPrinted)
{UnknownError} #Reason: #Name (#Message)
#ENDIF
#ENDLOCAL
#ENDLOOP
#ELSE
{InputError}
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions",1)
#ENDIF
#INCLUDE("INC-PagerHeader")
#IF(#ShippingFulfillmentType AND #ShippingFulfillmentType.AdminURL)