Print Page as PDF
DBIA127-A ICR (127)

DBIA127-A    ICR (127)

Name Value
NUMBER 127
IA # 127
DATE CREATED 1991/11/06
CUSTODIAL PACKAGE ACCOUNTS RECEIVABLE
CUSTODIAL ISC Washington
USAGE Private
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE PRCASER
NAME DBIA127-A
ORIGINAL NUMBER 127
GENERAL DESCRIPTION

PRCASER  This routine is used for setting up or establishing a new charge
(bill) for a debtor.  When calling this routine, a new charge (pharmacy
Co-Pay, etc, should be added to the patients account.

Input Variable: X
$P1: Site.  This is the site number the charge is being created by.  For
example: 503, 516, etc.  This is the station number field from the Institution
file (4).

$P2: Service.  This is the service that is creating the bill.  This is the
pointer to the Service/Section file (49).

$P3: Category Number.  This is the AR Category that the charge should fall
under.  This is the pter to the AR Category file (430.2).

$P4: Debtor.  This is the debtor that the charge should fall under.  This is
a variable pointer to the following files: Vendor, Person, Insurance,
Institution.  For Pharmacy Co-Pay the debtor should be the patient in the
format of "36;DPT(" whe re 36 is the internal number of the patient in the
patient file.

$P5: Fiscal Year.  Fiscal Year charge should be charged to.

$P6: Amount.  Must be zero or greater and less than 9999999.99.

$P7: User.  The person who created the charge. Pointer to the User file (3).

$P8: Date charge generated.  This is the internal VA FileMan date the charge
was issued.


Output Variable: Y (if no error is encountered)
P1: Internal Bill Number.  This is the internal file number from the Accounts
Receivable file (430).

$P2: Charge ID.  This is the .01 field from the Accounts Receivable file
(430) and will be 10 characters in length.

$P3: Transaction Number.  Since an "OPEN" bill may already exist and can be
used, it may be necessary to add this charge to an already existing bill as a
transaction, then this would be the pointer value to the AR Transaction file
(433).  Howev er, if a new bill is set up for the current charges then this
piece equals zero.


Variable: Y (if error is encountered)
$P1: Error Indicator. -1
.
$P2: Error Code.  This is the error code from the IB Action Error file.

$P3: Additional Text.  If additional text is required to describe the error
it is in the third piece.
STATUS Active
DURATION Till Otherwise Agreed
ID PRCASER
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT VARIABLES
PRCASER
VARIABLES TYPE
X Input
Y Output
SUBSCRIBING PACKAGE
SUBSCRIBING PACKAGE ISC
INTEGRATED BILLING Albany