Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037974 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Service Contract Management | major | always | 2018-02-20 11:39 | 2018-03-12 12:45 | |||
Reporter | maite | View Status | public | |||||
Assigned To | collazoandy4 | |||||||
Priority | urgent | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
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 | vmromanos | |||||||
Regression introduced in release | ||||||||
Summary | 0037974: "Copy record" button should also copy "Cover To" date | |||||||
Description | Contract created using "Copy record" button will fail when running "Update Invoice Plan" process because "Cover to" date is null | |||||||
Steps To Reproduce | 0. Configure Contract Invoice Schedule: http://wiki.openbravo.com/wiki/Contract_Invoice_Schedule [^] 1. Create Contract header. Set any BP and today's date 2. Mark it as "automatic renewal" and set previous Contract Invoice Schedule. Set any duration and duration unit. Realize that "Cover to" date is calculated 3. Create record in "Invoice Plan Master" tab 4. Run "Copy record" process and realize that new contract has "Cover To" date null. If you process contract and run "Update Invoice Plan" process it will fail due to following error b6af10f1 2018-02-20 04:10:48,928 [ajp-bio-127.0.0.1-8009-exec-5] ERROR org.openbravo.service.db.DalBaseProcess - The process org.openbravo.contract.services.process.UpdateInvoicePlan has thrown an exception. java.lang.NullPointerException at java.sql.Timestamp.compareTo(Timestamp.java:513) at org.openbravo.contract.services.process.UpdateInvoicePlan.doExecute(UpdateInvoicePlan.java:84) at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:82) at org.openbravo.scheduling.ProcessRunner.execute(ProcessRunner.java:83) at org.openbravo.erpWindows.org.openbravo.contract.Contract.Contract8F9CA53965834621900034A7C378127E.doPost(Contract8F9CA53965834621900034A7C378127E.java:372) | |||||||
Tags | No tags attached. | |||||||
Attached Files | error_contract_template.png [^] (99,882 bytes) 2018-03-12 12:39
template_info.png [^] (16,622 bytes) 2018-03-12 12:42 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0103047) collazoandy4 (reporter) 2018-03-06 23:30 |
Test Plan Go to Contract Type window and create a new record: Name: Contract Type Go to Contract window and create a new record: Contract Type : Contract Type Search Key/Name: Empty Contract Business Partner: Alimentos y Supermercados, S.A Starting Date: Today Clone the record created and check the process ends with no errors Test Plan II Go to Contract Invoice Schedule window and create a new record: Name: IssueInvoiceSchedule Invoice Frequency: Monthly Go to Contract window and create a new record: Contract Type : Contract Type Search Key/Name: Issue Contract Business Partner: Alimentos y Supermercados, S.A Starting Date: First Month Date Contract Invoice Schedule: IssueInvoiceSchedule Duration: 1 Duration Unit: Day Check Covert to Date = First Month Date Check Renewal Date = First Mont Date + 1 day Clone the record created and check the process ends with no errors Cloned Stating Date: Today Cloned Covert To Date: Today Cloned Renewal Date = Today + 1 day |
(0103152) vmromanos (manager) 2018-03-12 12:45 |
Issue rejected. Service Contract module MUST be always installed with the Service Contract Management Template, as it clearly says in the template's information (attached). If so, there is a validation that forces you to fill Notice Period information (attached screenshot) which is mandatory to properly calculate the contract's renewal/cover to dates in auto-renewal contracts. It's very important to always install the template if you want this feature to behave properly. |
Issue History | |||
Date Modified | Username | Field | Change |
2018-02-20 11:39 | maite | New Issue | |
2018-02-20 11:39 | maite | Assigned To | => Triage Finance |
2018-02-20 11:39 | maite | Resolution time | => 1520895600 |
2018-02-20 11:40 | maite | Issue Monitored: networkb | |
2018-03-02 14:08 | dmiguelez | Assigned To | Triage Finance => collazoandy4 |
2018-03-06 21:19 | collazoandy4 | Status | new => scheduled |
2018-03-06 23:30 | collazoandy4 | Note Added: 0103047 | |
2018-03-12 12:39 | vmromanos | File Added: error_contract_template.png | |
2018-03-12 12:42 | vmromanos | File Added: template_info.png | |
2018-03-12 12:45 | vmromanos | Review Assigned To | => vmromanos |
2018-03-12 12:45 | vmromanos | Note Added: 0103152 | |
2018-03-12 12:45 | vmromanos | Status | scheduled => closed |
2018-03-12 12:45 | vmromanos | Resolution | open => invalid |
Copyright © 2000 - 2009 MantisBT Group |