I searched but did not see another post about this, so sorry if this is a duplicate.
I am using Cache 2013.1.1 (Build 501 + Adhoc 14230) 25-JUL-2014 17:18:08.43 on OpenVMS/IA64 V8.4 (Itanium).
So after I added the DrawYesNo functionality taken straight out of the documentation: /csp/docbook/DocBook.UI.Page.cls?KEY=GZCP_tables#GZCP_table_columns
I get this error:
ERROR: Compiling method/s: DrawYesNo
ERROR: UT.Zen.InterfaceLister.1(5) : MPP5646 : ##expression on '<ZDOMN>macroText+17^%occMessages' failed with an error: %2
TEXT: Write ##safeexpression($$macroText^%occMessages($lb("""Yes""")))
ERROR: UT.Zen.InterfaceLister.1(7) : MPP5646 : ##expression on '<ZDOMN>macroText+17^%occMessages' failed with an error: %2
TEXT: Write ##safeexpression($$macroText^%occMessages($lb("""No""")))
Here is my code:
<column colName="ReferralPSCDexist" header="PSCD?" OnDrawCell="DrawYesNo"/>
ClassMethod DrawYesNo(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) As %Status
{
// If data = 1 set to Yes, Else set to No
If (%query(pName)) {
Write $$$Text("Yes")
} Else {
Write $$$Text("No")
}
Quit $$$OK
}
Any idea what the issue maybe? Why would something straight out of the documentation not work or generate compile errors?