Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011438Openbravo ERP09. Financial managementpublic2009-11-20 10:582010-07-06 17:43
sureshbabu 
balamurugan 
lowtrivialalways
closedfixed 
5
2.50MP13 
2.50MP20 
Core
No
0011438: when we process manual settlement with Direct posting checkbox uncheked, Post button gets enabled.
when we process manual settlement with Direct posting check box un cheked, Post button gets enabled. And when the user clicks the post button the system shows error as process error.
Move to Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement and click new, enter the required details

Navigate to Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement >> Create Payment and click new enter the below details

BP: Red bunny
Receipt : checked
Amount: 100
Direct Posting: unchecked

Navigate to balance payment tab and enter the below details
G/L item: select any valid value
Credit amount: 100

Move back to Manual settlement tab and click process button.
"Process completed successfully" message appears.

Error: Also the Post button gets enabled, when Direct posting check box is unchecked.
1. Create a module script that updates from Posted='Y' to Posted='N' all the manual settlement where not exist payments marked as Direct Posting='Y'. If for example a manual settlement has two payment, one marked as direct posting and the other one not marked, then it's correct that Posted='Y'. It's not a problem to do this because there is no entries in the Factacct related to this documents. In any case ensure this
2. Change the accounting engine, so the background process does not post the manual settlement that doesn't apply point 1
3. Ensure that if you are in the situation of point 1 where you have payments marked as direct posting and not direct posting then the accounting process post the settlement
No tags attached.
related to defect 00134282.50MP18 closed vmromanos It is not possible unprocessed a manual settlement 
Issue History
2009-11-20 10:58sureshbabuNew Issue
2009-11-20 10:58sureshbabuAssigned To => rafaroda
2010-02-11 18:34rafarodaAssigned Torafaroda => dalsasua
2010-03-11 17:21dalsasuaStatusnew => feedback
2010-03-22 09:34networkbversionpi => 2.50MP13
2010-03-22 09:35networkbStatusfeedback => new
2010-03-22 09:35networkbTarget Version => 2.50MP16
2010-04-14 18:52vmromanosAssigned Todalsasua => vmromanos
2010-04-14 18:52vmromanosStatusnew => scheduled
2010-04-14 18:52vmromanosfix_in_branch => pi
2010-04-14 19:00hgbotCheckin
2010-04-14 19:00hgbotNote Added: 0026216
2010-04-14 19:00hgbotStatusscheduled => resolved
2010-04-14 19:00hgbotResolutionopen => fixed
2010-04-14 19:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d9090afa8a8deeae8530365d8d68135aec496c7e [^]
2010-04-15 13:34psarobeNote Added: 0026256
2010-04-15 13:34psarobeStatusresolved => closed
2010-04-15 13:34psarobeFixed in Version => 2.50MP15
2010-04-16 00:00anonymoussf_bug_id0 => 2987947
2010-04-19 21:13hudsonbotCheckin
2010-04-19 21:13hudsonbotNote Added: 0026481
2010-05-11 18:19jpabloaeTarget Version2.50MP16 => 2.50MP17
2010-05-25 17:49dmitry_mezentsevNote Added: 0027729
2010-05-25 17:49dmitry_mezentsevStatusclosed => new
2010-05-25 17:49dmitry_mezentsevResolutionfixed => open
2010-05-25 17:49dmitry_mezentsevFixed in Version2.50MP15 =>
2010-05-25 17:50dmitry_mezentsevRelationship addedrelated to 0013428
2010-05-25 19:32psarobeStatusnew => closed
2010-05-25 19:32psarobeResolutionopen => out of date
2010-05-25 19:34psarobeNote Added: 0027734
2010-05-25 19:34psarobeNote Deleted: 0027734
2010-05-25 19:35psarobeStatusclosed => new
2010-05-25 19:35psarobeResolutionout of date => open
2010-05-25 19:35psarobeNote Added: 0027735
2010-05-27 11:51psarobeStatusnew => scheduled
2010-05-27 11:51psarobeTarget Version2.50MP17 => 2.50MP19
2010-05-27 11:51psarobefix_in_branchpi =>
2010-05-27 11:51psarobeProposed Solution updated
2010-05-27 11:53psarobeProposed Solution updated
2010-06-10 13:40psarobeTarget Version2.50MP19 => 2.50MP20
2010-06-24 15:30balamuruganAssigned Tovmromanos => balamurugan
2010-06-25 11:33hgbotCheckin
2010-06-25 11:33hgbotNote Added: 0028768
2010-06-25 11:33hgbotStatusscheduled => resolved
2010-06-25 11:33hgbotResolutionopen => fixed
2010-06-25 11:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/d9090afa8a8deeae8530365d8d68135aec496c7e [^] => http://code.openbravo.com/erp/devel/pi/rev/f4c105a71ad681c0054bde3c6e5c877b038e8544 [^]
2010-06-25 11:37dalsasuaNote Added: 0028772
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028909
2010-07-06 17:43sureshbabuNote Added: 0029098
2010-07-06 17:43sureshbabuStatusresolved => closed

Notes
(0026216)
hgbot   
2010-04-14 19:00   
Repository: erp/devel/pi
Changeset: d9090afa8a8deeae8530365d8d68135aec496c7e
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Apr 14 19:10:46 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d9090afa8a8deeae8530365d8d68135aec496c7e [^]

Fixed bug 11438: Hide Post button for not direct posting

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0026256)
psarobe   
2010-04-15 13:34   
Tested working fine
(0026481)
hudsonbot   
2010-04-19 21:13   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/d9090afa8a8d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0027729)
dmitry_mezentsev   
2010-05-25 17:49   
Issue was rolled back while fixing 0013428: It is not possible unprocessed a manual settlement
(0027735)
psarobe   
2010-05-25 19:35   
I will add the propose solution
(0028768)
hgbot   
2010-06-25 11:33   
Repository: erp/devel/pi
Changeset: f4c105a71ad681c0054bde3c6e5c877b038e8544
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Jun 25 11:30:51 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f4c105a71ad681c0054bde3c6e5c877b038e8544 [^]

Fixes issue 13654. Fixes issue 11438.
Manual settlements where all included payments are not direct posting are set to Disabled status when posting.
Remittances where all payments included in the lines comes from a manual settlement and have not active the direct posting flag, are set to Disabled when posting.

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
M src/org/openbravo/erpCommon/ad_forms/DocPayment_data.xsql
---
(0028772)
dalsasua   
2010-06-25 11:37   
In order to fix this issue, manual settlements where all included payments are not direct posting are set to Disabled status when posting.
(0028909)
hudsonbot   
2010-06-30 12:17   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f4c105a71ad6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0029098)
sureshbabu   
2010-07-06 17:43   
Verified, Document disabled for accounting error message appears when direct posting checkbox is unchecked