Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014359Openbravo ERPZ. Otherspublic2010-08-30 09:152010-08-30 11:05
sureshbabu 
gorkaion 
highmajoralways
newopen 
5
2.50 
2.50 
Advanced Payables and Receivables Mngmt
No
0014359: Auto payment execution is not working as expected when payment document is generated from Make or Receive payment window
Auto payment execution is not working as expected when payment document is generated from Make or Receive payment window.

Note: Auto payment execution is working only when we generate payment document on completion of invoice document.
1) Create a payment Method with below details

payment Out
Payment allowed: Checked
Automatic Payment:Checked
Automatic Withdrawn:checked
Execution Type: Automatic
Execution Process: Print execution process
Upon Payment Use: In transit Payment account
Upon Withdrawal use: Withdrawn payment account
Upon Clearing use: Cleared payment account


2) Assign the above created payment to a financial account
3) Assign both Financial acct & Payment method to a BP: Mcgiver

4) Create a purchase order with below details
BP: Mc givers
Product: Hammer
Qty:10

5) Then navigate to Make payment window and click new
Select Bp: Mc givers
And click "Add Payment details" button

6) In Add payment window select Transaction type "Orders"
and in Grid table, select the order details which is created in Step 4

Then click "Process" button and confirm it by clicking "OK" button

Defect: "Process completed successfully" message appears and status of the payment document wrongly moves to "Awaiting execution"

No tags attached.
png Auto payment execution is not working as expected when payment document is generated from Make or Receive payment window.PNG (138,442) 2010-08-30 09:15
https://issues.openbravo.com/file_download.php?file_id=2975&type=bug
png
Issue History
2010-08-30 09:15sureshbabuNew Issue
2010-08-30 09:15sureshbabuAssigned To => gorkaion
2010-08-30 09:15sureshbabuFile Added: Auto payment execution is not working as expected when payment document is generated from Make or Receive payment window.PNG
2010-08-30 10:19sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=761#r761
2010-08-30 10:44sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=762#r762
2010-08-30 10:46sureshbabuNote Added: 0030438
2010-08-30 11:05gorkaionNote Added: 0030442
2010-08-30 11:05gorkaionTypedefect => feature request

Notes
(0030438)
sureshbabu   
2010-08-30 10:46   
@Gorka: I have rechecked the issue and the issue appears only for "Print execution process" and i have updated the issue description accordingly
(0030442)
gorkaion   
2010-08-30 11:05   
This is the expected behavior. That execution process has a mandatory input parameter, the check number, that doesn't have a default value. In this case the system cannot get a value so it cannot be executed automatically.

I change the issue to Feature Request to modify this process. When the payment is processed it will ask for the parameters.