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

PSGWI015.m

Go to the documentation of this file.
  1. PSGWI015 ; ; 04-JAN-1994
  1. ;;2.3; Automatic Replenishment/Ward Stock ;;4 JAN 94
  1. Q:'DIFQ(58.17) 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. ;;^DIC(58.17,0,"GL")
  1. ;;=^PSI(58.17,
  1. ;;^DIC("B","AOU ITEM LOCATION",58.17)
  1. ;;=
  1. ;;^DIC(58.17,"%",0)
  1. ;;=^1.005^1^1
  1. ;;^DIC(58.17,"%",1,0)
  1. ;;=PSGW
  1. ;;^DIC(58.17,"%","B","PSGW",1)
  1. ;;=
  1. ;;^DIC(58.17,"%D",0)
  1. ;;=^^2^2^2900213^^^^
  1. ;;^DIC(58.17,"%D",1,0)
  1. ;;=Expansions of the codes used to indicate storage location of item
  1. ;;^DIC(58.17,"%D",2,0)
  1. ;;=in the area of use.
  1. ;;^DD(58.17,0)
  1. ;;=FIELD^^.5^2
  1. ;;^DD(58.17,0,"ID",.5)
  1. ;;=W:$D(^("0")) " ",$P(^("0"),U,3)
  1. ;;^DD(58.17,0,"IX","B",58.17,.01)
  1. ;;=
  1. ;;^DD(58.17,0,"NM","AOU ITEM LOCATION")
  1. ;;=
  1. ;;^DD(58.17,.01,0)
  1. ;;=ITEM ADDRESS CODE^RF^^0;1^K:$L(X)>3!($L(X)<1)!'(X?1AN.AN) X
  1. ;;^DD(58.17,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(58.17,.01,1,1,0)
  1. ;;=58.17^B
  1. ;;^DD(58.17,.01,1,1,1)
  1. ;;=S ^PSI(58.17,"B",$E(X,1,30),DA)=""
  1. ;;^DD(58.17,.01,1,1,2)
  1. ;;=K ^PSI(58.17,"B",$E(X,1,30),DA)
  1. ;;^DD(58.17,.01,3)
  1. ;;=Answer must be 1-3 characters in length
  1. ;;^DD(58.17,.01,21,0)
  1. ;;=^^3^3^2871008^^^^
  1. ;;^DD(58.17,.01,21,1,0)
  1. ;;=This contains a code that represents a portion of an item's location
  1. ;;^DD(58.17,.01,21,2,0)
  1. ;;=address in an Area of Use. This code is associated with an expansion
  1. ;;^DD(58.17,.01,21,3,0)
  1. ;;=for clarity.
  1. ;;^DD(58.17,.01,"DT")
  1. ;;=2840614
  1. ;;^DD(58.17,.5,0)
  1. ;;=CODE EXPANSION^F^^0;3^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(58.17,.5,3)
  1. ;;=Enter 1-30 characters
  1. ;;^DD(58.17,.5,21,0)
  1. ;;=^^2^2^2871008^^
  1. ;;^DD(58.17,.5,21,1,0)
  1. ;;=This text is used to clarify the meaning of the associated code. Its
  1. ;;^DD(58.17,.5,21,2,0)
  1. ;;=primary purpose is for report information.
  1. ;;^DD(58.17,.5,"DT")
  1. ;;=2840614