XRechnung - FormatDecimal with Two Decimal Places#29846
XRechnung - FormatDecimal with Two Decimal Places#29846pri-kise wants to merge 4 commits intomicrosoft:mainfrom
Conversation
|
Issue #29717 is not valid. Please make sure you link an issue that exists, is open and is approved. |
|
@pri-kise |
That's good input. I'll discuss this with my colleague |
df28dbb to
626f0d3
Compare
|
@miljance I've updated the PR to include at least two decimals for unit price too. |
Looks much better, thanks. One question though. Why do you pass the global variable to all the functions? Is it because the functions FormatDecimalUnlimited and FormatDecimal can also be called from outside? AI agrees with this :). The function name CheckShouldIncludeTwoDecimalPlacesForAmountFields sounds weird. Nothing is being checked with it, right? Suggestions: InitializeDecimalFormatFlags or SetDecimalPlacesFlags (suggestions from AI). |
Summary
Provide an intergration Event in XRechnung Export to always include two decimals for Amount fields
Work Item(s)
Fixes #29717
Fixes AB#626471