Difference between revisions of "Java API:Field Type Reference"
From AgileApps Support Wiki
imported>Aeric |
imported>Aeric |
||
Line 18: | Line 18: | ||
| Currency | | Currency | ||
| | | | ||
* Specify a | * Specify a value in [[Database Format]], with no currency symbol and no separators other than the decimal point. | ||
|- | |- | ||
Line 29: | Line 29: | ||
| | | | ||
* A date. | * A date. | ||
* The field definition | * The field definition and user's [[Locale Settings]] determine how to format the value. | ||
|- | |- | ||
Line 35: | Line 35: | ||
| | | | ||
* <span id="Date_time">A date and time.<span> | * <span id="Date_time">A date and time.<span> | ||
* The field definition | * The field definition and user's [[Locale Settings]] determine how to format the value. | ||
|- | |- | ||
Line 98: | Line 98: | ||
| Number | | Number | ||
| | | | ||
* | * Specify a value in [[Database Format]], with no separators other than the decimal point. | ||
* Possible values range -2,147,483,646 to 2,147,483,647 (-2147483646 to 2147483647). | |||
|- | |- | ||
| Number with decimals | | Number with decimals | ||
| | | | ||
* | * Specify a value in [[Database Format]], with no separators other than the decimal point. | ||
* The number of decimal places is specified in the field definition. | |||
|- | |- | ||
| Percentage | | Percentage | ||
| | | | ||
* | * Specify a value in [[Database Format]], with no percent sign and no separators other than the decimal point. | ||
* The value must be in the range 0 to 1. | |||
* The number of decimal places is specified in the field definition. | |||
|- | |- | ||
Line 151: | Line 155: | ||
| | | | ||
* A time. For example, "6:50 PM". | * A time. For example, "6:50 PM". | ||
* The field definition | * The field definition and user's [[Locale Settings]] determine how to format the value. | ||
|- | |- |
Revision as of 19:27, 22 August 2013
This table shows how to format input data for the various Field Display Types in platform objects when using the Java API.
Field Display Types | Description |
---|---|
Auto Number |
n/a (read only) |
Checkbox |
|
Currency |
|
Custom Control |
n/a |
Date |
|
Date time |
|
Dependent Picklist |
|
Email Address |
|
File Field |
|
Formula |
n/a |
Global Picklist |
|
Image Field |
|
1:N Lookup |
|
M:N Lookup |
|
Multiple Checkboxes |
|
Multi Object Lookup |
|
Multi Select Picklist & Multi Select Global Picklist |
|
Number |
|
Number with decimals |
|
Percentage |
|
Phone/Fax |
|
Picklist |
|
Radio Buttons |
|
Rich Text Area |
|
Text Area |
|
Text Field |
|
Time |
|
URL |
|