Bookshelf Home | Contents | Index | PDF |
Business Processes and Rules: Siebel Enterprise Application Integration > Data Mapping Using Scripts > Siebel Message Objects and Methods > CSSEAIIntCompInThis object represents the input integration component, open for reading. You can use the object's methods to traverse actual integration components and to retrieve data from those integration components. This object provides Exists, FirstRecord, GetFieldValue, GetIntComp, and NextRecord methods. Exists() MethodThis method checks to see if the integration component is actually present in the input data. It takes no parameters. SyntaxReturnsUsageCall Exists after retrieving the integration component from its parent object using the GetIntComp method, and before invoking the integration component's other methods. If the integration component is found and is open for reading, the Exists method returns true. FirstRecord() MethodThis method moves a pointer to the first component record in the integration component. SyntaxReturnsUsageMoves to the first integration component record and sets it as the active record. This method returns true if the record exists, false if the integration component has no records. GetFieldValue() MethodThis method returns the value of the integration component field from the active record. Table 29 presents the parameters for this method. SyntaxGetFieldValue(name [, defaultIfNull [, defaultIfEmpty]])
ReturnsUsageA If the named argument does not exist, null is returned. If the named argument exists but the value is the empty string, the empty string is returned. You can use the defaultIfNull and defaultIfEmpty arguments to change this behavior. NOTE: The arguments defaultIfNull and defaultIfEmpty are optional. However, if you specify defaultIfEmpty, you must also specify the defaultIfNull argument. GetIntComp() MethodThis method returns the integration component from the active record and opens it for input. Table 30 presents the parameter for this method. SyntaxReturnsCSSEAIIntCompIn Input Integration Component UsageThis method always returns an input integration component object, even if the component does not exist. Call the Exists method on the returned object to test for this condition. NOTE: If there is no active record, a call to this method raises an error. NextRecord() MethodThis method moves a pointer to the next logical record in the active integration component. SyntaxReturnsUsageMoves to the next record and makes it the active record. Returns true if the record exists, or false if there are no more records. Moves to the first record if neither the NextRecord method nor the FirstRecord method has been called previously. |
Business Processes and Rules: Siebel Enterprise Application Integration | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |