in the table insert my this .orig() function not works. Could any one help me please. whats wrong with me.

Can you tell us more about your implementation of orig in insert method?

Question is: What it will have before an insert, to return something to you?

The orig is meant to give you the original values that a record has before the update is done.