This topic contains 3 replies, has 0 voices, and was last updated by mattdahse 7 years, 1 month ago.

  • Author
    Posts
  • #1904 Score: 0

    mattdahse
    • Contributions: 0
    • Level 1

    When printing saved search results with the new Advanced PDF Templates, the column references are shifted right if the current user has “Show Internal Ids” checked under his or her preferences.

    In other words, if the search has columns for Document Number and Amount (in that order), then ${result.tranid} will actually refer to the internalid, ${result.amount} will display the tranid (formatted as currency).

    This most likely leads to an error when trying to generate the PDF, because a string (such as entity) will be parsed as a number, or a number will be parsed as a date, etc.
    This is a cached copy. Click here to see the original post.

  • #1905 Score: 0

    Vinayak
    • Contributions: 0
    • Level 1

    Hi can u plz post the code in which ur referencing the saved search and the loop to get its results…

  • #1906 Score: 0

    mattdahse
    • Contributions: 0
    • Level 1

    Here is the advaned pdf source code. This was generated with the wywiwig to provide a simple and repeatable example of the bug when I submitted the case to NetSuite:

    Code:

    ${result.mainline@label}${result.amount}${result.amount@label}${result.amountremaining}${result.amountremaining@label}${result.trandate}${result.trandate@label}${result.tranid}${result.tranid@label}${result.entity}${result.entity@label} 

  • #1907 Score: 0

    mattdahse
    • Contributions: 0
    • Level 1

    This has now been designated a defect, priority S3. #437752

You must be logged in to reply to this topic.