Is the PDF erroring out?
# advancedpdf
c
Is the PDF erroring out?
m
Yes. An unhandled error was encountered: "{\"userEvent\":null,\"internalId\":null,\"code\":\"USER_ERROR\",\"details\":\"Error Parsing XML: Attribute \\\"href\\\" was already specified for element \\\"a\\\".\",\"stackTrace\":{\"[Ljava.lang.String;\":[\"createTripPDF(__pi_fs_print_trip_rpt.js$6068:58)\",\"<anonymous>(__pi_fs_print_trip_rpt.js$6068:73)\"]},\"type\":\"nlobjError\",\"suppressNotification\":false}"
The error refers to line 58 of the Suitelet. "var pdfFile = nlapiXMLToPDF(xml);"