billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Name

enter_charge — Enter a Sale or a Store Credit for an Account

Synopsis

/usr/local/billmax/bin/enter_charge {-a account} {-m amount} [-h] [-v] [-s service] [-p ponumber] [-b startdate] [-e enddate] [-c epaydate] [-q quantity] [-t chargetype] [-n taxable] [-d description] [-U usagecharge] [-k] [-g number_amount:number_amount...] [-w misc01] [-x misc02] [-y misc03] [-z misc04] [-u]

DESCRIPTION

Enters a Sale or a Store Credit for an Account.

OPTIONS

-a account

The Account for which this Sale or Store Credit is applicable.

-m amount

The amount of the Sale and Store Credit.

-h

Show help for this program.

-v

Print on stdout the value of payhist.number of the newly created entry.

-s service

The Service for which this Sale or Store Credit is applicable.

-p ponumber

Purchase Order.

-b startdate

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

-e enddate

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

-c epaydate

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

-q quantity

The number of items purchased.

-t chargetype

Value from chargetypes list. Used in reports.

-n taxable
-d description

A description of the Financial Transaction. Required if -s service is not specified.

-U usage
-k

Set payhist.noautoallocate to 1 and do not automatically create Allocations.

-g number_amount:number_amount:...

A colon delimited list of payhist.number_amount for creating Allocations.

-w misc01

An integer miscellaneous field.

-x misc02

A character miscellaneous field.

-y misc03

A time miscellaneous field.

-z misc04

A date miscellaneous field.

-u

If supplied, create a Store Credit. Otherwise, create a Sale.

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