
The product catalogue is the object factory for all product related classes:
ToDo: A product catalogue writer interface has to be added or the POA settings for the product catalogue have to be made such that no two users can simultanously call a get and an update method.
Definition at line 61 of file productcatalogue.idl.
| boolean corba::pcat::ProductCatalogue::checkPricelistCfg | ( | in pl::PricelistId | pricelistId, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Change status of a price list configuration from editable to standby.
| pricelistId | The id of the pricelist | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| boolean corba::pcat::ProductCatalogue::creChargeTraits | ( | in common::CurrencyCode | currency, | |
| in common::RoundRuleId | rrId, | |||
| in common::Utf8String | accCode, | |||
| in common::Utf8String | numFormat, | |||
| in common::TaxKeyId | tkId, | |||
| in common::ChargeType | cType, | |||
| in boolean | noWait, | |||
| out common::ChargeTraits | chrgTraits | |||
| ) | raises (common::OsbCorbaException) |
Create charge traits.
If such a configuration of the charge traits already exist, the unique id of the charge traits will be returned. If the charge traits does not exist, the charge traits will be created and the unique id of the newly created charge traits will be returned. If create is not successful, a charge triats with an id value of 0 will be returned.
| currency | Type-safe id of currency. | |
| rrId | Unique id of round rule. | |
| accCode | Account code. | |
| numFormat | Number format. | |
| tkId | Unique id of tax key. | |
| cType | Charge type. | |
| noWait | Set to true if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. | |
| chrgTraits | Charge traits struct contains either an existing charge traits or a newly created charge traits. |
| OsbCorbaException |
|
| pl::PricelistWriter corba::pcat::ProductCatalogue::crePricelist | ( | ) |
Create a pricelist.
| pd::ProductWriter corba::pcat::ProductCatalogue::creProduct | ( | ) | raises (common::OsbCorbaException) |
Create a product.
| OsbCorbaException |
|
| void corba::pcat::ProductCatalogue::delPricelist | ( | in pl::PricelistId | id, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Deletes an existing pricelist.
| id | Id of the pricelist to delete. | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| void corba::pcat::ProductCatalogue::delProduct | ( | in pd::ProductId | id | ) | raises (common::OsbCorbaException) |
Deletes an existing product.
| id | Id of the product to delete. |
| OsbCorbaException |
|
| common::Accounting corba::pcat::ProductCatalogue::getAccounting | ( | in boolean | noWait | ) |
Gets a reference to an accounting interface.
An accounting interface provide functions to retrieve tax keys, accounts, currency book, units, roundrules and chargetraits.
| pp::PpType corba::pcat::ProductCatalogue::getPpType | ( | in pp::PpTypeId | id | ) | raises (common::OsbCorbaException) |
Get a product part type by id.
| id | Id of the product part type. |
| OsbCorbaException |
|
| pp::PpTypeSeq corba::pcat::ProductCatalogue::getPpTypes | ( | ) |
Get a list of product part type.
| pl::Pricelist corba::pcat::ProductCatalogue::getPricelist | ( | in pl::PricelistId | id | ) | raises (common::OsbCorbaException) |
Gets a pricelist by its id.
| id | The id of the pricelist. |
| OsbCorbaException |
|
| pl::PricelistCfg corba::pcat::ProductCatalogue::getPricelistCfg | ( | in pl::PricelistId | id | ) | raises (common::OsbCorbaException) |
Gets a pricelistCfg by providing pricelist id.
| id | The id of the pricelist. |
| OsbCorbaException |
|
| pl::PricelistSeq corba::pcat::ProductCatalogue::getPricelists | ( | ) | raises (common::OsbCorbaException) |
Get a list of all pricelists available in the product catalogue.
| pd::Product corba::pcat::ProductCatalogue::getProduct | ( | in pd::ProductId | id | ) | raises (common::OsbCorbaException) |
Gets a product by its id.
| id | The id of the product. |
| OsbCorbaException |
|
| pd::ProductSeq corba::pcat::ProductCatalogue::getProducts | ( | ) |
Get a list of all products in the product catalogue.
| service::ServiceElement corba::pcat::ProductCatalogue::getServiceElement | ( | in service::ServiceElementId | seId | ) | raises (common::OsbCorbaException) |
Get a service element by its id.
| seId | Unqiue id of service element. |
| OsbCorbaException | if the service element does not exist in the tariff catalogue. |
| service::ServiceElementSeq corba::pcat::ProductCatalogue::getServiceElements | ( | ) |
Get list of service elements from the tariff catalogue.
| tcat::ts::TariffSystem corba::pcat::ProductCatalogue::getTariffSystem | ( | in tcat::ts::TariffSystemId | tsId | ) | raises (common::OsbCorbaException) |
Get a tariff system by its id.
| tsId | Unqiue id of tariff system. |
| OsbCorbaException | if the tariff system does not exist the tariff catalogue. |
| tcat::ts::TariffSystemSeq corba::pcat::ProductCatalogue::getTariffSystems | ( | ) |
Get list of tariff systems from the tariff catalogue.
| boolean corba::pcat::ProductCatalogue::releasePricelistCfg | ( | in pl::PricelistId | pricelistId, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Change status of a price list configuration from standby to released.
| pricelistId | The id of the pricelist | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| boolean corba::pcat::ProductCatalogue::revokePricelistCfg | ( | in pl::PricelistId | pricelistId, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Change status of a price list configuration from released to standby.
| pricelistId | The id of the pricelist | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| boolean corba::pcat::ProductCatalogue::unfreezePricelistCfg | ( | in pl::PricelistId | pricelistId, | |
| in boolean | noWait | |||
| ) | raises (common::OsbCorbaException) |
Change status of a price list configuration from standby to editable.
| pricelistId | The id of the pricelist | |
| noWait | Set to false if waiting is desired when lock is already acquired by others. If waiting is not desired, set flag to true. |
| OsbCorbaException |
|
| readonly attribute common::ServerInfo corba::pcat::ProductCatalogue::getServerInfo |
1.4.7