Commit Graph

1254 Commits

Author SHA1 Message Date
vpj-cd bca6ae9e19 NULLS LAST not supported in postgresql 8.2 or earlier
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2104835&group_id=176962
2008-09-11 04:22:13 +00:00
vpj-cd f0e1413491 This change let lock more short, the reason is when you have big volume of record is best execute sort deletes and insert, this case you create the record for resource, organization , warehouse 2008-09-11 04:08:23 +00:00
vpj-cd 42b66d7d2d This is best way to management the transaction when calculate MRP, I made 3 test:
1.- Calculate MRP in single transaction, this case show large locks in DB of PP_MRP table set in wait other transaction as create SO,PO,REQ,etc
2.- Calculate MRP all transaction independents this drop the large lock in DB
3.- Calculate MRP with single transaction and commits for each document, So this test is that get best result.

kind regards
Victor Perez
www.e-evolution.com
2008-09-11 03:42:00 +00:00
vpj-cd 7613b20989 fixed small bugs 2008-09-10 23:39:48 +00:00
vpj-cd aa02bdbe4b Implementing Caches and MRP should run out transaction. 2008-09-10 19:52:05 +00:00
vpj-cd 4027198f74 Implementing cache for Network Distribution 2008-09-10 19:50:58 +00:00
vpj-cd c794877516 Increment cache is necessary for when run MRP. 2008-09-10 19:49:46 +00:00
teo_sarca e5800655bd BF [ 2104022 ] GridTab.processCallout: throws NPE if callout returns null 2008-09-10 17:02:57 +00:00
teo_sarca 1e329d3c76 BF [ 2104021 ] CalloutEngine returns null if the exception has null message 2008-09-10 16:45:48 +00:00
vpj-cd cb40da8cc6 Current ADempiere use DB.getNextID for get next sequence vs MSequence.getNextID, so in the future the developer need use only DB.getNextID 2008-09-09 18:26:55 +00:00
Carlos Ruiz 76dbf6e3c2 Integrate [ 2074600 ] Housekeeping - Process to delete historic information
Contribution from d_ruiz
2008-09-07 05:45:06 +00:00
vpj-cd 9feb992370 Implementing Local Phantom 2008-09-06 22:32:46 +00:00
vpj-cd 5b750b1abe [ 2097563 ] Compatibility with old functionality the production
http://sourceforge.net/tracker/index.php?func=detail&aid=2097563&group_id=176962&atid=879332
2008-09-06 22:03:10 +00:00
teo_sarca 505c7bd4ca CreateCostElement: bug fixing
MCostElement.getElements: AD_Org_ID parameter is not needed since all M_CostElements are created with AD_Org_ID=0 (see beforeSave)
2008-09-06 17:55:20 +00:00
teo_sarca ccc427a99e RollupWorkflow:
* use COLUMNNAME_*
* use cached getters instead of loading MCostElement-s
2008-09-06 17:11:58 +00:00
teo_sarca 539e4035fd MRPUpdate: simplified code - don't need to use Trx class 2008-09-06 16:58:19 +00:00
vpj-cd 84bc634f89 fixed small bug 2008-09-05 23:23:22 +00:00
Heng Sin Low bae7f1f380 [ 2094575 ] Cannot create new record with roles other than Admin 2008-09-05 23:06:54 +00:00
vpj-cd 4629a65860 MRP Update with transactions 2008-09-05 21:58:46 +00:00
Carlos Ruiz 26bbbeaab0 Refactoring
[ 2087134 ] MRP-SOO: DatePromised not changed when Order date is changed
2008-09-05 19:38:49 +00:00
vpj-cd 48db341e5a Implement the transaction because very long 2008-09-05 18:57:31 +00:00
vpj-cd 3d82b58aad [ 2094162 ] New Process Bank Transfer
http://sourceforge.net/tracker/index.php?func=detail&aid=2094162&group_id=176962&atid=879335
2008-09-05 01:53:30 +00:00
teo_sarca cb0e8a06c7 FR [ 2093551 ] Refactor/Add org.compiere.model.MProduct.getCostingLevel
FR [ 2093569 ] Refactor/Add org.compiere.model.MProduct.getCostingMethod

* forget to commit: MProductCategoryAcct.get should cache objects to speed things up
2008-09-04 18:37:59 +00:00
teo_sarca dae6866242 FR [ 2093551 ] Refactor/Add org.compiere.model.MProduct.getCostingLevel
FR [ 2093569 ] Refactor/Add org.compiere.model.MProduct.getCostingMethod
2008-09-04 18:27:37 +00:00
teo_sarca edd76b9323 BF [ 2093001 ] Error in Cost Workflow & Process Details 2008-09-04 12:16:19 +00:00
teo_sarca 0e6b5c6201 RollupWorkflow:
* organized imports
* fixed indentation
2008-09-04 12:14:12 +00:00
teo_sarca 4d71731b43 FR [ 2092739 ] When I select a product, default BOM and WF should be set 2008-09-04 08:28:46 +00:00
vpj-cd 1672bf5c18 little fixed 2008-09-04 02:55:58 +00:00
vpj-cd 23b4715fe9 Refactory do not is necessary send ad parameter the AD_CLient_ID, this can take of context. 2008-09-04 02:41:54 +00:00
vpj-cd 1fceea050d [ 2092263 ] New Implementation the Qty Reserved & Qty Ordered
http://sourceforge.net/tracker/index.php?func=detail&aid=2092263&group_id=176962&atid=879335
Discusion:
https://sourceforge.net/forum/message.php?msg_id=5037014
2008-09-04 02:27:45 +00:00
Carlos Ruiz db492a76f6 Fix [ 2092198 ] Error voiding an Inventory Move 2008-09-04 01:49:37 +00:00
teo_sarca 53bc5e47c4 MResourceType:
* added serialVersionUID
* added @Override annotation
2008-09-03 20:56:17 +00:00
teo_sarca 164a78d163 MPPProductBOM.getLines(): lines should be ordered by "Line" column 2008-09-03 20:32:28 +00:00
teo_sarca ef3c89d701 MRP: bug fixing some NPEs 2008-09-03 20:29:19 +00:00
teo_sarca 8c5bfe4d78 RollupBillOfMaterial:
* refactor
* fix DB issues
* improved readability
2008-09-03 20:24:30 +00:00
teo_sarca 9426884b5d RollupBillOfMaterial:
* organized imports
* fixed indentation
2008-09-03 20:23:18 +00:00
vpj-cd e801453f0d fixed the last commit 2008-09-03 19:41:27 +00:00
teo_sarca 110b892761 MMovement.getLines(): fix issue introduced in rev. 6311 2008-09-03 15:54:58 +00:00
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