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

ABMUPOSC.m

Go to the documentation of this file.
  1. ABMUPOSC ; IHS/SD/SDR - Close POS cashiering sessions ;
  1. ;;2.5;IHS Third Party Billing System;**15**;AUG 22, 2008
  1. ;
  1. Q
  1. ;
  1. EN ;PEP - Finds all open POS cashiering sessions and closes them
  1. ;
  1. K ABMO
  1. D FINDAOPN^ABMUCUTL ;find all open sessions
  1. S ABMSDT=0
  1. F S ABMSDT=$O(ABMO(ABMSDT)) Q:+ABMSDT=0 D
  1. .S ABMUSER=""
  1. .F S ABMUSER=$O(ABMO(ABMSDT,ABMUSER)) Q:ABMUSER="" D
  1. ..Q:(ABMUSER'="POS") ;only want POS sessions
  1. ..D CLOSESES^ABMUCUTL(ABMLOC,ABMUSER,ABMSDT)
  1. ..;W !?2,ABMLOC,?20,ABMUSER,?40,ABMSDT used for testing to see what was closing without actually closing
  1. Q