Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033039 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Remittance | major | always | 2016-05-24 16:32 | 2016-06-02 17:02 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | markmm82 | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | e877de9642c4 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | aferraz | |||||||
Regression introduced in release | ||||||||
Summary | 0033039: Bank Instruction Lines' expected date previous to remittance's transaction date when singlepayment is selected | |||||||
Description | Bank Instruction Lines' expected date previous to remittance's transaction date when singlepayment is selected | |||||||
Steps To Reproduce | As group admin role: Create two purchase invoices from the same business partner with Remittance Payment Method, Immediate Payment Terms and different dates Create a Remittance with a more recent Transaction Date Select SinglePayment Process it by selecting any option different from No Grouping Check the payment is created with remittance's expected transaction date but the bank instruction dates have a date previous to the transaction date of the remittance. (In case Single payment is selected and "No groping" option is selected, payment is created with remittance expected date and bank instructions are created with the remittance transaction date). | |||||||
Proposed Solution | If you have "SinglePayment" option selected and choose while processing the remittance any of the grouping options available but "No grouping", the expected date shown in "Bank Instructions" tab is/are NOT correct. The correct date should be remittance transaction date. So, in those cases where invoice due date = expected date is in the past, no matter if the end user select Single Payment option or not, the expected date shown in bank instructions tab / lines needs to be the "Transaction Date" entered for the Remittance. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0086896) markmm82 (developer) 2016-06-01 14:38 edited on: 2016-06-02 14:39 |
Test plan: 1-Create two purchase invoices from the same business partner with Remittance Payment Method, Immediate Payment Terms and different dates. PO1-Invoice date: 20-05-2016 (10000866) PO2-Invoice date: 10-05-2016 (10000867) 2-Add lines and complete them. Go to PO1 (10000866) -> Payment Plan Tab, and notice that Due date is 20-05-2016 and Expected Date is 20-05-2016 Go to PO2 (10000867) -> Payment Plan Tab, and notice that Due date is 10-05-2016 and Expected Date is 10-05-2016 3-Create a Remittance with a more recent Transaction Date: Transaction Date: 02-06-2016 Expected Date: 30-06-2016 Select SinglePayment 4-Save it 5-Click to "Select Orders or Invoices" button 6-Select "Payment Out" option in Transaction Type. 7-Select both Purchase invoices created in step 1 (for example: 10000866 and 10000867) Press "Process" button. You can see two new lines added to the Remittance: Line 10-> Invoice: 10000866 - 20-05-2016 - 10.77, Invoice Payment Plan: 20-05-2016 Line 20-> Invoice: 10000867 - 10-05-2016 - 9.08, Invoice Payment Plan: 10-05-2016 8-Press the "Process" button. Process it by selecting "No Grouping" option. 9-Check that a new Payment Out is created with remittance's expected date 30-06-2016. 10-Check that 2 new bank instructions has been created with the following information: Line 10-> Description-> Invoice No.: 10000866, Expected Date: 02-06-2016 Line 20-> Description-> Invoice No.: 10000867, Expected Date: 02-06-2016 Repeat remittance processing by selecting any "grouping" option available together "Single Payment" check do NOT selected. Verify that both payments date = bank instructions lines expected date = 02-06-2016 (remittance transaction date). Repeat remittance processing by selecting any "grouping" option available together "Single Payment" check do selected. Verify that payment date (single payment) = expected remittance date and bank instructions lines expected date = 02-06-2016 (remittance transaction date). Repeat same steps for sales invoice remittance and payment remittance, just in case Single Payment check is not selected as that is the only behavior allowed. Repeat same steps as above for a remittance not including invoices with a due date in the past but in the future so those dates are taken into account in bank instructions lines when Single Payment option is selected (single payment date will be the expected date of the remittance). |
(0086927) psanjuan (manager) 2016-06-02 14:40 |
Test plan above verified. Issue can be code reviewed and closed. |
(0086948) hgbot (developer) 2016-06-02 16:59 |
Repository: erp/mods/org.openbravo.module.remittance Changeset: e877de9642c45012609f660017dbb74aa03e10c5 Author: Mark <markmm82 <at> gmail.com> Date: Tue May 31 20:03:27 2016 -0400 URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/e877de9642c45012609f660017dbb74aa03e10c5 [^] Fixes issue 33039: Bank instructions dates takes remittance's transaction date In those cases where invoice's due date = expected date is in the past, no matter if a use Single Payment option or not the expected date shown in bank instructions tab / lines is the "Transaction Date" entered for the Remittance. --- M src/org/openbravo/module/remittance/process/REM_RemittanceProcess.java --- |
(0086949) hgbot (developer) 2016-06-02 17:00 |
Repository: erp/mods/org.openbravo.module.remittance Changeset: f3e66f6e6d7707391326699ddc6eb184ea3be84b Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Jun 02 16:22:34 2016 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/f3e66f6e6d7707391326699ddc6eb184ea3be84b [^] Related to issue 33039: Code review improvements --- M src/org/openbravo/module/remittance/process/REM_RemittanceProcess.java --- |
(0086950) hgbot (developer) 2016-06-02 17:00 |
Repository: erp/mods/org.openbravo.module.remittance Changeset: 2445f133831e66476936703a2ec82ce6603fa5e6 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Jun 02 16:25:33 2016 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/2445f133831e66476936703a2ec82ce6603fa5e6 [^] Related to issue 33039: Update module version --- M src-db/database/sourcedata/AD_MODULE.xml --- |
(0086951) aferraz (manager) 2016-06-02 17:02 |
Code review OK |
Issue History | |||
Date Modified | Username | Field | Change |
2016-05-24 16:32 | ngarcia | New Issue | |
2016-05-24 16:32 | ngarcia | Assigned To | => Triage Finance |
2016-05-24 16:33 | ngarcia | Resolution time | => 1465855200 |
2016-05-24 16:33 | ngarcia | Issue Monitored: networkb | |
2016-05-24 16:37 | ngarcia | Relationship added | related to 0025060 |
2016-05-24 17:07 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-05-24 17:17 | markmm82 | Status | new => scheduled |
2016-05-31 15:34 | psanjuan | Proposed Solution updated | |
2016-06-01 14:38 | markmm82 | Note Added: 0086896 | |
2016-06-02 12:29 | psanjuan | Note Edited: 0086896 | View Revisions |
2016-06-02 12:36 | psanjuan | Note Edited: 0086896 | View Revisions |
2016-06-02 12:52 | psanjuan | Note Edited: 0086896 | View Revisions |
2016-06-02 14:16 | psanjuan | Steps to Reproduce Updated | View Revisions |
2016-06-02 14:16 | psanjuan | Proposed Solution updated | |
2016-06-02 14:19 | psanjuan | Proposed Solution updated | |
2016-06-02 14:24 | psanjuan | Note Edited: 0086896 | View Revisions |
2016-06-02 14:39 | psanjuan | Note Edited: 0086896 | View Revisions |
2016-06-02 14:40 | psanjuan | Note Added: 0086927 | |
2016-06-02 16:59 | hgbot | Checkin | |
2016-06-02 16:59 | hgbot | Note Added: 0086948 | |
2016-06-02 16:59 | hgbot | Status | scheduled => resolved |
2016-06-02 16:59 | hgbot | Resolution | open => fixed |
2016-06-02 16:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/e877de9642c45012609f660017dbb74aa03e10c5 [^] |
2016-06-02 17:00 | hgbot | Checkin | |
2016-06-02 17:00 | hgbot | Note Added: 0086949 | |
2016-06-02 17:00 | hgbot | Checkin | |
2016-06-02 17:00 | hgbot | Note Added: 0086950 | |
2016-06-02 17:02 | aferraz | Review Assigned To | => aferraz |
2016-06-02 17:02 | aferraz | Note Added: 0086951 | |
2016-06-02 17:02 | aferraz | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |