mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
same from and to flds deleted from mapper
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user