$$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.
|
|