OSB_DB::BillRunLogGw Class Reference

List of all members.

Detailed Description

Database Gateway for BILLRUN_LOG table.

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.

Public Member Functions


Member Function Documentation

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.

Parameters:
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.
Returns:
BillRun Log ID

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.

Parameters:
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.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:08:52 2006 for OSB Library by  doxygen 1.4.7