Skip to Content
Former Member
Jul 14, 2008 at 07:24 AM

Job is executed twice every after event



I have a job and I want that my job starts every after event, so I configure the job start conditions giving the event name in "After event" screen.

The program that triggers the event is executed every time that an order is released and saved (trough a user-exit ZXWOCU07).

Sometimes the job is executed twice and not one like I want (I don't save the order twice, just one).

Before calling bp_event_raise I have this code

export caufvd_imp = caufvd_imp
          uname = uname
          to database indx(st) id 'TEST'.

and report's job have something like this

import caufvd_imp = caufvd_imp
          uname = uname      
          from database indx(st) id 'TEST'.