OnModify does not execute (From table or form)

lingbrabuslingbrabus Member Posts: 2
edited 2006-09-01 in Navision Attain
Hi all,

I've put some codes in OnModify trigger in production order line table to execute when I modify a record. However, when i change some value in some fields (ie. quantity), the onmodify trigger does not execute. I tried to put a message box in the onmodify trigger to see if it executes or not but it seems that the message box fires up only if I change some specific fields (ie. location). (I do leave the record to see whether the message box fires up or not). Please Help.

PS. I'm running NA3.60 on native database

Thanks

Comments

  • krikikriki Member, Moderator Posts: 9,112
    Check out with the debugger if somewhere in the code that is triggered when leaving the Quantity-field, some MODIFY or MODIFY(FALSE) is executed.
    This writes the record to the DB without triggering the OnModify-trigger.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.