Commit Graph

1251 Commits

Author SHA1 Message Date
teo_sarca f2f6239d0e CreateCostElement: fixed error introduced in rev. 6455 2008-09-17 10:40:15 +00:00
teo_sarca 8937778bab CreateCostElement:
* fix M_Cost creation
* improved performances
2008-09-17 10:38:59 +00:00
teo_sarca ec95527738 MProduct:
* use new Query API
* MProduct.get(Properties ctx, int M_Product_ID) should return null if M_Product_ID is <= 0
2008-09-17 06:21:16 +00:00
teo_sarca 10e16923ac PP: refactoring PP_Cost_Collector 2008-09-16 17:37:30 +00:00
phib eb8b602e66 FR [ 2111266 ] Financial Report: column segment value hierarchies 2008-09-16 03:45:18 +00:00
vpj-cd 864c04982b Fix Create Cost Element do not work
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2112805&group_id=176962
2008-09-15 21:11:20 +00:00
teo_sarca 377ff791cf CRP:
* refactoring
* eliminated recursive method calls
2008-09-15 13:53:46 +00:00
teo_sarca 786f6c1915 BF [ 2104835 ] 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-15 13:38:22 +00:00
teo_sarca 1345baa9d7 HR:
* added MHRAttribute
* added MHRDepartment + caching support
2008-09-15 13:28:12 +00:00
teo_sarca 7cbdbdb163 CreateCostElement: minor refactoring 2008-09-12 09:55:33 +00:00
teo_sarca 0e10da320a BF [ 2107083 ] Caching of MOrgInfo issue
BF [ 2107088 ] MOrg.getOfClient should return ONLY active records
2008-09-12 09:49:25 +00:00
teo_sarca 732bba1e20 Query:
FR [ 2107068 ] Query.setOrderBy should be more error tollerant
FR [ 2107109 ] Add method Query.setOnlyActiveRecords
* fixed indentation
* fixed copyright
2008-09-12 09:39:39 +00:00
teo_sarca b5b78bb16a FR [ 2107062 ] Add more DB.getKeyNamePairs methods 2008-09-12 08:54:48 +00:00
phib 5462895d6c BT [ 2106723 ] InvoiceGenerate process should ignore proposal/quote orders 2008-09-12 02:45:07 +00:00
vpj-cd f551abdba1 small improve 2008-09-12 02:02:33 +00:00
vpj-cd 736c059e4e fix error introducing with re factory, The Purchase Order is a Supply 2008-09-12 01:56:58 +00:00
teo_sarca 9f745caa45 MRP process improvements:
* org caching is implemented in MOrg class, so is not needed here (same as warehouse)
* use new Query API (better exception handling)
2008-09-11 10:10:40 +00:00
teo_sarca 56dc7e973d MOrg: increase cache size in concordance with MWarehouse.s_cache size 2008-09-11 10:06:13 +00:00
teo_sarca 343270572f MDDNetworkDistribution - minor corrections
* use java 5 autoboxing
* always use lazy cache instead (i.e. lines will be loaded on first getLines)
2008-09-11 09:38:43 +00:00
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