on 06-23-2015 5:04 PM
Hi everyone,
I have a custom BO, called TimeSheet that holds an EmployeeID and a MonthYear date.
In the UI, I have a "PreviousMonth" button and a "PreviousMonth" BO Action where I create a new instance of the BO with another date. Up until recently, just after the PreviousMonth button was clicked I just saved and closed the window and both instances were in the list when I was back in the OWL. But now, there are cases when I don't want to save the first instance because it is already in the database, but I always want to save the previousMonth instance. If I save and close, it creates a duplicated timesheet and a new one for the previous month. If I just close without saving, the previoiusmonth instance is not created.
I am missing a Save method to force save the previousmonth instance and then close without saving.
How can I do to solve this ?
Best Regards
Chris
Hi Christophe,
You can write this.Delete() at the end of your BO Action.
Best Regards
Fred
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.