Commit Graph

1604 Commits

Author SHA1 Message Date
Redhuan D. Oon 6da2782aa1 Some Parameterizing and Organize Imports 2008-11-20 05:44:35 +00:00
Redhuan D. Oon d01e995bf1 Some Parameterizing and Removal of unused method - PLEASE REVIEW 2008-11-20 05:35:57 +00:00
Redhuan D. Oon 9f07d01144 Some Parameterizing and Organize Imports 2008-11-20 05:30:00 +00:00
teo_sarca 25af97b81b BF [ 2314749 ] MatchPO not considering currency PriceMatchDifference 2008-11-19 20:43:39 +00:00
Carlos Ruiz fc09a41406 Revert revision 7092
Following discussion here
https://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2311165&group_id=176962
2008-11-19 20:00:19 +00:00
trifonnt 571f31ed18 move m.. classes to base project. 2008-11-19 16:42:05 +00:00
trifonnt a41ebcca8a avoid duplication of M.. classes in posterita. 2008-11-19 16:12:56 +00:00
Redhuan D. Oon 19d5a467f6 Discovered this rs.next logic error while doing Query exercise at experimental.
Not sure if this is a reported bug. So i am changing it from IF to WHILE as it is clearly asking for an array and not a single record.
2008-11-19 01:58:08 +00:00
phib 23d595b1f5 Bugs item #2312109
Match Inv Posting fails if invoice line value zero
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2312109&group_id=176962
2008-11-19 00:19:41 +00:00
trifonnt b72dcb9ca5 FR: [ 2311165 ] Tax rate Extension
https://sourceforge.net/tracker/index.php?func=detail&aid=2311165&group_id=176962&atid=879335
2008-11-18 21:35:26 +00:00
trifonnt 2c00825d7d Fixed sql for Query class.
We can't use aliase for Table names. Developer must use Table name.
2008-11-18 18:12:47 +00:00
Carlos Ruiz 6eeae4f6b7 Use MForecastLine instead of X_M_ForecastLine 2008-11-17 16:18:38 +00:00
Carlos Ruiz 6f7467042f Refactoring 2008-11-17 16:17:38 +00:00
Carlos Ruiz 6c84b156fe Delete unnecessary code
Organize imports
Proper indentation
2008-11-17 16:01:43 +00:00
Carlos Ruiz 8b7c179551 minor fixes - now ad_client_id+value is a unique index 2008-11-17 15:47:17 +00:00
usrdno f6d8c0b417 Added M-class for FreightCategory. 2008-11-17 13:34:16 +00:00
Heng Sin Low c18adcdb76 * Fixed a build failure under Linux 2008-11-14 17:42:16 +00:00
teo_sarca 2d8e14b412 MSystem: properly close ResultSets
* minor improvements
2008-11-13 14:09:37 +00:00
teo_sarca 295f01f2e8 MCosr:
* FR 2214883 - minor improvement
* properly close ResultSets
2008-11-13 13:41:51 +00:00
teo_sarca 516ee8b439 MAcctProcessor: FR 2214883 - minor improvement 2008-11-13 13:20:38 +00:00
teo_sarca 72a4260f73 MAccountLookup: FR 2214883 - minor improvement 2008-11-13 13:11:42 +00:00
teo_sarca f62c418c53 MAccount: FR 2214883 - minor improvement 2008-11-13 13:07:35 +00:00
trifonnt 83a4714ba4 Fixed Eclipse launch configuration for multiple project setup. 2008-11-13 10:53:22 +00:00
Heng Sin Low 243bb7b7de BF [2274170] Inbound Charges for AP 2008-11-13 05:13:47 +00:00
bayucahya 76f79e7a1f BF [ 2268355 ] Invoice price variance doesn't use transactional currency
Which lead to generate unnecessary suspense and currency balancing
http://sourceforge.net/tracker/index.php?func=detail&aid=2268355&group_id=176962&atid=879332
2008-11-13 03:50:36 +00:00
trifonnt a76b71719d Bug Fix: [ 2270421 ] Can not complete Shipment (Customer)
https://sourceforge.net/tracker/index.php?func=detail&aid=2270421&group_id=176962&atid=879332
2008-11-12 16:33:43 +00:00
trifonnt a240a2ee3d moved ASFactory to base project to avoid circular dependency. 2008-11-11 15:16:23 +00:00
vpj-cd aa8a3f5c01 Fix [ 2259709 ] Error Print Manufacturing Order
https://sourceforge.net/tracker/index.php?func=detail&aid=2259709&group_id=176962&atid=879332
2008-11-11 03:39:22 +00:00
Heng Sin Low 39696d2ced [ 2217907 ] Migrate from ejb2 to ejb3
- migrate to ejb3.
- upgrade jboss to 4.2.3.
- added glassfish support. tested on glassfish v2u2
- drop the tomcat-only deployment task that is not working, need jee server instead of just a servlet runtime.
2008-11-10 23:54:09 +00:00
bayucahya 421f7abe31 BF [ 2240484 ] Re MatchingPO, MMatchPO doesn't contains Invoice info
https://sourceforge.net/tracker/index.php?func=detail&aid=2240484&group_id=176962&atid=879332
2008-11-08 09:34:01 +00:00
vpj-cd b4a53d76a8 [ 2227586 ] Wrong usage of ModelValidator on LiberoValidator
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2227586&group_id=176962
2008-11-08 03:25:39 +00:00
vpj-cd 29dcdee86e fix some bug and this
[ 2227901 ] MRP (Calculate Material Plan) fails if resource is empty
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2227901&group_id=176962
2008-11-06 07:23:20 +00:00
Heng Sin Low d3c57900f1 * fixed a minor backward compatibility bug. 2008-11-06 02:53:12 +00:00
vpj-cd b59d46ef57 fix small bug 2008-11-05 04:20:36 +00:00
vpj-cd b2ba1bdc1a fix small bug is necessary transaction name 2008-11-04 15:51:08 +00:00
vpj-cd 48f77c0b7b fix small bug 2008-11-04 15:30:08 +00:00
Redhuan D. Oon a9ec807b68 FR: [ 2214883 ] Remove SQL code and Replace for Query - 1 method only 2008-11-04 15:13:00 +00:00
Redhuan D. Oon 208eaf65a3 FR: [ 2214883 ] Remove SQL code and Replace for Query - amend slight mistake from previous commit 2008-11-04 10:41:28 +00:00
Redhuan D. Oon 26fea50a85 FR: [ 2214883 ] Remove SQL code and Replace for Query (only non join stmts) - TRIFON, thanks and pls review. 2008-11-04 10:26:03 +00:00
Redhuan D. Oon 17137635fc FR: [ 2214883 ] Remove SQL code and Replace for Query 2008-11-04 09:16:41 +00:00
Redhuan D. Oon d28e629e75 FR: [ 2214883 ] Remove SQL code and Replace for Query
thanks TRIFON
2008-11-04 09:08:25 +00:00
vpj-cd baa598c901 do not is necessary toString() in object String 2008-11-03 17:38:26 +00:00
vpj-cd ea51559332 [ 2214883 ] Remove SQL code and Replace for Query
http://sourceforge.net/tracker/index.php?func=detail&aid=2214883&group_id=176962&atid=879335
Test executed

1.- Account View work.
2.- Create new Schema account work.
3.- Copy Default Account from other schema work.
4.- ComboBox for Account report work.
5.- Display Account lookup in BPartner work.

kind regards
Victor Perez
www.e-evolution.com
2008-11-03 17:35:46 +00:00
trifonnt 0d9edf98d0 code indent. 2008-11-03 17:03:32 +00:00
Redhuan D. Oon a2102b8777 FR: [ 2214883 ] Remove SQL code and Replace for Query 2008-11-03 16:18:38 +00:00
trifonnt 2478c9a21d code indent and fix to set alertRule.parent. 2008-11-03 15:43:59 +00:00
Redhuan D. Oon 7155d154fe FR: [ 2214883 ] Remove SQL code and Replace for Query
more mistakes and thanks again to Trifon for pointing out
2008-11-03 15:28:28 +00:00
Redhuan D. Oon 6e993868bf FR: [ 2214883 ] Remove SQL code and Replace for Query
typo error (thanks Trifon!)
2008-11-03 15:20:33 +00:00
Redhuan D. Oon 28440a550c FR: [ 2214883 ] Remove SQL code and Replace for Query
Compiled and run server. Alert processor works on new alert record. Not sure if any other tests for this MAlert class.
Anyone please review
2008-11-03 14:50:31 +00:00
trifonnt ae7064145d One class per day initiative.
FR: [ 2214883 ] Remove SQL code and Replace for Query
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2214883&group_id=176962
2008-11-02 19:20:07 +00:00
Redhuan D. Oon 8884d6f0c9 [ 2214883 ] Remove SQL code and Replace for Query
not tested, in progress
2008-11-02 16:10:28 +00:00
Redhuan D. Oon 4469abf330 [ 2214883 ] Remove SQL code and Replace for Query
slight re-adjust to match original return stmt
2008-11-02 10:31:02 +00:00
Redhuan D. Oon 826f3d86df [ 2214883 ] Remove SQL code and Replace for Query
tested by creating Measurement (Achievement) recs - no error
2008-11-02 10:23:27 +00:00
vpj-cd 452182ae5b [ 2214883 ] Remove SQL code and Replace for Query
http://sourceforge.net/tracker/index.php?func=detail&aid=2214883&group_id=176962&atid=879335

Tested with Create GL/Default process and change the name in account.
All is work perfectly
Kind regards
Victor Perez
www.e-evolution.com
2008-11-02 00:06:07 +00:00
vpj-cd 6f07563e4b do not is necessary the explicit cast 2008-11-01 22:53:50 +00:00
vpj-cd 3bc21ad93a Migrate SQL to Query Class 2008-11-01 22:42:50 +00:00
vpj-cd 57cf011123 Change SQL for Query class 2008-11-01 21:34:24 +00:00
Redhuan D. Oon 2957e9100e [ 2213252 ] Matching Inv-Receipt generated improper value for source amount
for review.

on behalf of Bayu Sistematika supported by Armen Rizal
2008-11-01 18:25:05 +00:00
vpj-cd b1fd54d5c3 bug fix do not should use system sequence 2008-10-30 04:50:58 +00:00
phib 0c7c096f0e BF [2208533] Create SO from PO does not copy charge 2008-10-29 23:53:57 +00:00
usrdno 23dd7c3091 Bugfix 2200034 - Don't reveal the database password when creating the infoDetail string buffer. 2008-10-27 08:06:03 +00:00
Heng Sin Low eaaa4d6e6b * Fixed non Serializable exception. 2008-10-27 07:36:39 +00:00
vpj-cd 104e31deb8 [ 2195894 ] Improve performance in PO engine Is ChangeLog
http://sourceforge.net/tracker/index.php?func=detail&aid=2195894&group_id=176962&atid=879335
2008-10-26 01:24:38 +00:00
vpj-cd 1180f4b9f4 [ 2195090 ] Implementing ExportFormat cache
http://sourceforge.net/tracker/index.php?func=detail&aid=2195090&group_id=176962&atid=879335
2008-10-25 19:20:52 +00:00
trifonnt 7f47181120 methods of I_ and X_ classes now throw RuntimeException instead of Exception. 2008-10-25 19:10:07 +00:00
vpj-cd 2be32a8b88 [ 2101466 ] Implement Native Sequence Functionality
http://sourceforge.net/tracker/index.php?func=detail&aid=2101466&group_id=176962&atid=879335
2008-10-25 18:36:16 +00:00
armenrz 75026b2c0a BF [ 2129781 ] Cost Detail not created properly for multi acc schema 2008-10-25 13:16:40 +00:00
Heng Sin Low 8723247500 [ 2192903 ] CConnection.getServer not working on Server 2008-10-25 04:13:14 +00:00
Heng Sin Low 126f1f06e3 [ 2042733 ] Remove non-Lan connection profile code
[ 2188252 ] Make Adempiere build using both jdk 5 and jdk 6
2008-10-24 22:29:40 +00:00
Heng Sin Low f898f4d773 * minor: Generate model exception sometime not display on console. 2008-10-23 07:31:25 +00:00
trifonnt b6d35e86fc PosteritaPOS integrated and enabled. 2008-10-21 15:25:07 +00:00
trifonnt 9e48aeb32d integration with PosteritaWebPOS. 2008-10-21 11:08:47 +00:00
trifonnt 3dd9e1f820 Ability to generate interfaces and classes for specific tables. 2008-10-21 09:57:44 +00:00
trifonnt 0ff3af4689 added missing columns to U_POSTerminal.
Fixed eclispe classpath for multiple project setup.
2008-10-21 09:46:12 +00:00
trifonnt 808c9d95b1 Posterita model files - ver. 1.7.3 2008-10-20 20:07:48 +00:00
vpj-cd 9857c68dd8 Implementing support to JAVA 6 2008-10-18 18:55:30 +00:00
vpj-cd 80ad0fd3f6 Fix some non active records at Concept and Employee. 2008-10-18 16:11:10 +00:00
trifonnt ac362eba8b fixed eclipse classpath in order to work with jasperReports 3.0 2008-10-18 14:20:49 +00:00
trifonnt 9540e70b4c fixed eclipse classpath in order to work with jasperReports 3.0 2008-10-18 13:14:50 +00:00
Carlos Ruiz 90c4880ccc FR [2170521] Add charge to Import Order 2008-10-16 14:20:35 +00:00
armenrz f2a7d111fd BF [ 1693997 ] Calculation of cost should happen when transaction complete (fix for MatchPO to Invoice) 2008-10-16 12:28:40 +00:00
armenrz 60f34d42ce BF 1693997 - Calculation of cost should happen when transaction complete 2008-10-16 06:47:44 +00:00
phib 671a543f62 FR [2170521] Add charge to Import Order
https://sourceforge.net/tracker2/?func=detail&aid=2170521&group_id=176962&atid=879335
2008-10-16 05:31:20 +00:00
phib 26bd5c160c BT [2167530] Report form layout error when null suppressed
https://sourceforge.net/tracker2/?func=detail&aid=2167530&group_id=176962&atid=879332
2008-10-15 05:45:42 +00:00
vpj-cd e4bee4874b [ 2151963 ] When you update the qty in sales order the MO should be update
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2151963&group_id=176962
2008-10-14 19:03:46 +00:00
teo_sarca f277ea645b MRP: minor import cleaning 2008-10-14 09:45:19 +00:00
teo_sarca f2ccd24d3c ComponentChange: refactor & clean code 2008-10-14 09:44:28 +00:00
teo_sarca 3cd4bf8698 MPPMRP: change MRP organization when order line's org changes 2008-10-14 09:43:58 +00:00
Carlos Ruiz acc65b8ccc Fix bug ID: 2165542 - Cannot pay/receive an installment via cash journal 2008-10-14 07:34:38 +00:00
vpj-cd 403efcc93d fixed some bugs 2008-10-13 18:13:21 +00:00
armenrz fb6232be35 BF [ 1693997 ] Calculation of cost should happen when transaction complete. Fixed wrong location. 2008-10-10 09:45:55 +00:00
armenrz a783f40b25 [ 1812144 ] In LandedCost Cost Distribution for type "Cost" is not work. Following mar_cal_westf's advice. 2008-10-10 09:40:41 +00:00
Carlos Ruiz 67e4671e36 Refactoring
- organize imports
- improve indentation
2008-10-10 03:55:11 +00:00
Carlos Ruiz 02ef1da08c Fix a problem opened with [ adempiere-Bugs-1894524 ] Pay an reversed invoice 2008-10-10 00:56:52 +00:00
Carlos Ruiz e3f0d270bb Refactoring
- organize imports
- delete large commented code
- improve indentation
2008-10-09 23:01:24 +00:00
Carlos Ruiz a2b18b1807 Fix bug [ 2141475 ] Payment <> allocations must not be completed 2008-10-08 21:06:12 +00:00
vpj-cd c99cd970dc Fix small bug 2008-10-08 16:03:26 +00:00
vpj-cd 876eada32a The MRP record is generate only for Sales and Purchase with In Process and Complete 2008-10-08 15:57:29 +00:00
teo_sarca e6e8207986 revert rev. 6627 because is not correct - thanks to Victor, who explained me 2008-10-08 14:58:19 +00:00
teo_sarca cf9d2cd6cf BF [ 2153188 ] M_Product.LowLevel should be set to 0 for new products 2008-10-08 13:18:49 +00:00
teo_sarca 2ef0681203 BF [ 2153087 ] If i change the date for a SO the MRP date is not changed 2008-10-08 12:33:58 +00:00
vpj-cd 3f8b67b807 Fixed the Phantom constraint the DB do not support null 2008-10-08 10:02:42 +00:00
teo_sarca f2fa531f7f FR [ 2151667 ] BOM Change Request is not supporting the new BOM 2008-10-08 07:11:51 +00:00
vpj-cd bc1d7aa2a4 [ 2151904 ] The Qty Batch Calculate do not work in Manufacturing Order
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=2151904&group_id=176962
2008-10-07 20:38:10 +00:00
teo_sarca 1493f5b8ac MPPProductBOMLine: auto set Line if is zero 2008-10-07 15:29:27 +00:00
vpj-cd c1ceb57e34 Fixed bug when the resource is null into workflow, now the functionality ignore this node and continue with the process. 2008-10-07 14:00:19 +00:00
vpj-cd 3cff3fb457 Fix small error 2008-10-07 13:23:56 +00:00
vpj-cd 12bb6931fd fix bug when node have not some resource 2008-10-07 13:11:16 +00:00
vpj-cd 69a3755b9a Fix small bug 2008-10-07 12:56:39 +00:00
armenrz b421080724 BF [ 1693997 ] Calculation of cost should happen when transaction complete 2008-10-07 04:35:29 +00:00
phib eeda6734f1 FR [ 2148808 ] Suppress repeated values in printed tables
https://sourceforge.net/tracker/index.php?func=detail&aid=2148808&group_id=176962&atid=879335
2008-10-06 04:55:25 +00:00
phib ba3130cb9c FR [ 2143573 ] Enhancements to financial reporting 2008-10-03 04:01:07 +00:00
phib 0f1bf88326 FR [ 2143266 ] Multi-line table column headers 2008-10-02 23:33:59 +00:00
trifonnt 1c21a242a5 Eclipse launch configuration 2008-10-02 10:25:35 +00:00
Carlos Ruiz d156e3cf6d Fix bug [ 2141475 ] Payment <> allocations must not be completed 2008-10-02 03:43:33 +00:00
gabrielke abac6d0953 Hungarian localization 2008-10-01 16:58:49 +00:00
vpj-cd df284fa6f8 Support multiple production plan 2008-09-30 00:36:11 +00:00
armenrz f1df305ce4 BF [ 1745154 ] Cost in Reversing Material Related Docs 2008-09-28 12:21:17 +00:00
vpj-cd 515ee6640a fix [ 2133188 ] QtyOrdered do not is update in Distribution Order
http://sourceforge.net/tracker/index.php?func=detail&aid=2133188&group_id=176962&atid=879332
2008-09-28 01:29:10 +00:00
vpj-cd 636b1175e4 Fixed [ 2133097 ] The dataStatusChanged event do not work rightly
http://sourceforge.net/tracker/index.php?func=detail&aid=2133097&group_id=176962&atid=879332
2008-09-28 00:26:14 +00:00
vpj-cd ee3dffff31 small bug 2008-09-26 15:02:21 +00:00
vpj-cd f30eff3b19 Fixed rollback transaction when the process faild 2008-09-26 15:00:10 +00:00
teo_sarca a3d6f0d768 Libero fixing:
* documents should update MRP each time they change
* minor refactoring : removed pseudo-static methods like "getLines" (which are not static but are acting like static methods)
* improved caching
2008-09-26 12:16:46 +00:00
vpj-cd 15e1126852 Fix MRP bugs with multi organization 2008-09-25 21:43:19 +00:00
teo_sarca 496aa7e25f RollupBillOfMaterial & RollupWorkflow:
* minor refactoring
* minor optimization
2008-09-25 14:15:14 +00:00
teo_sarca 427d02e4a1 CreateProductPlanning:
* refactored
* improved readability
* improved errors reporting
2008-09-25 14:13:48 +00:00
armenrz 1878089641 BF #2041226 BP Open Balance should count only Completed Invoice 2008-09-21 09:13:01 +00:00
armenrz 6472ec1691 BF [ 2048984 ] Purchase Return costing logic 2008-09-21 09:02:31 +00:00
armenrz 98baad232a [ 1812144 ] In LandedCost Cost Distribution for type "Cost" is not work. 2008-09-21 05:13:47 +00:00
Carlos Ruiz 63380a8d93 Fix [ 2116811 ] Posting problem with MRole.OrgAccess not serializable 2008-09-17 20:59:51 +00:00
teo_sarca f47df08a66 FR [ 2115814 ] DBException should store SQL Query String too 2008-09-17 11:46:01 +00:00
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
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
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