Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
XML Include - Possible?
I have a packing slip where I want to include another XML file into the final output. XML Include and XML XInclude don't seem to getting the results done.
This code here works fine, but I have around ~45 packing slips, and it really isn't optimal to have to make ~45 changes everytime a box type changes.
[CODE]<table border="0" cellpadding="1" class="itemtabletop">
<tr>
<td align="left" colspan="8">
<#if record.shipmethod == 'UPS_GR_RES'>
BOX XXXXX<br />
</#if>
<#if record.shipmethod != 'UPS_GR_RES'>
BOX YYYYY<br />
This code here works fine, but I have around ~45 packing slips, and it really isn't optimal to have to make ~45 changes everytime a box type changes.
[CODE]<table border="0" cellpadding="1" class="itemtabletop">
<tr>
<td align="left" colspan="8">
<#if record.shipmethod == 'UPS_GR_RES'>
BOX XXXXX<br />
</#if>
<#if record.shipmethod != 'UPS_GR_RES'>
BOX YYYYY<br />
0