From 2c030155375a06baf10a7276aa8a9ce23110b839 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 25 Aug 2011 19:41:24 +0530 Subject: [PATCH] same from and to flds deleted from mapper --- .../Delivery Note-Receivable Voucher.txt | 524 +--------------- .../Project-Receivable Voucher.txt | 36 +- .../Purchase Order-Payable Voucher.txt | 288 +-------- .../Purchase Receipt-Payable Voucher.txt | 283 +-------- .../Sales Order-Receivable Voucher.txt | 573 +---------------- .../Indent-Purchase Order.txt | 91 --- .../Sales Order-Indent/Sales Order-Indent.txt | 111 +--- .../KRA Template-Appraisal.txt | 28 - .../Salary Structure-Salary Slip.txt | 102 +--- patches/patch.py | 6 +- .../Production Forecast-Production Plan.txt | 31 - ...tion Forecast-Production Planning Tool.txt | 30 - .../Sales Order-Production Plan.txt | 31 - .../Delivery Note-Installation Note.txt | 130 +--- .../Enquiry-Quotation/Enquiry-Quotation.txt | 181 +----- .../Lead-Customer/Lead-Customer.txt | 77 --- .../Lead-Enquiry/Lead-Enquiry.txt | 84 --- .../Project-Sales Order.txt | 68 +-- .../Quotation-Sales Order.txt | 577 +----------------- .../Project-Delivery Note.txt | 68 +-- .../Purchase Order-Purchase Receipt.txt | 305 +-------- .../Receivable Voucher-Delivery Note.txt | 380 ------------ .../Sales Order-Delivery Note.txt | 533 +--------------- .../Customer Issue-Maintenance Visit.txt | 126 +--- .../Sales Order-Maintenance Schedule.txt | 116 +--- .../Sales Order-Maintenance Visit.txt | 134 +--- 26 files changed, 57 insertions(+), 4856 deletions(-) diff --git a/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt b/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt index 3ceb9b287b..981e64aaeb 100644 --- a/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt +++ b/accounts/DocType Mapper/Delivery Note-Receivable Voucher/Delivery Note-Receivable Voucher.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:34', 'docstatus': 0, - 'modified': '2011-06-15 14:42:33', + 'modified': '2011-08-09 11:14:09', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -23,6 +23,7 @@ { 'doctype': 'Field Mapper Detail', 'map': 'Yes', + 'match_id': 1, 'name': '__common__', 'parent': 'Delivery Note-Receivable Voucher', 'parentfield': 'field_mapper_details', @@ -48,261 +49,14 @@ # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 1, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 2, - 'match_id': 0, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 3, - 'match_id': 0, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 9, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 10, - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 11, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 12, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 13, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'price_list_name', - 'idx': 14, - 'match_id': 0, - 'to_field': 'price_list_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge', - 'idx': 15, - 'match_id': 0, - 'to_field': 'charge' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 16, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 17, - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 18, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 19, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 20, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'batch_no', - 'idx': 21, - 'match_id': 1, - 'to_field': 'batch_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'serial_no', - 'idx': 22, - 'match_id': 1, - 'to_field': 'serial_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 23, - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)', - 'idx': 24, - 'match_id': 1, + 'from_field': 'eval: (flt(obj.amount) - flt(obj.billed_amt)) / flt(obj.basic_rate)', 'to_field': 'qty' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 25, - 'match_id': 1, - 'to_field': 'export_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'base_ref_rate', - 'idx': 26, - 'match_id': 1, - 'to_field': 'base_ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'ref_rate', - 'idx': 27, - 'match_id': 1, - 'to_field': 'ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'basic_rate', - 'idx': 28, - 'match_id': 1, - 'to_field': 'basic_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 29, - 'match_id': 1, 'to_field': 'delivery_note' }, @@ -310,8 +64,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 30, - 'match_id': 1, 'to_field': 'dn_detail' }, @@ -319,8 +71,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'prevdoc_docname', - 'idx': 31, - 'match_id': 1, 'to_field': 'sales_order' }, @@ -328,286 +78,27 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'prevdoc_detail_docname', - 'idx': 32, - 'match_id': 1, 'to_field': 'so_detail' }, # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 33, - 'match_id': 1, - 'to_field': 'export_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 34, - 'match_id': 1, - 'to_field': 'stock_uom' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.basic_rate)', - 'idx': 35, - 'match_id': 1, + 'from_field': 'eval: flt(obj.amount) - flt(obj.billed_amt)', 'to_field': 'amount' }, # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.export_rate)', - 'idx': 36, - 'match_id': 1, + 'from_field': 'eval: (flt(obj.amount) - flt(obj.billed_amt)) * flt(obj.export_rate)/flt(obj.basic_rate)', 'to_field': 'export_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'adj_rate', - 'idx': 37, - 'match_id': 1, - 'to_field': 'adj_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 38, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 39, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 40, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 41, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 42, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 43, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 44, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tax_amount', - 'idx': 45, - 'match_id': 2, - 'to_field': 'tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total', - 'idx': 46, - 'match_id': 2, - 'to_field': 'total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_person', - 'idx': 47, - 'match_id': 3, - 'to_field': 'sales_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_designation', - 'idx': 48, - 'match_id': 3, - 'to_field': 'sales_designation' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_percentage', - 'idx': 49, - 'match_id': 3, - 'to_field': 'allocated_percentage' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_amount', - 'idx': 50, - 'match_id': 3, - 'to_field': 'allocated_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'incentives', - 'idx': 51, - 'match_id': 3, - 'to_field': 'incentives' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 52, - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 53, - 'match_id': 0, - 'to_field': 'campaign' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 54, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_partner', - 'idx': 55, - 'match_id': 0, - 'to_field': 'sales_partner' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'commission_rate', - 'idx': 56, - 'match_id': 0, - 'to_field': 'commission_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_commission', - 'idx': 57, - 'match_id': 0, - 'to_field': 'total_commission' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 58, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_total', - 'idx': 59, - 'match_id': 0, - 'to_field': 'net_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total', - 'idx': 60, - 'match_id': 0, - 'to_field': 'grand_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'project_name', - 'idx': 61, - 'match_id': 0, - 'to_field': 'project_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'warehouse', - 'idx': 62, - 'match_id': 1, - 'to_field': 'warehouse' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_table': 'Delivery Note', - 'idx': 1, 'match_id': 0, 'to_table': 'Receivable Voucher', 'validation_logic': 'docstatus=1' @@ -618,11 +109,10 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'delivery_note_details', 'from_table': 'Delivery Note Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'entries', 'to_table': 'RV Detail', - 'validation_logic': '(qty > ifnull(billed_qty, 0) or amount > ifnull(billed_amt, 0)) and docstatus = 1' + 'validation_logic': 'amount > ifnull(billed_amt, 0) and docstatus = 1' }, # Table Mapper Detail @@ -630,7 +120,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'other_charges', 'from_table': 'RV Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'other_charges', 'to_table': 'RV Tax Detail', @@ -642,7 +131,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_team', 'from_table': 'Sales Team', - 'idx': 4, 'match_id': 3, 'to_field': 'sales_team', 'to_table': 'Sales Team', diff --git a/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt b/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt index 2a77358b80..0854802f0d 100644 --- a/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt +++ b/accounts/DocType Mapper/Project-Receivable Voucher/Project-Receivable Voucher.txt @@ -14,7 +14,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Project', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'Project-Receivable Voucher', @@ -26,13 +25,16 @@ # These values are common for all Field Mapper Detail { + 'checking_operator': '=', 'doctype': 'Field Mapper Detail', + 'from_field': 'customer', 'map': 'Yes', 'match_id': 0, 'name': '__common__', 'parent': 'Project-Receivable Voucher', 'parentfield': 'field_mapper_details', - 'parenttype': 'DocType Mapper' + 'parenttype': 'DocType Mapper', + 'to_field': 'customer' }, # These values are common for all DocType Mapper @@ -52,35 +54,7 @@ # Field Mapper Detail { - 'checking_operator': '=', - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 1, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 2, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 3, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 4, - 'to_field': 'territory' + 'doctype': 'Field Mapper Detail' }, # Table Mapper Detail diff --git a/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt b/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt index 76bdd1e747..aa4e7870d1 100644 --- a/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt +++ b/accounts/DocType Mapper/Purchase Order-Payable Voucher/Purchase Order-Payable Voucher.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:35', 'docstatus': 0, 'modified': '2011-05-13 11:26:20', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -23,6 +23,7 @@ { 'doctype': 'Field Mapper Detail', 'map': 'Yes', + 'match_id': 1, 'name': '__common__', 'parent': 'Purchase Order-Payable Voucher', 'parentfield': 'field_mapper_details', @@ -45,156 +46,10 @@ 'name': 'Purchase Order-Payable Voucher' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 1, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 2, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 3, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 4, - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier', - 'idx': 5, - 'match_id': 0, - 'to_field': 'supplier' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_name', - 'idx': 6, - 'match_id': 0, - 'to_field': 'supplier_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_name', - 'idx': 6, - 'match_id': 1, - 'to_field': 'supplier_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_address', - 'idx': 7, - 'match_id': 0, - 'to_field': 'supplier_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 9, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 10, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 11, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 12, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 13, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 14, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 15, - 'match_id': 1, - 'to_field': 'brand' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)', - 'idx': 16, - 'match_id': 1, 'to_field': 'qty' }, @@ -202,8 +57,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'purchase_rate', - 'idx': 17, - 'match_id': 1, 'to_field': 'rate' }, @@ -211,44 +64,20 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)', - 'idx': 18, - 'match_id': 1, 'to_field': 'amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'import_rate', - 'idx': 19, - 'match_id': 1, - 'to_field': 'import_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)', - 'idx': 20, - 'match_id': 1, 'to_field': 'import_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 21, - 'match_id': 1, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 22, - 'match_id': 1, 'to_field': 'purchase_order' }, @@ -256,124 +85,13 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 23, - 'match_id': 1, 'to_field': 'po_detail' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 24, - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 25, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'category', - 'idx': 26, - 'match_id': 2, - 'to_field': 'category' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'add_deduct_tax', - 'idx': 27, - 'match_id': 2, - 'to_field': 'add_deduct_tax' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 28, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 29, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 30, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 31, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 32, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'cost_center', - 'idx': 33, - 'match_id': 2, - 'to_field': 'cost_center' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 34, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'project_name', - 'idx': 35, - 'match_id': 0, - 'to_field': 'project_name' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_table': 'Purchase Order', - 'idx': 1, 'match_id': 0, 'to_table': 'Payable Voucher', 'validation_logic': 'docstatus =1' @@ -384,7 +102,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'po_details', 'from_table': 'PO Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'entries', 'to_table': 'PV Detail', @@ -396,7 +113,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'purchase_tax_details', 'from_table': 'Purchase Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'purchase_tax_details', 'to_table': 'Purchase Tax Detail', diff --git a/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt b/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt index 73967d9bc1..d363acbcd5 100644 --- a/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt +++ b/accounts/DocType Mapper/Purchase Receipt-Payable Voucher/Purchase Receipt-Payable Voucher.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:35', 'docstatus': 0, 'modified': '2011-05-13 12:18:34', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -23,6 +23,7 @@ { 'doctype': 'Field Mapper Detail', 'map': 'Yes', + 'match_id': 1, 'name': '__common__', 'parent': 'Purchase Receipt-Payable Voucher', 'parentfield': 'field_mapper_details', @@ -45,156 +46,10 @@ 'name': 'Purchase Receipt-Payable Voucher' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 1, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 2, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier', - 'idx': 3, - 'match_id': 0, - 'to_field': 'supplier' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'supplier_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_address', - 'idx': 5, - 'match_id': 0, - 'to_field': 'supplier_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 7, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 9, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 10, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 11, - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 12, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 13, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 14, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 15, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 16, - 'match_id': 1, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)', - 'idx': 17, - 'match_id': 1, 'to_field': 'qty' }, @@ -202,8 +57,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'purchase_rate', - 'idx': 18, - 'match_id': 1, 'to_field': 'rate' }, @@ -211,26 +64,13 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.purchase_rate)', - 'idx': 19, - 'match_id': 1, 'to_field': 'amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'import_rate', - 'idx': 20, - 'match_id': 1, - 'to_field': 'import_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.import_rate)', - 'idx': 21, - 'match_id': 1, 'to_field': 'import_amount' }, @@ -238,8 +78,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 22, - 'match_id': 1, 'to_field': 'purchase_receipt' }, @@ -247,8 +85,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'prevdoc_docname', - 'idx': 23, - 'match_id': 1, 'to_field': 'purchase_order' }, @@ -256,8 +92,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 24, - 'match_id': 1, 'to_field': 'pr_detail' }, @@ -265,125 +99,14 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'prevdoc_detail_docname', - 'idx': 25, - 'match_id': 1, 'to_field': 'po_detail' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 26, - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 27, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'category', - 'idx': 28, - 'match_id': 2, - 'to_field': 'category' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'add_deduct_tax', - 'idx': 29, - 'match_id': 2, - 'to_field': 'add_deduct_tax' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 30, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 31, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 32, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 33, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 34, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'cost_center', - 'idx': 35, - 'match_id': 2, - 'to_field': 'cost_center' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 36, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'project_name', - 'idx': 37, - 'match_id': 0, - 'to_field': 'project_name' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_field': 'purchase_receipt_details', 'from_table': 'Purchase Receipt Detail', - 'idx': 1, 'match_id': 1, 'to_field': 'entries', 'to_table': 'PV Detail', @@ -394,7 +117,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Purchase Receipt', - 'idx': 2, 'match_id': 0, 'to_table': 'Payable Voucher', 'validation_logic': 'docstatus=1' @@ -405,7 +127,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'purchase_tax_details', 'from_table': 'Purchase Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'purchase_tax_details', 'to_table': 'Purchase Tax Detail', diff --git a/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt b/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt index 7280ba5d5e..f1f77101b3 100644 --- a/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt +++ b/accounts/DocType Mapper/Sales Order-Receivable Voucher/Sales Order-Receivable Voucher.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:36', 'docstatus': 0, - 'modified': '2011-05-16 17:34:21', + 'modified': '2011-08-08 16:56:40', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -50,7 +50,6 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 1, 'match_id': 0, 'to_field': 'customer' }, @@ -58,269 +57,31 @@ # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 2, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 3, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 10, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 11, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 12, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge', - 'idx': 13, - 'match_id': 0, - 'to_field': 'charge' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 14, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'price_list_name', - 'idx': 15, - 'match_id': 0, - 'to_field': 'price_list_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 16, - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 17, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 18, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 19, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 20, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: flt(obj.qty) - flt(obj.billed_qty)', - 'idx': 21, + 'from_field': 'eval: (flt(obj.amount) - flt(obj.billed_amt))/flt(obj.basic_rate)', 'match_id': 1, 'to_field': 'qty' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'base_ref_rate', - 'idx': 22, - 'match_id': 1, - 'to_field': 'base_ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'name', - 'idx': 22, - 'match_id': 1, - 'to_field': 'so_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'ref_rate', - 'idx': 23, - 'match_id': 1, - 'to_field': 'ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 23, - 'match_id': 1, - 'to_field': 'export_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'basic_rate', - 'idx': 24, - 'match_id': 1, - 'to_field': 'basic_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 25, - 'match_id': 1, - 'to_field': 'item_group' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 26, 'match_id': 1, 'to_field': 'sales_order' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 27, - 'match_id': 1, - 'to_field': 'stock_uom' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 29, 'match_id': 1, - 'to_field': 'export_rate' + 'to_field': 'so_detail' }, # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 30, - 'match_id': 1, - 'to_field': 'export_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.basic_rate)', - 'idx': 31, + 'from_field': 'eval:flt(obj.amount) - flt(obj.billed_amt)', 'match_id': 1, 'to_field': 'amount' }, @@ -328,342 +89,24 @@ # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'eval: (flt(obj.qty) - flt(obj.billed_qty)) * flt(obj.export_rate)', - 'idx': 32, + 'from_field': 'eval: (flt(obj.amount) - flt(obj.billed_amt))* flt(obj.export_rate)/flt(obj.basic_rate)', 'match_id': 1, 'to_field': 'export_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'adj_rate', - 'idx': 33, - 'match_id': 1, - 'to_field': 'adj_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 34, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 35, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 36, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 37, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 38, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_amount', - 'idx': 39, - 'match_id': 2, - 'to_field': 'total_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 39, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_tax_amount', - 'idx': 40, - 'match_id': 2, - 'to_field': 'total_tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 41, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'cost_center_other_charges', - 'idx': 42, - 'match_id': 2, - 'to_field': 'cost_center_other_charges' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 43, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tax_amount', - 'idx': 44, - 'match_id': 2, - 'to_field': 'tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total', - 'idx': 45, - 'match_id': 2, - 'to_field': 'total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 46, - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 47, - 'match_id': 0, - 'to_field': 'campaign' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tc_name', - 'idx': 48, - 'match_id': 0, - 'to_field': 'tc_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'select_print_heading', - 'idx': 49, - 'match_id': 0, - 'to_field': 'select_print_heading' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 50, - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_total', - 'idx': 51, - 'match_id': 0, - 'to_field': 'net_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total', - 'idx': 52, - 'match_id': 0, - 'to_field': 'grand_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'other_charges_total', - 'idx': 53, - 'match_id': 0, - 'to_field': 'other_charges_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total', - 'idx': 54, - 'match_id': 0, - 'to_field': 'rounded_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words', - 'idx': 55, - 'match_id': 0, - 'to_field': 'in_words' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total_export', - 'idx': 56, - 'match_id': 0, - 'to_field': 'grand_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total_export', - 'idx': 57, - 'match_id': 0, - 'to_field': 'rounded_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words_export', - 'idx': 58, - 'match_id': 0, - 'to_field': 'in_words_export' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'project_name', - 'idx': 59, 'match_id': 0, 'to_field': 'project_name' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_partner', - 'idx': 60, - 'match_id': 0, - 'to_field': 'sales_partner' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_designation', - 'idx': 61, - 'match_id': 3, - 'to_field': 'sales_designation' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'commission_rate', - 'idx': 62, - 'match_id': 0, - 'to_field': 'commission_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_commission', - 'idx': 63, - 'match_id': 0, - 'to_field': 'total_commission' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_percentage', - 'idx': 64, - 'match_id': 3, - 'to_field': 'allocated_percentage' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_person', - 'idx': 65, - 'match_id': 3, - 'to_field': 'sales_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_amount', - 'idx': 66, - 'match_id': 3, - 'to_field': 'allocated_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'incentives', - 'idx': 67, - 'match_id': 3, - 'to_field': 'incentives' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'reserved_warehouse', - 'idx': 68, 'match_id': 1, 'to_field': 'warehouse' }, @@ -672,7 +115,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 1, 'match_id': 0, 'to_table': 'Receivable Voucher', 'validation_logic': 'docstatus=1' @@ -683,11 +125,10 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_order_detail', 'from_table': 'Sales Order Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'entries', 'to_table': 'RV Detail', - 'validation_logic': '(qty > ifnull(billed_qty, 0) or amount > ifnull(billed_amt, 0)) and docstatus = 1' + 'validation_logic': 'amount > ifnull(billed_amt, 0) and docstatus = 1' }, # Table Mapper Detail @@ -695,7 +136,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'other_charges', 'from_table': 'RV Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'other_charges', 'to_table': 'RV Tax Detail', @@ -707,7 +147,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_team', 'from_table': 'Sales Team', - 'idx': 4, 'match_id': 3, 'to_field': 'sales_team', 'to_table': 'Sales Team', diff --git a/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt b/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt index d8d4f341cd..30412182fd 100644 --- a/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt +++ b/buying/DocType Mapper/Indent-Purchase Order/Indent-Purchase Order.txt @@ -45,21 +45,11 @@ 'name': 'Indent-Purchase Order' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 1, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 2, 'match_id': 0, 'to_field': 'company' }, @@ -68,7 +58,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 3, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, @@ -77,7 +66,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 4, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -86,7 +74,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 5, 'match_id': 1, 'to_field': 'prevdoc_detail_docname' }, @@ -95,7 +82,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'uom', - 'idx': 6, 'match_id': 1, 'to_field': 'stock_uom' }, @@ -104,88 +90,14 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(1)', - 'idx': 7, 'match_id': 1, 'to_field': 'conversion_factor' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'uom', - 'idx': 8, - 'match_id': 1, - 'to_field': 'uom' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'warehouse', - 'idx': 9, - 'match_id': 1, - 'to_field': 'warehouse' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'schedule_date', - 'idx': 10, - 'match_id': 1, - 'to_field': 'schedule_date' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 11, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 12, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 13, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 14, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 15, - 'match_id': 1, - 'to_field': 'item_group' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(obj.qty) - flt(obj.ordered_qty)', - 'idx': 16, 'match_id': 1, 'to_field': 'stock_qty' }, @@ -194,7 +106,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(obj.qty) - flt(obj.ordered_qty)', - 'idx': 17, 'match_id': 1, 'to_field': 'qty' }, @@ -203,7 +114,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Indent', - 'idx': 1, 'match_id': 0, 'reference_key': 'prevdoc_docname', 'to_table': 'Purchase Order', @@ -215,7 +125,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'indent_details', 'from_table': 'Indent Detail', - 'idx': 2, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'to_field': 'po_details', diff --git a/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt b/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt index 349603c743..d32aeb63ce 100755 --- a/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt +++ b/buying/DocType Mapper/Sales Order-Indent/Sales Order-Indent.txt @@ -3,9 +3,9 @@ # These values are common in all dictionaries { - 'creation': '2011-04-06 15:33:09', + 'creation': '2011-05-05 15:58:13', 'docstatus': 0, - 'modified': '2011-05-04 14:49:55', + 'modified': '2011-05-05 16:20:10', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -49,7 +49,6 @@ 'checking_operator': '>=', 'doctype': 'Field Mapper Detail', 'from_field': 'transaction_date', - 'idx': 1, 'map': 'No', 'match_id': 0, 'to_field': 'transaction_date' @@ -60,148 +59,43 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 2, 'map': 'Yes', 'match_id': 0, 'to_field': 'company' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 3, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tc_name', - 'idx': 4, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'tc_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 5, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'letter_head', - 'idx': 6, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'letter_head' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 7, 'map': 'Yes', 'match_id': 1, 'to_field': 'sales_order_no' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 8, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 9, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 10, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 11, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_group' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'stock_uom', - 'idx': 12, 'map': 'Yes', 'match_id': 1, 'to_field': 'uom' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'qty', - 'idx': 13, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'qty' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'reserved_warehouse', - 'idx': 14, 'map': 'Yes', 'match_id': 1, 'to_field': 'warehouse' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 15, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'brand' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_field': 'sales_order_details', 'from_table': 'Sales Order Detail', - 'idx': 1, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'reference_key': 'prevdoc_detail_docname', @@ -214,7 +108,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 2, 'match_id': 0, 'reference_key': 'prevdoc_docname', 'to_table': 'Indent', diff --git a/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt b/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt index 8145e4f7cc..b3081bfb52 100644 --- a/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt +++ b/hr/DocType Mapper/KRA Template-Appraisal/KRA Template-Appraisal.txt @@ -15,7 +15,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'kra_sheet', 'from_table': 'KRA Sheet', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'KRA Template-Appraisal', @@ -26,17 +25,6 @@ 'validation_logic': 'name is not Null' }, - # These values are common for all Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'map': 'Yes', - 'match_id': 0, - 'name': '__common__', - 'parent': 'KRA Template-Appraisal', - 'parentfield': 'field_mapper_details', - 'parenttype': 'DocType Mapper' - }, - # These values are common for all DocType Mapper { 'doctype': 'DocType Mapper', @@ -52,22 +40,6 @@ 'name': 'KRA Template-Appraisal' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'kra', - 'idx': 1, - 'to_field': 'kra' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'per_weightage', - 'idx': 2, - 'to_field': 'per_weightage' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail' diff --git a/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt b/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt index 2dbc46cd1a..03318a1c2d 100644 --- a/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt +++ b/hr/DocType Mapper/Salary Structure-Salary Slip/Salary Structure-Salary Slip.txt @@ -6,7 +6,7 @@ 'creation': '2010-12-14 10:23:25', 'docstatus': 0, 'modified': '2011-02-12 18:31:40', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'harshada@webnotestech.com' }, @@ -45,74 +45,10 @@ 'name': 'Salary Structure-Salary Slip' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'employee', - 'idx': 1, - 'match_id': 0, - 'to_field': 'employee' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'employee_name', - 'idx': 2, - 'match_id': 0, - 'to_field': 'employee_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'department', - 'idx': 3, - 'match_id': 0, - 'to_field': 'department' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'designation', - 'idx': 4, - 'match_id': 0, - 'to_field': 'designation' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'branch', - 'idx': 5, - 'match_id': 0, - 'to_field': 'branch' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grade', - 'idx': 6, - 'match_id': 0, - 'to_field': 'grade' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'e_type', - 'idx': 7, - 'match_id': 1, - 'to_field': 'e_type' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'total_earning', - 'idx': 7, 'match_id': 0, 'to_field': 'gross_pay' }, @@ -121,43 +57,14 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'modified_value', - 'idx': 8, 'match_id': 1, 'to_field': 'e_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_deduction', - 'idx': 8, - 'match_id': 0, - 'to_field': 'total_deduction' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'd_type', - 'idx': 9, - 'match_id': 2, - 'to_field': 'd_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_pay', - 'idx': 9, - 'match_id': 0, - 'to_field': 'net_pay' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'd_modified_amt', - 'idx': 10, 'match_id': 2, 'to_field': 'd_amount' }, @@ -166,7 +73,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'modified_value', - 'idx': 12, 'match_id': 1, 'to_field': 'e_modified_amount' }, @@ -175,7 +81,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'depend_on_lwp', - 'idx': 13, 'match_id': 1, 'to_field': 'e_depends_on_lwp' }, @@ -184,7 +89,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'd_modified_amt', - 'idx': 16, 'match_id': 2, 'to_field': 'd_modified_amount' }, @@ -193,7 +97,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'depend_on_lwp', - 'idx': 17, 'match_id': 2, 'to_field': 'd_depends_on_lwp' }, @@ -202,7 +105,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Salary Structure', - 'idx': 1, 'match_id': 0, 'to_table': 'Salary Slip' }, @@ -212,7 +114,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'earning_details', 'from_table': 'Earning Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'earning_details', 'to_table': 'SS Earning Detail' @@ -223,7 +124,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'deduction_details', 'from_table': 'Deduction Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'deduction_details', 'to_table': 'SS Deduction Detail' diff --git a/patches/patch.py b/patches/patch.py index 616be63f76..fb26ecd19b 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1,7 +1,7 @@ # REMEMBER to update this # ======================== -last_patch = 346 +last_patch = 347 #------------------------------------------- def execute(patch_no): @@ -256,5 +256,5 @@ def execute(patch_no): elif patch_no == 346: delete_doc('DocType', 'Profile') reload_doc('core', 'doctype', 'profile') - - + elif patch_no == 347: + sql("delete from `tabField Mapper Detail` where from_field = to_field and map = 'Yes' and ifnull(checking_operator, '') = ''") diff --git a/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt b/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt index 62306cc428..dfbef85dfc 100644 --- a/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt +++ b/production/DocType Mapper/Production Forecast-Production Plan/Production Forecast-Production Plan.txt @@ -45,35 +45,10 @@ 'name': 'Production Forecast-Production Plan' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 3, - 'to_field': 'stock_uom' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(obj.qty)-flt(obj.planned_qty)', - 'idx': 4, 'to_field': 'prevdoc_reqd_qty' }, @@ -81,7 +56,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 5, 'to_field': 'against_document' }, @@ -89,7 +63,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 6, 'to_field': 'document_no' }, @@ -97,7 +70,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'start_date', - 'idx': 7, 'to_field': 'document_date' }, @@ -105,7 +77,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'end_date', - 'idx': 8, 'to_field': 'confirmation_date' }, @@ -113,7 +84,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Production Forecast', - 'idx': 1, 'match_id': 0, 'to_table': 'Production Plan', 'validation_logic': 'docstatus =1' @@ -124,7 +94,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'pf_details', 'from_table': 'PF Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'pp_details', 'to_table': 'PP Detail', diff --git a/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt b/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt index 5cab415c5f..6125d98192 100644 --- a/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt +++ b/production/DocType Mapper/Production Forecast-Production Planning Tool/Production Forecast-Production Planning Tool.txt @@ -45,35 +45,10 @@ 'name': 'Production Forecast-Production Planning Tool' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 3, - 'to_field': 'stock_uom' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(obj.qty)-flt(obj.planned_qty)', - 'idx': 4, 'to_field': 'prevdoc_reqd_qty' }, @@ -81,7 +56,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 5, 'to_field': 'source_doctype' }, @@ -89,7 +63,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 6, 'to_field': 'source_docname' }, @@ -97,7 +70,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'end_date', - 'idx': 7, 'to_field': 'confirmation_date' }, @@ -105,7 +77,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Production Forecast', - 'idx': 1, 'match_id': 0, 'to_table': 'Production Planning Tool', 'validation_logic': 'docstatus =1' @@ -116,7 +87,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'pf_details', 'from_table': 'PF Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'pp_details', 'to_table': 'PP Detail', diff --git a/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt b/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt index 5132c78f88..41c517376f 100644 --- a/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt +++ b/production/DocType Mapper/Sales Order-Production Plan/Sales Order-Production Plan.txt @@ -50,7 +50,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 1, 'to_field': 'against_document' }, @@ -58,31 +57,13 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 2, 'to_field': 'document_no' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 3, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 4, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'uom', - 'idx': 5, 'to_field': 'stock_uom' }, @@ -90,7 +71,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:flt(obj.qty)-flt(obj.planned_qty)', - 'idx': 6, 'to_field': 'prevdoc_total_qty' }, @@ -98,23 +78,13 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'transaction_date', - 'idx': 7, 'to_field': 'document_date' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'delivery_date', - 'idx': 8, - 'to_field': 'delivery_date' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 1, 'match_id': 0, 'to_table': 'Production Plan', 'validation_logic': 'docstatus =1' @@ -125,7 +95,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'packing_details', 'from_table': 'Delivery Note Packing Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'pp_details', 'to_table': 'PP Detail', diff --git a/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt b/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt index a4afac7e6d..67abbdc3b0 100644 --- a/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt +++ b/selling/DocType Mapper/Delivery Note-Installation Note/Delivery Note-Installation Note.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:34', 'docstatus': 0, 'modified': '2011-05-17 11:42:57', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -50,116 +50,23 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 1, 'match_id': 0, 'to_field': 'company' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 2, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 3, 'match_id': 0, 'to_field': 'customer' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 5, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 6, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 7, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 9, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 10, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 11, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 12, - 'match_id': 0, - 'to_field': 'customer_group' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 13, 'match_id': 0, 'to_field': 'delivery_note_no' }, @@ -168,7 +75,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 14, 'match_id': 1, 'to_field': 'prevdoc_detail_docname' }, @@ -177,7 +83,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 15, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -186,52 +91,22 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 16, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 17, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 18, - 'match_id': 1, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: flt(obj.qty) - flt(obj.installed_qty)', - 'idx': 19, 'match_id': 1, 'to_field': 'qty' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'serial_no', - 'idx': 20, - 'match_id': 1, - 'to_field': 'serial_no' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'posting_date', - 'idx': 21, 'match_id': 2, 'to_field': 'prevdoc_date' }, @@ -241,7 +116,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'delivery_note_details', 'from_table': 'Delivery Note Detail', - 'idx': 1, 'match_id': 1, 'to_field': 'installed_item_details', 'to_table': 'Installed Item Details', @@ -252,7 +126,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Delivery Note', - 'idx': 2, 'match_id': 0, 'to_table': 'Installation Note', 'validation_logic': 'docstatus = 1' @@ -262,7 +135,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Delivery Note', - 'idx': 3, 'match_id': 2, 'reference_doctype_key': 'prevdoc_doctype', 'reference_key': 'prevdoc_docname', diff --git a/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt b/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt index 78f5a56b3a..4db092dab2 100644 --- a/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt +++ b/selling/DocType Mapper/Enquiry-Quotation/Enquiry-Quotation.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:34', 'docstatus': 0, 'modified': '2011-05-10 16:04:40', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -46,182 +46,26 @@ 'name': 'Enquiry-Quotation' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 1, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 2, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'qty', - 'idx': 3, - 'match_id': 1, - 'to_field': 'qty' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'uom', - 'idx': 4, 'match_id': 1, 'to_field': 'stock_uom' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 5, - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 6, - 'match_id': 0, - 'to_field': 'campaign' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 7, 'match_id': 0, 'to_field': 'enq_no' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 8, - 'match_id': 0, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 9, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 10, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 11, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 12, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 13, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 14, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 15, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 16, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 17, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 18, - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 19, - 'match_id': 1, - 'to_field': 'brand' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 20, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -230,34 +74,14 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 21, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'lead', - 'idx': 22, - 'match_id': 0, - 'to_field': 'lead' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'lead_name', - 'idx': 23, - 'match_id': 0, - 'to_field': 'lead_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'enquiry_from', - 'idx': 24, 'match_id': 0, 'to_field': 'quotation_to' }, @@ -266,7 +90,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'enquiry_type', - 'idx': 25, 'match_id': 0, 'to_field': 'order_type' }, @@ -275,7 +98,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Enquiry', - 'idx': 1, 'match_id': 0, 'to_table': 'Quotation' }, @@ -285,7 +107,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'enq_details', 'from_table': 'Enquiry Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'quotation_details', 'to_table': 'Quotation Detail' diff --git a/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt b/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt index d91672a0d2..2b7a15a81f 100644 --- a/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt +++ b/selling/DocType Mapper/Lead-Customer/Lead-Customer.txt @@ -14,7 +14,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Lead', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'Lead-Customer', @@ -54,7 +53,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 1, 'to_field': 'lead_name' }, @@ -62,79 +60,13 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'company_name', - 'idx': 2, 'to_field': 'customer_name' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_line1', - 'idx': 3, - 'to_field': 'address_line1' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_line2', - 'idx': 4, - 'to_field': 'address_line2' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'city', - 'idx': 5, - 'to_field': 'city' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'country', - 'idx': 6, - 'to_field': 'country' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'state', - 'idx': 7, - 'to_field': 'state' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'pincode', - 'idx': 8, - 'to_field': 'pincode' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 9, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 10, - 'to_field': 'territory' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'contact_no', - 'idx': 11, 'to_field': 'phone_1' }, @@ -142,18 +74,9 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'fax', - 'idx': 12, 'to_field': 'fax_1' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'website', - 'idx': 13, - 'to_field': 'website' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail' diff --git a/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt b/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt index 716674d04f..4b32723e02 100644 --- a/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt +++ b/selling/DocType Mapper/Lead-Enquiry/Lead-Enquiry.txt @@ -14,7 +14,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Lead', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'Lead-Enquiry', @@ -50,110 +49,27 @@ 'name': 'Lead-Enquiry' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 1, - 'to_field': 'source' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'campaign_name', - 'idx': 2, 'to_field': 'campaign' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_by', - 'idx': 3, - 'to_field': 'contact_by' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'last_contact_date', - 'idx': 4, - 'to_field': 'last_contact_date' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_date_ref', - 'idx': 5, - 'to_field': 'contact_date_ref' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_date', - 'idx': 6, - 'to_field': 'contact_date' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'doctype', - 'idx': 7, 'to_field': 'enquiry_from' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'lead_name', - 'idx': 8, - 'to_field': 'lead_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 9, 'to_field': 'lead' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address', - 'idx': 10, - 'to_field': 'address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_no', - 'idx': 11, - 'to_field': 'contact_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'email_id', - 'idx': 12, - 'to_field': 'email_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 13, - 'to_field': 'territory' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail' diff --git a/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt b/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt index 1f54abd577..04f70ad94c 100644 --- a/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt +++ b/selling/DocType Mapper/Project-Sales Order/Project-Sales Order.txt @@ -14,7 +14,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Project', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'Project-Sales Order', @@ -26,13 +25,16 @@ # These values are common for all Field Mapper Detail { + 'checking_operator': '=', 'doctype': 'Field Mapper Detail', + 'from_field': 'customer', 'map': 'Yes', 'match_id': 0, 'name': '__common__', 'parent': 'Project-Sales Order', 'parentfield': 'field_mapper_details', - 'parenttype': 'DocType Mapper' + 'parenttype': 'DocType Mapper', + 'to_field': 'customer' }, # These values are common for all DocType Mapper @@ -52,67 +54,7 @@ # Field Mapper Detail { - 'checking_operator': '=', - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 1, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 2, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 3, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 4, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_no', - 'idx': 5, - 'to_field': 'contact_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'email_id', - 'idx': 6, - 'to_field': 'email_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 7, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 8, - 'to_field': 'territory' + 'doctype': 'Field Mapper Detail' }, # Table Mapper Detail diff --git a/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt b/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt index d05553d5f5..4d493a612b 100644 --- a/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt +++ b/selling/DocType Mapper/Quotation-Sales Order/Quotation-Sales Order.txt @@ -5,7 +5,7 @@ { 'creation': '2010-08-08 17:09:35', 'docstatus': 0, - 'modified': '2011-05-17 12:55:58', + 'modified': '2011-08-25 18:25:02', 'modified_by': 'Administrator', 'owner': 'Administrator' }, @@ -49,48 +49,34 @@ 'checking_operator': '>=', 'doctype': 'Field Mapper Detail', 'from_field': 'transaction_date', - 'idx': 1, 'map': 'No', 'match_id': 0, 'to_field': 'transaction_date' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'order_type', - 'idx': 2, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'order_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'name', - 'idx': 3, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'quotation_no' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'transaction_date', - 'idx': 4, 'map': 'Yes', 'match_id': 0, 'to_field': 'quotation_date' }, + # Field Mapper Detail + { + 'doctype': 'Field Mapper Detail', + 'from_field': 'name', + 'map': 'Yes', + 'match_id': 0, + 'to_field': 'quotation_no' + }, + # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 5, 'map': 'Yes', 'match_id': 0, 'to_field': 'company' @@ -101,147 +87,15 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'fiscal_year', - 'idx': 6, 'map': 'Yes', 'match_id': 0, 'to_field': 'fiscal_year' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'price_list_name', - 'idx': 7, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'price_list_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 8, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 9, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 10, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 11, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 12, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 14, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 15, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 16, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 17, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 18, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 19, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge', - 'idx': 20, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'charge' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 21, 'map': 'Yes', 'match_id': 1, 'to_field': 'prevdoc_docname' @@ -250,411 +104,10 @@ # Field Mapper Detail { 'doctype': 'Field Mapper Detail', - 'from_field': 'adj_rate', - 'idx': 22, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'adj_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'basic_rate', - 'idx': 23, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'basic_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'amount', - 'idx': 24, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 25, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'stock_uom' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'ref_rate', - 'idx': 26, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'base_ref_rate', - 'idx': 27, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'base_ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 28, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'qty', - 'idx': 29, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'qty' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 30, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 31, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 32, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 33, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 34, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'export_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_amount', - 'idx': 35, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'export_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 36, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_total', - 'idx': 37, - 'map': 'Yes', + 'from_field': 'naming_series', + 'map': 'No', 'match_id': 0, - 'to_field': 'net_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'other_charges_total', - 'idx': 38, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'other_charges_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total', - 'idx': 39, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'grand_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total', - 'idx': 40, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'rounded_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words', - 'idx': 41, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'in_words' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total_export', - 'idx': 42, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'grand_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total_export', - 'idx': 43, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'rounded_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words_export', - 'idx': 44, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'in_words_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 45, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 46, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 47, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 48, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 49, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 50, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tax_amount', - 'idx': 51, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total', - 'idx': 52, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'idx', - 'idx': 53, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'idx' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_person', - 'idx': 54, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'sales_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_percentage', - 'idx': 55, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'allocated_percentage' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_amount', - 'idx': 56, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'allocated_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 57, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tc_name', - 'idx': 57, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'tc_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 57, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 58, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 59, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'campaign' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 60, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'terms' + 'to_field': 'naming_series' }, # Table Mapper Detail @@ -662,7 +115,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_team', 'from_table': 'Sales Team', - 'idx': 1, 'match_id': 3, 'to_field': 'sales_team', 'to_table': 'Sales Team', @@ -674,7 +126,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'other_charges', 'from_table': 'RV Tax Detail', - 'idx': 2, 'match_id': 2, 'to_field': 'other_charges', 'to_table': 'RV Tax Detail', @@ -686,7 +137,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'quotation_details', 'from_table': 'Quotation Detail', - 'idx': 3, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'to_field': 'sales_order_details', @@ -698,7 +148,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Quotation', - 'idx': 4, 'match_id': 0, 'reference_key': 'prevdoc_docname', 'to_table': 'Sales Order', diff --git a/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt b/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt index ef9f0fcf26..e1579f93f6 100644 --- a/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt +++ b/stock/DocType Mapper/Project-Delivery Note/Project-Delivery Note.txt @@ -14,7 +14,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Project', - 'idx': 1, 'match_id': 0, 'name': '__common__', 'parent': 'Project-Delivery Note', @@ -26,13 +25,16 @@ # These values are common for all Field Mapper Detail { + 'checking_operator': '=', 'doctype': 'Field Mapper Detail', + 'from_field': 'customer', 'map': 'Yes', 'match_id': 0, 'name': '__common__', 'parent': 'Project-Delivery Note', 'parentfield': 'field_mapper_details', - 'parenttype': 'DocType Mapper' + 'parenttype': 'DocType Mapper', + 'to_field': 'customer' }, # These values are common for all DocType Mapper @@ -52,67 +54,7 @@ # Field Mapper Detail { - 'checking_operator': '=', - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 1, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 2, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 3, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 4, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_no', - 'idx': 5, - 'to_field': 'contact_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'email_id', - 'idx': 6, - 'to_field': 'email_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 7, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 8, - 'to_field': 'customer_group' + 'doctype': 'Field Mapper Detail' }, # Table Mapper Detail diff --git a/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt b/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt index ff00655716..54e272a54f 100644 --- a/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt +++ b/stock/DocType Mapper/Purchase Order-Purchase Receipt/Purchase Order-Purchase Receipt.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:35', 'docstatus': 0, 'modified': '2011-05-13 12:42:57', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -50,135 +50,32 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'supplier', - 'idx': 1, 'match_id': 0, 'to_field': 'supplier' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_address', - 'idx': 2, - 'match_id': 0, - 'to_field': 'supplier_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'supplier_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'supplier_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 9, 'match_id': 0, 'to_field': 'company' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 10, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'currency', - 'idx': 11, 'match_id': 0, 'to_field': 'currency' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'warehouse', - 'idx': 12, - 'match_id': 1, - 'to_field': 'warehouse' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 13, - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_factor', - 'idx': 14, - 'match_id': 1, - 'to_field': 'conversion_factor' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 15, - 'match_id': 1, - 'to_field': 'stock_uom' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 16, 'match_id': 1, 'to_field': 'prevdoc_detail_docname' }, @@ -187,7 +84,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 17, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -196,53 +92,23 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 18, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'uom', - 'idx': 19, - 'match_id': 1, - 'to_field': 'uom' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'item_code', - 'idx': 20, 'match_id': 1, 'to_field': 'item_code' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 21, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 22, - 'match_id': 1, - 'to_field': 'item_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:(flt(obj.qty) - flt(obj.received_qty)) ', - 'idx': 23, 'match_id': 1, 'to_field': 'received_qty' }, @@ -251,7 +117,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:(flt(obj.qty) - flt(obj.received_qty)) ', - 'idx': 24, 'match_id': 1, 'to_field': 'qty' }, @@ -260,197 +125,31 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:(flt(obj.qty) - flt(obj.received_qty)) * flt(obj.conversion_factor)', - 'idx': 25, 'match_id': 1, 'to_field': 'stock_qty' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'purchase_rate', - 'idx': 26, - 'match_id': 1, - 'to_field': 'purchase_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 27, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 28, - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'import_rate', - 'idx': 29, - 'match_id': 1, - 'to_field': 'import_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:(flt(obj.qty) - flt(obj.received_qty)) * flt(obj.import_rate)', - 'idx': 30, 'match_id': 1, 'to_field': 'import_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'schedule_date', - 'idx': 31, - 'match_id': 1, - 'to_field': 'schedule_date' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval:(flt(obj.qty) - flt(obj.received_qty)) * flt(obj.purchase_rate)', - 'idx': 32, 'match_id': 1, 'to_field': 'amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 33, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 34, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'category', - 'idx': 35, - 'match_id': 2, - 'to_field': 'category' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'add_deduct_tax', - 'idx': 36, - 'match_id': 2, - 'to_field': 'add_deduct_tax' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 37, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 38, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 39, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 39, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 40, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 41, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'cost_center', - 'idx': 42, - 'match_id': 2, - 'to_field': 'cost_center' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 43, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'project_name', - 'idx': 44, - 'match_id': 0, - 'to_field': 'project_name' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_field': 'po_details', 'from_table': 'PO Detail', - 'idx': 1, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'reference_key': 'prevdoc_detail_docname', @@ -463,7 +162,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Purchase Order', - 'idx': 2, 'match_id': 0, 'reference_key': 'prevdoc_docname', 'to_table': 'Purchase Receipt', @@ -475,7 +173,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'purchase_tax_details', 'from_table': 'Purchase Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'purchase_tax_details', 'to_table': 'Purchase Tax Detail', diff --git a/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt b/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt index f05a93bb5d..6688f2b08f 100755 --- a/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt +++ b/stock/DocType Mapper/Receivable Voucher-Delivery Note/Receivable Voucher-Delivery Note.txt @@ -45,182 +45,18 @@ 'name': 'Receivable Voucher-Delivery Note' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'currency', - 'idx': 1, - 'match_id': 0, - 'to_field': 'currency' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 2, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 3, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 5, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'price_list_name', - 'idx': 6, - 'match_id': 0, - 'to_field': 'price_list_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 7, - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge', - 'idx': 8, - 'match_id': 0, - 'to_field': 'charge' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 9, - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 10, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 11, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 12, - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 13, - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 14, - 'match_id': 1, - 'to_field': 'item_group' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: flt(obj.qty) - flt(obj.delivered_qty)', - 'idx': 15, 'match_id': 1, 'to_field': 'qty' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'base_ref_rate', - 'idx': 16, - 'match_id': 1, - 'to_field': 'base_ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'ref_rate', - 'idx': 17, - 'match_id': 1, - 'to_field': 'ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'basic_rate', - 'idx': 18, - 'match_id': 1, - 'to_field': 'basic_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 19, - 'match_id': 1, - 'to_field': 'export_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 20, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -229,7 +65,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 21, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, @@ -238,25 +73,14 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 22, 'match_id': 1, 'to_field': 'prevdoc_detail_docname' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 23, - 'match_id': 1, - 'to_field': 'export_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.basic_rate)', - 'idx': 24, 'match_id': 1, 'to_field': 'amount' }, @@ -265,223 +89,22 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.export_rate)', - 'idx': 25, 'match_id': 1, 'to_field': 'export_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'adj_rate', - 'idx': 26, - 'match_id': 1, - 'to_field': 'adj_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 27, - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'warehouse', - 'idx': 28, - 'match_id': 1, - 'to_field': 'warehouse' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 29, - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 30, - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 31, - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 32, - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 33, - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 34, - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tax_amount', - 'idx': 35, - 'match_id': 2, - 'to_field': 'tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total', - 'idx': 36, - 'match_id': 2, - 'to_field': 'total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_person', - 'idx': 37, - 'match_id': 3, - 'to_field': 'sales_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_percentage', - 'idx': 38, - 'match_id': 3, - 'to_field': 'allocated_percentage' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_amount', - 'idx': 39, - 'match_id': 3, - 'to_field': 'allocated_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 40, - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 41, - 'match_id': 0, - 'to_field': 'campaign' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_partner', - 'idx': 42, - 'match_id': 0, - 'to_field': 'sales_partner' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'customer_address', - 'idx': 43, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 44, 'match_id': 0, 'to_field': 'delivery_address' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_total', - 'idx': 45, - 'match_id': 0, - 'to_field': 'net_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total', - 'idx': 46, - 'match_id': 0, - 'to_field': 'grand_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 47, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'project_name', - 'idx': 48, - 'match_id': 0, - 'to_field': 'project_name' - }, - # Table Mapper Detail { 'doctype': 'Table Mapper Detail', 'from_table': 'Receivable Voucher', - 'idx': 1, 'match_id': 0, 'to_table': 'Delivery Note', 'validation_logic': 'docstatus=1' @@ -492,7 +115,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'entries', 'from_table': 'RV Detail', - 'idx': 2, 'match_id': 1, 'to_field': 'delivery_note_details', 'to_table': 'Delivery Note Detail', @@ -504,7 +126,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'other_charges', 'from_table': 'RV Tax Detail', - 'idx': 3, 'match_id': 2, 'to_field': 'other_charges', 'to_table': 'RV Tax Detail', @@ -516,7 +137,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_team', 'from_table': 'Sales Team', - 'idx': 4, 'match_id': 3, 'to_field': 'sales_team', 'to_table': 'Sales Team', diff --git a/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt b/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt index dad93dd407..f93fadfb58 100644 --- a/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt +++ b/stock/DocType Mapper/Sales Order-Delivery Note/Sales Order-Delivery Note.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:35', 'docstatus': 0, 'modified': '2011-05-16 11:48:19', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -49,27 +49,15 @@ 'checking_operator': '>=', 'doctype': 'Field Mapper Detail', 'from_field': 'transaction_date', - 'idx': 1, 'map': 'No', 'match_id': 0, 'to_field': 'transaction_date' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'price_list_name', - 'idx': 2, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'price_list_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 3, 'map': 'Yes', 'match_id': 0, 'to_field': 'sales_order_no' @@ -80,188 +68,43 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'company', - 'idx': 4, 'map': 'Yes', 'match_id': 0, 'to_field': 'company' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 5, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'po_date', - 'idx': 6, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'po_date' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'po_no', - 'idx': 7, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'po_no' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_partner', - 'idx': 8, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'sales_partner' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'commission_rate', - 'idx': 9, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'commission_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total_commission', - 'idx': 10, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'total_commission' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'currency', - 'idx': 11, 'map': 'Yes', 'match_id': 0, 'to_field': 'currency' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'conversion_rate', - 'idx': 12, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'conversion_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'shipping_address_name', - 'idx': 14, 'map': 'Yes', 'match_id': 0, 'to_field': 'customer_address' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 15, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 16, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'shipping_address', - 'idx': 17, 'map': 'Yes', 'match_id': 0, 'to_field': 'address_display' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 18, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 19, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 20, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 22, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge', - 'idx': 23, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'charge' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 24, 'map': 'Yes', 'match_id': 1, 'to_field': 'prevdoc_docname' @@ -271,7 +114,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 25, 'map': 'Yes', 'match_id': 1, 'to_field': 'prevdoc_doctype' @@ -281,118 +123,25 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 26, 'map': 'Yes', 'match_id': 1, 'to_field': 'prevdoc_detail_docname' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'export_rate', - 'idx': 27, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'export_rate' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.export_rate)', - 'idx': 28, 'map': 'Yes', 'match_id': 1, 'to_field': 'export_amount' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 29, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 30, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 31, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_group', - 'idx': 32, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'stock_uom', - 'idx': 33, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'stock_uom' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'base_ref_rate', - 'idx': 34, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'base_ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'ref_rate', - 'idx': 35, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'ref_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'adj_rate', - 'idx': 36, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'adj_rate' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'basic_rate', - 'idx': 37, 'map': 'Yes', 'match_id': 1, 'to_field': 'basic_rate' @@ -402,7 +151,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: flt(obj.qty) - flt(obj.delivered_qty)', - 'idx': 38, 'map': 'Yes', 'match_id': 1, 'to_field': 'qty' @@ -412,7 +160,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'eval: (flt(obj.qty) - flt(obj.delivered_qty)) * flt(obj.basic_rate)', - 'idx': 39, 'map': 'Yes', 'match_id': 1, 'to_field': 'amount' @@ -422,298 +169,25 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'reserved_warehouse', - 'idx': 40, 'map': 'Yes', 'match_id': 1, 'to_field': 'warehouse' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_tax_rate', - 'idx': 41, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'item_tax_rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'charge_type', - 'idx': 42, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'charge_type' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'row_id', - 'idx': 43, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'row_id' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_wise_tax_detail', - 'idx': 44, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'item_wise_tax_detail' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 45, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'description' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'account_head', - 'idx': 46, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'account_head' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rate', - 'idx': 47, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'rate' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tax_amount', - 'idx': 48, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'tax_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'total', - 'idx': 49, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'idx', - 'idx': 50, - 'map': 'Yes', - 'match_id': 2, - 'to_field': 'idx' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'net_total', - 'idx': 51, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'net_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'other_charges_total', - 'idx': 52, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'other_charges_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total', - 'idx': 53, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'grand_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total', - 'idx': 54, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'rounded_total' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words', - 'idx': 55, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'in_words' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'grand_total_export', - 'idx': 56, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'grand_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'rounded_total_export', - 'idx': 57, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'rounded_total_export' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'in_words_export', - 'idx': 58, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'in_words_export' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'allocated_amount', - 'idx': 59, 'map': 'Yes', 'match_id': 0, 'to_field': 'customer_mobile_no' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_amount', - 'idx': 60, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'allocated_amount' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'allocated_percentage', - 'idx': 60, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'allocated_percentage' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'sales_person', - 'idx': 61, - 'map': 'Yes', - 'match_id': 3, - 'to_field': 'sales_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'source', - 'idx': 62, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'source' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'campaign', - 'idx': 63, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'campaign' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'brand', - 'idx': 64, - 'map': 'Yes', - 'match_id': 1, - 'to_field': 'brand' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'terms', - 'idx': 65, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'terms' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 66, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'tc_name', - 'idx': 66, - 'map': 'Yes', - 'match_id': 0, - 'to_field': 'tc_name' - }, - # Field Mapper Detail { 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'project_name', - 'idx': 67, 'map': 'Yes', 'match_id': 0, 'to_field': 'project_name' @@ -724,7 +198,6 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 70, 'map': 'Yes', 'match_id': 0, 'to_field': 'customer' @@ -735,7 +208,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_team', 'from_table': 'Sales Team', - 'idx': 1, 'match_id': 3, 'to_field': 'sales_team', 'to_table': 'Sales Team', @@ -747,7 +219,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'other_charges', 'from_table': 'RV Tax Detail', - 'idx': 2, 'match_id': 2, 'to_field': 'other_charges', 'to_table': 'RV Tax Detail', @@ -759,7 +230,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_order_details', 'from_table': 'Sales Order Detail', - 'idx': 3, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'reference_key': 'prevdoc_detail_docname', @@ -772,7 +242,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 4, 'match_id': 0, 'reference_key': 'prevdoc_docname', 'to_table': 'Delivery Note', diff --git a/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt b/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt index 5d2e6a1511..75244dea9d 100644 --- a/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt +++ b/support/DocType Mapper/Customer Issue-Maintenance Visit/Customer Issue-Maintenance Visit.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:34', 'docstatus': 0, 'modified': '2011-05-18 13:37:43', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'ashwini@webnotestech.com' }, @@ -53,115 +53,14 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 1, 'match_id': 0, 'to_field': 'customer' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 2, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 3, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 9, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 10, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 11, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 12, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 13, 'match_id': 0, 'to_field': 'customer_issue_no' }, @@ -171,34 +70,14 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'complaint', - 'idx': 14, 'match_id': 1, 'to_field': 'description' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 15, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 16, - 'match_id': 1, - 'to_field': 'item_name' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'doctype', - 'idx': 17, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, @@ -207,7 +86,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 18, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -215,7 +93,6 @@ # Table Mapper Detail { 'doctype': 'Table Mapper Detail', - 'idx': 1, 'match_id': 1, 'reference_doctype_key': 'prevdoc_doctype', 'to_field': 'maintenance_visit_details', @@ -225,7 +102,6 @@ # Table Mapper Detail { 'doctype': 'Table Mapper Detail', - 'idx': 2, 'match_id': 0, 'to_table': 'Maintenance Visit' } diff --git a/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt b/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt index 9cc6c58d4f..e56c4bdf97 100644 --- a/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt +++ b/support/DocType Mapper/Sales Order-Maintenance Schedule/Sales Order-Maintenance Schedule.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:35', 'docstatus': 0, 'modified': '2011-05-18 11:05:26', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'Administrator' }, @@ -50,106 +50,14 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 1, 'match_id': 0, 'to_field': 'customer' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 2, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 3, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 9, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 10, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 11, - 'match_id': 0, - 'to_field': 'company' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 12, 'match_id': 0, 'to_field': 'sales_order_no' }, @@ -159,34 +67,14 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'item_code', - 'idx': 13, 'match_id': 1, 'to_field': 'item_code' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 14, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 15, - 'match_id': 1, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 16, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -196,7 +84,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_order_details', 'from_table': 'Sales Order Detail', - 'idx': 1, 'match_id': 1, 'to_field': 'item_maintenance_detail', 'to_table': 'Item Maintenance Detail', @@ -207,7 +94,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 2, 'match_id': 0, 'to_table': 'Maintenance Schedule', 'validation_logic': 'docstatus=1' diff --git a/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt b/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt index 32de61ae6b..26a48f8a67 100644 --- a/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt +++ b/support/DocType Mapper/Sales Order-Maintenance Visit/Sales Order-Maintenance Visit.txt @@ -6,7 +6,7 @@ 'creation': '2010-08-08 17:09:36', 'docstatus': 0, 'modified': '2011-05-18 13:35:55', - 'modified_by': 'Administrator', + 'modified_by': 'umair@iwebnotes.com', 'owner': 'ashwini@webnotestech.com' }, @@ -51,151 +51,22 @@ 'checking_operator': '=', 'doctype': 'Field Mapper Detail', 'from_field': 'customer', - 'idx': 1, 'match_id': 0, 'to_field': 'customer' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_address', - 'idx': 2, - 'match_id': 0, - 'to_field': 'customer_address' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_person', - 'idx': 3, - 'match_id': 0, - 'to_field': 'contact_person' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_name', - 'idx': 4, - 'match_id': 0, - 'to_field': 'customer_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'address_display', - 'idx': 5, - 'match_id': 0, - 'to_field': 'address_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_display', - 'idx': 6, - 'match_id': 0, - 'to_field': 'contact_display' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_mobile', - 'idx': 7, - 'match_id': 0, - 'to_field': 'contact_mobile' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'contact_email', - 'idx': 8, - 'match_id': 0, - 'to_field': 'contact_email' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'territory', - 'idx': 9, - 'match_id': 0, - 'to_field': 'territory' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'customer_group', - 'idx': 10, - 'match_id': 0, - 'to_field': 'customer_group' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'company', - 'idx': 11, - 'match_id': 0, - 'to_field': 'company' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'fiscal_year', - 'idx': 12, - 'match_id': 0, - 'to_field': 'fiscal_year' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'name', - 'idx': 13, 'match_id': 0, 'to_field': 'sales_order_no' }, - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_code', - 'idx': 14, - 'match_id': 1, - 'to_field': 'item_code' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'item_name', - 'idx': 15, - 'match_id': 1, - 'to_field': 'item_name' - }, - - # Field Mapper Detail - { - 'doctype': 'Field Mapper Detail', - 'from_field': 'description', - 'idx': 16, - 'match_id': 1, - 'to_field': 'description' - }, - # Field Mapper Detail { 'doctype': 'Field Mapper Detail', 'from_field': 'parent', - 'idx': 17, 'match_id': 1, 'to_field': 'prevdoc_docname' }, @@ -204,7 +75,6 @@ { 'doctype': 'Field Mapper Detail', 'from_field': 'parenttype', - 'idx': 18, 'match_id': 1, 'to_field': 'prevdoc_doctype' }, @@ -214,7 +84,6 @@ 'doctype': 'Table Mapper Detail', 'from_field': 'sales_order_details', 'from_table': 'Sales Order Detail', - 'idx': 1, 'match_id': 1, 'to_field': 'maintenance_visit_details', 'to_table': 'Maintenance Visit Detail' @@ -224,7 +93,6 @@ { 'doctype': 'Table Mapper Detail', 'from_table': 'Sales Order', - 'idx': 2, 'match_id': 0, 'to_table': 'Maintenance Visit' }