I got these errors while trying to validate an SDF...
# ask-stanley-ai
a
I got these errors while trying to validate an SDF project that imported an Advanced PDF/HTML Template for Picking Tickets, that I had copied by Save-As from another picking ticket advanced PDF/HTML template, and also afterward imported into SDF the Picking Ticket custom form that uses that PDF template which form I had also copied from an existing custom Picking Ticket form via Save-As: Validation failed. An error occurred during custom object validation. (custform_zzz_pickticket) Details: The printTemplate value, [scriptid=custtmpl_zzz_pickticket], is not valid for the form. Ensure the PDF template type matches the form type. Details: The emailTemplate value, [scriptid=custtmpl_zzz_pickticket], is not valid for the form. Ensure the PDF template type matches the form type. File: ~/Objects/custform_zzz_pickticket.xml How do I resolve these errors in SDF?
c
AI generated answer (using internal Slack threads):
The error messages you're seeing are indicating that the PDF template type does not match the form type. This is likely because the Advanced PDF/HTML Template for Picking Tickets that you imported was originally associated with a different form type. To resolve this issue, you need to ensure that the PDF template type matches the form type. Here are the steps you can follow: 1. Go to the form customization page in NetSuite. 2. Open the custom form that uses the PDF template. 3. In the 'Printing' section, there should be a dropdown for 'Print Template'. Make sure that the template selected here is the correct one for your form type. 4. Save the form. If the issue persists, you may need to create a new Advanced PDF/HTML Template specifically for your custom Picking Ticket form. When creating the new template, ensure that it is set to the correct form type. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832982898
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829533458
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826850951
Please provide your feedback on this answer.
a
That doesn't make sense. I copied everything from working forms and templates that were for Picking Tickets.