Run codeunite when a new value is added in Service Invoice Header.

Abdel1978Abdel1978 Member Posts: 10
Hi everyone.
How I can run CodeUnit when a new value is posted in Service Invoice Header.?
Thank you for help

Answers

  • KTA8KTA8 Member Posts: 397
    Yeah, I don't see any problem with that.
  • Abdel1978Abdel1978 Member Posts: 10
    hi KTAB,
    I have the follwing (dynamics Nav 2016):

    tjscrlskl8zg.png

    and

    lblyf53gv4g4.png

    and

    pa6hgh9h5bec.png

    But when I post form service header the codeunit dont run.
    I don't know if I have missed some thing.
    Thank for help
  • KTA8KTA8 Member Posts: 397
    I guess that you've tried to try a message instead. Maybe you also could try to make a function on the codeunit and call it instead on using onrun.
Sign In or Register to comment.