- IBINI07P ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(357.2) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
- Q Q
- ;;^DD(357.2,2,0)
- ;;=SUBCOLUMN NUMBER^357.22I^^2;0
- ;;^DD(357.2,2,21,0)
- ;;=^^4^4^2930527^
- ;;^DD(357.2,2,21,1,0)
- ;;=
- ;;^DD(357.2,2,21,2,0)
- ;;=A subcolumn contains one field of the entry on the list. The subcolumn
- ;;^DD(357.2,2,21,3,0)
- ;;=order is the order, from left to right, that the subcolumns will appear
- ;;^DD(357.2,2,21,4,0)
- ;;=in.
- ;;^DD(357.2,2,"DT")
- ;;=2930413
- ;;^DD(357.21,0)
- ;;=LIST COLUMN SUB-FIELD^^.04^4
- ;;^DD(357.21,0,"DIK")
- ;;=IBXF2
- ;;^DD(357.21,0,"DT")
- ;;=2930331
- ;;^DD(357.21,0,"ID","WRITE")
- ;;=W " COLUMN #",$P($G(^(0)),U)
- ;;^DD(357.21,0,"IX","B",357.21,.01)
- ;;=
- ;;^DD(357.21,0,"NM","LIST COLUMN")
- ;;=
- ;;^DD(357.21,0,"UP")
- ;;=357.2
- ;;^DD(357.21,.01,0)
- ;;=LIST COLUMN NUMBER^MNJ1,0^^0;1^K:+X'=X!(X>4)!(X<1)!(X?.E1"."1N.N) X
- ;;^DD(357.21,.01,1,0)
- ;;=^.1
- ;;^DD(357.21,.01,1,1,0)
- ;;=357.21^B
- ;;^DD(357.21,.01,1,1,1)
- ;;=S ^IBE(357.2,DA(1),1,"B",$E(X,1,30),DA)=""
- ;;^DD(357.21,.01,1,1,2)
- ;;=K ^IBE(357.2,DA(1),1,"B",$E(X,1,30),DA)
- ;;^DD(357.21,.01,3)
- ;;=You can specify the position and height of up to 4 columns. Defaults will be used where needed.
- ;;^DD(357.21,.01,21,0)
- ;;=^^2^2^2930722^^
- ;;^DD(357.21,.01,21,1,0)
- ;;=The order that the columns will be filled. Column 1 will first be filled
- ;;^DD(357.21,.01,21,2,0)
- ;;=with items, then column 2, etc.
- ;;^DD(357.21,.01,"DT")
- ;;=2930802
- ;;^DD(357.21,.02,0)
- ;;=LIST COLUMN'S STARTING ROW^NJ3,0XO^^0;2^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(357.21,.02,.1)
- ;;=WHAT ROW SHOULD THE LIST COLUMN START IN? (OPTIONAL)
- ;;^DD(357.21,.02,2)
- ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
- ;;^DD(357.21,.02,2.1)
- ;;=S:+Y=Y Y=+Y+1
- ;;^DD(357.21,.02,3)
- ;;=What row should the column begin in?
- ;;^DD(357.21,.02,21,0)
- ;;=^^2^2^2930715^^^
- ;;^DD(357.21,.02,21,1,0)
- ;;=The row, relative to the block, that the column should begin in. This is
- ;;^DD(357.21,.02,21,2,0)
- ;;=optional, since default values can be used.
- ;;^DD(357.21,.02,23,0)
- ;;=^^4^4^2930715^^
- ;;^DD(357.21,.02,23,1,0)
- ;;=The internal representation starts at 0, the external representation
- ;;^DD(357.21,.02,23,2,0)
- ;;=starts at 1. The difference is because for computing the form image
- ;;^DD(357.21,.02,23,3,0)
- ;;=it is convenient to work with displacements from the top left-hand
- ;;^DD(357.21,.02,23,4,0)
- ;;=corner. However, users do not want to work with row=0 or column=0.
- ;;^DD(357.21,.02,"DT")
- ;;=2930802
- ;;^DD(357.21,.03,0)
- ;;=LIST COLUMN'S STARTING COLUMN^NJ3,0XO^^0;3^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(357.21,.03,.1)
- ;;=WHAT BLOCK COLUMN SHOULD THE LIST COLUMN START IN? (OPTIONAL)
- ;;^DD(357.21,.03,2)
- ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
- ;;^DD(357.21,.03,2.1)
- ;;=S:+Y=Y Y=+Y+1
- ;;^DD(357.21,.03,3)
- ;;=At what block column should the list column begin at? The first subcolumn of the list column will start one character to the right of this.
- ;;^DD(357.21,.03,21,0)
- ;;=^^4^4^2940216^
- ;;^DD(357.21,.03,21,1,0)
- ;;=
- ;;^DD(357.21,.03,21,2,0)
- ;;=The column (# of characters to the right) that the list column should
- ;;^DD(357.21,.03,21,3,0)
- ;;=begin in, relative to the block. It is optional, since a default value can
- ;;^DD(357.21,.03,21,4,0)
- ;;=be used.
- ;;^DD(357.21,.03,23,0)
- ;;=^^4^4^2930715^
- ;;^DD(357.21,.03,23,1,0)
- ;;=The internal representation starts at 0, the external representation
- ;;^DD(357.21,.03,23,2,0)
- ;;=starts at 1. The difference is because for computing the form image
- ;;^DD(357.21,.03,23,3,0)
- ;;=it is convenient to work with displacements from the top left-hand
- ;;^DD(357.21,.03,23,4,0)
- ;;=corner. However, users do not want to work with row=0 or column=0.
- IBINI07P ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(357.2)
- QUIT
- FOR I=1:2
- SET X=$TEXT(Q+I)
- IF X=""
- QUIT
- SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
- SET X=$EXTRACT(X,4,999)
- IF $ASCII(Y)=126
- SET I=I+1
- SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
- IF $ASCII(Y)=61
- SET Y=$EXTRACT(Y,2,999)
- XECUTE NO
- IF '$TEST
- SET @X=Y
- Q QUIT
- +1 ;;^DD(357.2,2,0)
- +2 ;;=SUBCOLUMN NUMBER^357.22I^^2;0
- +3 ;;^DD(357.2,2,21,0)
- +4 ;;=^^4^4^2930527^
- +5 ;;^DD(357.2,2,21,1,0)
- +6 ;;=
- +7 ;;^DD(357.2,2,21,2,0)
- +8 ;;=A subcolumn contains one field of the entry on the list. The subcolumn
- +9 ;;^DD(357.2,2,21,3,0)
- +10 ;;=order is the order, from left to right, that the subcolumns will appear
- +11 ;;^DD(357.2,2,21,4,0)
- +12 ;;=in.
- +13 ;;^DD(357.2,2,"DT")
- +14 ;;=2930413
- +15 ;;^DD(357.21,0)
- +16 ;;=LIST COLUMN SUB-FIELD^^.04^4
- +17 ;;^DD(357.21,0,"DIK")
- +18 ;;=IBXF2
- +19 ;;^DD(357.21,0,"DT")
- +20 ;;=2930331
- +21 ;;^DD(357.21,0,"ID","WRITE")
- +22 ;;=W " COLUMN #",$P($G(^(0)),U)
- +23 ;;^DD(357.21,0,"IX","B",357.21,.01)
- +24 ;;=
- +25 ;;^DD(357.21,0,"NM","LIST COLUMN")
- +26 ;;=
- +27 ;;^DD(357.21,0,"UP")
- +28 ;;=357.2
- +29 ;;^DD(357.21,.01,0)
- +30 ;;=LIST COLUMN NUMBER^MNJ1,0^^0;1^K:+X'=X!(X>4)!(X<1)!(X?.E1"."1N.N) X
- +31 ;;^DD(357.21,.01,1,0)
- +32 ;;=^.1
- +33 ;;^DD(357.21,.01,1,1,0)
- +34 ;;=357.21^B
- +35 ;;^DD(357.21,.01,1,1,1)
- +36 ;;=S ^IBE(357.2,DA(1),1,"B",$E(X,1,30),DA)=""
- +37 ;;^DD(357.21,.01,1,1,2)
- +38 ;;=K ^IBE(357.2,DA(1),1,"B",$E(X,1,30),DA)
- +39 ;;^DD(357.21,.01,3)
- +40 ;;=You can specify the position and height of up to 4 columns. Defaults will be used where needed.
- +41 ;;^DD(357.21,.01,21,0)
- +42 ;;=^^2^2^2930722^^
- +43 ;;^DD(357.21,.01,21,1,0)
- +44 ;;=The order that the columns will be filled. Column 1 will first be filled
- +45 ;;^DD(357.21,.01,21,2,0)
- +46 ;;=with items, then column 2, etc.
- +47 ;;^DD(357.21,.01,"DT")
- +48 ;;=2930802
- +49 ;;^DD(357.21,.02,0)
- +50 ;;=LIST COLUMN'S STARTING ROW^NJ3,0XO^^0;2^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- +51 ;;^DD(357.21,.02,.1)
- +52 ;;=WHAT ROW SHOULD THE LIST COLUMN START IN? (OPTIONAL)
- +53 ;;^DD(357.21,.02,2)
- +54 ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
- +55 ;;^DD(357.21,.02,2.1)
- +56 ;;=S:+Y=Y Y=+Y+1
- +57 ;;^DD(357.21,.02,3)
- +58 ;;=What row should the column begin in?
- +59 ;;^DD(357.21,.02,21,0)
- +60 ;;=^^2^2^2930715^^^
- +61 ;;^DD(357.21,.02,21,1,0)
- +62 ;;=The row, relative to the block, that the column should begin in. This is
- +63 ;;^DD(357.21,.02,21,2,0)
- +64 ;;=optional, since default values can be used.
- +65 ;;^DD(357.21,.02,23,0)
- +66 ;;=^^4^4^2930715^^
- +67 ;;^DD(357.21,.02,23,1,0)
- +68 ;;=The internal representation starts at 0, the external representation
- +69 ;;^DD(357.21,.02,23,2,0)
- +70 ;;=starts at 1. The difference is because for computing the form image
- +71 ;;^DD(357.21,.02,23,3,0)
- +72 ;;=it is convenient to work with displacements from the top left-hand
- +73 ;;^DD(357.21,.02,23,4,0)
- +74 ;;=corner. However, users do not want to work with row=0 or column=0.
- +75 ;;^DD(357.21,.02,"DT")
- +76 ;;=2930802
- +77 ;;^DD(357.21,.03,0)
- +78 ;;=LIST COLUMN'S STARTING COLUMN^NJ3,0XO^^0;3^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- +79 ;;^DD(357.21,.03,.1)
- +80 ;;=WHAT BLOCK COLUMN SHOULD THE LIST COLUMN START IN? (OPTIONAL)
- +81 ;;^DD(357.21,.03,2)
- +82 ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
- +83 ;;^DD(357.21,.03,2.1)
- +84 ;;=S:+Y=Y Y=+Y+1
- +85 ;;^DD(357.21,.03,3)
- +86 ;;=At what block column should the list column begin at? The first subcolumn of the list column will start one character to the right of this.
- +87 ;;^DD(357.21,.03,21,0)
- +88 ;;=^^4^4^2940216^
- +89 ;;^DD(357.21,.03,21,1,0)
- +90 ;;=
- +91 ;;^DD(357.21,.03,21,2,0)
- +92 ;;=The column (# of characters to the right) that the list column should
- +93 ;;^DD(357.21,.03,21,3,0)
- +94 ;;=begin in, relative to the block. It is optional, since a default value can
- +95 ;;^DD(357.21,.03,21,4,0)
- +96 ;;=be used.
- +97 ;;^DD(357.21,.03,23,0)
- +98 ;;=^^4^4^2930715^
- +99 ;;^DD(357.21,.03,23,1,0)
- +100 ;;=The internal representation starts at 0, the external representation
- +101 ;;^DD(357.21,.03,23,2,0)
- +102 ;;=starts at 1. The difference is because for computing the form image
- +103 ;;^DD(357.21,.03,23,3,0)
- +104 ;;=it is convenient to work with displacements from the top left-hand
- +105 ;;^DD(357.21,.03,23,4,0)
- +106 ;;=corner. However, users do not want to work with row=0 or column=0.