No GL Code Entered Exception Message On Purchase Order Release

Hi,
My finance team are asking me to set up an exception message when a purchase order line release is created but no GL code was entered. The GL Account field belongs to TranGLC table and not PORel so I cannot see a way to say if the GL account field is empty raise exception message. Has anyone done something similar?
Regards
Jack