- IBINI01N ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(350.21) 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(350.21,.03,"DT")
- ;;=2930810
- ;;^DD(350.21,.04,0)
- ;;=PASSED TO AR?^S^0:NO;1:YES;^0;4^Q
- ;;^DD(350.21,.04,21,0)
- ;;=^^2^2^2930810^
- ;;^DD(350.21,.04,21,1,0)
- ;;=This field is used to determine if IB actions with this status have
- ;;^DD(350.21,.04,21,2,0)
- ;;=already been passed to the Accounts Receivable module.
- ;;^DD(350.21,.04,"DT")
- ;;=2930810
- ;;^DD(350.21,.05,0)
- ;;=CANCELLED?^S^0:NO;1:YES;^0;5^Q
- ;;^DD(350.21,.05,21,0)
- ;;=^^2^2^2930810^
- ;;^DD(350.21,.05,21,1,0)
- ;;=This field is used to determine if IB actions with this status have
- ;;^DD(350.21,.05,21,2,0)
- ;;=been cancelled.
- ;;^DD(350.21,.05,"DT")
- ;;=2930810
- ;;^DD(350.21,.06,0)
- ;;=ON HOLD?^S^0:NO;1:YES;^0;6^Q
- ;;^DD(350.21,.06,21,0)
- ;;=^^2^2^2930810^
- ;;^DD(350.21,.06,21,1,0)
- ;;=This field is used to determine if IB actions are being held in the
- ;;^DD(350.21,.06,21,2,0)
- ;;=Integrated Billing module waiting to be passed to Accounts Receivable.
- ;;^DD(350.21,.06,"DT")
- ;;=2930810
- IBINI01N ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(350.21)
- 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(350.21,.03,"DT")
- +2 ;;=2930810
- +3 ;;^DD(350.21,.04,0)
- +4 ;;=PASSED TO AR?^S^0:NO;1:YES;^0;4^Q
- +5 ;;^DD(350.21,.04,21,0)
- +6 ;;=^^2^2^2930810^
- +7 ;;^DD(350.21,.04,21,1,0)
- +8 ;;=This field is used to determine if IB actions with this status have
- +9 ;;^DD(350.21,.04,21,2,0)
- +10 ;;=already been passed to the Accounts Receivable module.
- +11 ;;^DD(350.21,.04,"DT")
- +12 ;;=2930810
- +13 ;;^DD(350.21,.05,0)
- +14 ;;=CANCELLED?^S^0:NO;1:YES;^0;5^Q
- +15 ;;^DD(350.21,.05,21,0)
- +16 ;;=^^2^2^2930810^
- +17 ;;^DD(350.21,.05,21,1,0)
- +18 ;;=This field is used to determine if IB actions with this status have
- +19 ;;^DD(350.21,.05,21,2,0)
- +20 ;;=been cancelled.
- +21 ;;^DD(350.21,.05,"DT")
- +22 ;;=2930810
- +23 ;;^DD(350.21,.06,0)
- +24 ;;=ON HOLD?^S^0:NO;1:YES;^0;6^Q
- +25 ;;^DD(350.21,.06,21,0)
- +26 ;;=^^2^2^2930810^
- +27 ;;^DD(350.21,.06,21,1,0)
- +28 ;;=This field is used to determine if IB actions are being held in the
- +29 ;;^DD(350.21,.06,21,2,0)
- +30 ;;=Integrated Billing module waiting to be passed to Accounts Receivable.
- +31 ;;^DD(350.21,.06,"DT")
- +32 ;;=2930810