Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034229 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | minor | always | 2016-10-14 12:33 | 2016-10-21 14:06 | |||
Reporter | lorenzofidalgo | View Status | public | |||||
Assigned To | asiermartirena | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ab88529b8138 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | aferraz | |||||||
OBNetwork customer | No | |||||||
Web browser | Google Chrome, Mozilla Firefox | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Packaging and release | |||||||
Regression date | 2016-10-05 | |||||||
Regression introduced in release | main | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/89f61788c100 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034229: Document no. sequence is no longer respected when Payment with "Amount = 0.00" is involved | |||||||
Description | When a record is generated, it automatically sets the following number of the last record created. Now, when a Payment is created with "Amount = 0.00" the string "*Z*" is concatenated. This induces the Document no. does not set the following number and it is duplicated instead. | |||||||
Steps To Reproduce | 1-Go to "Payment In" window. 2-Click "Create a new record in a form" button and memorize the "Document No.". 3-Changing no values (it is important Amount = 0.00, as it is by default), click again in "Create a new record in a form" and change the number that appears in "Document No." field by the number of the just saved record. (It is required, usually, only decrement a unit). Save the record. 4-Go to grid view and realise there are two records with the same document number (finished with *Z*). Sequential document numbers have not been created. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0090770) hgbot (developer) 2016-10-21 14:02 |
Repository: erp/backports/3.0PR16Q4 Changeset: ab88529b8138d12db09602fe6a0c64f01c078c59 Author: Asier Martirena <asier.martirena <at> openbravo.com> Date: Tue Oct 18 11:45:46 2016 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR16Q4/rev/ab88529b8138d12db09602fe6a0c64f01c078c59 [^] Fixed issue 34229: The sequence to create payments docNo was not correctly updated --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_PaymentEventListener.java --- |
(0090771) hgbot (developer) 2016-10-21 14:03 |
Repository: erp/backports/3.0PR16Q4 Changeset: 82381c190c1b73761ae5a10e15d639a0abe1738e Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Fri Oct 21 12:56:10 2016 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR16Q4/rev/82381c190c1b73761ae5a10e15d639a0abe1738e [^] Related to issue 34229: Code review improvements Throw error only if we are not reactivating payment in APRM_FIN_PMT_CHECK_TRG trigger. Remove onSave event in FIN_PaymentEventListener. Zero payment sufix will only be added in case we are processing the payment and it will only be removed in case we are reactivating the payment. --- M modules/org.openbravo.advpaymentmngt/src-db/database/model/triggers/APRM_FIN_PMT_CHECK_TRG.xml M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_PaymentEventListener.java M src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java --- |
(0090773) aferraz (viewer) 2016-10-21 14:06 |
Code review + Testing OK |
![]() |
|||
Date Modified | Username | Field | Change |
2016-10-18 11:26 | aferraz | Type | defect => backport |
2016-10-18 11:26 | aferraz | Target Version | => 3.0PR16Q4 |
2016-10-21 14:02 | hgbot | Checkin | |
2016-10-21 14:02 | hgbot | Note Added: 0090770 | |
2016-10-21 14:02 | hgbot | Status | scheduled => resolved |
2016-10-21 14:02 | hgbot | Resolution | open => fixed |
2016-10-21 14:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q4/rev/ab88529b8138d12db09602fe6a0c64f01c078c59 [^] |
2016-10-21 14:03 | hgbot | Checkin | |
2016-10-21 14:03 | hgbot | Note Added: 0090771 | |
2016-10-21 14:06 | aferraz | Review Assigned To | => aferraz |
2016-10-21 14:06 | aferraz | Note Added: 0090773 | |
2016-10-21 14:06 | aferraz | Status | resolved => closed |
2016-10-21 14:06 | aferraz | Fixed in Version | => 3.0PR16Q4 |
Copyright © 2000 - 2009 MantisBT Group |