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

  • Author
    Posts
  • #1904

    mattdahse

    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

    Vinayak

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

  • #1906

    mattdahse

    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

    mattdahse

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

You must be logged in to reply to this topic.