Commit Graph
27737 Commits
Author SHA1 Message Date
Arun Patidar 370903e59b Improved: Inconsistent String Comparisons. (OFBIZ-9254).
Thanks Devanshu Vyas for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801278 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 11:03:07 +00:00
Deepak Dixit 8895181ce5 Fixed: add gift certificate in purchase order cause exception (OFBIZ-9438)
Apply slightly modified patch from jira issue.
Thanks Wai and Pallavi for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801274 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 10:59:18 +00:00
Arun Patidar 4da1003bae Improved:On create order, the page shows orderview screen, but Url does not change. It shows processorder. (OFBIZ-9462)
Thanks Renuka Srishti for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801273 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 10:53:55 +00:00
Arun Patidar 8904e47e2d Improved:Require check on Create Work Effort Screen (OFBIZ-7496)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801272 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 10:34:25 +00:00
Michael Brohl faef156b61 Improved: Fixing defects reported by code analysis tools.
(OFBIZ-9452)

This sets non-final static fields to final, avoids display of known null
values in the errors messages and removes unneccessary null checks on
known null variables.

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801271 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 10:03:22 +00:00
Pranay Pandey fa66d69fab Fixed: Product specific quantity condition price rule application when quantity is changed in cart (OFBIZ-7263)
Changing item quantity in cart was setting the flag isModifiedPrice true which is conflicting with updatePrice condition and hence price recalculation was not being triggered. 

Thanks Aditi Patidar for reporting the issue and providing patch. Thanks Paul Foxworthy for reviewing the issue and providing the research details.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801269 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 09:25:06 +00:00
Arun Patidar 8763342f1e Improved: Inconsistent String Comparisons. (OFBIZ-9254).
Thanks Devanshu Vyas for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801268 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 09:15:03 +00:00
Deepak Dixit 34b4b6823c Improved: Added new constraints for INOUT modelservice param, Also updated remaining occurrences for hardcoded IN, OUT and INOUT model service param. (OFBIZ-9434)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801267 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 09:01:37 +00:00
Deepak Dixit 982356f563 Improved: Remove hard-coded instances of "IN" with ModelService.IN_PARAM (OFBIZ-9434)
Thanks Devanshu and Pawan for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801266 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 08:35:32 +00:00
Arun Patidar 7ec0bcce8d Required check missing for Routing Task Name on Add Routing Task page. (OFBIZ-9456).
Thanks Aditya Sharma for reporting and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801263 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 08:18:44 +00:00
Arun Patidar 882d41c249 Fixed: Required check missing for supplier product id and last price on Add Product Supplier page (OFBIZ-9455).
Thanks Aditya Sharma for reporting and providing patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801262 13f79535-47bb-0310-9956-ffa450edef68
2017-07-08 06:35:57 +00:00
Michael Brohl a78998ce47 Fixed: wrong assignment of the "default-hide-if-selected" attribute.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801209 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 20:26:40 +00:00
Michael Brohl 4c0528de2f Improved: Checking service results errors using ServiceUtil.isError instead of
null checking the error message.

I think this class needs further refactoring, I only checked the code modified 
the last changes from OFBIZ-9451. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801208 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 20:14:20 +00:00
Michael Brohl ec825aac5d Improved: Fixing defects reported by FindBugs.
(OFBIZ-9451)

At two occurrences, an Error is logged which contains the variable 
processorResult. At that point however processorResult is certain to be null. 
Remove the variable from the log. Remove unreachable else condition in 
processAuthResult(). authResult can only be true or false, no third condition 
needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801185 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 15:39:54 +00:00
Michael Brohl b339e26bc3 Improved: Fixing defects reported by FindBugs.
(OFBIZ-9451)

Use a StringBuilder to append a certain amount of '*'s to origMaskedNumber. 
When using concatenation inside the loop, the String is converted to a new 
StringBuilder, appended to, and then converted back to a String anyway. 
Therefore the performance is improved by avoiding many StringBuilder 
initializations.

ReturnHeaderResp in RefundGcPurchase() is unnecessarily checked for null value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801183 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 15:33:39 +00:00
Michael Brohl 4068e1c1fc Improved: Fixing defects reported by FindBugs.
(OFBIZ-9451)

Set BigDecimal ZERO to final to avoid changes by malicious code from the outside
or changes that happen by accident from another package.

ReturnHeaderResp in RefundGcPurchase() is unnecessarily checked for null value.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801171 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 14:44:21 +00:00
Michael Brohl ca98fe417b Improved: Fixing defects reported by FindBugs.
(OFBIZ-9451)

Implement Serializable for class BillingAccountComparator.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801168 13f79535-47bb-0310-9956-ffa450edef68
2017-07-07 14:09:50 +00:00
Jacques Le Roux cefad6cd23 Fixed: Missing secure port in URLs when sending mails
(OFBIZ-9449)
While working on an issue reported by Pierre Gaudin on user ML 
https://s.apache.org/gDo3, here quoted:

I found another issue while testing: the port 8443 is missing  in the URL used 
underneath by the form reported by Pierre.

It was broken by OFBIZ-9206 where I removed the value of port.https in 
url.properties. 

It's not an issue if you set the value of port.https, or let it empty when 
using a SSL certificate on a production server. But if you try locally 
(localhost) then the URL misses the 8443 port.

Solution append 8443 as default secure port when using localhost

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1801094 13f79535-47bb-0310-9956-ffa450edef68
2017-07-06 19:02:01 +00:00
Michael Brohl f965059347 Fixed: ContentWorker#findAlternateLocaleContent(Delegator, GenericValue, Locale)
does not use fallback locale.
(OFBIZ-9445)

If no alternate locale content for the requested locale is found, search for an 
alternate locale content with the locale configured in general.properties at 
locale.properties.fallback. If this one isn't found either we can still return 
the original content.

Thanks Tobias Laufkötter for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800853 13f79535-47bb-0310-9956-ffa450edef68
2017-07-05 09:42:23 +00:00
Michael Brohl 5333451e04 Reverted: ContentWorker#findAlternateLocaleContent(Delegator, GenericValue, Locale)
does not use fallback locale.
(OFBIZ-9445)

r1800780 introduced a bug which breaks the functionality. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800832 13f79535-47bb-0310-9956-ffa450edef68
2017-07-04 22:11:55 +00:00
Michael Brohl 6639ffa89d Fixed: ContentWorker#findAlternateLocaleContent(Delegator, GenericValue, Locale)
does not use fallback locale.
(OFBIZ-9445)

If no alternate locale content for the requested locale is found, search for an 
alternate locale content with the locale configured in general.properties at 
locale.properties.fallback. If this one isn't found either we can still return 
the original content.

Thanks Tobias Laufkötter for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800780 13f79535-47bb-0310-9956-ffa450edef68
2017-07-04 12:56:38 +00:00
Taher A. Alkhateeb 707e8e86f5 Improved: Refactor Config.java and properties files
(OFBIZ-9435)

Another round of refactoring in the start component with the following changes:

- Change the default adminKey to "NA" since it is only used in the "start"
  context. Other contexts do not require an admin server (test, load-data)
- Simplify and cleanup the locale creation logic in the constructor and move
  things out to the method with a return value
- Simplify the Timezone creation logic by moving it outside the constructor into
  a small method
- Substantially simplify the determineOfbizPropertiesFileName(..) method by
  reversing the order of condition evaluation (first, load-data, then test, then
  anything else is start)
- Change default locale to be 'en' as the system crashes if not provided.
- Remove all comments from properties files except for start.properties and
  refer to it from the other properties files
- Update the properties files accordingly

Thanks: Jacques Le Roux for review and suggestion to remove the comments from
        properties files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800368 13f79535-47bb-0310-9956-ffa450edef68
2017-06-30 10:19:50 +00:00
Michael Brohl 8b3b0ecf41 Improved: Several file names do not adhere to conventions applied to same files
in other components.
(OFBIZ-9338)

Thanks Pierre Smits for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800303 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 16:39:27 +00:00
Michael Brohl eab1123394 Improved: UtilMisc.toMap(), toList() and toSet() refactoring taking Varargs for
creating the wanted data structure.
(OFBIZ-9393)

This patch removes a number of outdated methods that took a fixed number of 
objects to create a data structure, such as a linked list. Since the code is 
outdated and inflexible, this patch removes these methods and added methods to 
create the given data structure via a variable amount of arguments. 
This approach also ensures that no other code needs a refactoring. In addition 
the method populateMap() was removed which was private and was only used by the 
multiple outdated toMap() functions.

Thanks Martin Becker for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800299 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 16:04:01 +00:00
Michael Brohl babe08a1b2 Improved: Upgrade Tomcat to 8.5.16
(OFBIZ-9437)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800296 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 15:51:18 +00:00
Jacques Le Roux 7dd842cf3e Improved: Typo in value of SfaAddSalesForecastDetail uiLabel
(OFBIZ-9424)

It should be Forecast not Forcast 

Thanks: Aditya Sharma for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800250 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 08:41:18 +00:00
Nicolas Malin 987feeb2a8 Improved: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
finish the service conversion : getRateAmount, getRatesAmountsFromWorkEffortId, getRatesAmountsFromPartyId, getRatesAmountsFromEmplPositionTypeId and filterRateAmountList
I create a generic groovy function getRateAmoutForm to remove duplicate code and refactoring the filterRateAmount for simplicity

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800245 13f79535-47bb-0310-9956-ffa450edef68
2017-06-29 07:46:02 +00:00
Taher A. Alkhateeb 89a041c97a Improved: refactored and improved the createPlugin task in gradle script
(OFBIZ-9436)

Applied the following changes:

- reduced the copy-paste pattern in creating the directory structure for a
  new component by converting the mkdir logic into a loop over a list of the
  directory names
- reduced the copy-paste pattern in creating the files from their templates
  by converting the calls to the generator function to a loop over a list
  of maps containing the arguments to the generator function
- added missing src/java/main and src/java/test
- removed duplicate / redundant directories as creating child directory
  automatically creates the parent


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1800073 13f79535-47bb-0310-9956-ffa450edef68
2017-06-27 15:39:34 +00:00
Jacques Le Roux db272d8ff4 No functional change,
While checking there were no other cases like in OFBIZ-9432 
(missing path to class), to be consistent I removed the trailing semicolons in 
groovy scripts and made few formatting

I did not changes tests code

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799867 13f79535-47bb-0310-9956-ffa450edef68
2017-06-26 09:55:10 +00:00
Jacques Le Roux 6e61e09fcc Reverts r1799736
Taher pointed out in dev ML that kill is not an atomic operation. 
So the previous behaviour does not change. In most cases SIGKILL is still the 
action which kills the process before SIGTERM has a chance to terminate it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799852 13f79535-47bb-0310-9956-ffa450edef68
2017-06-26 06:03:35 +00:00
Michael Brohl 59ed752fe4 Fixed: Cannot create a new GL Account
(OFBIZ-9429)

This changes the service definition of createGLAccount to use the pk
attributes as OUT instead of INOUT so that the glAccountId will be 
generated by OFBiz instead of being provided to the service.

Thanks Sharan Foga for reporting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799793 13f79535-47bb-0310-9956-ffa450edef68
2017-06-25 10:37:48 +00:00
Taher A. Alkhateeb 5275aaf233 Fixed: renamed help file that is missing an underscore
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799779 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 20:19:32 +00:00
Michael Brohl 2fac415800 Improved: Upgrade Groovy to 2.4.12
(OFBIZ-9430)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799771 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 13:30:24 +00:00
Jacques Le Roux ccebb2833e Fixed: CreateShipment code logic error
(OFBIZ-9425)

Service createShipment can create both sales and purchase shipment with 
workeffort.
For sales shipment it creates SHIPMENT_OUTBOUND type work effort 
For purchase shipment it creates SHIPMENT_INBOUND type work effort.

The maps used are shipWorkEffortMap to create outbound work effort and 
arrivalWorkEffortMap to create inbound shipment.

Which work effort will be created decided by the condition whether parameters.
estimatedShipDate is coming or parameters.estimatedArrivalDate is coming.

With existing logic the workEffort.workEffortTypeId, workEffort.currentStatusId 
and workEffort.workEffortPurposeTypeId is not persist into db as values set 
into the wrong map. 


Thanks: Wai for report and patch, Rishi Solanki for clear explanation

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799767 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 12:00:25 +00:00
Jacques Le Roux b856ea7c5b No functional change
Improves terminateOfbiz byt using TERM before KILL
https://fr.wikipedia.org/wiki/Kill_(Unix)
https://unix.stackexchange.com/questions/8916/when-should-i-not-kill-9-a-process

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799736 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 07:56:45 +00:00
Deepak Dixit a928d3db63 Improved: Added lookup for contentId field and also added required-field true for pathAlias on EditWebSitePathAlias screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799735 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 07:34:19 +00:00
Taher A. Alkhateeb 662b54cf8a Improved: exception handling block in ContainerConfig removing code duplication
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799712 13f79535-47bb-0310-9956-ffa450edef68
2017-06-23 21:40:51 +00:00
Taher A. Alkhateeb 6f82482c4c Implemented: Refactor CatalinaContainer
(OFBIZ-9392)

No functional change, but an almost complete rewrite of the tomcat container
with the following highlights:

- breakup the logic in init() many smaller functions each specializing in one
  thing
- Unify the host creation logic between main host and context-specific hosts
- introduce streams and lambdas where appropriate
- rename loadComponents() to loadWebapps()
- rename createContext() to createCallableContext()
- rename configureContext() to prepareContext()
- remove instance variables that are not necessary / redundant for operating
  the container correctly and refactor the code logic accordingly
- remove unnecessary valve comments and point to documentation URL
- remove any commented out code
- remove the static block for initializing SSLUtil.loadJsseProperties(). This
- code is already called and hence redundant
- remove redundant / dead / unused code
- add missing FilterDef to context
- rename J2EE server from "ofbiz container 3.1" to "ofbiz container"
- lots and lots of re-arranging and small code improvements

Thanks: Jacopo Capellato, Michael Brohl, Scott Gray and Jacques Le Roux for
        your help in testing, reviewing and providing feedback.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799708 13f79535-47bb-0310-9956-ffa450edef68
2017-06-23 21:34:48 +00:00
Deepak Dixit 4d48388818 Fixed: The following required parameter is missing: [IN] [removeWebSitePathAlias.fromDate].(OFBIZ-9426)
Thanks Daniel Coric for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799687 13f79535-47bb-0310-9956-ffa450edef68
2017-06-23 17:35:44 +00:00
Jacopo Cappellato 5a97d0de2b Fixed: unit test failure when "verbose" logging was on.
(OFBIZ-9305)

When print.verbose was set to true in debug.properties, the unit test 
EntitySaxReaderTests.parse was failing because it is using some mock objects; 
fixed by temporarily disabling the verbose logging during the test.

Thanks: William Wang for the report.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799417 13f79535-47bb-0310-9956-ffa450edef68
2017-06-21 09:41:38 +00:00
Jacques Le Roux f6bd4d460a Improved: Accounting Manager \ Fixed Assets, press button [NEW FIXED ASSET],
but action button is [Update], not [Save]
(OFBIZ-9422)

Thanks: Do Nhu Vy for report

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799327 13f79535-47bb-0310-9956-ffa450edef68
2017-06-20 09:33:51 +00:00
Nicolas Malin a1b7e5a23d Improved: Convert RateServices.xml mini-lang to groovyDSL (OFBIZ-9381)
With service rate minilang conversion to groovy, I renamed deleteRateAmount and deletePartyRate to expireRateAmount and expirePartyRate for more coherence between the service process and the name. The previous service naming have been kept to set them as deprecated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799252 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 18:27:14 +00:00
Jacques Le Roux fcfef0f359 Fixed: Wiki restructure issues
(OFBIZ-9416)

Removes few files inadvertently committed with r1799242 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799243 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 17:46:09 +00:00
Jacques Le Roux ab36d3297e Fixed: Wiki restructure issues
(OFBIZ-9416)

Replaces a bunch of deprecated links or shortcuts

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799242 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 17:38:38 +00:00
Jacques Le Roux b372360a85 Fixed: Wiki restructure issues
(OFBIZ-9416)

Replaces a bunch of deprecated links

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799241 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 17:26:23 +00:00
Deepak Dixit 8aecef8445 Improved: Removed unused entity uiLabels for removed currency UOM (OFBIZ-9413)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799209 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 13:50:34 +00:00
Deepak Dixit 6f39c2d18d Improved: Update Currency Uom data (OFBIZ-9413)
While adding numericCode to currency UOM, I found that we need to update some old currency UOM, as uomId has been updated.
https://www.currency-iso.org/en/home/tables/table-a1.html
https://www.currency-iso.org/en/home/amendments.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799183 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 11:47:58 +00:00
Taher A. Alkhateeb 632e55f378 Implemented: removed unused private variables from UtilDateTime
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799148 13f79535-47bb-0310-9956-ffa450edef68
2017-06-19 08:08:36 +00:00
Jacques Le Roux 371ebe2913 Fixed: Create new blog article entry error.
(OFBIZ-9373)

After using plain text for the field [articleData], when I post the form, 
I get the following error message:
 The following required parameter is missing: [IN] 
 [createElectronicText.dataResourceId]]
 
jleroux: it was a bug introduced with r1765319 while refactoring to use 
entity-auto

Thanks: Daniel Coric who find the reason and Yao who initially reported and 
helped to find a solution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1799088 13f79535-47bb-0310-9956-ffa450edef68
2017-06-18 14:32:36 +00:00
Deepak Dixit 29bea444f5 Improved: Added numeric code for Currency UOM. (OFBIZ-9409)
The three-digit numeric code is useful when currency codes need to be understood in countries that do not use Latin scripts and for computerised systems. Where possible the 3 digit numeric code is the same as the numeric country code.

https://www.iso.org/iso-4217-currency-codes.html
https://www.currency-iso.org/en/home/tables/table-a1.html

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1798907 13f79535-47bb-0310-9956-ffa450edef68
2017-06-16 10:26:03 +00:00