Hey guys,
I have the following situation:
I have created a posting function. When I execute that function via my action on the page, the header and all lines are written to a posted header and to posted lines. Therefore I have created some objects. After writing the header and the lines to that other objetcs, the lines are deleted in the unposted objects.
The other thing is, the user can create via an anction out of one header and the associated lines a protocol. If he or she has forgotten a special line, he or she can add them and they are also added to the protocol. And if he or she deletes a line, they are also deleted in the the protocol. For the deletion the Ondelete trigger is exectued.
So now when I post, the program asks me to delete the associated line from the protocols...because the Ondelete trigger is exectued. But this is not I want to do...
So I need a condition, which is true or false, so separate the two function.
I did created the following code:

I hope it is possoble to understand my issue...
Thank you ;)