UDS - SetValue on SalesAcctKey$ with GL account value?

SOLVED

Event script on SO_SalesOrderDetail, trying to set SalesAcctKey$ to a GL Account number (not key), and expecting the key to be looked up automatically (like what happens in Visual Integrator imports) but that isn't happening.  Do I have to look up the key, and change my SetValue to the key value?

retVal = oBusObj.SetValue("SalesAcctKey$", "425-00-01")

Top Replies

Parents Reply Children
  • 0 in reply to David Speck

    Believe it or not it's been in the product since 4.0. It is how we deal with setting G/L accounts internally in the product. Just not a well advertised feature.  Also, this really only works to validate it against a different key when that key is also UNIQUE as the kACCOUNT key is.

    Elliott