The FinancialForce API uses the following data types. Their Apex and Web Services equivalents are also listed.
| Data Type | Description | Apex | WSDL |
|---|---|---|---|
| Auto Number | An automatically assigned, unique sequential number. | string | xsd:string |
| Binary | Base 64-encoded binary data, such as a PDF document. | blob | xsd:base64Binary |
| Boolean | A value that can only be assigned true, false, or null. | boolean | xsd:boolean |
| Context | The context in which this operation executes. | CODAAPICommon_6_0.Context | CODAAPICommon_6_0.Context |
| Datetime | A value that indicates a particular day and time, such as a timestamp. | datetime | xsd:dateTime |
| Date | A value that indicates a particular day. | date | xsd:date |
| Double | A double value. Fields of this type can contain fractional portions (digits to the right of the decimal place). | double | xsd:double |
| Enum | Fields of this type contain a list of one or more items from which a user chooses a single item. They display as drop-down lists in the FinancialForce user interface. One of the items can be configured as the default item. | Enum | Enum |
| Formula (Number) | An automatically-calculated value based on other values or fields. | decimal | xsd:decimal |
| Integer | An integer value. Fields of this type contain numbers with no fractional portion (digits to the right of a decimal place). | integer | xsd:int |
| Number | A number. Fields of this type can contain fractional portions (digits to the right of the decimal place). | decimal | xsd:decimal |
| Reference | Cross-references to a different object. Analogous to a foreign key field in SQL. | CODAAPICommon.Reference | CODAAPICommon:Reference |
| Roll-up Summary | A calculated value from a set of related records | decimal | xsd:decimal |
| Text | Any combination of letters, numbers, or symbols. | string | xsd:string |
| Text (User Picklist) | Any combination of letters, numbers, or symbols, selected from a user-defined picklist. | string | xsd:string |
| Text Area | Any combination of letters, numbers, or symbols that display on separate lines. | string | xsd:string |