{
  "allow_copy": 1,
 "creation": "2013-01-10 16:34:22",
 "docstatus": 0,
 "doctype": "DocType",
 "fields": [
  {
   "fieldname": "column_break1",
   "fieldtype": "Column Break",
   "permlevel": 0,
   "width": "50%"
  },
  {
   "fieldname": "send_to",
   "fieldtype": "Select",
   "in_list_view": 1,
   "label": "Send To",
   "options": "\nAll Contact\nAll Customer Contact\nAll Supplier Contact\nAll Sales Partner Contact\nAll Lead (Open)\nAll Employee (Active)\nAll Sales Person",
   "permlevel": 0
  },
  {
   "depends_on": "eval:doc.send_to=='All Customer Contact'",
   "fieldname": "customer",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Customer",
   "options": "Customer",
   "permlevel": 0
  },
  {
   "depends_on": "eval:doc.send_to=='All Supplier Contact'",
   "fieldname": "supplier",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Supplier",
   "options": "Supplier",
   "permlevel": 0
  },
  {
   "depends_on": "eval:doc.send_to=='All Employee (Active)'",
   "fieldname": "department",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Department",
   "options": "Department",
   "permlevel": 0
  },
  {
   "depends_on": "eval:doc.send_to=='All Employee (Active)'",
   "fieldname": "branch",
   "fieldtype": "Link",
   "label": "Branch",
   "options": "Branch",
   "permlevel": 0
  },
  {
   "fieldname": "create_receiver_list",
   "fieldtype": "Button",
   "label": "Create Receiver List",
   "options": "create_receiver_list",
   "permlevel": 0
  },
  {
   "fieldname": "receiver_list",
   "fieldtype": "Code",
   "label": "Receiver List",
   "permlevel": 0
  },
  {
   "fieldname": "column_break9",
   "fieldtype": "Column Break",
   "permlevel": 0,
   "width": "50%"
  },
  {
   "description": "Messages greater than 160 characters will be split into multiple messages",
   "fieldname": "message",
   "fieldtype": "Text",
   "label": "Message",
   "permlevel": 0,
   "reqd": 1
  },
  {
   "fieldname": "total_characters",
   "fieldtype": "Int",
   "label": "Total Characters",
   "permlevel": 0,
   "read_only": 1
  },
  {
   "fieldname": "total_messages",
   "fieldtype": "Int",
   "label": "Total Message(s)",
   "permlevel": 0,
   "read_only": 1
  },
  {
   "fieldname": "send_sms",
   "fieldtype": "Button",
   "label": "Send SMS",
   "options": "send_sms",
   "permlevel": 0
  }
 ],
 "hide_heading": 0,
 "hide_toolbar": 0,
 "icon": "icon-mobile-phone",
 "idx": 1,
 "in_create": 0,
 "issingle": 1,
 "modified": "2014-06-18 08:59:51.755566",
 "modified_by": "Administrator",
 "module": "Selling",
 "name": "SMS Center",
 "owner": "Administrator",
 "permissions": [
  {
   "cancel": 0,
   "create": 1,
   "delete": 0,
   "export": 0,
   "import": 0,
   "permlevel": 0,
   "read": 1,
   "report": 0,
   "role": "System Manager",
   "submit": 0,
   "write": 1
  }
 ],
 "read_only": 1,
 "sort_field": "modified",
 "sort_order": "DESC"
}
