Notes |
|
(0022754)
|
hgbot
|
2009-12-14 13:56
|
|
Repository: erp/devel/pi
Changeset: eddb3ac7021a5f6df877d61dadd04598fd72a6e5
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 10 19:19:24 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/eddb3ac7021a5f6df877d61dadd04598fd72a6e5 [^]
Fixes issue 0011726: Document types: Implement default feature for every window
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
---
|
|
|
(0022756)
|
hgbot
|
2009-12-14 13:56
|
|
Repository: erp/devel/pi
Changeset: 30243ebe164814b4f760cb85c8fe837767de6f06
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Dec 14 12:22:42 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/30243ebe164814b4f760cb85c8fe837767de6f06 [^]
Fixes issue 0011726: Document types: Implement default feature for every window
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
---
|
|
|
(0022757)
|
mirurita
|
2009-12-14 13:58
|
|
The solution consist of adding a ORDER BY clause to order document types by isdefault column descending.
Affected tables:
* C_Invoice(C_DocTypeTarget_ID)
+Added an ORDER BY clause to C_DocType Table Reference: C_DocType.isdefault DESC
* C_Order(C_DocTypeTarget_ID)
+Added an ORDER BY clause to C_DocType Table Reference: C_DocType.isdefault DESC
* M_InOut(C_DocType_ID)
+Added an ORDER BY clause to C_DocType Table Reference: C_DocType.isdefault DESC
*C_DP_Management(C_DocType_ID)
+Change the reference to Table: C_DocType
*C_ExternalPOS(C_DocType_ID)
+Change the reference to Table: C_DocType
*C_Settlement(C_DocType_ID)
+Added ORDER BY clause to the default value of the column:
@SQL=SELECT C_DocType_ID from C_DocType WHERE AD_ISORGINCLUDED(@AD_Org_ID@,C_DocType.AD_Org_ID, @#AD_Client_ID@) <> -1 AND C_DocType.DocBaseType=@DOCTYPE_SETTLEMENT@ ORDER BY C_DocType.isdefault DESC
*GL_Journal(C_DocType_ID)
+Already has a default value. |
|
|
|
|
|
(0022833)
|
hgbot
|
2009-12-15 12:37
|
|
|
|
|
|
|
(0022903)
|
hgbot
|
2009-12-17 09:50
|
|
Repository: erp/devel/pi
Changeset: b874140fb68c2ab4941b6c7ee2ed3214041ffe25
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Thu Dec 17 09:49:43 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b874140fb68c2ab4941b6c7ee2ed3214041ffe25 [^]
Fixes issue 0011726: Document types. Added new table reference C_DocType_Trx
---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REFERENCE.xml
M src-db/database/sourcedata/AD_REF_TABLE.xml
---
|
|
|
(0022905)
|
hgbot
|
2009-12-17 10:16
|
|
|
|
|
|
|
|
|
|
|
QA done by Eng development team |
|