![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
BillMax_MonthlySalePut — Insert or update a Monthlysale record in the monthlysale table
#include "billmax.h"
int BillMax_MonthlySalePut( |
monthlysale, | |
| monthlysale, | ||
flags); |
|
monthlysale; |
|
flags; |
If monthlysale->number is 0, then a new record is inserted into the monthlysale table. If monthlysale->number is NOT 0 and there exists a record in the monthlysale table of which monthlysale.number is the same value as monthlysale->number, then the database fields of that record are updated with the values in MONTHLYSALE structure. Otherwise a new record is inserted with the values in MONTHLYSALE structure.
The data for inserting or updating a record in monthlysale table. See MONTHLYSALE structure.
Placeholder for future use.