Randy
(Randy Stulce)
June 17, 2025, 8:21pm
1
I was following @mbayley ’s post on setting up license tracking https://www.epiusers.help/t/log-active-licenses-function/125986/ but running into an error
I thought it was my edits so I did a copy/paste of the example code and keep getting the same error. I don’t do many functions so I may be missing something easy. I did verify Company is included, and the usings added in. I could copy the text of the errors:
mbayley
(Michael Bayley)
June 17, 2025, 8:25pm
2
Did you add the service references in the function library?
2 Likes
Randy
(Randy Stulce)
June 17, 2025, 8:28pm
3
No but I have now added UD40 still getting the AdminSession errors, is there another service or table I need to add?
mbayley
(Michael Bayley)
June 17, 2025, 8:31pm
4
Just the Ice.BO.AdminSession service. I will update my post with this info
Randy
(Randy Stulce)
June 17, 2025, 8:34pm
5
I added UD40 and the AdminSession services and no more errors. Now to wire it up to the UDs I created. Thanks!
1 Like
Randy
(Randy Stulce)
June 18, 2025, 2:45pm
6
Note for future, to set a UD in the code you need to use [“”] brackets example:
["DateUsed_c"] = DateTime.Now,