Skip to main content

Notifications

Announcements

No record found.

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

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

(0) ShareShare
ReportReport
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,236 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans