$$GET(RMPR) |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RMPR |
Both |
Array of data fields that relate to the specified
PROS INVENTORY TRANSACTIONS file (#661.6):
RMPR("IEN") - input value-PROS INVENTORY TRANSACTIONS file #661.6 IEN
RMPR("HCPCS") - input/output value - field #.01 HCPCS
RMPR("DATE&TIME") - input/output value - field #2 DATE&TIME STAMP
RMPR("DATE") - first "@"-piece of field #2 DATE&TIME STAMP
RMPR("TIME") - second "@"-piece of field #2 DATE&TIME STAMP
RMPR("SEQUENCE") - field #3 SEQUENCE
RMPR("TRAN TYPE") - field #4 TRANSACTION TYPE
RMPR("QUANTITY") - field #5 QUANTITY
RMPR("VALUE") - field #6 VALUE
RMPR("COMMENT") - field #8 COMMENT
RMPR("USER") - field #9 USER
RMPR("ITEM") - field #11 ITEM
RMPR("VENDOR") - field #12 VENDOR
RMPR("STATION") - field #13 STATION
RMPR("LOCATION") - field #14 LOCATION
|
RMPRRET |
Output |
RMPRRET =0 - successful processing
=1 - RMPR("HCPCS") null or RMPRKEY("SEQUENCE") does not exist
=2 - RMPR("DATE&TIME") null
=3 - Error returned from $$NEXT^RMPRPIXA
=4 - RMPRKEY("SEQUENCE") is not equal to 1
=5 - Error returned from GETS^DIQ of file 661.6
|
|
$$VNDIEN(RMPR) |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RMPR |
Both |
Array containing data values from the PROS INVENTORY
TRANSACTIONS file (#661.6):
RMPR("IEN") - PROS INVENTORY TRANSACTIONS file (#661.6) IEN - input
RMPR("VENDOR IEN") - VENDOR file (#440) IEN - output from PROS
INVENTORY TRANSACTIONS file (#661.6)
field #12 VENDOR
|
RMPRERR |
Output |
Function Error Code:
=0 - successful processing
=1 - an error occurred
|
|
$$VNDIEN(RMPR) |
|
|
UPD |
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RMPR616 |
Input |
Transaction array
|
RMPR6111 |
Input |
HCPCS array
|
RMPRRET |
Output |
error code returned by function
0 - no problems
1 - invalid RMPR616("IEN")
2 - FM problem with update
|
|
ETOI |
convert external to internal form
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RMPRE |
Input |
array of values from file 661.6
|
RMPRI |
Output |
same as input values w/ some values converted to
Internal FM format
|
RMPRERR |
Output |
0:success, 1:failure
|
|
CRE |
Create a new 661.1 PIP Transaction record
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
RMPR616 |
Input |
Transaction array (661.6) (elements mandatory unless
noted)
RMPR616("DATE&TIME") - (optional) usually should not be set
but if it is RMPR616("SEQUENCE")
must also be set
RMPR616("SEQUENCE") - (optional) but see above
should normally be one
RMPR616("VENDOR") - Vendor ien
RMPR616("LOCATION") - Location ien (ptr 661.5)
RMPR616("TRAN TYPE") - Transaction Type code (see 661.6 spec)
RMPR616("QUANTITY") - Quantity
RMPR616("VALUE") - $ Value of transaction
RMPR616("COMMENT") - Comment
RMPR616("USER") - User ien (ptr VA(200,)
|
RMPR616('IEN') |
Output |
ien of created Transaction
|
RMPRRET |
Output |
error code returned by function
0 - no problems
1 - FM problems creating 661.6 rec.
|
|