| RMPR | 
Input | 
Array of data fields with the following elements:
RMPR("STATION IEN") - Station IEN (P4)
RMPR("LOCATION IEN") - Location IEN (P661.5)
RMPR("HCPCS") - HCPCS Code (e.g. - "E0111")
RMPR("ITEM") - HCPCS Item Number (eg. - 1)
 | 
RMPRV | 
Output | 
Array of vendors:
^-piece 1 - Number of Vendors returned
RMPRV(RMPR6("VENDOR IEN")) -
^-piece 1 - Quantity on Hand
^-piece 2 - Unit Cost
^-piece 3 - Vendor
 | 
RMPRERR | 
Output | 
Function Error Code:
0 - no errors
1 - null Station IEN input
2 - null Location IEN input
3 - null HCPCS Code input
4 - null Item input
5 - problem with 661.7 file
6 - problem with 661.6 file
 
 |