Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the week! You only have until tomorrow, April 25, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.
Community Poll: What sort of content would you like to see more of?

How to Print Item Images in Sales Order Using Advanced PDF/HTML Template

edited Jan 16, 2023 8:44AM in Ask A Guru 3 comments

We have Assembly Items which contains a Custom field for Item Image. This field contains images for our products (Field ID: custitem_atlas_item_image)

I've tried to show these images in the Advanced PDF/HTML Sales order template, but i'm having an issue with it. I'm using the following code:

==============================================

<#if record.item?has_content>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="items2">

  <#list record.item as item>

  <tr>

   <td width="5%" align="center"><@filecabinet nstype="image" alt="" src="${item.item.custitem_atlas_item_image}" style="float: left; width: 25px;" /></td>

  </tr>

 </#list><!-- end items -->

</table>

</#if>

==============================================

Now with every assembly item in the sales order it shows the same item image.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders