BILLRUN_LOG table keeps log information of billing generation. This table is also be a history of billing generation.
Definition at line 63 of file billrunlog-gw.h.
long OSB_DB::BillRunLogGw::add | ( | const Session & | session, | |
const OSB_LIB::Date & | billingDate, | |||
char | billingMode, | |||
OSB_LIB::Billcycle::Oid | billcycleId, | |||
OSB_LIB::Contract::Oid | contractId, | |||
OSB_LIB::Associate::Oid | ownerId | |||
) |
Add a record into table BILLRUN_LOG.
session | Database session to use. | |
billingDate | Billing date. | |
billingMode | Billing mode (b->by billcycle, c->by contract, o->by owner). | |
billcycleId | Billcycle identifier to add. | |
contractId | Contract identifier to add. | |
ownerId | Owner identifier to add. |
void OSB_DB::BillRunLogGw::update | ( | const Session & | session, | |
long | billRunId, | |||
long | totalContract, | |||
long | totalCommitted, | |||
long | totalRollback, | |||
long | totalFailed | |||
) |
Update statistic data to BILLRUN_LOG table.
session | Database session to use. | |
billRunId | Billrun log Identifier to update. | |
totalContract | Total contract processed. | |
totalCommitted | Total contract commited | |
totalRollback | Total contract rolled back. | |
totalFailed | Total contract failed. |