Button script to update a UDF on SO History Header

SUGGESTED

Hello:

I'm trying to create a button script to update a UDF field on the SO History Header table.  It seems like a simple task, but I can't seem to figure it out.  I need to prompt for the date and then update the SO_SalesOrderHistoryInquiry_bus_UDF_RMA_CLOSED_DATE$ field.  Any help on how to do this would be greatly appreciated!

Thanks in advance!

Kevin

PS If there is any documentation on scripting in Sage 100, that would also be a huge help.