GL Account change in SO Daily Sales Updates

Hi Forum,

Is there a way to write a script to change a GL account based on a Product Line during the Daily Sales Update process?..

I cannot find  a module to add a script to.  When i right click to select the User-Define script option is not available.

Any inout will be greatly appreciated.

Regards,

Manuel Roman