![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
BillMax_AccountPut — Insert or update an Account record in the account table
#include "billmax.h"
int BillMax_AccountPut( |
account, | |
| account, | ||
flags); |
|
account; |
|
flags; |
If account->number is 0, then a new record is inserted into the account table. If account->number is NOT 0 and there exists a record in the account table of which account.number is the same value as account->number, then the database fields of that record are updated with the values in ACCOUNT structure. Otherwise a new record is inserted with the values in ACCOUNT structure.
The data for inserting or updating a record in account table. See ACCOUNT structure.
flags is used when updating an existing Account. The following values OR'd together are recognized: