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

ABSPOSIP.m

Go to the documentation of this file.
  1. ABSPOSIP ; IHS/FCS/DRS - ABSP INPUT POSTAGE block ;
  1. ;;1.0;PHARMACY POINT OF SALE;;JUN 21, 2001
  1. Q
  1. PRE ; PRE action for the page
  1. ;D MSGWAIT^ABSPOSI1("DIE="_DIE_", DA="_$G(DA)_", DA(1)="_$G(DA(1)))
  1. Q
  1. POST ;D MSGWAIT^ABSPOSI1("This is the POST action for the postage page.")
  1. ; Set the NDC field to POSTAGE $amount
  1. ; "POSTAGE" is case-sensitive; checked in other places
  1. N AMT S AMT=$$GET^DDSVAL(DIE,.DA,5.02)
  1. D PUT^DDSVAL(DIE,.DA,.03,"POSTAGE $"_$J(AMT,0,2))
  1. Q