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