billmax documentation   BillMax Billing Solutions
  877.245.5629
  sales@billmax.com
 

Name

enter_user.cgi — Create or Modify a User

Synopsis

/usr/local/billmax/cgi-bin/enter_user [[0] | [1] | [2]]

DESCRIPTION

enter_user.cgi is designed to take information supplied by the form /usr/local/billmax/uatemplates/user.tmp to create or modify a record in the user table. The values are passed via environment variables.

REQUIRED ENVIRONMENT VARIABLES

FORM_srchnumber - GEV_INT

Used to detect when the value for user.number is being modified using the FORM_number. If the value for FORM_srchnumber does not equal the value for FORM_number, and the value for FORM_override is zero, then HTML is output asking for verification that the value for user.number be changed. If FORM_override is non-zero, the number is changed without asking for verification.

FORM_override - GEV_CHECKBOX

See discussion for FORM_srchnumber.

FORM_refdeposit - GEV_INT

If non-zero, a Deposit Refund will be issued for each Deposit Charge for the User.

FORM_reopenclosed - GEV_INT
FORM_number - GEV_INT

System Identifier for a database row. In most cases automatically generated. Allowable range is 1-2147483647.

FORM_account - GEV_INT

A valid value from account.number denoting the Account to which this User belongs.

FORM_state - GEV_INT

The State of the User.

FORM_startdate - GEV_DATE

The start date for the User.

FORM_enddate - GEV_DATE

If populated, the date this Account's state will be changed to Suspended State.

FORM_fname - GEV_STRING

The first name of the User.

FORM_mname - GEV_STRING

The middle name of the User.

FORM_lname - GEV_STRING

The last name of the User.

FORM_email - GEV_STRING

The email address of the User.

FORM_addr1 - GEV_STRING

Address field

FORM_addr2 - GEV_STRING

Address field

FORM_addr3 - GEV_STRING

Address field

FORM_addr4 - GEV_STRING

Address field

FORM_city - GEV_STRING

The city of the User.

FORM_statename - GEV_STRING

The state/province of the User.

FORM_zip - GEV_STRING

The postal code of the User.

FORM_country - GEV_STRING

The country of the User.

FORM_dphone - GEV_STRING

The day phone number of the User.

FORM_nphone - GEV_STRING

The night phone number of the User.

FORM_aphone - GEV_STRING

Placeholder for an alternative phone number.

FORM_dob - GEV_DATE

Place holder for User's date of birth that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_ssn - GEV_STRING

Place holder for User's social security number that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_maiden - GEV_STRING

Place holder for User's maiden name that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_dlnumber - GEV_STRING

Place holder for driver's license number that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_dlstate - GEV_STRING

Place holder for issuing state of the driver's license that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_modem - GEV_STRING

The modem the User is using.

FORM_mspeed - GEV_INT

The speed of the modem. A value from modems list.

FORM_os - GEV_INT

The operating system that the User is using. A value from oss list.

FORM_misc01 - GEV_INT

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc02 - GEV_INT

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc03 - GEV_INT

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc04 - GEV_INT

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc05 - GEV_INT

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc06 - GEV_STRING

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc07 - GEV_STRING

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc08 - GEV_STRING

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc09 - GEV_STRING

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc10 - GEV_STRING

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc11 - GEV_DATE

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc12 - GEV_DATE

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc13 - GEV_DATE

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc14 - GEV_DATE

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc15 - GEV_DATE

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc16 - GEV_TIME

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc17 - GEV_TIME

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc18 - GEV_TIME

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc19 - GEV_TIME

A miscellaneous field to be used by the purchaser of BillMax.

FORM_misc20 - GEV_TIME

A miscellaneous field to be used by the purchaser of BillMax.

FORM_custsecret - GEV_STRING

Placeholder for phrase or word that a User may supply to validate their identification. Also may be used for validation when the User uses the Customer Interface.

FORM_dataphone - GEV_STRING

Place holder for phone number from which modem may be calling.

FORM_generation - GEV_TIMESTAMP

A timestamp denoting the last time the record was modified.

FORM_reason - GEV_INT

The reason that the Account was changed to a State other than the Open State. A valid value from the reasons list.

FORM_title - GEV_STRING

The salutation of the User.

FORM_newsvc - GEV_INT

This is the value of servdef.number for the Service Definition of a new Service.

OPTIONS

0

Prints a Location line for interpretation by the browser that refreshes the User page.

1

Prints a Location line for interpretation by the browser that redirects the the browser to the Service page for a new Service using the value of FORM_newsvc to indicate the Service Definition of the Service.

2

Prints a Location line for interpretation by the browser that redirects the the browser to the Calltrack page for a new Calltrack.

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