Print Page as PDF
PRCPUSA ICR (10085)

PRCPUSA    ICR (10085)

Name Value
NUMBER 10085
IA # 10085
CUSTODIAL PACKAGE IFCAP
CUSTODIAL ISC Washington
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PRCPUSA
NAME PRCPUSA
ORIGINAL NUMBER 10085
STATUS Active
EXPIRATION DATE 1995/01/01
ID PRCPUSA
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION
PRCPUSA
PRCPUSA - UTILITY PROGRAM TO UPDATE INTERNAL USAGE
HISTORY FROM VARIABLES

THIS IS A UTLIITY PROGRAM THAT CAN BE CALLED BY ANY SYSTEM THAT WISHES TO
USE THEIR OWN PROGRAMS FOR SOME FUNCTIONS THAT WOULD AFFECT THE INVENTORY
LEVEL, BUT WISH TO USE THE GENERAL INVENTORY/DISTRIBUTION SYSTEM FOR OTHER
INVENTORY FUNCTIONS.

*** THE FOLLOWING VARIABLES ARE EXPECTED ***

PRCP("I")=RECORD NUMBER OF THE INVENTORY POINT TO BE UPDATED (TOP LEVEL ON
FILE 445)

PRCP("ITEM")=POINTER TO ITEM MASTER FILE (441)

PRCP("QTY")=QUANTITY TO AFFECT INVENTORY. NOTE: A PLUS QTY.WILL BE ADDED, A
MINUS WILL BE SUBTRACTED.

PRCP("TYP")=CODE INDICATING TYPE OF TRANSACTION
'RC'=RECEIVING  'R'=NORMAL DISTRIBUTION 'C'=CALL-IN DISTRIBUTION 'U'=IN-HOUSE
OR PATIENT USAGE 'A'=MANUAL ADJUSTMENT TO INVENTORY

PRCP("COM")=THIS FIELD IS OPTIONAL.  IF PROVIDED, IT IS A FREE TEXT COMMENT
(1-80 CHAR.) EXPLAINING THE INVENTORY TRANSACTION.


**NOTE** SUCCESSFUL UPDATE WILL KILL ALL 'PRCP' VARIABLES.  UNSUCCESSFUL WILL
LEAVE ALL VARIABLES AND ERROR MESSAGE IN 'X'.