ORB3 ;SLC/CLA,WAT,TC - MAIN ROUTINE FOR OE/RR 3 NOTIFICATIONS ;Nov 18, 2020@09:02:55
Source file <ORB3.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 8 | ($$DUP,$$ENTITY,$$TMDEV,ADT,QUEUE,REGDEV)^ORB31 $$ONOFF^ORB3FN REGULAR^ORB3REG SPECIAL^ORB3SPEC USER^ORB3USER $$HOOK^ORBSMART ($$ORDERER,$$UNSIGNOR)^ORQOR2 (TEAMPR,TEAMPROV,TMSPT)^ORQPTQ1 |
Kernel | 4 | ($$FMADD,$$FMTE,$$HADD,$$NOW)^XLFDT $$REPLACE^XLFSTR ALERTDAT^XQALBUTL (DELETE,SETUP,USER)^XQALERT |
Scheduling | 3 | $$PRPT^SCAPMC $$START^SCMCMHTC ($$OUTPTAP,$$OUTPTPR)^SDUTL3 |
Registration | 2 | $$CVEDT^DGCV OERR^VADPT |
Toolkit | 1 | $$GET^XPAR |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN(ORN,ORBDFN,ORNUM,ORBADUZ,ORBPMSG,ORBPDATA,ORFORCE) | ;
|
|
ZTSK | ;
|
|
UTL(ORBU,ORN,ORBDFN,ORNUM,ORBADUZ,ORBPMSG,ORBPDATA,ORFORCE) | ;
|
|
START | ||
DOALERT | ; Entry point for alert logic outside of TaskMan
|
|
QUIT | ;
|
|
PKGDUZS | ;get DUZs from pkg-passed ORBADUZ() array
|
|
SPECDUZS | ;get DUZs rtn by SPECIAL^ORB3SPEC
|
|
TITLE | ;get provider recips
|
|
PRIMARY | ;
|
|
ATTEND | ;
|
|
TEAMS | ;
|
|
ORDERER | ;
|
|
ENTERBY | ;
|
|
PCMMPRIM | ;
|
|
PCMMASSC | ;
|
|
PCMMTEAM | ;
|
|
PCMMMHTC | ;
|
|
USER | ;should USER (ORBDUZ) be a recip
|
|
COMDUP | ; Combine XQADATA from existing alert(s) with new alert, delete existing alert
|
|
XQRESTOR | ; Restore XQA* variables saved off in COMDUP
|
Name | Field # of Occurrence |
---|---|
$$CVEDT^DGCV | DOALERT+37 |
$$DUP^ORB31 | EN+18 |
$$ENTITY^ORB31 | EN+4, DOALERT+12 |
$$TMDEV^ORB31 | TEAMS+15 |
ADT^ORB31 | DOALERT+19 |
QUEUE^ORB31 | EN+26, START+13, START+19 |
REGDEV^ORB31 | DOALERT+47, DOALERT+48, DOALERT+49 |
$$ONOFF^ORB3FN | EN+8 |
REGULAR^ORB3REG | DOALERT+24 |
SPECIAL^ORB3SPEC | DOALERT+25 |
USER^ORB3USER | USER+3 |
$$HOOK^ORBSMART | EN+11 |
$$ORDERER^ORQOR2 | ORDERER+4 |
$$UNSIGNOR^ORQOR2 | ORDERER+4 |
TEAMPR^ORQPTQ1 | ORDERER+20 |
TEAMPROV^ORQPTQ1 | TEAMS+10, ORDERER+32 |
TMSPT^ORQPTQ1 | TEAMS+3, ORDERER+22 |
$$PRPT^SCAPMC | PCMMTEAM+3 |
$$START^SCMCMHTC | PCMMMHTC+2 |
$$OUTPTAP^SDUTL3 | PCMMASSC+2 |
$$OUTPTPR^SDUTL3 | PCMMPRIM+2 |
OERR^VADPT | DOALERT+14 |
$$FMADD^XLFDT | START+8 |
$$FMTE^XLFDT | DOALERT+37 |
$$HADD^XLFDT | START+13, START+19 |
$$NOW^XLFDT | START+3, ORDERER+9, PCMMPRIM+2, PCMMASSC+2 |
$$REPLACE^XLFSTR | COMDUP+27 |
$$GET^XPAR | EN+6, DOALERT+40, DOALERT+41, DOALERT+42, DOALERT+43, DOALERT+44, TITLE+6 |
ALERTDAT^XQALBUTL | COMDUP+18 |
DELETE^XQALERT | COMDUP+33 |
SETUP^XQALERT | DOALERT+52, COMDUP+39 |
USER^XQALERT | COMDUP+11 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | ORDERER+9, ORDERER+10, ORDERER+11, ORDERER+13, ENTERBY+3, ENTERBY+4 |
^ORD(100.9 - [#100.9] | EN+7, EN+16, EN+22, START+1, START+12, START+18, DOALERT+7, DOALERT+8, DOALERT+9 |
^TMP("ORPCMM" | PCMMTEAM+5, PCMMTEAM+7! |
^TMP($J | COMDUP+10!, COMDUP+11, COMDUP+12, COMDUP+13, COMDUP+14, COMDUP+17!, COMDUP+18, COMDUP+19, COMDUP+20!, COMDUP+32 , COMDUP+40! |
^XTMP("ORBLOCK" | START+8*, START+11, START+17, QUIT+4, QUIT+5 |
^XTMP("ORBUSER" | QUIT+2! |
^XUSEC("ORES" | ORDERER+18, ORDERER+35 |
Name | Line Occurrences |
---|---|
ATTEND | TITLE+9 |
COMDUP | DOALERT+51 |
ENTERBY | TITLE+11 |
ORDERER | TITLE+7 |
PCMMASSC | TITLE+13 |
PCMMMHTC | TITLE+15 |
PCMMPRIM | TITLE+12 |
PCMMTEAM | TITLE+14 |
PKGDUZS | DOALERT+27 |
PRIMARY | TITLE+8 |
QUIT | START+22, DOALERT+15 |
SPECDUZS | DOALERT+26 |
START | EN+25, ZTSK+1 |
TEAMS | TITLE+10 |
TITLE | DOALERT+28 |
USER | PKGDUZS+7, SPECDUZS+6, PRIMARY+3, ATTEND+3, TEAMS+13, ORDERER+15, ORDERER+35, ENTERBY+5, PCMMPRIM+3, PCMMASSC+3 , PCMMTEAM+6, PCMMMHTC+3 |
XQRESTOR | COMDUP+37, COMDUP+41 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CVMRKR | DOALERT+37~*, DOALERT+38 |
DFN | DOALERT+14~*, DOALERT+37 |
>> DGPMA | EN+26, START+13, START+19 |
ORAID | COMDUP+2~, COMDUP+12*, COMDUP+13, COMDUP+14, COMDUP+18, COMDUP+32 |
ORBADT | DOALERT+2~, DOALERT+4*, DOALERT+16*, DOALERT+18, DOALERT+19, PRIMARY+1, PRIMARY+2, ATTEND+1, ATTEND+2 |
ORBADUZ | EN~, EN+11, EN+26, UTL~, START+13, START+19, DOALERT+27 |
ORBADUZ( | PKGDUZS+7, ORDERER+14! |
ORBASPEC | DOALERT+2~, DOALERT+25, DOALERT+26 |
ORBASPEC( | SPECDUZS+6 |
ORBATTD | DOALERT+1~, DOALERT+18*, DOALERT+19, DOALERT+25, ATTEND+3 |
ORBDEL | DOALERT+2~ |
ORBDESC | EN+21~, EN+22*, EN+26, START+2~, START+12*, START+13, START+18*, START+19 |
ORBDEV | DOALERT+1~, DOALERT+24, DOALERT+31, DOALERT+47 |
ORBDFN | EN~, EN+11, EN+18, EN+26, UTL~, START, START+11, START+13, START+17, START+19 , DOALERT+14, DOALERT+19, DOALERT+24, DOALERT+25, DOALERT+29, DOALERT+33, QUIT+4, QUIT+5, TEAMS+3, ORDERER+22 , PCMMPRIM+2, PCMMASSC+2, PCMMTEAM+3, PCMMMHTC+2, USER+3, COMDUP+13 |
ORBDI | DOALERT+2~ |
ORBDUP | EN+15~, EN+18*, EN+19 |
ORBDUZ | DOALERT+1~, PKGDUZS+7*, SPECDUZS+6*, PRIMARY+3*, ATTEND+3*, TEAMS+13*, ORDERER+4*, ORDERER+5, ORDERER+14*, ORDERER+18 , ORDERER+20, ORDERER+35*, ENTERBY+4*, ENTERBY+5, PCMMPRIM+2*, PCMMPRIM+3, PCMMASSC+2*, PCMMASSC+3, PCMMTEAM+6*, PCMMMHTC+2* , PCMMMHTC+3, USER+3, USER+4 |
ORBENT | EN+2~, EN+4*, EN+6, DOALERT+1~, DOALERT+12*, DOALERT+40, DOALERT+41, DOALERT+42, DOALERT+43, DOALERT+44 , TITLE+6 |
ORBFLAGS | DOALERT+3~, DOALERT+9*, DOALERT+10* |
ORBFLAGS( | DOALERT+10* |
ORBFLAGS("CD" | COMDUP+22, COMDUP+31 |
ORBFLAGS("ONPP" | DOALERT+51 |
ORBI | TEAMS+2~, TEAMS+5*, TEAMS+6, TEAMS+7, ORDERER+3~, ORDERER+24*, ORDERER+26 |
ORBID | START+2~, START+9*, START+10, START+11, START+16, QUIT+4 |
ORBIDX | DOALERT+3~, DOALERT+8*, DOALERT+9 |
ORBJ | TEAMS+2~, TEAMS+12*, TEAMS+13, ORDERER+3~, ORDERER+34*, ORDERER+35 |
ORBLOCK | START+2~, START+4*, START+14*, START+20*, START+22, QUIT+3 |
ORBLST | TEAMS+2~, TEAMS+3, ORDERER+3~, ORDERER+20 |
ORBLST( | TEAMS+5, TEAMS+6, TEAMS+7, ORDERER+24, ORDERER+26 |
ORBLST(1 | TEAMS+4, ORDERER+21 |
ORBLST2 | TEAMS+10~, ORDERER+32~ |
ORBLST2( | TEAMS+12, TEAMS+13, ORDERER+34, ORDERER+35 |
ORBLST2(1 | TEAMS+11, ORDERER+33 |
ORBN | EN+15~, EN+16*, EN+17, DOALERT+1~, DOALERT+7*, DOALERT+21, DOALERT+29, DOALERT+32, DOALERT+34, DOALERT+39 , COMDUP+13, COMDUP+14 |
ORBNOW | START+2~, START+3*, START+8 |
ORBPDATA | EN~, EN+11, EN+26, UTL~, START+9, START+13, START+19, DOALERT+6*, DOALERT+25, DOALERT+35 |
ORBPDUZ | PKGDUZS+1~, PKGDUZS+6*, PKGDUZS+7* |
ORBPI | ORDERER+3~, ORDERER+25*, ORDERER+26, ORDERER+29, ORDERER+30 |
ORBPLST | ORDERER+3~, ORDERER+22 |
ORBPLST( | ORDERER+25, ORDERER+26, ORDERER+29, ORDERER+30 |
ORBPLST(1 | ORDERER+23 |
ORBPMSG | EN~, EN+11, EN+18, EN+26, UTL~, START+13, START+19, DOALERT+5*, DOALERT+25, DOALERT+39 , DOALERT+46 |
ORBPRIM | DOALERT+1~, DOALERT+18*, DOALERT+19, DOALERT+25, PRIMARY+3 |
ORBPTM | ORDERER+3~, ORDERER+26*, ORDERER+27, ORDERER+28, ORDERER+32, ORDERER+35 |
ORBSDEV | DOALERT+2~, DOALERT+25, DOALERT+31, DOALERT+48 |
ORBSDUZ | SPECDUZS+1~, SPECDUZS+5*, SPECDUZS+6* |
ORBSMSG | DOALERT+2~, DOALERT+25 |
ORBTD | TEAMS+2~, TEAMS+15*, TEAMS+16, TEAMS+17, TEAMS+19 |
ORBTDEV | DOALERT+2~, DOALERT+49 |
ORBTDEV( | TEAMS+17* |
ORBTM | TEAMS+2~, TEAMS+6*, TEAMS+10, TEAMS+13, TEAMS+15, ORDERER+3~, ORDERER+26*, ORDERER+27 |
ORBTNAME | TEAMS+2~, TEAMS+6*, TEAMS+9, ORDERER+3~, ORDERER+29*, ORDERER+31 |
ORBTTYPE | TEAMS+2~, TEAMS+7*, TEAMS+9, ORDERER+3~, ORDERER+30*, ORDERER+31 |
ORBU | UTL~, UTL+1, START+7, DOALERT+20, DOALERT+24, DOALERT+25, QUIT+3, PKGDUZS+2, SPECDUZS+2, TITLE+2 , PRIMARY+1, PRIMARY+2, ATTEND+1, ATTEND+2, TEAMS+1, TEAMS+8, TEAMS+18, ORDERER+2, ORDERER+19, ORDERER+31 , ENTERBY+1, PCMMPRIM+1, PCMMASSC+1, PCMMTEAM+2, PCMMMHTC+1, USER+3 |
ORBU( | DOALERT+21*, DOALERT+22*, DOALERT+23*, PKGDUZS+3*, PKGDUZS+4*, PKGDUZS+5*, SPECDUZS+3*, SPECDUZS+4*, TITLE+3*, TITLE+4* , PRIMARY+1*, PRIMARY+2*, ATTEND+1*, ATTEND+2*, TEAMS+1*, TEAMS+9*, TEAMS+19*, ORDERER+2*, ORDERER+19*, ORDERER+31* , ENTERBY+1*, PCMMPRIM+1*, PCMMASSC+1*, PCMMTEAM+2*, PCMMMHTC+1* |
ORBUI | DOALERT+2~, DOALERT+4*, DOALERT+21*, DOALERT+22*, DOALERT+23*, DOALERT+24, DOALERT+25, PKGDUZS+3*, PKGDUZS+4*, PKGDUZS+5* , SPECDUZS+3*, SPECDUZS+4*, TITLE+3*, TITLE+4*, PRIMARY+1*, PRIMARY+2*, ATTEND+1*, ATTEND+2*, TEAMS+1*, TEAMS+9* , TEAMS+19*, ORDERER+2*, ORDERER+19*, ORDERER+31*, ENTERBY+1*, PCMMPRIM+1*, PCMMASSC+1*, PCMMTEAM+2*, PCMMMHTC+1*, USER+3 |
ORBXQAID | DOALERT+1~, DOALERT+29*, DOALERT+50 |
ORDATA | COMDUP+9~, COMDUP+29*, COMDUP+35 |
>> ORDGPMA | DOALERT+19 |
ORDUZ | COMDUP+2~, COMDUP+8*, COMDUP+11, COMDUP+28, COMDUP+32, COMDUP+36, COMDUP+39 |
ORFORCE | EN~, EN+26, UTL~, START+13, START+19 |
ORFORCE( | USER+4 |
ORGEN | COMDUP+9~, COMDUP+21, COMDUP+30*, COMDUP+31*, COMDUP+34 |
ORHOOK | EN+11~*, EN+12 |
ORIDX | COMDUP+23~, COMDUP+26* |
ORN | EN~, EN+3*, EN+7, EN+8, EN+11, EN+16, EN+17, EN+18, EN+22, EN+25 , EN+26, UTL~, START, START+1, START+11, START+12, START+13, START+17, START+18, START+19 , DOALERT+7, DOALERT+8, DOALERT+9, DOALERT+16, DOALERT+19, DOALERT+24, DOALERT+25, DOALERT+29, DOALERT+37, DOALERT+40 , DOALERT+41, DOALERT+42, DOALERT+43, DOALERT+44, DOALERT+46, QUIT+4, QUIT+5, PKGDUZS+4, TITLE+6, ORDERER+4 , ORDERER+18, USER+3, COMDUP+13 |
ORNEW | COMDUP+23~, COMDUP+24*, COMDUP+26*, COMDUP+27*, COMDUP+28 |
ORNUM | EN~, EN+4, EN+11, EN+18, EN+26, UTL~, START+13, START+19, DOALERT+6, DOALERT+12 , DOALERT+23, DOALERT+25, ORDERER+1, ORDERER+4, ORDERER+8, ORDERER+9, ORDERER+10, ORDERER+11, ORDERER+13, ENTERBY+2 , ENTERBY+3, ENTERBY+4, USER+3 |
ORODATA | COMDUP+2~, COMDUP+35*, COMDUP+39 |
OROLD | COMDUP+23~, COMDUP+24*, COMDUP+26 |
ORPCMM | PCMMTEAM+1~, PCMMTEAM+3* |
ORPCMMDZ | PCMMTEAM+1~, PCMMTEAM+4*, PCMMTEAM+5*, PCMMTEAM+6 |
ORPTNAM | DOALERT+1~, DOALERT+36*, DOALERT+38 |
ORQUD | EN+24~*, EN+25*, EN+26 |
ORSPEC | COMDUP+23~, COMDUP+27 |
ORSPEC( | COMDUP+25* |
ORTRDAT | ORDERER+8~, ORDERER+9*, ORDERER+10 |
ORTRNUM | ORDERER+8~, ORDERER+10*, ORDERER+11, ORDERER+12, ORDERER+13 |
ORTRREC | ORDERER+8~, ORDERER+12*, ORDERER+13*, ORDERER+14 |
ORTRREC2 | ORDERER+8~, ORDERER+11*, ORDERER+12, ORDERER+14 |
ORVAR | COMDUP+2~, COMDUP+3*, COMDUP+4, COMDUP+5, COMDUP+6, COMDUP+7, XQRESTOR+1*, XQRESTOR+2*, XQRESTOR+3, XQRESTOR+4 |
ORVAR( | COMDUP+5*, COMDUP+6*, XQRESTOR+2, XQRESTOR+3, XQRESTOR+4 |
ORVAR("XQA" | COMDUP+28!, COMDUP+36! |
ORVAR("XQADATA" | COMDUP+24, COMDUP+31 |
ORVAR("XQAMSG" | COMDUP+14 |
ORVAR(0 | COMDUP+7*, XQRESTOR+1 |
ORY | DOALERT+2~ |
RSLT | DOALERT+37~* |
TITLES | TITLE+1~, TITLE+6*, TITLE+7, TITLE+8, TITLE+9, TITLE+10, TITLE+11, TITLE+12, TITLE+13, TITLE+14 , TITLE+15 |
U | EN+17, EN+22, START+8, START+12, START+18, DOALERT+9, DOALERT+18, DOALERT+21, DOALERT+29, DOALERT+32 , DOALERT+34, DOALERT+37, DOALERT+39, TEAMS+6, TEAMS+7, TEAMS+13, TEAMS+15, ORDERER+14, ORDERER+26, ORDERER+29 , ORDERER+30, ORDERER+35, ENTERBY+4, COMDUP+13, COMDUP+14, COMDUP+18, COMDUP+24, COMDUP+25, COMDUP+26, COMDUP+29 , COMDUP+32, COMDUP+35 |
VA | QUIT+1! |
VA("BID" | DOALERT+15, DOALERT+38 |
VA200 | DOALERT+14*, QUIT+1! |
VADM | QUIT+1! |
VADM(1 | DOALERT+15, DOALERT+22, DOALERT+36 |
VAERR | QUIT+1! |
VAIN | QUIT+1! |
VAIN(11 | DOALERT+18 |
VAIN(2 | DOALERT+18 |
XQA | DOALERT+24, DOALERT+31, DOALERT+52, QUIT+1!, USER+3, COMDUP+38~ |
XQA( | ORDERER+14!, USER+4*, COMDUP+8, COMDUP+39* |
XQAARCH | DOALERT+40*, QUIT+1!, COMDUP+16~ |
XQACNDEL | DOALERT+44*, DOALERT+45*, QUIT+1!, COMDUP+16~ |
XQADATA | DOALERT+35*, QUIT+1!, COMDUP+15~, COMDUP+19*, COMDUP+21, COMDUP+24, COMDUP+29, COMDUP+31, COMDUP+35, COMDUP+38~ , COMDUP+39* |
XQADFN | DOALERT+33*, QUIT+1!, COMDUP+16~ |
XQAFLG | DOALERT+32*, DOALERT+34, QUIT+1!, COMDUP+16~ |
XQAID | DOALERT+50*, QUIT+1!, COMDUP+15~, COMDUP+32* |
XQAKILL | COMDUP+15~, COMDUP+32* |
XQAMSG | DOALERT+38*, DOALERT+39*, QUIT+1!, COMDUP+16~ |
XQAOPT | COMDUP+15~ |
XQAREVUE | DOALERT+43*, QUIT+1!, COMDUP+16~ |
XQAROU | DOALERT+34*, QUIT+1!, COMDUP+15~ |
XQASUPV | DOALERT+41*, QUIT+1!, COMDUP+16~ |
XQASURO | DOALERT+42*, QUIT+1!, COMDUP+16~ |
>> XQATEXT | DOALERT+46* |
XQAUSER | COMDUP+15~, COMDUP+32* |
>> ZTREQ | ZTSK+2* |