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

PRCFFUA3.m

Go to the documentation of this file.
  1. PRCFFUA3 ;WISC/SJG-ROUTINE TO PROCESS OBLIGATIONS CONT ;6/13/94 14:34
  1. V ;;5.1;IFCAP;;Oct 20, 2000
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ; Allows Fiscal to edit BOCs prior to PO amendment obligation
  1. ; only the BOCs on the amendment can be edited
  1. ; Message processing routine
  1. ;
  1. MSG1 K MSG W !! S MSG="...now recalculating FMS accounting lines..." D EN^DDIOL(MSG) K MSG W !
  1. Q
  1. MSG2 K MSG W !! S MSG(1)="...Cost Center is missing - cannot continue..."
  1. MSG21 S MSG(2)=" ",MSG(3)="No further action is being taken on this obligation."
  1. D EN^DDIOL(.MSG) K MSG W !
  1. Q
  1. MSG3 K MSG W !! S MSG(1)="BOC '"_SA_"' is not valid with Cost Center "_$P(PO(0),U,5)_".",MSG(2)="Please ensure that this BOC is properly linked with the Cost Center."
  1. D EN^DDIOL(.MSG) K MSG W !
  1. Q
  1. MSG4 W !! S DIR(0)="Y",DIR("A",1)="I will now enter BOC '"_SA_"' on all line items.",DIR("A")="Is this OK",DIR("B")="YES"
  1. D ^DIR K DIR
  1. Q
  1. MSG5 K MSG W !! S MSG="...now changing the BOCs on all line items..."
  1. D EN^DDIOL(MSG) K MSG W !
  1. Q
  1. MSG6 I (BOCEDIT=1)!(ESHEDIT=1) Q
  1. K MSG W !
  1. S:BOCEDIT=0 MSG(1)="BOC has not changed.",MSG(2)=" "
  1. S MSG(3)="No further editing is being done on this obligation.",MSG(4)=" "
  1. S MSG(5)="...returning to the Amendment Obligation processing..."
  1. D EN^DDIOL(.MSG) K MSG W !
  1. Q
  1. MSG7 K MSG W !! S MSG(1)="BOCs cannot be edited for Supply Fund orders."
  1. S MSG(2)=" "
  1. S MSG(3)="...returning to the Amendment Obligation processing..."
  1. D EN^DDIOL(.MSG) K MSG
  1. Q
  1. MSG8 K MSG W !!
  1. S MSG(1)="For Purchase Order amendments, only the BOCs for the amended items"
  1. S MSG(2)="can be edited at this time. To edit the Cost Center or BOCs on other"
  1. S MSG(3)="items requires that the amendment be returned to Supply for these"
  1. S MSG(4)="changes to be made."
  1. D EN^DDIOL(.MSG) K MSG
  1. Q
  1. MSG9 W ! D EN^DDIOL("...returning to the Amendment Obligation processing...") W !
  1. Q
  1. MSG10 K MSG W !!
  1. S MSG(1)="A BOC for Estimated Shipping and/or Handling already exists and may have been"
  1. S MSG(2)="established in FMS under the original Purchase Order obligation or a previous"
  1. S MSG(3)="Purchase Order amendment. According to FMS, once established, the BOC for"
  1. S MSG(4)="Estimated Shipping and/or Handling cannot be changed.",MSG(4.5)=" "
  1. S MSG(5)="Changing the Estimated Shipping and/or Handling BOC on an amendment"
  1. S MSG(6)="will cause this document to reject."
  1. D EN^DDIOL(.MSG) W ! K MSG
  1. Q
  1. MSG11 K MSG W !!
  1. S MSG(1)="Estimated Shipping BOC on original Purchase Order:"
  1. S MSG(2)=" "_OESHBOC
  1. S MSG(3)="Estimated Shipping BOC for this amendment on Purchase Order:"
  1. S MSG(4)=" "_AESHBOC,MSG(4.5)=" "
  1. S MSG(5)="Since the Estimated Shipping BOCs are different, further processing"
  1. S MSG(6)="of the amendment for this Purchase Order cannot continue!",MSG(6.5)=" "
  1. S MSG(7)="The amendment must be returned to Supply!"
  1. D EN^DDIOL(.MSG) K MSG W !
  1. Q