fixed nul Problems processing
This commit is contained in:
parent
c0f8b2738c
commit
2740f017cc
|
@ -30,10 +30,10 @@ EXTRACT(IPXML,DFN,OUTXML) ; EXTRACT PROBLEMS INTO PROVIDED XML TEMPLATE
|
|||
;
|
||||
N RPCRSLT,J,K,PTMP,X,VMAP,TBUF
|
||||
D LIST^ORQQPL3(.RPCRSLT,DFN,"") ; CALL THE PROBLEM LIST RPC
|
||||
I '$D(RPCRSLT(1)) D ; RPC RETURNS NULL
|
||||
I '$D(RPCRSLT(1)) D Q ; RPC RETURNS NULL
|
||||
. W "NULL RESULT FROM LIST^ORQQPL3 ",!
|
||||
. S @OUTXML@(0)=0
|
||||
. Q
|
||||
. ; Q
|
||||
ZWR RPCRSLT
|
||||
S TVMAP=$NA(^TMP("GPLCCR",$J,"PROBVALS"))
|
||||
S TARYTMP=$NA(^TMP("GPLCCR",$J,"PROBARYTMP"))
|
||||
|
|
Loading…
Reference in New Issue