DSIYUTL3 POSCH PURCH ORD SCH

TITLEVALUE
NAMEDSIYUTL3 POSCH PURCH ORD SCH
DESCRIPTIONDSIYUTL3 POSCH PURCH ORD SCH

RPC to return all PO's which are found based on the search criteria
entered by the user. This is different than searches which create a
dropdown based on the starting search.

RPC calls VistA's internal FIND API to find PO's based on various XREF's.
TAGPOSCH
ROUTINEDSIYUTL3
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERMOVE
DESCRIPTIONMOVE

No longer used
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH2

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERNOREC
DESCRIPTIONNOREC

Number of records to return - not required.
Allows null or 0-99
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH4

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERSCHTERM
DESCRIPTIONSCHTERM

User will enter data which can look up the PO# based on all of the XREF's
in the PO file.
Send either null or 1-11 numbers..
Default format is 3 characters for the Site Parameter (^PRC(411)) -
6 alpha numerics - but will allow room for growth.

If Using SCHTYPE = "C"
Send just the second half of the PO# field - 6 alpha numerics

If using SCHTYPE = "D"
Send in the vendor number - usually straight numerics
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERINDFLAG
DESCRIPTIONINDFLAG

GUI sends a '1' if only this PO# should be found - this is to check for a
valid PO#
"C" = search by common numering system (last piece of PO# after "-")
"D" = search by vendor name
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONDSIYRET
DSIYRET(#)= following pieces:
P1: IEN to PO File
P2: External PO #
P3: PO Method
P4: PO Date
P5: Supply Status
P6: Fund Control Point FCP
P7: Vendor
P8: Amount

DSIYRET(1)="-1^Error Message" If Errors
DSIYRET(1)="0^Warning Message" If Warnings
AVAILABILITYPUBLIC
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED