Is there a way to set a custom field value based soon after a user clicks the close order button on a record?Initially trying to do this via a WF and trying to find the trigger or condition however unsuccessful
b
battk
03/03/2023, 4:03 PM
nothing great
battk
03/03/2023, 4:03 PM
you can detect that the close button was pressed in a beforeLoad entry point since the close button redirects to view the order
battk
03/03/2023, 4:04 PM
but thats not really where you want to make any changes
g
G
03/03/2023, 4:53 PM
thanks @battk, that's not good
c
creece
03/03/2023, 6:06 PM
all that button does is spin through the lines and set "isclosed" to true. You could bail on the native close button and add in your own and do whatever you need to do before closing the lines. Not the most ideal scenario but doable.