Hi all,
I have a customer that would like the name of the user that created a sales order to appear on the sales order invoicing header screen when they open the SO invoicing screen.
I can get the user created key from the SO Header to show up, but I would like the name to appear in my UDF.
I have tried adding the field from the SY_User table (LastName) but I get no returns. I didn't really think it would be that easy but thought I'd give it a try.
In reviewed the scripting class materials and there is a button script(#32 - GetUserNameofOrigSO) that does this using a sql query to join the appropriate tables then fill in a udf accordingly. Is there some way to replicate that in a non-button script? Seems like the missing link is the SO_SalesOrderHeader.UserCreatedKey field linked to the SY_User.UserKey field to get the data I need.
Any ideas are appreciated!