Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PSGWI036

PSGWI036.m

Go to the documentation of this file.
  1. PSGWI036 ; ; 04-JAN-1994
  1. ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
  1. 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
  1. Q Q
  1. ;;^UTILITY(U,$J,"OPT",181,1,0)
  1. ;;=^^2^2^2930827^^^^
  1. ;;^UTILITY(U,$J,"OPT",181,1,1,0)
  1. ;;= Allows the user to initially define the Areas of Use, and the wards
  1. ;;^UTILITY(U,$J,"OPT",181,1,2,0)
  1. ;;= and services within the area.
  1. ;;^UTILITY(U,$J,"OPT",181,25)
  1. ;;=AOU^PSGWEE
  1. ;;^UTILITY(U,$J,"OPT",181,"U")
  1. ;;=CREATE THE AREA OF USE
  1. ;;^UTILITY(U,$J,"OPT",182,0)
  1. ;;=PSGW PURGE INVENTORY^Purge Old Inventories from PSI(58.19,AINV)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",182,1,0)
  1. ;;=3^^3^3^2930518^^
  1. ;;^UTILITY(U,$J,"OPT",182,1,1,0)
  1. ;;=This option purges the ^PSI(58.19,"AINV") global. Inventory information
  1. ;;^UTILITY(U,$J,"OPT",182,1,2,0)
  1. ;;=that is over 100 days old is removed. The program is automatically
  1. ;;^UTILITY(U,$J,"OPT",182,1,3,0)
  1. ;;=queued and is transparent to the users of the system.
  1. ;;^UTILITY(U,$J,"OPT",182,25)
  1. ;;=PSGWKINV
  1. ;;^UTILITY(U,$J,"OPT",182,200)
  1. ;;=2911012.23^^1D
  1. ;;^UTILITY(U,$J,"OPT",182,"U")
  1. ;;=PURGE OLD INVENTORIES FROM PSI
  1. ;;^UTILITY(U,$J,"OPT",183,0)
  1. ;;=PSGW BACKORDER IN^Enter Backorders^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",183,1,0)
  1. ;;=^^3^3^2890627^^^^
  1. ;;^UTILITY(U,$J,"OPT",183,1,1,0)
  1. ;;=Used to create backorders for items stocked in an AOU. User must
  1. ;;^UTILITY(U,$J,"OPT",183,1,2,0)
  1. ;;=enter item, AOU, inventory date, and current backorder (amount
  1. ;;^UTILITY(U,$J,"OPT",183,1,3,0)
  1. ;;=to back order).
  1. ;;^UTILITY(U,$J,"OPT",183,25)
  1. ;;=PSGWBOE
  1. ;;^UTILITY(U,$J,"OPT",183,30)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",183,31)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",183,50)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",183,51)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",183,"U")
  1. ;;=ENTER BACKORDERS
  1. ;;^UTILITY(U,$J,"OPT",184,0)
  1. ;;=PSGW RETURN ITEMS^Return Items for AOU^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",184,1,0)
  1. ;;=^^1^1^2930412^^^^
  1. ;;^UTILITY(U,$J,"OPT",184,1,1,0)
  1. ;;=Used to record items returned from an AOU.
  1. ;;^UTILITY(U,$J,"OPT",184,25)
  1. ;;=PSGWRI
  1. ;;^UTILITY(U,$J,"OPT",184,"U")
  1. ;;=RETURN ITEMS FOR AOU
  1. ;;^UTILITY(U,$J,"OPT",185,0)
  1. ;;=PSGW SITE^Site Parameters^^R^^PSGW PARAM^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",185,1,0)
  1. ;;=^^4^4^2930602^^^^
  1. ;;^UTILITY(U,$J,"OPT",185,1,1,0)
  1. ;;=Allows user to set site parameters for Automatic Replenishment package.
  1. ;;^UTILITY(U,$J,"OPT",185,1,2,0)
  1. ;;=A site parameter called AR/WS AMIS FLAG controls WHEN the collection of
  1. ;;^UTILITY(U,$J,"OPT",185,1,3,0)
  1. ;;=AMIS data begins. Read all available documentation before setting this
  1. ;;^UTILITY(U,$J,"OPT",185,1,4,0)
  1. ;;=parameter!
  1. ;;^UTILITY(U,$J,"OPT",185,25)
  1. ;;=SITE^PSGWEE
  1. ;;^UTILITY(U,$J,"OPT",185,30)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",185,31)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",185,50)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",185,51)
  1. ;;=
  1. ;;^UTILITY(U,$J,"OPT",185,"U")
  1. ;;=SITE PARAMETERS
  1. ;;^UTILITY(U,$J,"OPT",186,0)
  1. ;;=PSGW LOOKUP ITEM^Ward/AOU List for an Item (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",186,1,0)
  1. ;;=^^3^3^2880328^^^
  1. ;;^UTILITY(U,$J,"OPT",186,1,1,0)
  1. ;;=This option prints a list of all the wards and their
  1. ;;^UTILITY(U,$J,"OPT",186,1,2,0)
  1. ;;=associated AOUs that stock a particular item. The
  1. ;;^UTILITY(U,$J,"OPT",186,1,3,0)
  1. ;;=user must specify the item to be looked up.
  1. ;;^UTILITY(U,$J,"OPT",186,25)
  1. ;;=PSGWVW
  1. ;;^UTILITY(U,$J,"OPT",186,"U")
  1. ;;=WARD/AOU LIST FOR AN ITEM (80
  1. ;;^UTILITY(U,$J,"OPT",187,0)
  1. ;;=PSGW USAGE REPORT^Usage Report for an Item (80 column)^^R^^^^^^^^
  1. ;;^UTILITY(U,$J,"OPT",187,1,0)
  1. ;;=^^7^7^2900323^^^^
  1. ;;^UTILITY(U,$J,"OPT",187,1,1,0)
  1. ;;=This option prints a usage report for (1) a specific item
  1. ;;^UTILITY(U,$J,"OPT",187,1,2,0)
  1. ;;=in an AOU, (2) a specific item for all AOUs, (3) all items for an AOU,
  1. ;;^UTILITY(U,$J,"OPT",187,1,3,0)
  1. ;;=or (4) all items for all AOUs. The user must specify AOU, item name
  1. ;;^UTILITY(U,$J,"OPT",187,1,4,0)
  1. ;;=and the start and stop dates for the report. The report prints
  1. ;;^UTILITY(U,$J,"OPT",187,1,5,0)
  1. ;;=AOU, item, the date of inventory, total quantity dispensed,
  1. ;;^UTILITY(U,$J,"OPT",187,1,6,0)
  1. ;;=quantity dispensed by auto-replenishment, quantity dispensed
  1. ;;^UTILITY(U,$J,"OPT",187,1,7,0)
  1. ;;=by on-demand requests, and quantity returned.
  1. ;;^UTILITY(U,$J,"OPT",187,25)
  1. ;;=PSGWTOT