Commit Graph

1449 Commits

Author SHA1 Message Date
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
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
Heng Sin Low 1759d9d4a7 [ 1851417 ] Problem with AveragePO Costing
[ 1693997 ] Calculation of cost should happen when transaction complete
[ 1991574 ] Average Cost Error
2008-08-08 06:53:33 +00:00
teo_sarca 22df2fec30 BF [ 1896885 ] BS Line: don't update header if after save/delete fails 2008-08-08 06:49:30 +00:00
armenrz 06cbca5a71 [ 2041226 ] BP Open Balance should count only Completed Invoice 2008-08-07 23:45:04 +00:00
teo_sarca a4a20bca26 MPPOrder:
BF [ 2041456 ] Don't use Env.getCtx in base project
* refactored getLines methods and removed static method
2008-08-07 21:42:29 +00:00
teo_sarca cd14a70e07 BF [ 2042195 ] MPPOrderBOMLine: Set Line automatically if zero 2008-08-07 21:25:51 +00:00
teo_sarca cce7e13ae8 MPPOrderBOMLine:
* fixed indentation
* organized imports
* removed unused code
2008-08-07 20:59:37 +00:00
vpj-cd e0605a3553 Fixed error with execute transaction out the context and some issue to run MRP 2008-08-07 19:15:04 +00:00
vpj-cd e01ca930d2 Fix refactory 2008-08-07 17:48:00 +00:00
teo_sarca c19dc4cd23 FR [ 2041894 ] Add Query.match() method
* optimization: don't use ORDER BY clause for "count" and "match" records
2008-08-07 17:24:27 +00:00
teo_sarca 4a2dca160e BF [ 2030233 ] Remove duplicate code from DB class
- refactored instead of remove
2008-08-07 17:12:53 +00:00
teo_sarca 942d3f3dc9 [ 2041456 ] Don't use Env.getCtx in base project
fixed for class org.eevolution.process.MRP
2008-08-07 16:06:16 +00:00
teo_sarca dd3a4c796f BF [ 2041456 ] Don't use Env.getCtx in base project
fixed for org.eevolution.model.MPPMRP.getMaxLowLevel
2008-08-07 16:02:33 +00:00
teo_sarca 2566e3d814 BF [ 2041799 ] Can't delete PP_Order_Node (Not found=PP_Order_Node_Trl)
BF [ 1874419 ] JDBC Statement not close in a finally block
* organized imports
* removed not used methods and properties
* fixed some warnings
2008-08-07 15:54:17 +00:00
teo_sarca e456509bf4 BF [ 2041819 ] Can't delete PP Order
* exception friendly
2008-08-07 15:36:12 +00:00
teo_sarca 1bd2033620 BF [ 1874419 ] JDBC Statement not close in a finally block 2008-08-07 09:56:02 +00:00
teo_sarca 8f04152e25 MPPProductPlanning:
* fix indentation
* organized imports
2008-08-07 08:55:25 +00:00
teo_sarca 1bd24e90b0 MPPMRP:
* fix indentation
* organized imports
2008-08-07 07:58:23 +00:00