Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047798
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2021-10-01 17:202022-02-01 07:24
ReportervmromanosView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047798: Tab --> Remove Function weird behavior

DescriptionDiscovered in the Modify Payment Plan feature.


There is a Remove Function defined into the tab (OB.APRM.deleteRow).
There is a Validation Function defined into one of the fields (Outstanding --> OB.APRM.validateModifyPaymentPlanAmounts)

When I delete any of the records in the grid, the validation function is automatically launched for the rest of the records available into the grid.

I think running this validation always makes no sense and instead the Remove Function should manually launch that validation if needed.

For the Modify Payment Plan feature the current behavior is not a problem, but the opposite as we need to run this validation. However, thinking in general the current behavior is weird.

If changed, this should be reported as an API Change and provide a generic tool to implement the current behavior.
Steps To ReproduceAs System Admin.
Go to Window, Tabs and Fields. Search for Sales Invoice window.
Select Payment Plan tab.
Search for the Modify Payment Plan field which is hidden.
Set Displayed = Y

Change role to F&B group admin
Go to Payment Term window.
Create a header for * org
 - Overdue Payment Days Rule : 100
Create the following lines:
 - Percentage due: 25, Overdue Payment Days Rule: 10
 - Percentage due: 35, Overdue Payment Days Rule: 15
 - Percentage due: 20, Overdue Payment Days Rule: 90

Go to Sales Invoice window and create a new record. Select the above payment term in the header.
Enter any line with some amount.
Complete the invoice.

Go to Payment Plan tab and select any record.
Press Modify Payment Plan button.
A grid is opened with several lines.
Set a break point over the OB.APRM.validateModifyPaymentPlanAmounts function
Delete any of the lines.
Check that the OB.APRM.validateModifyPaymentPlanAmounts function is executed for the rest of the records available in the grid
Proposed SolutionBy default the validation should be executed for the affected record, not for the records in the grid. If the record is removed, then no validation should take place.

By careful if implementing this behavior as it is an API Change. Provide an easy mechanism to implement the existing behavior.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047799 newTriage Platform Base Tab --> Add Function different problems with the new record created 
blocks defect 0047707 closedvmromanos Wrong amount when adding a new line in the payment plan modification 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-10-01 17:20 vmromanos New Issue
2021-10-01 17:20 vmromanos Assigned To => platform
2021-10-01 17:20 vmromanos Modules => Core
2021-10-01 17:20 vmromanos Triggers an Emergency Pack => No
2021-10-01 17:52 vmromanos Issue cloned 0047799
2021-10-01 17:52 vmromanos Relationship added related to 0047799
2021-10-01 18:20 vmromanos Relationship added blocks 0047707
2022-02-01 07:24 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker