I thought new logic that apply currency precision for display when Display type of "Amount" or"Costs+Preices".

Description

Hi,all.
My name is Hideaki Hagiwara in Japan.

I thought new logic that apply currency precision for display when Display type of "Amount" or"Costs+Prices".

(Fundamental Rule) Apply "Currency Precision" for display, if Format Pattern is Null.

->In spite of Display type is "Amount" or "Costs+Prices", Display currency precision of iDempiere apply the decimal point second place. I think this specification need to improve for currency that is not the decimal point second place.
->I think best that if "Format Pattern" of "Amount" and Costs+Prices" are null, apply "Currency Precision" for display.
*If "Format Pattern" is not null, Apply "Format Pattern" for display basically.
->"Web-UI" and "Swing-UI" refer to "Format Pattern" at table of AD_Column. If "Format Pattern" at table of AD_Column is null and "Display Type" is "Amount" or "Costs+Prices", apply "Currency Precision" for Display.
->"Reports" refer to "Format Pattern" at table of AD_PrintFormatItem at first. If "Format Pattern" at table of AD_PrintFormatItem is null, "Reports" refer to "Format Pattern" at table of AD_Column at second. If "Format Pattern" at table of AD_Column is null, apply "Currency Precision" for Display thirdly.

I think that this rule keeps consistency to display of currency in iDempiere.

See attachment file.
And see "Pull Request" at Bitbucket.

thank you for reading.

Environment

None

Activity

Show:
萩原秀明
June 17, 2013, 5:05 PM

Related issue:

萩原秀明
June 19, 2013, 8:46 PM

Hi,Heng Sin.
Thank you for reading my issue.

I made Patch for the first time by Mercurial.
So,I am sorry to cause you inconvenience, but I am looking forward to your reply.

May I ask how I can help you?

regards.

萩原秀明
March 13, 2014, 2:32 PM

I remade patch.

Carlos Ruiz
March 4, 2015, 4:32 PM

Labeled as Potential Idea - closing because of lack of community interest

Assignee

Unassigned

Reporter

萩原秀明

Tested By

None

Components

Affects versions

Priority

Major
Configure