UNPKG

nsmockup

Version:

Test your Suitescripts before deploying to NetSuite

465 lines 10 kB
{ "code": "message", "id": 0, "translations": { "en": "Message" }, "inactive": false, "fields": [ { "code": "activity", "type": "TEXT", "translations": { "en": { "label": "activity", "help": "References an activity record that must already exist in your account. In a single request, a value can be provided for either Activity or Transaction but not both. To have the same message attached to both an Activity and a Transaction, you must add the Message twice. SupportCase, Task, CalendarEvent, and PhoneCall (all examples of Activities) as parents can be set via the \"activity\" field. Opportunity and all other transactions can be set as parent via the \"transaction\" field. In order to retrieve a list of available values for this field, use the GetSelectValue operation. For more information, see getSelectValue of the Platform Guide." } }, "mandatory": false }, { "code": "author", "type": "SELECT", "translations": { "en": { "label": "From", "help": "References an entity record that must already exist in your account. Defaults to the currently logged in user (as specified in the login operation).\nIn order to retrieve a list of available values for this field, use the GetSelectValue operation. For more information, see getSelectValue of the Platform Guide." } }, "mandatory": false, "recordType": null }, { "code": "authoremail", "type": "TEXT", "translations": { "en": { "label": "Author Email" } }, "mandatory": false }, { "code": "bcc", "type": "EMAIL", "translations": { "en": { "label": "Bcc" } }, "mandatory": false }, { "code": "campaign", "type": "SELECT", "translations": { "en": { "label": "Campaign" } }, "mandatory": false, "recordType": "campaign" }, { "code": "cc", "type": "EMAIL", "translations": { "en": { "label": "Cc" } }, "mandatory": false }, { "code": "contact", "type": "TEXT", "translations": { "en": { "label": "contact" } }, "mandatory": false }, { "code": "customer", "type": "SELECT", "translations": { "en": { "label": "Customer" } }, "mandatory": false, "recordType": "customer" }, { "code": "emailed", "type": "CHECKBOX", "translations": { "en": { "label": "Emailed", "help": "Check this box if you are pasting in an e-mail message." } }, "mandatory": false }, { "code": "employee", "type": "SELECT", "translations": { "en": { "label": "Employee" } }, "mandatory": false, "recordType": "employee" }, { "code": "entity", "type": "TEXT", "translations": { "en": { "label": "entity" } }, "mandatory": false }, { "code": "entitytype", "type": "TEXT", "translations": { "en": { "label": "entitytype" } }, "mandatory": false }, { "code": "externalid", "type": "TEXT", "translations": { "en": { "label": "ExternalId" } }, "mandatory": false }, { "code": "externalidstring", "type": "TEXT", "translations": { "en": { "label": "External ID (Text)" } }, "mandatory": false }, { "code": "formulacurrency", "type": "CURRENCY", "translations": { "en": { "label": "Formula (Currency)" } }, "mandatory": false }, { "code": "formuladate", "type": "DATE", "translations": { "en": { "label": "Formula (Date)" } }, "mandatory": false }, { "code": "formuladatetime", "type": "DATETIME", "translations": { "en": { "label": "Formula (Date/Time)" } }, "mandatory": false }, { "code": "formulanumeric", "type": "FLOAT", "translations": { "en": { "label": "Formula (Numeric)" } }, "mandatory": false }, { "code": "formulapercent", "type": "PERCENT", "translations": { "en": { "label": "Formula (Percent)" } }, "mandatory": false }, { "code": "formulatext", "type": "TEXT", "translations": { "en": { "label": "Formula (Text)" } }, "mandatory": false }, { "code": "hasattachment", "type": "CHECKBOX", "translations": { "en": { "label": "Files" } }, "mandatory": false }, { "code": "internalonly", "type": "CHECKBOX", "translations": { "en": { "label": "Internal Only" } }, "mandatory": false }, { "code": "isemailed", "type": "CHECKBOX", "translations": { "en": { "label": "Email Sent" } }, "mandatory": false }, { "code": "isincoming", "type": "CHECKBOX", "translations": { "en": { "label": "Is Incoming" } }, "mandatory": false }, { "code": "lastmodifieddate", "type": "DATETIME", "translations": { "en": { "label": "Modification Date" } }, "mandatory": false }, { "code": "message", "type": "CLOBTEXT", "translations": { "en": { "label": "Message" } }, "mandatory": false }, { "code": "messagedate", "type": "DATETIME", "translations": { "en": { "label": "Date" } }, "mandatory": false }, { "code": "messagetype", "type": "SELECT", "translations": { "en": { "label": "Type" } }, "mandatory": false, "recordType": null }, { "code": "name", "type": "TEXT", "translations": { "en": { "label": "Name" } }, "mandatory": true }, { "code": "partner", "type": "SELECT", "translations": { "en": { "label": "Partner" } }, "mandatory": false, "recordType": "partner" }, { "code": "recipient", "type": "SELECT", "translations": { "en": { "label": "Attach to", "help": "References an entity record that must already exist in your account. The submitted message is saved on the Messages subtab of the recipient's record as well as the author, activity or transaction records.\nIn order to retrieve a list of available values for this field, use the GetSelectValue operation. For more information, see getSelectValue of the Platform Guide." } }, "mandatory": false, "recordType": null }, { "code": "recipientemail", "type": "TEXT", "translations": { "en": { "label": "Recipient Email" } }, "mandatory": false }, { "code": "record", "type": "TEXT", "translations": { "en": { "label": "record" } }, "mandatory": false }, { "code": "recordtype", "type": "TEXT", "translations": { "en": { "label": "recordtype" } }, "mandatory": false }, { "code": "subject", "type": "TEXT", "translations": { "en": { "label": "Subject" } }, "mandatory": false }, { "code": "template", "type": "SELECT", "translations": { "en": { "label": "Template" } }, "mandatory": false, "recordType": null }, { "code": "time", "type": "TIMEOFDAY", "translations": { "en": { "label": "Time" } }, "mandatory": false }, { "code": "transaction", "type": "TEXT", "translations": { "en": { "label": "transaction", "help": "References an opportunity record that already exists in your NetSuite account. In a single request, a value can be provided for either Activity or Transaction but not both. To have the same message attached to both an Activity and a Transaction, you must add the Message twice." } }, "mandatory": false }, { "code": "vendor", "type": "SELECT", "translations": { "en": { "label": "Vendor" } }, "mandatory": false, "recordType": "vendor" }, { "code": "view", "type": "TEXT", "translations": { "en": { "label": "View" } }, "mandatory": false } ], "subLists": [ { "code": "mediaitem", "translations": { "en": "Attachments" }, "fields": [ { "code": "mediaitem", "type": "SELECT", "translations": { "en": { "label": "Attach File" } }, "mandatory": true, "recordType": null } ] } ], "tabs": [ { "code": "attachments", "translations": { "en": "Attachments" } }, { "code": "messages", "translations": { "en": "Message" } }, { "code": "recipients", "translations": { "en": "Recipients" } } ] }