This topic contains 11 replies, has 0 voices, and was last updated by dle 8 years, 4 months ago.

  • Author
    Posts
  • #1987

    dle

    Hi Everyone,

    I have a problem in the Sales Order sent to customer by email. The problem is the template in email displays &nbsp in Tax column if Tax is No, it should display blank. Please see the attachment.

    The input for Tax column is a checkbox in Sales Order form (Please see the attachment). And the template for the email is customized from “Standard HTML Transaction Layout”.

    Could anyone please help to give me any solution for this problem? I’d like to display blank for Tax is not Yes.

    So many thanks.

    โ€‹
    This is a cached copy. Click here to see the original post.

  • #1988

    Nelliott

    Are you able to post the source code since you’ve customised it?

  • #1989

    dle

    Thanks Neil so much for your reply.

    Actually, everything for this is the configurations. I attached those configurations in this post. Please help me to check it. I think that the full layout is generated by Netsuite, I could not have that layout to fix for the weird words.

    and the code in Template tab and Element tab in custom HTML layour are below:

    Template tab:

    Body tab:

    <table align=center border=0 cellpadding=3 cellspacing=1 width=100% >

  • #1990

    Nelliott

    Ah, I’m so used to looking at Advanced Print I forgot what it was you were having to do!

    It actually looks like a bug to me since you’re not manipulating the html yourself.

    I suggest you raise it as such with NetSuite, though I’d maybe check if anyone else has raised it already.

  • #1991

    dle

    Thanks Neil for you suggestion. Actually, I tried to search from SuiteAnswer for solution but there were no solutions there. I also thought that I should submit a case for this. Before I submit I should check the configuration of Tax column to describe clearly the steps so that Netsuite developers easily reproduce this.

  • #1992

    tgrimm

    It really wouldnt take long to convert this to advanced PDF. From there I dont think you would see this issue any longer.

  • #1993

    dle

    Originally posted by tgrimm

    View Post

    It really wouldnt take long to convert this to advanced PDF. From there I dont think you would see this issue any longer.

    Hi Tgrimm, did you mean the best way is I should submit a case to Netsuite? Thanks ๐Ÿ™‚

  • #1994

    tgrimm

    No, I still think you should submit a case, if this is a Netsuite issue they will want it fixed. I am suggesting that you utilize the Netsuite Advanced PDF template instead of the HTML template you are using above. It shouldn’t take more than 2 hours to make assuming the person knows Freemarker and HTML well enough.

  • #1995

    dle

    Yes, of course, I prefer to creating an Advanced PDF template. However, currently in customized Sales Order form, our system is using Printing type as Basic, that means we use different templates for HTML layout and PDF layout (for email) as the attachment. If I create an Advanced PDF template, I have to switch to Printing type as Advanced and using the same layout for both (view template in Netsuite and email template).

    So, if I have a sample that shows a column in template viewed in Netsuite and not show that column in email template, and because we only use the same advanced PDF templates for both, so is there any way to check in advanced PDF template to do that ?

    Thanks so much for your kind help.

    Attached Files

  • #1996

    tgrimm

    You can create two templates, and just remove the data you dont want to show for the HTML layout version. When you switch it to advanced you still get the option to chose a template for PDF and one for HTML.

  • #1997

    dle

    Oh, so amazing! Last time, when I switched Printing type to Advanced, the custom form only showed one list of template to choose.

    Thank you so much for letting me know this.

  • #1998

    dle

    oh sorry, I remembered wrong. The problem I had last time was if I switched to Advanced printing type, I only could choose the Advanced PDF template, I could not choose the template from the list of templates in Transaction Form PDF Layout or Transaction Form HTML layout any more.

You must be logged in to reply to this topic.