
Definition at line 134 of file contract.idl.
| cadmin::persprod::PersProductWriter corba::cadmin::contract::ContractWriter::addPersProduct | ( | in pcat::pd::ProductId | id, | |
| in cadmin::AssociateId | userId, | |||
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Add a personalised product.
This function creates a personalised product from a product in the database.
| id | Unique product id. | |
| userId | Associate user of the personalised product. | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | if status of contract is deactivated. |
| boolean corba::cadmin::contract::ContractWriter::changeStatus | ( | inout StatusRequest | status, | |
| in boolean | noWait, | |||
| out common::CfgErrorSeq | errors | |||
| ) | raises (common::OsbCorbaException) |
Set the preferred status of the associate.
| status | Preferred status to set, see below. | |
| noWait | Don't wait for database locks? | |
| errors | Gets encountered errors. |
| boolean corba::cadmin::contract::ContractWriter::commitChanges | ( | in boolean | noWait | ) | raises (common::OsbCorbaException) |
Update changes permanently into database.
| cadmin::ContractId corba::cadmin::contract::ContractWriter::create | ( | in cadmin::AssociateId | owner, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Add a new contract to list.
This function adds a new contract to the list of objects and the database. commitChanges() is not required after this function is called. If contract already exist in the database, return existing contract id.
| owner | The contract owner. | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | if operation fails at the gateway. |
| BalanceSheetWriter corba::cadmin::contract::ContractWriter::getBalanceSheet | ( | in boolean | noWait | ) | raises (common::OsbCorbaException) |
Retrieve an open balance-sheet of a contract.
| noWait | Don't wait for database locks? |
| OsbCorbaException | if operation to retrieve balance sheet fails at the database. |
| cadmin::persprod::PersProductWriter corba::cadmin::contract::ContractWriter::getPersProduct | ( | in cadmin::PersProdId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Retrieve a personalised product.
| id | Unique personalised product id. | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | if personalised product cannot be found. |
| cadmin::persprod::PersProdSeq corba::cadmin::contract::ContractWriter::getPersProducts | ( | in boolean | noWait | ) | raises (common::OsbCorbaException) |
Retrieve list of personalised products.
| common::Utf8String corba::cadmin::contract::ContractWriter::getStatement | ( | in common::Utf8String | fileInfo | ) | raises (common::OsbCorbaException) |
Retrieve a statement.
| fileInfo | File information of invoice. |
| OsbCorbaException | if file I/O operation fails. |
| InvoiceInfoSeq corba::cadmin::contract::ContractWriter::getStatements | ( | in StatementType | type, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Retrieve all statements of a contract based on type of statement.
| type | Type of statement to retrieve.a | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | if I/O operation or database operation fails. |
| boolean corba::cadmin::contract::ContractWriter::removePersProduct | ( | in cadmin::PersProdId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Remove a personalised product.
This function removes a personalised product from the database.
| id | Unique personalised product id. | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | is operation fails at the gateway. |
| StatusValue corba::cadmin::contract::ContractWriter::requestedStatus | ( | in common::DateTime | ts | ) | raises (common::OsbCorbaException) |
Get the requested status for a given time.
| ts | Date and time to query, if not set system time is used. |
| OsbCorbaException | in case of a database error. |
| boolean corba::cadmin::contract::ContractWriter::setBillCycle | ( | in BillCycleId | bcId | ) |
Set bill cycle of contract.
| boolean corba::cadmin::contract::ContractWriter::setCreditLimit | ( | in common::Money | credit | ) |
Set amount of credit limit.
| boolean corba::cadmin::contract::ContractWriter::setTaxKey | ( | in common::TaxKeyId | tkId | ) |
Set tax key of contract.
| StatusHistory corba::cadmin::contract::ContractWriter::statusHistory | ( | in common::DateTime | from, | |
| in common::DateTime | to, | |||
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Get status history for a period of time.
| from | Start period of list to retrieve (inclusive). | |
| to | End period of list to retrieve (exclusive). | |
| noWait | Don't wait for database locks? |
| OsbCorbaException | if operation to retrieve status changes fails at the database. |
| readonly attribute AccountingType corba::cadmin::contract::ContractWriter::acctType |
| readonly attribute BillCycleId corba::cadmin::contract::ContractWriter::bcId |
| readonly attribute common::DateTime corba::cadmin::contract::ContractWriter::createdDate |
| readonly attribute common::Money corba::cadmin::contract::ContractWriter::creditLimit |
| readonly attribute Status corba::cadmin::contract::ContractWriter::effStatus |
| readonly attribute common::DateTime corba::cadmin::contract::ContractWriter::effStatusDate |
| readonly attribute ContractId corba::cadmin::contract::ContractWriter::id |
| readonly attribute cadmin::AssociateId corba::cadmin::contract::ContractWriter::owner |
Get the contract owner.
Definition at line 143 of file contract.idl.
| readonly attribute Status corba::cadmin::contract::ContractWriter::prefStatus |
| readonly attribute common::DateTime corba::cadmin::contract::ContractWriter::prefStatusDate |
Date and time of contract at which preferred status will be effective.
Definition at line 170 of file contract.idl.
| readonly attribute common::TaxKeyId corba::cadmin::contract::ContractWriter::tkId |
1.4.7