Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36990

Forum Post: RE: How to a UDF from GL_DetailPosting to Journal Drill Down

$
0
0
A sweet girl helped me with this so I'll pass it on and help you. Here is a script I use in Sales Order to write out the user's first and last name to a UDF. sFirst="":sLast="":sKey="":sCKey="" retVal=oBusObj.GetValue("UserCreatedKey",sCKey) SetoUser=oBusObj.AsObject(oBusObj.GetChildHandle("UserCreatedKey")) retVal=oUser.getvalue("UserKey$",sKey) retVal=oUser.getvalue("FirstName$",sFirst) retVal=oUser.getvalue("LastName$",sLast) If sKey=sCKey then retVal=oBusObj.SetValue("UDF_FIRST$",sFirst) retVal=oBusObj.SetValue("UDF_LAST$",sLast) end if

Viewing all articles
Browse latest Browse all 36990

Trending Articles