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

PRCFFERM.m

Go to the documentation of this file.
  1. PRCFFERM ;WISC/SJG-OBLIGATION ERROR PROCESSING MESSAGES ;6/17/11 17:55
  1. V ;;5.1;IFCAP;**158**;Oct 20, 2000;Build 1
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. QUIT
  1. ; No top level entry
  1. ;
  1. MSG1 ; Message Processing
  1. W !!,"This document is not a Miscellaneous Order (MO) or a Service Order (SO).",!,"Error processing cannot continue using this routine.",!!
  1. Q
  1. MSG2 W !!,"This Purchase Order or 1358 source document is not found. Error processing",!,"cannot continue."
  1. Q
  1. MSG3 W !!,"The Method of Processing is missing. Error processing cannot continue.",!!
  1. Q
  1. MSG4 W !!,"No further action taken on this rejected document.",!!
  1. Q
  1. MSG5 K MSG N TYPE
  1. S TYPE=$S(MOP=1:"a Purchase Order.",MOP=2:"a Certified Invoice.",MOP=3:"a Payment in Advance.",MOP=4:"a Guaranteed Delivery.",MOP=7:"an Imprest Fund.",MOP=8:"a Requistion.",MOP=26:"a Direct Delivery.",21:"a 1358 Obligation.")
  1. S MSG(1)="This FMS Document is "_TYPE
  1. I ("^1^2^3^4^7^8^26^"[("^"_MOP_"^")) S MSG(2)="Use the option to process MOs and SOs."
  1. I MOP=21 S MSG(2)="Use the option to process SOs."
  1. D EN^DDIOL(.MSG) K MSG
  1. Q