GENERAL DESCRIPTION |
This routine is used for making transactions to an
already existing bill. This would be used, for example, if a Pharmacy Co-Pay
was charged and later canceled because the patient did not receive the RX.
INPUT Variable: X
$P1: Transaction type. This is the pointer to the Accounts Receivable
Trans.Type file (430.3. Currently this program will support two types of
transactions:
INCREASE ADJUSTMENT Number: 1
DECREASE ADJUSTMENT Number: 21
This piece should be set to the internal value for these types, this may be
found by direct accessing the "AC" cross-reference on the Number to determine
the internal value.
$P2: Amount. This would be the amount of the transaction. This number must
be greater than 0 and less than 9999999.99.
$P3: Bill Number. This must be the .01 value of the bill from the Accounts
Receivable file (430) and must be 10 characters in length. (ex: 503-K10001).
$P4: User. this is the person who is making the adjustment. Pointer to the
User file (3).
$P5: Adjustment Date. This is the internal VA FileMan date when the
adjustment occurred.
$P6: Reason. This is the free text reason that the adjustment took place
(optional).
Output Variable: Y
$P1: Success flag. Equals 1 if successful, -1 if unsuccessful
$P2: Error Code. This is the error code from the IB Error file.
$P3: Addition Text. If additional text is required to describe the error
then it is in the third piece.
|