Siebel Pharma Handheld Guide > Business Components and Classes >

Business Component Classes for Siebel Pharma Handheld


This topic lists the supported business component classes for Siebel Pharma Handheld applications.

NOTE:  The business component classes for Siebel Handheld applications are based on the classes for the Siebel Web Client. However, in most instances, because of the limitations of Siebel Handheld applications, only a subset of the class functionality that is required for the Siebel Handheld application is supported. All business components are shared by the Siebel Handheld application and the Siebel Server.

CSSBCAccountSIS

This class provides specialized functionality for managing a hierarchical account through its life cycle. This class is one of many in the hierarchy of classes that make up the Account Module in Siebel Industry Applications.

Usage Guidelines:

Use this class in Pharma Handheld to create a new account, by copying from an existing account. The new account created inherits some attributes from the original account, for example, Price List, Tax List, and Product Distribution records. This allows a Rep to place orders for the new account straight away.

NOTE:  For more information about the CSSBCAccountSIS class, see Siebel Developer's Reference.

Parent:

CSSBCBase

Accessible Methods:

Not Applicable

BC User Properties:

Not Applicable

Field User Properties:

Not Applicable

Dependencies & Limitations:

This class can only be used for copying an account and assumes the existence of Tax List, Price List Fields, and Retail Audit Product BC.

  

CSSBCHHPharmaCall

This is a specialized business component class (and the main class) for call reporting.

Usage Guidelines:

Use this class to perform validation and submission of calls, and to ensure that Submit is retriggered on the server during synchronization by logging sample transactions.

Parent:

CSSBCPharmaCallComponent

Accessible Methods:

The following methods are accessible from CSSBCPharmaCall:

  • ValidateOnSignBtnClick: Validates the sampling rules as defined in the business component's user properties. The rules validated include SubmitByPosition, Contact OK to Sample, Valid Contact Profile, and Sample Drops.
  • BCUpdateInventoryonOK: Performs a fake inventory update on the Handheld application based on the products disbursed in the contact calls. This update does not create transaction history records; history records are created on the server during synchronization.

BC User Properties:

Not Applicable

Field User Properties:

Not Applicable

Dependencies & Limitations:

None

CSSBCHHSampleItem

This is a specialized business component class for transactions.

Usage Guidelines:

Use this class to implement the functionality necessary to adjust sample transactions or add new transactions to already submitted contacts or attendee calls.

Parent:

CSSBCSampleItem

Accessible Methods:

The following methods are accessible from CSSBCHHSampleItem:

  • Submit: Submits transaction items, marking the status as Submitted; the original transaction item is marked as Adjusted.
  • Adjust: Copies the selected transaction item and makes the quantity editable in the copy.
  • AddTxn: Adds a new transaction item to an existing transaction.
  • IsItemSubmitted: Returns TRUE/FALSE depending on whether the transaction item is Submitted or not.
  • IsTxnTypeDisbursement: Returns TRUE/FALSE depending on whether the transaction item type is Disbursement or not.
  • IsSampleBeingAdjusted: Returns "1" or "2" depending on whether there is an adjustment item created for the selected transaction item.

BC User Properties:

Not Applicable

Field User Properties:

Not Applicable

Dependencies & Limitations:

None

Other Supported Business Component Classes

Other supported business components classes for Siebel Pharma Handheld applications include the following:

  • CSSBCBSampleLot
  • CSSBCContactSIS
  • CSSBCDivision
  • CSSBCDocInvoice
  • CSSBCExpitm
  • CSSBCExprpt
  • CSSBCFINOppty
  • CSSBCFINSActivity
  • CSSBCHHInventoryPeriod
  • CSSBCHHSample
  • CSSBCInventoryPeriod
  • CSSBCPeriod
  • CSSBCPharmaAddress
  • CSSBCPharmaCall
  • CSSBCPharmaCallComponent
  • CSSBCPharmaDisclaimer
  • CSSBCPharmaSign
  • CSSBCPosition
  • CSSBCPriceList
  • CSSBCProdRev
  • CSSBCProductDetailed
  • CSSBCPromoItemsDropped
  • CSSBCSample
  • CSSBCSampleDropped
  • CSSBCSampleInventory
  • CSSBCStateModel
  • CSSBCStateModelState
  • CSSBCStateTransition
  • CSSCommandShell
  • CSSExpenseAutoGenService
  • CSSOMAlarmMgr
  • CSSPreferencesService
  • CSSQueryExporter
  • CSSSISOMPricerService
  • CSSSMCacheService
  • CSSTimeSheetAutoGenService

The following classes are supported by Siebel Pharma Handheld, but there is no specialized code in the Siebel Handheld application (specific to Siebel Pharma Handheld) for these classes.

  • CSSBCAutoProduct

    NOTE:  It is required that you use the same class name for CSSBCAutoProduct on both the Siebel Handheld application and the Siebel Server. However, unlike the class on the Siebel Server, there is no functionality in the class on the handheld application.

  • CSSBCBase

    NOTE:  CSSBCBase is a base class from which other business component classes are derived. This class provides functionality through business component user properties and invokes methods that are useful in many common situations. For more information about the CSSBCBase class, see Siebel Developer's Reference.

  • CSSBCUser

    NOTE:  CSSBCUser is the base class for people-related business components, such as, User, Employee, Contact, and Personal Contact. This class provides functionality for user creation and management, external security adapter integration, Sync List for PIM devices, Personal Contact promotion, and other general contact and employee tasks. For more information about this class, see Siebel Developer's Reference.

  • CSSBusComp

    NOTE:  CSSBusComp is a base class from which other business component classes are derived. It provides functionality through business component user properties and an object interface. For more information about this class, see Siebel Developer's Reference.

Siebel Pharma Handheld Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.