Script does not trigger in Pre-Write event

SOLVED

Hi Forum,

I have a script that populates a UDF in sales order lines from 2 UDFs in the lines after the lines are entered...

if I trigger the event as Pre-Write it doesn't do anything.. but the same script I can trigger in a field as column post-validate event and works fine...

Any ideas as to why it doesn't trigger when we click the Accept button?

Regards,

Manuel Roman