Netsuite Advanced PDF/HTML 添加自定义列如果值
Netsuite Advanced PDF/HTML add custom column if value
我需要帮助来添加 ID 为 'item.custcol_new_unit_price' 的自定义列。
如果任何项目上有此列的值,我需要此列显示在打印的表单上。我认为它会是这样的:
<td align="right" colspan="4"><#if item.custcol_new_unit_price>${item.custcol_new_unit_price}</#if></td>
任何帮助都会有所帮助。谢谢!
尝试:
<td align="right" colspan="4"><#if item.custcol_new_unit_price?has_content>${item.custcol_new_unit_price}</#if></td>
UI中是否显示了该字段?如果您希望自定义字段在高级 PDF/HTML 模板中可用,则需要在自定义表单时在“屏幕字段”选项卡中选中 "Show"。如果您不希望该字段在 UI 中可见,您通常可以通过将标签设为空来欺骗系统隐藏它。
我需要帮助来添加 ID 为 'item.custcol_new_unit_price' 的自定义列。
如果任何项目上有此列的值,我需要此列显示在打印的表单上。我认为它会是这样的:
<td align="right" colspan="4"><#if item.custcol_new_unit_price>${item.custcol_new_unit_price}</#if></td>
任何帮助都会有所帮助。谢谢!
尝试:
<td align="right" colspan="4"><#if item.custcol_new_unit_price?has_content>${item.custcol_new_unit_price}</#if></td>
UI中是否显示了该字段?如果您希望自定义字段在高级 PDF/HTML 模板中可用,则需要在自定义表单时在“屏幕字段”选项卡中选中 "Show"。如果您不希望该字段在 UI 中可见,您通常可以通过将标签设为空来欺骗系统隐藏它。