Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Mapping between CustomizationFieldType and CustomFieldRef type
Hi all,
I'd like to know if someone knows how to get the CustomFieldRef type for a CustomizationFieldType value.
I mean that from a TransactionBodyCustomField you retrieve a value from enumeration CustomizationFieldType:
_checkBox
_currency
_date
_datetime
_decimalNumber
_document
_eMailAddress
_freeFormText
_help
_hyperlink
_image
_inlineHTML
_integerNumber
_listRecord
_longText
_multipleSelect
_password
_percent
_phoneNumber
_richText
_textArea
_timeOfDay
but then when you will use it in CustomFieldRef[] you have to chose one of the types:
BooleanCustomFieldRef
DateCustomFieldRef
DoubleCustomFieldRef
LongCustomFieldRef
MultiSelectCustomFieldRef
SelectCustomFieldRef
StringCustomFieldRef
This is why I'm asking if someone knows how to translate CustomizationFieldType value into CustomFieldRef type.
Thank you for any help.
Best regards