Hello!
1IM 8.1
I need get XDateInserted from Department view in Mail Template.
I wrote script:
Public Function CCC_Department_Get_XDateInserted_1(ByVal dbDepartment As ISingleDbObject) As String Dim strLOGFileName = "C:\temp\logs\temp.txt" Dim obj As String = dbDepartment.GetValue("XDateInserted").ToString() VID_Write2Log(strLOGFileName, String.Format("{0}, ==> Date: {1}", Now.ToString(), obj)) Return obj End Function
But I catch empty string.
In the Mail Teplate I wrote: $Script(CCC_Department_Get_XDateInserted_1)$
Any ideas?