[
 {
  "creation": "2013-01-10 16:34:29", 
  "docstatus": 0, 
  "modified": "2013-01-23 16:48:38", 
  "modified_by": "Administrator", 
  "owner": "wasim@webnotestech.com"
 }, 
 {
  "doctype": "DocType", 
  "issingle": 1, 
  "istable": 0, 
  "module": "Stock", 
  "name": "__common__"
 }, 
 {
  "doctype": "DocField", 
  "name": "__common__", 
  "parent": "Sales and Purchase Return Tool", 
  "parentfield": "fields", 
  "parenttype": "DocType", 
  "permlevel": 0
 }, 
 {
  "create": 1, 
  "doctype": "DocPerm", 
  "name": "__common__", 
  "parent": "Sales and Purchase Return Tool", 
  "parentfield": "permissions", 
  "parenttype": "DocType", 
  "permlevel": 0, 
  "read": 1, 
  "report": 0, 
  "submit": 0, 
  "write": 1
 }, 
 {
  "doctype": "DocType", 
  "name": "Sales and Purchase Return Tool"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "return_date", 
  "fieldtype": "Date", 
  "label": "Return Date", 
  "no_copy": 1, 
  "oldfieldname": "return_date", 
  "oldfieldtype": "Date", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "return_type", 
  "fieldtype": "Select", 
  "label": "Return Type", 
  "no_copy": 1, 
  "oldfieldname": "return_type", 
  "oldfieldtype": "Select", 
  "options": "\nSales Return\nPurchase Return", 
  "reqd": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "delivery_note_no", 
  "fieldtype": "Link", 
  "hidden": 1, 
  "label": "Delivery Note No", 
  "no_copy": 1, 
  "oldfieldname": "delivery_note_no", 
  "oldfieldtype": "Link", 
  "options": "Delivery Note", 
  "reqd": 0
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "sales_invoice_no", 
  "fieldtype": "Link", 
  "hidden": 1, 
  "label": "Sales Invoice No", 
  "options": "Sales Invoice"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "purchase_receipt_no", 
  "fieldtype": "Link", 
  "hidden": 1, 
  "label": "Purchase Receipt No", 
  "no_copy": 1, 
  "oldfieldname": "purchase_receipt_no", 
  "oldfieldtype": "Link", 
  "options": "Purchase Receipt"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "company", 
  "fieldtype": "Link", 
  "hidden": 1, 
  "label": "Company", 
  "options": "Company", 
  "print_hide": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cust_supp", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "Customer/Supplier", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cust_supp_name", 
  "fieldtype": "Data", 
  "hidden": 1, 
  "label": "Cust/Supp Name", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "cust_supp_address", 
  "fieldtype": "Small Text", 
  "hidden": 1, 
  "label": "Cust/Supp Address", 
  "print_hide": 1, 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "get_items", 
  "fieldtype": "Button", 
  "hidden": 1, 
  "label": "Get Items", 
  "oldfieldtype": "Button"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "return_details", 
  "fieldtype": "Table", 
  "hidden": 1, 
  "label": "Sales and Purchase Return Items", 
  "no_copy": 1, 
  "oldfieldname": "return_details", 
  "oldfieldtype": "Table", 
  "options": "Sales and Purchase Return Item", 
  "read_only": 1
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "make_stock_entry", 
  "fieldtype": "Button", 
  "hidden": 1, 
  "label": "Make Stock Entry", 
  "oldfieldtype": "Button"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "make_excise_invoice", 
  "fieldtype": "Button", 
  "hidden": 1, 
  "label": "Make Excise Invoice", 
  "oldfieldtype": "Button"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "make_credit_note", 
  "fieldtype": "Button", 
  "hidden": 1, 
  "label": "Make Credit Note", 
  "oldfieldtype": "Button"
 }, 
 {
  "doctype": "DocField", 
  "fieldname": "make_debit_note", 
  "fieldtype": "Button", 
  "hidden": 1, 
  "label": "Make Debit Note", 
  "oldfieldtype": "Button"
 }, 
 {
  "amend": 0, 
  "cancel": 0, 
  "doctype": "DocPerm", 
  "role": "Material User"
 }, 
 {
  "doctype": "DocPerm", 
  "role": "Accounts User"
 }
]