RMPR PRINT ITEM (537)    SORT TEMPLATE (.401)

Name Value
NAME RMPR PRINT ITEM
DESCRIPTION
Sorts Prosthetics Item file by short description.
SORT FIELD DATA
  • FILE OR SUBFILE NO.:   661
    GET CODE:   X DPP(1,"OVF0",9.2) S X=$P(Y(101),U,2) S D0=I(0,0) I D0>0 S DISX(1)=X
    QUERY CONDITION:   I DISX(1)'=""
    DESCRIPTION OF SORT:   .01:.05 not null
    DATA TYPE FOR SORTING:   FREE TEXT
    COMPUTED FIELD CODE:   X DPP(1,"OVF0",9.2) S X=$P(Y(101),U,2) S D0=I(0,0) I D0>0 S DISX(1)=X
    OVERFLOW DATA:
    • FIRST SUBSCRIPT FOR OVERFLOW:   OVF0
      SECOND SUBSCRIPT FOR OVERFLOW:   9.2
      OVERFLOW CODE:   S I(0,0)=$S($D(D0):D0,1:""),Y(1)=$S($D(^RMPR(661,D0,0)):^(0),1:""),D0=$P(Y(1),U,1) S:'$D(^PRC(441,+D0,0)) D0=-1 S Y(101)=$S($D(^PRC(441,D0,0)):^(0),1:"")
    FIELD NAME:   .01:.05
    SORT QUALIFIERS BEFORE FIELD:   @"
DATE CREATED 1991-02-21 09:10:00
FILE PROS ITEM MASTER