DSIYUTL3 POSCH PURCH ORD SCH (3856)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYUTL3 POSCH PURCH ORD SCH
TAG POSCH
ROUTINE DSIYUTL3
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
DSIYUTL3 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.
INPUT PARAMETER
  • MOVE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MOVE
     
    No longer used
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   4
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    NOREC
     
    Number of records to return - not required.
    Allows null or 0-99
    
  • SCHTERM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    SCHTERM
    Send just the second half of the PO# field - 6 alpha numerics
     
    If using SCHTYPE = "D"
    Send in the vendor number - usually straight numerics
     
    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"
    
  • INDFLAG
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    INDFLAG
     
    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
    
RETURN PARAMETER DESCRIPTION
DSIYRET
  P8:  Amount
 
DSIYRET(1)="-1^Error Message"   If Errors
DSIYRET(1)="0^Warning Message"  If Warnings
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