billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Name

enter_payhist.cgi — Create or Modify a Payhist record

Synopsis

/usr/local/billmax/cgi-bin/enter_payhist.cgi

DESCRIPTION

Creates or modifies a Payhist record in the payhist table.

REQUIRED ENVIRONMENT VARIABLES

FORM_number - GEV_INT

If non-zero, the value of payhist.number of the Payhist that will be modified or deleted.

FORM_generation - GEV_TIMESTAMP

ID used to keep different editing sessions from colliding.

FORM_action - GEV_STRING

If "SAVE", then either a new Payhist is created or an existing Payhist is modified. If "DELETE", then an existing Payhist may be deleted.

FORM_ntaxable - GEV_MONEY

The non-taxable value of a Sale or Store Credit

FORM_taxable - GEV_MONEY

The taxable amount of the Sale.

FORM_tax - GEV_MONEY

The tax amount of the Sale.

FORM_quantity - GEV_STRING

The number of items purchased.

FORM_descr - GEV_STRING

A description of the Financial Transaction.

FORM_service - GEV_INT

A description for the associated Service for a financial transaction.

FORM_startdate - GEV_DATE

The starting date for a Sale for a Service for a period of time.

FORM_enddate - GEV_DATE

The ending date for a Sale for a Service for a period of time.

FORM_chargetype - GEV_STRING

Value from chargetypes list. Used in reports.

FORM_misc01 - GEV_INT

An integer miscellaneous field.

FORM_misc02 - GEV_STRING

A character miscellaneous field.

FORM_misc03 - GEV_DATE

A time miscellaneous field.

FORM_misc04 - GEV_TIME

A date miscellaneous field.

FORM_epaydate - GEV_DATE

The first date an attempt will be made to collect funds via Electronic Funds Processing for a Sale or a Deposit Charge.

FORM_amount - GEV_MONEY

The amount for a Payment, a Refund, a Deposit Charge or Deposit Refund.

RETURN VALUE

System value EX_OK for success.

NOTES

NONE

SEE ALSO

NONE


Document Revision A for BillMax 2.2.0   -   Copyright © 1997-2006 The iSpark Group, Inc.

All rights reserved. No part of this documentation may be reproduced or transmitted in any fashion without written permission by The iSpark Group, Inc. This documentation is for the sole use of licensees of the BillMax billing software created by The iSpark Group, Inc. Making the documentation available to a non-licensee of BillMax without written permission of The iSpark Group, Inc. is a violation of the use of this documentation.

While precautions have been taken in the preparation of this documentation, The iSpark Group, Inc. assumes neither liability nor responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

All terms mentioned that are known to be trademarks have been appropriately capitalized. Use of the a trademark does not affect the validity of any trademark or service mark.

Links to third-party Web sites are provided for convenience. The iSpark Group, Inc. is not responsible for any content contained in the third-party Web sites.

Comments about this documentation may be sent to doc@billmax.com