Hi Ramesh,
just a guess:
try
IF NEW.po_no <> 'UNDEF00'
(Single quote), since you are referring to a Literal, not to a coulmn name.
Regards, Dani
--Dani OderbolzIT AdminEcologic (www.ecologic.de)