Hi to all,
I'm using NAV 2017 and I'm trying to create simple example with OnBeforeItemModifyEvent. I have create CU, where I have created my function
LOCAL [EventSubscriber] BeforeItemModify(VAR Rec : Record Item;VAR xRec : Record Item;RunTrigger : Boolean)
Rec."Unit Price":=Rec."Unit Price"+1;
RunTrigger:=FALSE;
But I don't want Trigger that it is OnModify in T: Item to be executed. How I can skip that???
Any advice,
Thanks a lot,
I'm using NAV 2017 and I'm trying to create simple example with OnBeforeItemModifyEvent. I have create CU, where I have created my function
LOCAL [EventSubscriber] BeforeItemModify(VAR Rec : Record Item;VAR xRec : Record Item;RunTrigger : Boolean)
Rec."Unit Price":=Rec."Unit Price"+1;
RunTrigger:=FALSE;
But I don't want Trigger that it is OnModify in T: Item to be executed. How I can skip that???
Any advice,
Thanks a lot,