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