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

View Revisions: Issue #32759 All Revisions ] Back to Issue ]
Summary 0032759: Wrong on change function called in process definition
Revision 2016-04-21 18:44 by aferraz
Steps To Reproduce As F&B Admin:

- Create a Payment In for "España Norte" organization and process it.
- Create a Payment In for "España Sur" organization and process it.

- Go to Financial Account window and select "Cuenta de Banco" account.

- Create a record in Imported Bank Statements tab with any name.
- Create a record in Bank Statement Lines tab with any reference no and amount in.
- Move back to Imported Bank Statements tab and click on Process button.

- Click on Match Statement button.
- Click on Cancel on Confirm popup.
- Click on + button on any record of Match Statement process definition.

- Change value of Organization parameter in Add new transaction process definition to "España Norte" organization and realize OB.APRM.AddTransaction.organizationOnChangeFunction javascript function is called (ad_org_id on change function of Add Transaction process definition).
- Click on Payment selector drop down and realize you see created payment for "España Norte" organization.

- Click on + button of Payment selector.
- Click on Cancel button on Add Payment process definition.

- Change value of Organization parameter in Add new transaction process definition to "España Sur" organization and realize OB.APRM.AddPayment.organizationOnChange javascript function is called (ad_org_id on change function of Add Payment process definition) which is wrong.
- Click on Payment selector drop down and realize you still see created payment for "España Norte" organization instead of created payment for "España Sur" organization.

- Click on Payment selector drop down and select created payment for "España Norte" organization and click on Done button.
Realize in Financial Account Transaction tab, you have just created a transaction for "España Sur" organization with a payment for "España Norte" organization, which is wrong.
Revision 2016-04-21 18:44 by aferraz
Steps To Reproduce As F&B Admin:

- Go to Financial Account window and select "Cuenta de Banco" account.

- Create a record in Imported Bank Statements tab with any name.
- Create a record in Bank Statement Lines tab with any reference no and amount in.
- Move back to Imported Bank Statements tab and click on Process button.

- Click on Match Statement button.
- Click on Cancel on Confirm popup.
- Click on + button on any record of Match Statement process definition.

- Change value of Organization parameter in Add new transaction process definition and realize OB.APRM.AddTransaction.organizationOnChangeFunction javascript function is called (ad_org_id on change function of Add Transaction process definition).
- Click on + button of Payment selector.
- Click on Cancel button on Add Payment process definition.
- Change value of Organization parameter in Add new transaction process definition and realize OB.APRM.AddPayment.organizationOnChange javascript function is called (ad_org_id on change function of Add Payment process definition) which is wrong.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker