RT OVER BY DIV BY NAME (233)    SORT TEMPLATE (.401)

Name Value
NAME RT OVER BY DIV BY NAME
SORT FIELD DATA
  • CROSS REFERENCE DATA:   ^RT("AC",^RT(^2
  • COMPUTED FIELD CODE:   X DPP(2,"OVF0",9.2) S D0=$P(Y(101),U,2) S:'$D(^SC(+D0,0)) D0=-1 S Y(201)=$S($D(^SC(D0,0)):^(0),1:"") S X=$S('$D(^DIC(4,+$P(Y(201),U,4),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) I D0>0 S X(2)=X
    FROM VALUE INTERNAL:   @z
    TO VALUE INTERNAL:   Z
  • COMPUTED FIELD CODE:   X DPP(3,"OVF0",9.2) S X=$P(Y(1),U,1),C=$S(X="":",",'$D(@(U_$P(X,";",2)_"0)")):",",1:$P(^(0),U,2)),X=$S(X="":X,'$D(^(+X,0)):"",1:$P(^(0),U,1)) I C'="," S Y=X,C=$P(^DD(+C,.01,0),U,2) D:X]"" Y^DIQ:C'["D" S X=Y,C="," I D0>0 S X(3)=X
DATE CREATED 1987-03-18 00:00:00
FILE RECORDS