Commit Graph

1266 Commits

Author SHA1 Message Date
teo_sarca 218c44d185 PP_Product_BOM_Check: minor BF 2008-09-03 09:07:02 +00:00
teo_sarca fcdf078207 HR:
* use new Query API
* organized imports
* added some useful methods
2008-09-03 09:05:26 +00:00
teo_sarca 5917b4f9c7 libero:
* use new Query API
* minor refactoring
* organized imports
2008-09-03 08:55:32 +00:00
teo_sarca c8afc0d1e2 MOrder:
* fixed some issues introduced in rev.6325
* use new Query API
* improved exception handling
2008-09-03 08:42:33 +00:00
teo_sarca 991c4a50c6 FR [ 2090659 ] Add FillMandatoryException 2008-09-03 08:17:01 +00:00
Redhuan D. Oon ca1549c465 Applying Teo Sarca's [FR 1981760 ] Improve query Class
Set in MOrder.java and resolve dependencies.
Tested by creating a new POS Sales Order, complete it, reactivate it, set to Std Order, complete it;
Generate Shipments (manual) - OK
Generate Invoices (manaul) - OK

detected same dependency in eevolution.process.MovementGenerate.java
2008-09-03 07:18:45 +00:00
vpj-cd 7de7553dac fixed [ 1943736 ] Wrong price used in Orders
http://sourceforge.net/tracker/index.php?func=detail&aid=1943736&group_id=176962&atid=879332

bug introduced in  revision
http://adempiere.svn.sourceforge.net/viewvc/adempiere/trunk/base/src/org/compiere/model/CalloutOrder.java?r1=1308&r2=1307&pathrev=1308
http://sourceforge.net/tracker/index.php?func=detail&aid=1643489&group_id=176962&atid=879332
2008-09-03 02:11:33 +00:00
vpj-cd bba26f85e0 refactory new query API 2008-09-02 21:16:17 +00:00
Redhuan D. Oon fdc85ad72f FR [ 1981760 ] Improve Query class
Fix params
2008-09-02 10:43:16 +00:00
Redhuan D. Oon 55329cafb9 FR [ 1981760 ] Improve Query class
Forgot the whereClause string! (it seems SQL stuff doesnt get error before runtime)
2008-09-02 09:33:29 +00:00
Redhuan D. Oon 75378bbc81 Applying FR [ 1981760 ] Improve Query class
Teo, pls review if this the right way? If not pls revert. Thanks!
2008-09-02 09:20:58 +00:00
teo_sarca 0548454e07 MCurrency:
* organized imports
* added serialVerionUID
2008-09-02 06:34:52 +00:00
teo_sarca b83ca2ac5d BF [ 2087134 ] MRP-SOO: DatePromised not changed when Order date is changed 2008-09-01 16:40:29 +00:00
teo_sarca 1a02dd2547 FR [ 2086964 ] Product Is BOM should be auto updated 2008-09-01 15:15:21 +00:00
usrdno de88152f83 Updated to use the Query API. 2008-09-01 14:53:56 +00:00
teo_sarca 24fd729e47 MPPOrderBOMLine: throw exception if using not supported component types 2008-09-01 14:26:09 +00:00
usrdno 7ecf75273a Added static, cache enabled, get method that uses currency ISO code as key. 2008-09-01 14:15:56 +00:00
teo_sarca 2c5b782c1c MHRProcess: fix credits 2008-09-01 11:18:32 +00:00
Redhuan D. Oon 7081af9c3b English term - employee 2008-08-31 08:42:13 +00:00
tspc 1ffa5ade3a BF2084725 PDF Exporting Issues 2008-08-31 03:58:34 +00:00
teo_sarca f8d7041844 libero fixing:
* MRPUpdate is generating duplicate records
* MPPMRP: in case of Orders, the PP_MRP.C_BPartner_ID should be filled
2008-08-30 16:23:11 +00:00
vpj-cd ff4df8636d [ 2083255 ] Let Calculate Material Plant for every Plant, Org, Wh
http://sourceforge.net/tracker/index.php?func=detail&aid=2083255&group_id=176962&atid=879335
2008-08-30 01:34:55 +00:00
vpj-cd 6ba1731fae fixes some issues 2008-08-29 02:59:34 +00:00
vpj-cd 6695c5a99e Fixed the setSalesRep and getLine Method 2008-08-29 00:51:57 +00:00
teo_sarca c627e298fb MRP: fix Plan Qty vs Scheduled Receipt Qty issues 2008-08-28 18:04:15 +00:00
teo_sarca 7c0e11a051 MWarehouse:
* BF [ 1874419 ] JDBC Statement not close in a finally block
* organized imports
* exception handling improvements (use saveEx instead of save)
2008-08-28 10:21:39 +00:00
teo_sarca b27cf2b2e5 FR [ 2080217 ] Implement TrxRunnable 2008-08-28 08:42:36 +00:00
vpj-cd aabad61689 fixed small bug 2008-08-28 02:59:53 +00:00
vpj-cd 3cd3a64f6d fixed some bugs 2008-08-28 02:55:35 +00:00
teo_sarca 74b806dec8 BF [ 1926113 ] MMatchInv.getNewerDateAcct() should work in trx 2008-08-27 21:08:14 +00:00
teo_sarca 4dc76a953e FR [ 2079083 ] Add MFactAcct.deleteEx method 2008-08-27 20:57:22 +00:00
teo_sarca c1e2d1cc4a FR [ 2079083 ] Add MFactAcct.deleteEx method 2008-08-27 20:54:17 +00:00
teo_sarca 7c98840275 BF [ 1943723 ] WF Activity History is not translated 2008-08-27 19:55:39 +00:00
teo_sarca 31ad9d6107 DB, Query: refactor setParameter logic 2008-08-27 19:49:29 +00:00
teo_sarca 0c5b13e196 libero: refactor MPPOrder* classes 2008-08-27 19:45:15 +00:00
teo_sarca 2dbcaa9f4a BF [ 2076298 ] undeletable uncompleted order lines 2008-08-27 12:33:10 +00:00
teo_sarca 35ca25e2ee MResource: added toString() method, useful for logging 2008-08-27 09:17:34 +00:00
vpj-cd f55f35256c fixed error introduced in 6230 revision 2008-08-27 02:07:18 +00:00
teo_sarca 8b28e6b139 MPPProductPlanning: minor bug fix, reported by Victor 2008-08-26 20:20:16 +00:00
Carlos Ruiz 2655b35b6a More fixing on this type of error
strings using "=="
2008-08-26 18:59:25 +00:00
teo_sarca 24760345bf MRP:
* refactored
* fixed indentation
* bug fixing
* improved readability
2008-08-26 07:49:56 +00:00
teo_sarca 05032c31ed MPPProductPlanning:
* fixed some indentation
* beforeSave: validate Order_Min < Order_Max
* override dump() method (for debugging)
2008-08-26 07:03:06 +00:00
teo_sarca c9c38dfe6d delete org.eevolution.process.RequisitionPOCreate because is not used nowhere 2008-08-25 18:34:46 +00:00
teo_sarca 26b5f8ddee MRPUpdate:
* organized imports
* fixed indentation
* better exception handling
* BF [ 1874419 ] JDBC Statement not close in a finally block
* refactored
* changed MRequisition to delete lines on delete
2008-08-25 18:24:14 +00:00
teo_sarca c3750a2984 MPriceList:
BF [ 2073484 ] MPriceList.getDefault is not working correctly
BF [ 1874419 ] JDBC Statement not close in a finally block
* organized imports
2008-08-25 18:02:56 +00:00
teo_sarca 9ffb8fc1ca BF [ 2053279 ] MPPMPRP.getDays always returns zero 2008-08-25 15:32:43 +00:00
teo_sarca 013e0a0d2f FR [ 1984268 ] DB.executeUpdateEx should throw DBException
FR [ 1986583 ] Add DB.executeUpdateEx(String, Object[], String)
2008-08-25 08:44:18 +00:00
teo_sarca c5fe2c9873 MProductPO:
BF [ 1874419 ] JDBC Statement not close in a finally block
organized imports
2008-08-25 07:46:08 +00:00
vpj-cd 7c64bf9942 FR 2039663 fix some minors issues 2008-08-22 21:40:38 +00:00
Carlos Ruiz 679bb893b7 Integrate revision 5905
Fix from Paul (phib) BF [ 2032185 ] Periods should not overlap
2008-08-22 20:30:27 +00:00
Carlos Ruiz becce9b627 Minor refactoring
- organize imports
- use current method to get bank account
- drop unused variable
2008-08-22 16:42:46 +00:00
teo_sarca becf8a33ad BF [ 2053279 ] MPPMPRP.getDays always returns zero
* minor wrong use of "==" bug fix
2008-08-22 14:27:04 +00:00
vpj-cd 500cac765f [ 2037954 ] BOM AND Workflow Cost Roll-Up
http://sourceforge.net/tracker/index.php?func=detail&aid=2037954&group_id=176962&atid=879332
2008-08-22 04:55:59 +00:00
tspc 408e8a3364 Fix errors in rev 6180
Order Rate Variance duplicated
Operation Activity missing
Payroll already added in 140_FB1935325HRProcess.sql
2008-08-22 00:30:34 +00:00
Carlos Ruiz 13c23d78c6 [ adempiere-Feature Requests-2065395 ] Implement New Document when create a new Client
minor - fix typo - regenerate model classes "ordered"
2008-08-21 20:06:53 +00:00
vpj-cd dd0a3bdce7 [ adempiere-Feature Requests-2065395 ] Implement New Document when create a new Client
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2065395&group_id=176962
2008-08-21 18:43:27 +00:00
Carlos Ruiz 4a362a08c6 Fix [ 1890616 ] Workflow infinate loop (fix attached)
Thanks to Kostadin
2008-08-21 18:05:44 +00:00
teo_sarca c1fa0d16c2 POResultSet:
BF [ 1874419 ] JDBC Statement not close in a finally block -more protection added (just in case)
2008-08-21 08:49:14 +00:00
vpj-cd 03a72d738c bug fixed consolidate order 2008-08-20 19:18:01 +00:00
Carlos Ruiz 36d7e38a93 Minor refactoring 2008-08-19 20:55:06 +00:00
teo_sarca 674b1b5724 BF [ 2051941 ] MPPMPRP.getHoursAvailable hardcoded 6750000 ?
BF [ 2053279 ] MPPMPRP.getDays always returns zero.
* added some more javadoc comments
* fixed some warnings
2008-08-19 15:59:30 +00:00
teo_sarca 562e87a0bc MBPartner - minor bug fix (ensure that getPrimaryC_BPartner_Location_ID and getPrimaryAD_User_ID will get first created item) 2008-08-19 09:53:59 +00:00
teo_sarca 4513b48f50 MPPProductPlanning.find - improved performance 2008-08-19 07:08:53 +00:00
teo_sarca 7980165ed9 MLanguage:
BF [ 1874419 ] JDBC Statement not close in a finally block
* improve exception handling
2008-08-18 08:45:53 +00:00
teo_sarca 796538357d PO: minor error logging improvements 2008-08-18 08:35:21 +00:00
teo_sarca 13e407caff FR [ 2042844 ] PO.get_Translation improvements 2008-08-18 08:14:01 +00:00
vpj-cd fc486133a5 [ 2056097 ] Fix Multiple Change Components
http://sourceforge.net/tracker/index.php?func=detail&aid=2056097&group_id=176962&atid=879332
2008-08-17 17:39:12 +00:00
vpj-cd 274d3df9f7 Small improve in the code 2008-08-16 19:30:44 +00:00
teo_sarca 4021628925 MRP:
BF [ 1874419 ] JDBC Statement not close in a finally block
* improve exception handling
* minor indentation
2008-08-16 11:01:47 +00:00
teo_sarca b98a2bdf03 MDocType: BF [ 1874419 ] JDBC Statement not close in a finally block
* removed not needed variables/properties
2008-08-16 10:18:45 +00:00
Carlos Ruiz 5d75884ae7 Fix [ 2053140 ] Mandatory lookup fields autofilled (badly) 2008-08-15 17:30:00 +00:00
trifonnt dd231952a6 identation and prevent NullPointer exception. 2008-08-15 09:49:42 +00:00
trifonnt 5d0df7375b BugFix: [ 2051473 ] CostCollector NullPointerException
https://sourceforge.net/tracker/index.php?func=detail&aid=2051473&group_id=176962&atid=879332
2008-08-15 09:44:29 +00:00
vpj-cd 7172287be8 Refactory and Improve in write code 2008-08-15 09:19:59 +00:00
Carlos Ruiz 90850c2fbd Refactoring
- avoid usage of Strings when replacing variables in SQL (to avoid potential SQL injection), better change this for binding variables
2008-08-15 02:29:05 +00:00
Carlos Ruiz 494cad0b57 Refactoring
- imports
- comments
- translating spanish messages and variables
- Use trxname properly
- Avoid hardcoding of variables
2008-08-15 02:19:06 +00:00
vpj-cd e8d28b26fe Only send email when the payment is > 0 2008-08-15 00:35:35 +00:00
vpj-cd 68f9a844f3 Improve and New method implementation 2008-08-15 00:24:57 +00:00
Carlos Ruiz 74bf943568 Minor refactoring 2008-08-14 19:16:41 +00:00
Carlos Ruiz b2b73f772a Refactoring
- imports
- comments
- translating spanish messages and variables
- Use trxname properly
- Avoid hardcoding of docstatus and doctype
2008-08-14 18:42:12 +00:00
trifonnt bd89c81bf7 Decrease level of SQL statement logging to ALL. 2008-08-14 15:41:24 +00:00
Carlos Ruiz 8d9f866d7f Minor refactoring 2008-08-14 15:14:09 +00:00
teo_sarca 2e34345ccb MPrintFormat.getPrintFormat_ID: fixed minor issue (added order by at that query) 2008-08-14 15:03:14 +00:00
trifonnt 37aa47f47c identation of source code. 2008-08-14 14:44:33 +00:00
trifonnt 1686f3a321 BugFix: [ 2051473 ] CostCollector NullPointerException
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2051473&group_id=176962
2008-08-14 14:29:46 +00:00
teo_sarca 1a5f51e1c7 [ 2051056 ] MResource[Type] should be cached
* use MUOM.get() (cached) instead of new MUOM
2008-08-14 09:44:06 +00:00
teo_sarca ce561b9bdc MPPOrderWorkflow:
BF [ 1874419 ] JDBC Statement not close in a finally block
* fix translation issues (table PP_Order_Workflow_Trl does not exist)
* cleanup unnecessary copy/paste code from MWorkflow class
2008-08-14 08:02:15 +00:00
trifonnt 6f8ad73360 fixed Print Format to lookup for report in system client. 2008-08-14 07:48:37 +00:00
teo_sarca 3e83c905d4 MPPOrderWorkflow:
* fix indentation
* organized imports
2008-08-14 07:39:47 +00:00
teo_sarca f3487bc607 CRPReasoner
* fix indentation
* organized imports
2008-08-13 18:33:31 +00:00
trifonnt d51e50402e Libero fixed to work with Postgre.
Fixed deletion of records.
2008-08-13 15:28:32 +00:00
Heng Sin Low 077f4f6b00 [ 1693997 ] Calculation of cost should happen when transaction complete 2008-08-13 07:34:02 +00:00
teo_sarca 148d0ad69a MPPOrderBOM: organized imports, fix indentation, major cleanup 2008-08-13 07:28:14 +00:00
teo_sarca 47324c4dbd CRP: fix indentation 2008-08-12 16:23:31 +00:00
vpj-cd 6a953c5e12 [ 2046897 ] Error when try set Project Type
http://sourceforge.net/tracker/index.php?func=detail&aid=2046897&group_id=176962&atid=879332
2008-08-11 20:11:17 +00:00
Heng Sin Low 59902e3a1a & Merge zkwebui revision 6081 changes from branches/adempiere341 2008-08-11 07:14:54 +00:00
vpj-cd c6c4dd7dcb [ 2011567 ] Implement background image for Document printed
http://sourceforge.net/tracker/index.php?func=detail&aid=2011567&group_id=176962&atid=879335
2008-08-08 14:40:25 +00:00
teo_sarca b4f4756a4e MPPProductBOM, MPPProductBOMLine, CalculateLowLevel, PP_Product_BOM_Check:
BF [ 1874419 ] JDBC Statement not close in a finally block
BF [ 2041456 ] Don't use Env.getCtx in base project
* added cache support (MPPProductBOM.get())
* refactored a lot of code
* removed static and pseudo-static methods and properties (like getLines, getLowLevel)
* removed deprecated and not used code (too much code to maintain)
* better exception handling support
2008-08-08 13:41:03 +00:00
teo_sarca 0544b26115 MPPProductBOM:
* organized imports
* fixed indentation
2008-08-08 10:44:28 +00:00
teo_sarca ed095deea5 MPPOrder: fix bug introduced in rev. 6018 2008-08-08 08:17:51 +00:00