Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Item Comments on Quotes / Invoices with prices - how to remove?

Posted on by 76

Hi

relatively new to Dynamics and still trying to find my way. We have recently added extended text to our items as the description field wasn't long enough. Now this extended text shows up in quotes and on invoices with a $0 value against it. 

How can we remove that? 

Thank you

Katarina

  • Item Comments on Quotes / Invoices with prices - how to remove?
    I'd prefer not to see a blank dollar sign next to a comment. Establish the Longer Versions You may select which files to display the Extended Texts for by scrolling down the page.
     
  • KHayston Profile Picture
    KHayston 76 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    Thank you. That is very helpful when we start with the word documents

  • KHayston Profile Picture
    KHayston 76 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    Thank you, I will pass that on to those who do the coding.

  • Verified answer
    sVerme Profile Picture
    sVerme 120 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    And for WORD layouts, you'll have to create new XML-items.

    You'll have to check in your OnAfterGetRecord (line), if the value is 0 then make the text empty.

    if not zero, then convert the decimal value to a text.

    so basicaly

    if decimalValue = 0 then

         TextValue := ''

    else

         TextValue := format(DecimalValue);

    and add a column on the line to show the TextValue.

    that you then use in the word layout instead of the standard xml field.

  • Verified answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,234 Super User 2024 Season 1 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    Hi KHayston - If you're using RDLC, use the command Code.BlankZero as a command

    =Code.BlankZero(Fields!Abc.value)

  • KHayston Profile Picture
    KHayston 76 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    Thanks. But the printing or not printing of the line is not the issue here. I don't want to have the $0 beside a comment line.

  • Vaseem Ali Profile Picture
    Vaseem Ali 81 on at
    RE: Item Comments on Quotes / Invoices with prices - how to remove?

    When you setup the Extended Texts if you scroll down on the page you can enable or disable which documents the Extended Texts show on.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans