DEL(INS) |
This call is used to determine whether an insurance
company may be outright deleted in Integrated Billing, or whether a second
insurance company must be specified in order to merge all billing/receivables
information from the company to be deleted into the second company.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
INS |
Input |
This is a pointer to an insurance company in file
#36.
|
Y |
Output |
This extrinsic function returns the following values:
0 - Either a valid pointer to file #36 was not passed into
the function, or the company is not established as a
debtor in Accounts Receivable.
1 - The company is established as a debtor in AR, but there
are no receivables where the debtor is the primary payor.
2 - The company is established as a debtor in AR and there
are receivables where the debtor is the primary payor.
|
|
EN(INS,INS1,INS2,ERROR) |
This call is used to re-point the debtor for all
applicable Accounts Receivable records from the insurance company to be
deleted to a second insurance company.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
INS |
Input |
This is a pointer to the insurance company in file
#36 which is to be deleted.
|
INS1 |
Input |
This is a pointer to the insurance company in file
#36 into which all applicable AR records will be merged.
|
ERROR |
Both |
This variable is passed into this routine by
reference.
If the input passed into this entry point is not valid, this variable will
contain an error message. Otherwise, the variable is set to null.
|
INS2 |
Input |
This variable is a flag which is set to 1 when a
second insurance carrier into which the AR data should be merged is NOT
specified. The flag indicates that AR should only conduct a search for the
insurance carrier being deleted in IB in all the receivables stored in the
ACCOUNTS RECEIVABLE (#430) file. Any pointers to this company in the
SECONDARY INSURANCE CARRIER (#19) or TERTIARY INSURANCE CARRIER (#19.1) fields
of this file should be deleted.
|
|
INS2(ROOT,COUNT) |
This entry point is called by Integrated Billing
during a clean-up job which is queued after the user deletes an insurance
company. An array containing one or more deleted companies is passed to AR,
and a search is conducted through file #430 for all secondary and tertiary
insurance carriers which must either be merged or deleted.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
ROOT |
Input |
A global array is passed as input to this entry
point. The variable ROOT is a string which is the root of that global array.
The array elements themselves are then referenced through indirection.
|
COUNT |
Both |
COUNT is passed by reference to this entry point. It
is updated each time a secondary or tertiary carrier is updated in file #430.
The updated value is passed back to IB and reported to the user.
|
|