{
 "actions": [],
 "autoname": "format: CRM-SMP-{YYYY}-{MM}-{DD}-{###}",
 "creation": "2020-01-30 11:53:13.872864",
 "doctype": "DocType",
 "documentation": "https://docs.erpnext.com/docs/user/manual/en/CRM/social-media-post",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "title",
  "campaign_name",
  "scheduled_time",
  "post_status",
  "column_break_6",
  "twitter",
  "linkedin",
  "twitter_post_id",
  "linkedin_post_id",
  "content",
  "text",
  "column_break_14",
  "tweet_preview",
  "linkedin_section",
  "linkedin_post",
  "column_break_15",
  "attachments_section",
  "image",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "text",
   "fieldtype": "Small Text",
   "label": "Tweet",
   "mandatory_depends_on": "eval:doc.twitter ==1"
  },
  {
   "fieldname": "image",
   "fieldtype": "Attach Image",
   "label": "Image"
  },
  {
   "default": "1",
   "fieldname": "twitter",
   "fieldtype": "Check",
   "label": "Twitter"
  },
  {
   "default": "1",
   "fieldname": "linkedin",
   "fieldtype": "Check",
   "label": "LinkedIn"
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Social Media Post",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "depends_on": "eval:doc.twitter ==1",
   "fieldname": "content",
   "fieldtype": "Section Break",
   "label": "Twitter"
  },
  {
   "allow_on_submit": 1,
   "fieldname": "post_status",
   "fieldtype": "Select",
   "label": "Post Status",
   "no_copy": 1,
   "options": "\nScheduled\nPosted\nCancelled\nDeleted\nError",
   "read_only": 1
  },
  {
   "allow_on_submit": 1,
   "fieldname": "twitter_post_id",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Twitter Post Id",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "allow_on_submit": 1,
   "fieldname": "linkedin_post_id",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "LinkedIn Post Id",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fieldname": "campaign_name",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Campaign",
   "options": "Campaign"
  },
  {
   "fieldname": "column_break_6",
   "fieldtype": "Column Break",
   "label": "Share On"
  },
  {
   "fieldname": "column_break_14",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "tweet_preview",
   "fieldtype": "HTML"
  },
  {
   "collapsible": 1,
   "depends_on": "eval:doc.linkedin==1",
   "fieldname": "linkedin_section",
   "fieldtype": "Section Break",
   "label": "LinkedIn"
  },
  {
   "collapsible": 1,
   "fieldname": "attachments_section",
   "fieldtype": "Section Break",
   "label": "Attachments"
  },
  {
   "fieldname": "linkedin_post",
   "fieldtype": "Text",
   "label": "Post",
   "mandatory_depends_on": "eval:doc.linkedin ==1"
  },
  {
   "fieldname": "column_break_15",
   "fieldtype": "Column Break"
  },
  {
   "allow_on_submit": 1,
   "fieldname": "scheduled_time",
   "fieldtype": "Datetime",
   "label": "Scheduled Time",
   "read_only_depends_on": "eval:doc.post_status == \"Posted\""
  },
  {
   "fieldname": "title",
   "fieldtype": "Data",
   "label": "Title",
   "reqd": 1
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2021-04-14 14:24:59.821223",
 "modified_by": "Administrator",
 "module": "CRM",
 "name": "Social Media Post",
 "owner": "Administrator",
 "permissions": [
  {
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Sales User",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Sales Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "title",
 "track_changes": 1
}