SDM1T5 ; ;02/09/12
S X=DG(DQ),DIC=DIE;;;;;;Build 21
D EVENT^IVMPLOG(DA)
S X=DG(DQ),DIC=DIE
S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
S X=DG(DQ),DIC=DIE
I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".131;" D AVAFC^VAFCDD01(DA)
S X=DG(DQ),DIC=DIE
D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
I $D(DE(10))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET
SDM1T5 ; ;02/09/12
+1 ;;;;;;Build 21
SET X=DG(DQ)
SET DIC=DI
+2 DO EVENT^IVMPLOG(DA)
+3 SET X=DG(DQ)
SET DIC=DIE
+4 SET IVMX=X
SET X="IVMPXFR"
XECUTE ^%ZOSF("TEST")
IF $TEST
DO DPT^IVMPXFR
SET X=IVMX
KILL IVMX
+5 SET X=DG(DQ)
SET DIC=DIE
+6 IF ($TEXT(AVAFC^VAFCDD01)'="")
SET VAFCF=".131;"
DO AVAFC^VAFCDD01(DA)
+7 SET X=DG(DQ)
SET DIC=DIE
+8 IF ($TEXT(ADGRU^DGRUDD01)'="")
DO ADGRU^DGRUDD01(DA)
+9 IF $DATA(DE(10))'[0!(^DD(DP,DIFLD,"AUDIT")'="e")
SET X=DG(DQ)
SET DIIX=3_U_DIFLD
DO AUDIT^DIET