Getfieldvalue getmvgbuscomp

This preview shows page 19 - 22 out of 334 pages.

GetFieldValue GetFormattedFieldValue GetMultipleFieldValues GetMvgBusComp GetPickListBusComp GetViewMode ParentBusComp SetFieldValue SetFormattedFieldValue SetMultipleFieldValues Business Object GetBusComp Business Service InvokeMethod
Image of page 19
Siebel eScript Language Reference Version 8.1, Rev. A About Siebel eScript About Data Types and Numbers 20 About Data Types and Numbers This topic describes data types in Siebel eScript. It includes the following topics: “About Primitive Data Types” on page 20 “About Composite Data Types” on page 21 “Properties and Methods of Common Data Types” on page 24 “How Siebel eScript Converts Data Types” on page 24 “About Numbers” on page 26 For more information, see “Determining the Data Type of a Variable” on page 49 . About Primitive Data Types A primitive data type is a basic type of data that Siebel eScript provides as a fundamental part of the code. It does not possess other properties or functions. NOTE: The bool, chars, and float data types must use lowercase. Bool Data Type The bool data type defines and manipulates a Boolean object. A Boolean value is true or false. Chars Data Type The chars data type defines and manipulates a string. A chars value is a sequence of alphanumeric characters. It can be any sequence of 16-bit, unsigned integers. Float Data Type The float data type defines and manipulates a floating point number. NOTE: Integer is not a Siebel eScript data type. You can use a float variable. Some code that expects an integer variable converts a float variable to an integer. Undefined Data Type If nothing is saved in a variable, then it is undefined. An undefined variable occupies space until Siebel CRM saves a value in it. When Siebel CRM saves a value in a variable, it changes the type of the variable according to the value. The following example determines if a variable is undefined: var test; if (typeof test == "undefined") TheApplication().RaiseErrorText("test is undefined");
Image of page 20
About Siebel eScript About Data Types and Numbers Siebel eScript Language Reference Version 8.1, Rev. A 21 About Composite Data Types This topic describes the composite data types that Siebel eScript uses. A composite data type is a complex type of data that can include properties and functions. Overview of the Object Data Type The ECMAScript standard uses the following description for an object: A member of the type Object. It is an unordered collection of properties, each of which includes a primitive value, object, or function. A function stored in a property of an object is referred to as a method. Siebel eScript does not use a class hierarchy that conforms to this ECMAScript standard. Instead, Siebel eScript instantiates an object in the following ways: As an Object type From an object that it instantiates as an Object type These objects are new object types from which Siebel eScript can instantiate other objects. Each object includes an implicit constructor function that it implements through the following command: new You can configure Siebel eScript to add properties dynamically to an object. An object inherits all the
Image of page 21
Image of page 22

You've reached the end of your free preview.

Want to read all 334 pages?

  • Summer '16
  • Oracle
  • Type system, Siebel, Siebel eScript

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors