Nabin Hait
11 years ago
21 changed files with 180 additions and 1021 deletions
@ -1,36 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "ashwini@webnotestech.com", |
|||
"docstatus": 0, |
|||
"creation": "2010-09-01 15:47:59", |
|||
"modified_by": "Administrator", |
|||
"modified": "2012-04-03 12:49:50" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"parent": "Appraisal Template-Appraisal", |
|||
"from_field": "kra_sheet", |
|||
"doctype": "Table Mapper Detail", |
|||
"to_table": "Appraisal Goal", |
|||
"name": "__common__", |
|||
"to_field": "appraisal_details", |
|||
"parenttype": "DocType Mapper", |
|||
"from_table": "Appraisal Template Goal", |
|||
"validation_logic": "name is not Null", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Appraisal", |
|||
"module": "HR", |
|||
"doctype": "DocType Mapper", |
|||
"from_doctype": "Appraisal Template" |
|||
}, |
|||
{ |
|||
"name": "Appraisal Template-Appraisal", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"doctype": "Table Mapper Detail" |
|||
} |
|||
] |
@ -1,100 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "harshada@webnotestech.com", |
|||
"docstatus": 0, |
|||
"creation": "2010-12-14 10:33:11", |
|||
"modified_by": "Administrator", |
|||
"modified": "2011-09-15 15:04:44" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Salary Structure-Salary Slip", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"validation_logic": "name is not null", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Salary Structure-Salary Slip", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Salary Slip", |
|||
"module": "HR", |
|||
"doctype": "DocType Mapper", |
|||
"from_doctype": "Salary Structure" |
|||
}, |
|||
{ |
|||
"name": "Salary Structure-Salary Slip", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"to_field": "gross_pay", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "total_earning" |
|||
}, |
|||
{ |
|||
"to_field": "e_amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "modified_value" |
|||
}, |
|||
{ |
|||
"to_field": "d_amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 2, |
|||
"from_field": "d_modified_amt" |
|||
}, |
|||
{ |
|||
"to_field": "e_modified_amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "modified_value" |
|||
}, |
|||
{ |
|||
"to_field": "e_depends_on_lwp", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "depend_on_lwp" |
|||
}, |
|||
{ |
|||
"to_field": "d_modified_amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 2, |
|||
"from_field": "d_modified_amt" |
|||
}, |
|||
{ |
|||
"to_field": "d_depends_on_lwp", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 2, |
|||
"from_field": "depend_on_lwp" |
|||
}, |
|||
{ |
|||
"to_table": "Salary Slip", |
|||
"doctype": "Table Mapper Detail", |
|||
"match_id": 0, |
|||
"from_table": "Salary Structure" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "earning_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "earning_details", |
|||
"from_table": "Salary Structure Earning", |
|||
"to_table": "Salary Slip Earning" |
|||
}, |
|||
{ |
|||
"match_id": 2, |
|||
"to_field": "deduction_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "deduction_details", |
|||
"from_table": "Salary Structure Deduction", |
|||
"to_table": "Salary Slip Deduction" |
|||
} |
|||
] |
@ -0,0 +1,4 @@ |
|||
import webnotes |
|||
def execute(): |
|||
for m in webnotes.conn.sql("select name from `tabDocType Mapper`"): |
|||
webnotes.delete_doc("DocType Mapper", m[0]) |
@ -1,118 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "Administrator", |
|||
"docstatus": 0, |
|||
"creation": "2010-08-08 17:09:34", |
|||
"modified_by": "Administrator", |
|||
"modified": "2011-09-15 15:04:42" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Delivery Note-Installation Note", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Delivery Note-Installation Note", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Installation Note", |
|||
"module": "Selling", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Delivery Note" |
|||
}, |
|||
{ |
|||
"name": "Delivery Note-Installation Note", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "company", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "company", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "customer", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "delivery_note_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_detail_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parenttype" |
|||
}, |
|||
{ |
|||
"to_field": "qty", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "eval: flt(obj.qty) - flt(obj.installed_qty)" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_date", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 2, |
|||
"from_field": "posting_date" |
|||
}, |
|||
{ |
|||
"to_field": "serial_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "serial_no" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "installed_item_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "delivery_note_details", |
|||
"from_table": "Delivery Note Item", |
|||
"to_table": "Installation Note Item", |
|||
"validation_logic": "qty > ifnull(installed_qty,0) and docstatus = 1" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"doctype": "Table Mapper Detail", |
|||
"from_table": "Delivery Note", |
|||
"to_table": "Installation Note", |
|||
"validation_logic": "docstatus = 1" |
|||
}, |
|||
{ |
|||
"reference_key": "prevdoc_docname", |
|||
"match_id": 2, |
|||
"reference_doctype_key": "prevdoc_doctype", |
|||
"to_field": "installed_item_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_table": "Delivery Note", |
|||
"to_table": "Installation Note Item", |
|||
"validation_logic": "docstatus = 1" |
|||
} |
|||
] |
@ -1,113 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "Administrator", |
|||
"docstatus": 0, |
|||
"creation": "2010-08-08 17:09:34", |
|||
"modified_by": "Administrator", |
|||
"modified": "2012-04-03 12:49:50" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Opportunity-Quotation", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"validation_logic": "docstatus=1", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Opportunity-Quotation", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Quotation", |
|||
"module": "Selling", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Opportunity" |
|||
}, |
|||
{ |
|||
"name": "Opportunity-Quotation", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "stock_uom", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "uom" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 0, |
|||
"to_field": "enq_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "parenttype" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 0, |
|||
"to_field": "quotation_to", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "enquiry_from" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 0, |
|||
"to_field": "order_type", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "enquiry_type" |
|||
}, |
|||
{ |
|||
"map": "No", |
|||
"match_id": 0, |
|||
"to_field": "transaction_date", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "transaction_date" |
|||
}, |
|||
{ |
|||
"map": "No", |
|||
"match_id": 0, |
|||
"to_field": "status", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "status" |
|||
}, |
|||
{ |
|||
"map": "No", |
|||
"match_id": 0, |
|||
"to_field": "naming_series", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "naming_series" |
|||
}, |
|||
{ |
|||
"to_table": "Quotation", |
|||
"doctype": "Table Mapper Detail", |
|||
"match_id": 0, |
|||
"from_table": "Opportunity" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "quotation_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "enq_details", |
|||
"from_table": "Opportunity Item", |
|||
"to_table": "Quotation Item" |
|||
} |
|||
] |
@ -1,86 +0,0 @@ |
|||
[ |
|||
{ |
|||
"creation": "2012-02-02 11:50:33", |
|||
"docstatus": 0, |
|||
"modified": "2013-04-16 12:26:28", |
|||
"modified_by": "Administrator", |
|||
"owner": "Administrator" |
|||
}, |
|||
{ |
|||
"doctype": "Table Mapper Detail", |
|||
"name": "__common__", |
|||
"parent": "Delivery Note-Packing Slip", |
|||
"parentfield": "table_mapper_details", |
|||
"parenttype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"name": "__common__", |
|||
"parent": "Delivery Note-Packing Slip", |
|||
"parentfield": "field_mapper_details", |
|||
"parenttype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"doctype": "DocType Mapper", |
|||
"from_doctype": "Delivery Note", |
|||
"module": "Stock", |
|||
"name": "__common__", |
|||
"ref_doc_submitted": 0, |
|||
"to_doctype": "Packing Slip" |
|||
}, |
|||
{ |
|||
"doctype": "DocType Mapper", |
|||
"name": "Delivery Note-Packing Slip" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "name", |
|||
"map": "Yes", |
|||
"match_id": 0, |
|||
"to_field": "delivery_note" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "qty", |
|||
"map": "No", |
|||
"match_id": 1, |
|||
"to_field": "qty" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "naming_series", |
|||
"map": "No", |
|||
"match_id": 0, |
|||
"to_field": "naming_series" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "name", |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "dn_detail" |
|||
}, |
|||
{ |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "eval: flt(obj.qty) - flt(obj.packed_qty)", |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "qty" |
|||
}, |
|||
{ |
|||
"doctype": "Table Mapper Detail", |
|||
"from_table": "Delivery Note", |
|||
"match_id": 0, |
|||
"to_table": "Packing Slip", |
|||
"validation_logic": "docstatus=0" |
|||
}, |
|||
{ |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "delivery_note_details", |
|||
"from_table": "Delivery Note Item", |
|||
"match_id": 1, |
|||
"to_field": "item_details", |
|||
"to_table": "Packing Slip Item", |
|||
"validation_logic": "IFNULL(packed_qty, 0) < IFNULL(qty, 0)" |
|||
} |
|||
] |
@ -1,132 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "Administrator", |
|||
"docstatus": 0, |
|||
"creation": "2010-12-14 17:56:41", |
|||
"modified_by": "Administrator", |
|||
"modified": "2012-04-03 12:49:50" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Sales Invoice-Delivery Note", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Sales Invoice-Delivery Note", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Delivery Note", |
|||
"module": "Stock", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Sales Invoice" |
|||
}, |
|||
{ |
|||
"name": "Sales Invoice-Delivery Note", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "qty", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "eval: flt(obj.qty) - flt(obj.delivered_qty)" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "parenttype" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "prevdoc_detail_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.basic_rate)" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "export_amount", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.export_rate)" |
|||
}, |
|||
{ |
|||
"map": "No", |
|||
"match_id": 0, |
|||
"to_field": "naming_series", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "naming_series" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 0, |
|||
"to_field": "delivery_address", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer_address" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"match_id": 1, |
|||
"to_field": "serial_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "serial_no" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"doctype": "Table Mapper Detail", |
|||
"from_table": "Sales Invoice", |
|||
"to_table": "Delivery Note", |
|||
"validation_logic": "docstatus=1" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "delivery_note_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "entries", |
|||
"from_table": "Sales Invoice Item", |
|||
"to_table": "Delivery Note Item", |
|||
"validation_logic": "docstatus = 1" |
|||
}, |
|||
{ |
|||
"match_id": 2, |
|||
"to_field": "other_charges", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "other_charges", |
|||
"from_table": "Sales Taxes and Charges", |
|||
"to_table": "Sales Taxes and Charges", |
|||
"validation_logic": "name is not null" |
|||
}, |
|||
{ |
|||
"match_id": 3, |
|||
"to_field": "sales_team", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "sales_team", |
|||
"from_table": "Sales Team", |
|||
"to_table": "Sales Team", |
|||
"validation_logic": "name is not null" |
|||
} |
|||
] |
@ -1,83 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "ashwini@webnotestech.com", |
|||
"docstatus": 0, |
|||
"creation": "2010-08-08 17:09:34", |
|||
"modified_by": "Administrator", |
|||
"modified": "2011-09-15 15:04:41" |
|||
}, |
|||
{ |
|||
"reference_key": "prevdoc_docname", |
|||
"name": "__common__", |
|||
"parent": "Customer Issue-Maintenance Visit", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"from_table": "Customer Issue", |
|||
"validation_logic": "docstatus=1", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Customer Issue-Maintenance Visit", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Maintenance Visit", |
|||
"module": "Support", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Customer Issue" |
|||
}, |
|||
{ |
|||
"name": "Customer Issue-Maintenance Visit", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "customer", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "customer_issue_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "description", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "complaint", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "doctype" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"reference_doctype_key": "prevdoc_doctype", |
|||
"to_field": "maintenance_visit_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"to_table": "Maintenance Visit Purpose" |
|||
}, |
|||
{ |
|||
"to_table": "Maintenance Visit", |
|||
"match_id": 0, |
|||
"doctype": "Table Mapper Detail" |
|||
} |
|||
] |
@ -1,76 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "Administrator", |
|||
"docstatus": 0, |
|||
"creation": "2012-06-27 13:18:25", |
|||
"modified_by": "Administrator", |
|||
"modified": "2012-06-27 13:18:25" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Maintenance Schedule-Maintenance Visit", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"validation_logic": "docstatus=1", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Maintenance Schedule-Maintenance Visit", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Maintenance Visit", |
|||
"module": "Support", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Maintenance Schedule" |
|||
}, |
|||
{ |
|||
"name": "Maintenance Schedule-Maintenance Visit", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "customer", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "maintenance_schedule", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parenttype" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "maintenance_visit_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "item_maintenance_detail", |
|||
"from_table": "Maintenance Schedule Item", |
|||
"to_table": "Maintenance Visit Purpose" |
|||
}, |
|||
{ |
|||
"to_table": "Maintenance Visit", |
|||
"doctype": "Table Mapper Detail", |
|||
"match_id": 0, |
|||
"from_table": "Maintenance Schedule" |
|||
} |
|||
] |
@ -1,78 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "Administrator", |
|||
"docstatus": 0, |
|||
"creation": "2010-08-08 17:09:35", |
|||
"modified_by": "Administrator", |
|||
"modified": "2011-09-15 15:04:44" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Sales Order-Maintenance Schedule", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Sales Order-Maintenance Schedule", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Maintenance Schedule", |
|||
"module": "Support", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Sales Order" |
|||
}, |
|||
{ |
|||
"name": "Sales Order-Maintenance Schedule", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "customer", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "sales_order_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "item_code", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "item_code", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "item_maintenance_detail", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "sales_order_details", |
|||
"from_table": "Sales Order Item", |
|||
"to_table": "Maintenance Schedule Item", |
|||
"validation_logic": "docstatus =1" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"doctype": "Table Mapper Detail", |
|||
"from_table": "Sales Order", |
|||
"to_table": "Maintenance Schedule", |
|||
"validation_logic": "docstatus=1" |
|||
} |
|||
] |
@ -1,76 +0,0 @@ |
|||
[ |
|||
{ |
|||
"owner": "ashwini@webnotestech.com", |
|||
"docstatus": 0, |
|||
"creation": "2010-08-08 17:09:36", |
|||
"modified_by": "Administrator", |
|||
"modified": "2011-09-15 15:04:45" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"parent": "Sales Order-Maintenance Visit", |
|||
"doctype": "Table Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"validation_logic": "docstatus=1", |
|||
"parentfield": "table_mapper_details" |
|||
}, |
|||
{ |
|||
"map": "Yes", |
|||
"name": "__common__", |
|||
"parent": "Sales Order-Maintenance Visit", |
|||
"doctype": "Field Mapper Detail", |
|||
"parenttype": "DocType Mapper", |
|||
"parentfield": "field_mapper_details" |
|||
}, |
|||
{ |
|||
"name": "__common__", |
|||
"to_doctype": "Maintenance Visit", |
|||
"module": "Support", |
|||
"doctype": "DocType Mapper", |
|||
"ref_doc_submitted": 1, |
|||
"from_doctype": "Sales Order" |
|||
}, |
|||
{ |
|||
"name": "Sales Order-Maintenance Visit", |
|||
"doctype": "DocType Mapper" |
|||
}, |
|||
{ |
|||
"match_id": 0, |
|||
"to_field": "customer", |
|||
"doctype": "Field Mapper Detail", |
|||
"from_field": "customer", |
|||
"checking_operator": "=" |
|||
}, |
|||
{ |
|||
"to_field": "sales_order_no", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 0, |
|||
"from_field": "name" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_docname", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parent" |
|||
}, |
|||
{ |
|||
"to_field": "prevdoc_doctype", |
|||
"doctype": "Field Mapper Detail", |
|||
"match_id": 1, |
|||
"from_field": "parenttype" |
|||
}, |
|||
{ |
|||
"match_id": 1, |
|||
"to_field": "maintenance_visit_details", |
|||
"doctype": "Table Mapper Detail", |
|||
"from_field": "sales_order_details", |
|||
"from_table": "Sales Order Item", |
|||
"to_table": "Maintenance Visit Purpose" |
|||
}, |
|||
{ |
|||
"to_table": "Maintenance Visit", |
|||
"doctype": "Table Mapper Detail", |
|||
"match_id": 0, |
|||
"from_table": "Sales Order" |
|||
} |
|||
] |
Loading…
Reference in new issue