Hi,
On my invoice, offers etc. I often have items, with units, price and total being 0(or 0,00)
How do I get it not to show these 0 - though I still wanna see the description on the item on that line.
(This is on custom layout - WORD)
*This post is locked for comments
Also, kindly check this link:
dynamicsuser.net/.../decimal-should-print-as-blank-if-it-is-zero
I agree with Archer and Ashiwini,
1. Changing the property "blankzero" to Zero will work...
2. If you want to do the same in Report then you can write IIF expression here...
Hello,
Take text type Global Variable in report and write code in OnAfterGetRecord
IF DecimalValue > 0 THEN
EVALUATE(TxtVariable,DecimalValue)
ELSE
CLEAR(TxtVariable);
And In Report Update this TxtVariable.
For More Info see Word Layout reports data control by C/AL
You have to use format function for the same
Look at this link
You can take text type field in report. Format your variable using some code in report designer inside Navision on after get record trigger. Add this field in your word layout rather than decimal fields. In case blank on zero doesn't work for word layouts.
you can set field's property blankzero to yes.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156