This topic contains 3 replies, has 0 voices, and was last updated by mattdahse 7 years, 1 month ago.
-
AuthorPosts
-
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. -
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…
-
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}
-
mattdahse- Contributions: 0
- Level 1
- ☆
This has now been designated a defect, priority S3. #437752
-
AuthorPosts
You must be logged in to reply to this topic.