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

ASUWMVHS.m

Go to the documentation of this file.
  1. ASUWMVHS ; IHS/ITSC/LMH - RE-EXTRACT AND DATA ENTRY ONLY ;
  1. ;;4.2T2;Supply Accounting Mgmt. System;;JUN 30, 2000
  1. ;This routine will move history transactions to separate files for extract
  1. N X,Y F X=0:1:10 D
  1. .S Y=0
  1. .F S Y=$O(^ASUH("AT",X,Y)) Q:Y'?1N.N D
  1. ..Q:$P($G(^ASUH(Y,0)),U,10)'="U"
  1. ..S Z=$S(X=8:2,X=9:3,X=0:7,X=10:7,1:X)
  1. ..M ^TMP("ASUW",$J,Z,Y)=^ASUH(Y)
  1. Q