Print Page as PDF
PRCHUTL ICR (2526)

PRCHUTL    ICR (2526)

Name Value
NUMBER 2526
IA # 2526
DATE CREATED 1998/09/03
CUSTODIAL PACKAGE IFCAP
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PRCHUTL
NAME PRCHUTL
GENERAL DESCRIPTION
This integration agreement will allow Accounts
Receivable to call two functions in this routine.  $$VENSEL will return the
internal number of a user selected Vendor from the IFCAP Vendor file.  $$VEN
will return the Vendor ID number when the internal number of a Vendor is sent
to this function.
STATUS Active
DURATION Till Otherwise Agreed
ID PRCHUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
$$VENSEL()
The call to get a vendor entry is $$VENSEL^PRCHUTL().
This function does 3 things.  First, it asks the user for their site.  Second,
it allows the user to select an IFCAP vendor record.  And third, it returns
the following:

CONDITION              RETURNED VALUE             ^DIC VALUE

LOOKUP FAILED                 -1                     Y=-1
TIMED OUT                   -2                     DTOUT
UP-ARROW                    -3                     DUOUT
SUCCESSFUL              IEN^.01 FIELD               Y=N^S
SUCCESSFUL & NEW         IEN^.01 FIELD^1             Y=N^S^1
VARIABLES TYPE VARIABLES DESCRIPTION
$$VENSEL Output

The following is  returned from the IFCAP Vendor File:

CONDITION              RETURNED VALUE             ^DIC VALUE

LOOKUP FAILED                 -1                     Y=-1
TIMED OUT                   -2                     DTOUT
UP-ARROW                    -3                     DUOUT
SUCCESSFUL              IEN^.01 FIELD               Y=N^S
SUCCESSFUL & NEW         IEN^.01 FIELD^1             Y=N^S^1
$$VEN(A)
The call to get the FMS VENDOR CODE + ALTERNATE
ADDRESS INDICATOR is $$VEN^PRCHUTL(A).  This function does one thing.  It
requires the internal entry number of the vendor record that the data will be
from. It returnes the FMS VENDOR CODE and, if available, the ALTERNATE ADDRESS
INDICATOR as 9 or 11 characters.
VARIABLES TYPE VARIABLES DESCRIPTION
$$VEN Output
The call to get the FMS VENDOR CODE + ALTERNATE
ADDRESS INDICATOR is $$VEN^PRCHUTL(A).  This function does one thing.  It
requires the internal entry number of the vendor record that the data will be
from. It returnes the FMS VENDOR CODE and, if available, the ALTERNATE ADDRESS
INDICATOR as 9 or 11 characters.
A Input
A = internal entry number of the vendor record that
the data will be from.
SUBSCRIBING PACKAGE ACCOUNTS RECEIVABLE