Skip to main content

Posts

Showing posts with the label BC

How to create Integration Object in Siebel through Object Wizard

 Integration Objects: Integration objects are logical representations of Siebel business objects or external application data, such as externally defined XML documents. An integration object is metadata stored in the Siebel Repository. One integration object can be mapped to another integration object. Instances of integration objects are used in integration processes for data exchange. About the Structure of Integration Objects: The Siebel integration object provides a hierarchical structure that represents a complex data type. Most specifically, prebuilt EAI integration objects describe the structure of Siebel business objects, SAP IDOCs, SAP BAPIs, XML, and external data. Most integration projects require the use of an integration object that describes Siebel business objects, either in an outbound direction such as a query operation against a Siebel integration object, or in an inbound direction such as a synchronize operation against a Siebel integration object. An integration...

Error while mapping file attachment: SBL-EAI-04058: Source expression generated attachment ID '...' but the corresponding attachment cannot be found. (Doc ID 972381.1)

APPLIES TO: Siebel CRM - Version 7.8.2 [19213] and later Information in this document applies to any platform. SYMPTOMS Following error will be reported by EAI Data Transformation Engine (Intgeraiton Object Declarative Data Mapper) when mapping file attachment (copying file content) from improperly configured / provided source Integration Component Field; SBL-EAI-04058: Source expression generated attachment ID '...' but the corresponding attachment cannot be found. CAUSE The field type of the source (and also traget) Integration Component that (the field) provide the file attachment content has to be "DTYPE_ATTACHMENT". The error occurs if it is set  to  "DTYPE_TEXT" (that may be default setting provided while creating  the Integration Object from XSD schema using Siebel Tools Wizard. Also there are alo following requirements for the text (VALUE) of the XML element in the input XML document where the source integration object is instantiat...

How to check if filed has Arabic characters through Siebel eScript

Below is simple function for checking if ipstring have Arabic Characters in it: function hasArabic(ipstring) {     var araChar = 'ئءؤرلاىةوزظطكمنتالبيسشضصثقفغعهخحجد~ْلآآـألأًٌٍَُِلإإ';     var strlen = ipstring.length; // test string length       if (strlen < 1)     {         return false;     }     for (var i = 0; i < ipstring.length; i++)     {              if (araChar.indexOf(ipstring[i]) >= 0) // found         {             return true;         }     }       return false; }

How to Insert Record in Business Component through Siebel Workflow

Add new Business Service step in Siebel Workflow, set its properties as below: Business Service Name: Inbound E-mail Database Operations Business Service Method: InsertRecord Set the values of Input Arguments as below: Input Argument: BusComp Type: Literal Value: Service Request Input Argument: BusObj Type: Literal Value: Service Request Input Argument: Field: Status Type: Literal Value: In Process Note: While inserting the record Value In Process will be set against the Status field, you have set values of all required fields. Can add multiple field in similar manner. Set the values of Output Arguments as below: Property Name: SR ID Type: Output Argument Output Argument: Id Note: It will return the Row Id of newly inserted record.

How to Update Record in Business Component through Siebel Workflow

Add new Business Service step in Siebel Workflow, set its properties as below: Business Service Name: Inbound E-mail Database Operations Business Service Method: UpdateRecord Note: This method might not be available in dropdown list of BS Methods so just copy paste. Set the values of Input Arguments as below: Input Argument: BusComp Type: Literal Value: Service Request Input Argument: BusObj Type: Literal Value: Service Request Input Argument: Field: Status Type: Literal Value: In Process Note: Status is the field which will be going to update. Can add multiple field in similar manner. Input Argument: Id Type: Process Property Property Name: SR ID Note: This service will only update the record based on the Row Id of the record. if record didn't found service will return error so add error handling steps.

How to Find Record (query) in Business Component through Siebel Workflow

Add new Business Service step in Siebel Workflow, set its properties as below: Business Service Name: Inbound E-mail Database Operations Business Service Method: FindRecord Set the values of Input Arguments as below: Input Argument: BusComp Type: Literal Value: Service Request Input Argument: BusObj Type: Literal Value: Service Request Input Argument: QueryFields Type: Literal Value: SR Number Note: Filed on which you want to query. Can add multiple fields like Field1,Field2,Field3 Input Argument: ValueFields Type: Literal Value: Id Note: Filed which will business service return if found the record. Can add multiple fields like Field1,Field2,Field3 Input Argument: SR Number Type: Process Property Property Name: SRNumber Note: Input Argument should be same as the name of filed defined in QueryFields. Set the values of Output Arguments as below: Property Name: SR ID Type: Output Argument Output Argument: Id Note: Output Argume...