General information
Category:
The Mere Mortals Framework
>Hi,
>Where is the best place in bizobj for calling automated calculation method ? ex.
>
>1. calculate item amount immediately after user add/edit item
>2. calculate invoice total amount immediately after user add/edit item.
>
Depending on how you handle the add/edit... If you're calling a modal form to do the add/edit, recalculate and refresh after the modal form is dismissed. If it's from a non-modal form, you'll have more trouble (at least, I have had) coordinating the timing and reference between forms. If the changes are made within the same form, in the Valid of the appropriate control that will set the price, add a call to recalculate and refresh the total.
Chris.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only