Hi,
I have a custom field on the 'Job Ledger Entry' table which I call ResourceType and I I intend to be populating it with values based on the 'Type' value during new record.
I have tested the custom code to do this on the 'No. - OnValidate()', method of the No. field, 'OnInsert' method of the table but I found out that entries get posted to the table without that code being executed thereby inserting the default value into my ResourceType field.
My question is: Where do I need to place my code so that it can get executed anytime a new record is coming into the table. the new record could be coming from Journal Posting or any other area of the Nav application.
I'll appreciate your advice.
*This post is locked for comments