Notes |
|
|
Note changing this reference changes the public API as the DAL type mapping for NUMBER is now BigDecimal.class (>MP8) and was float (<=MP8) and the type mapping for INTEGER is Long.class
However as the API change for NUMERIC references from Float -> BigDecimal will be done and acknowledged this change here can ride along the 11134 API change, as it does not increase its size but exactly affects a subset of the fields which change its type. |
|
|
|
List of fields where the reference will be change from NUMBER -> INTEGER:
- ModelImplementationParameter.LineNo
this fields describe the order of several parameters attached to one ad_model_object record.
- ModuleInstall.SequenceNo (ad_module_install.seqno)
the table ad_module_install is a copy of the ad_module table. Change seqno from ad_module_install to the reference of ad_module.seqno
- System.{TADRecordrange,TADRecordrangeinfo,TADTransactionalrange}
These values describe number of records shown and number of days in a range to be shown
- Country.IbanLength
Number of digits in a number for validation
- Tax.LineNo (I_TAX.LineNo)
Line No
- {AccptRptGroup,AcctRptNode}.LineNo
Line No
- PriceAdjustment.Priority
value to select preference of several price adjustments. -> integral |
|
|
(0021388)
|
hgbot
|
2009-10-26 20:02
|
|
Repository: erp/devel/pi
Changeset: d452c4faba682b89ed134a01cd2dd09e7d554e6e
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon Oct 26 20:02:02 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d452c4faba682b89ed134a01cd2dd09e7d554e6e [^]
Fixed 11143: Change reference of some column from number -> integer...
where the value in the column is always integral (i.e. number of records).
---
M src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
(0021393)
|
hgbot
|
2009-10-26 20:57
|
|
|
|
|
Reopened as commit was reverted. |
|
|
(0021445)
|
hgbot
|
2009-10-28 14:26
|
|
Repository: erp/devel/pi
Changeset: 9e660d4a5c4a463159660e3379d854822ba99401
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Wed Oct 28 14:25:41 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9e660d4a5c4a463159660e3379d854822ba99401 [^]
Fixed 11143: Change some column references from Number -> Integer ...
as they only contain integral values.
Update Masterdata & Sampledata as the serialized numberforamt is slightly
different (28 now instead of 28.0)
---
M referencedata/sampledata/Accounting_Test.xml
M referencedata/sampledata/SmallBazaar.xml
M referencedata/standard/Masterdata.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
|
|
|
|
All the changed columns were revised to check that the changes were correct. Both install.source and update.database work with the changed .xml files. |
|