A
atuldalvi123
Guest
I changed it to find last but still not able to find the actual task no, showing wrong task no. My code is as below IF Pevent = "completetaskbefore" THEN DO: RUN rtb/proxy/p/rtbGetObjectByRowid.p (INPUT Pcontext, OUTPUT TABLE-HANDLE hObj). hObjBuf = hObj
EFAULT-BUFFER-HANDLE. hObjBuf:FIND-FIRST. RUN rtb/proxy/p/rtbGetVersionByRowid.p (INPUT hObjBuf:
bjVersionRowid, OUTPUT TABLE-HANDLE hVer). hVerBuf = hVer
EFAULT-BUFFER-HANDLE. hVerBuf:FIND-LAST. message rtb_ver.task-num view-as alert-box. /********/ RUN rtb/proxy/p/rtbGetTask.p (INPUT hVerBuf::task-num, OUTPUT TABLE-HANDLE hTsk). hTskBuf = hTsk
EFAULT-BUFFER-HANDLE. hTskBuf:FIND-FIRST. DO i = 1 TO hTskBuf:NUM-FIELDS: MESSAGE hTskBuf:BUFFER-FIELD(i):NAME hTskBuf:BUFFER-FIELD(i):BUFFER-VALUE VIEW-AS ALERT-BOX. END. /*********/ END. I want to read the actual task no, summary and description dynamically.
Continue reading...
Continue reading...