Print Page as PDF
Add/Update Vendor ICR (3806)

Add/Update Vendor    ICR (3806)

Name Value
NUMBER 3806
IA # 3806
DATE CREATED 2002/10/29
CUSTODIAL PACKAGE FEE BASIS
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE FBCSLVUP
NAME Add/Update Vendor
GENERAL DESCRIPTION
Logic is called by subscribing software  at entry point
UPD^FBAAVUP.  It is defined with 1 argument in the formal parameter list,
which is the name of a local or global array.  The array is indexed and could
contain one to many vendor records to be added or updated in file 161.2.  The
call will be executed as:  D UPD^FBAAVUP(ARRAY)    Logic will add a new record
or access an existing record and update the record with the values contained
in ARRAY.
STATUS Retired
KEYWORDS VENDOR
ID FBCSLVUP
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
UPD
Once vendor records are available for add or update
to the Fee Basis Vendor file (161.2), the UPD^FBAAVUP entry point is invoked
using DO command.  It is defined with one argument in the formal parameter
list, which is the name of the array, not a reference, containing the vendor
record(s).

The format of the array is:

ARRAY(index, field_subscript) = value

VARIABLES TYPE VARIABLES DESCRIPTION
ARRAY Input
The input array is passed to API as the name of a
global or local arrary (not passed by reference).  The array is indexed and
could contain one to many vendor records to be added or updated in file 161.2.
The format of the array is: ARRAY(index, field_subscript) = value

The first subscript 'index' will equal a value > 0.

The second subscript represented as 'field_subscript' are literal values.
Data will be stored at the second subscript of the array.  The literal value
defined at the second subscript will represent the data value stored at that
node.  The second subscript literal values are listed as follows:

VENDOR_ID
VENDOR_NAME
TAX_ID
INACTIVE_DATE [1]
AREA_CODE
PHONE_NO
FAX_AREA_CODE
FAX_NO
ADDRESS_LINE_1
ADDRESS_LINE_2
ADDRESS_LINE_3
CITY
STATE
COUNTY
POSTAL_CODE
COUNTRY
VENDOR_SITE
CHAIN_NO
COMMENTS [2]
LAST_UPDATED [1]
PARTICIPATION_CODE
VENDOR_TYPE
TYPE_OF_VENDOR
MEDICARE_ID
SPECIALTY_CODE
NO_OF_BEDS
INSPECTED/ACCREDITED
LAST_ASSESSMENT [1]
CERTIFIED_MEDICARE/MEDICAID

SUBSCRIBING PACKAGE COMMUNICATIONS SERVICE LIBRARY