[progress Communities] [progress Openedge Abl] Forum Post: Re: Rtb Events Api ( Rtb_events.p )

  • Thread starter Thread starter atuldalvi123
  • Start date Start date
Status
Not open for further replies.
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:DEFAULT-BUFFER-HANDLE. hObjBuf:FIND-FIRST. RUN rtb/proxy/p/rtbGetVersionByRowid.p (INPUT hObjBuf::objVersionRowid, OUTPUT TABLE-HANDLE hVer). hVerBuf = hVer:DEFAULT-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:DEFAULT-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...
 
Status
Not open for further replies.
Back
Top