I try to get tickets, using this
NSArchiveAgent agent;
NSArchiveListItem[] result = agent.GetArchiveListByColumns2 ("FindTicket", "ticketId,title,status,person/personId", "", "ticketId>'0'", "ticket", 0, 200);
printLine ("Row count: " + result.length().toString());
foreach (NSArchiveListItem i in result) {
Map col = i.GetColumnData();
col.first();
while (!col.eof()) {
print(col.getKey() + ": " + col.getVal() +" - ");
col.next();
}
}
But it only seem to return open tickets.
Why is that - what am I missing?
Alle Svar (2)
You need to explictely set the ticketdisplayclosed entity
https://docs.superoffice.com/en/api/netserver/archive-providers/reference/FindTicket.html
19 t, 31 m siden | 11:04 a.m.
Legg til svar
info
Vennligst logg inn for å skrive et svar.