mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
first cut for lazy loading framework
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
# DocType Mapper, KRA Template-Appraisal
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-09-01 15:48:10',
|
||||
'docstatus': 0,
|
||||
'modified': '2010-09-01 14:25:40',
|
||||
'modified_by': 'Administrator',
|
||||
'owner': 'ashwini@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'kra_sheet',
|
||||
'from_table': 'KRA Sheet',
|
||||
'match_id': 0,
|
||||
'name': '__common__',
|
||||
'parent': 'KRA Template-Appraisal',
|
||||
'parentfield': 'table_mapper_details',
|
||||
'parenttype': 'DocType Mapper',
|
||||
'to_field': 'appraisal_details',
|
||||
'to_table': 'Appraisal Detail',
|
||||
'validation_logic': 'name is not Null'
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': 'KRA Template',
|
||||
'module': 'HR',
|
||||
'name': '__common__',
|
||||
'to_doctype': 'Appraisal'
|
||||
},
|
||||
|
||||
# DocType Mapper, KRA Template-Appraisal
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': 'KRA Template-Appraisal'
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail'
|
||||
}
|
||||
]
|
||||
@@ -1,131 +0,0 @@
|
||||
# DocType Mapper, Salary Structure-Salary Slip
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2010-12-14 10:23:25',
|
||||
'docstatus': 0,
|
||||
'modified': '2011-02-12 18:31:40',
|
||||
'modified_by': 'umair@iwebnotes.com',
|
||||
'owner': 'harshada@webnotestech.com'
|
||||
},
|
||||
|
||||
# These values are common for all Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': 'Salary Structure-Salary Slip',
|
||||
'parentfield': 'table_mapper_details',
|
||||
'parenttype': 'DocType Mapper',
|
||||
'validation_logic': 'name is not null'
|
||||
},
|
||||
|
||||
# These values are common for all Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'map': 'Yes',
|
||||
'name': '__common__',
|
||||
'parent': 'Salary Structure-Salary Slip',
|
||||
'parentfield': 'field_mapper_details',
|
||||
'parenttype': 'DocType Mapper'
|
||||
},
|
||||
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'from_doctype': 'Salary Structure',
|
||||
'module': 'HR',
|
||||
'name': '__common__',
|
||||
'to_doctype': 'Salary Slip'
|
||||
},
|
||||
|
||||
# DocType Mapper, Salary Structure-Salary Slip
|
||||
{
|
||||
'doctype': 'DocType Mapper',
|
||||
'name': 'Salary Structure-Salary Slip'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'total_earning',
|
||||
'match_id': 0,
|
||||
'to_field': 'gross_pay'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'modified_value',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_amount'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'd_modified_amt',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_amount'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'modified_value',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_modified_amount'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'depend_on_lwp',
|
||||
'match_id': 1,
|
||||
'to_field': 'e_depends_on_lwp'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'd_modified_amt',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_modified_amount'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'from_field': 'depend_on_lwp',
|
||||
'match_id': 2,
|
||||
'to_field': 'd_depends_on_lwp'
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_table': 'Salary Structure',
|
||||
'match_id': 0,
|
||||
'to_table': 'Salary Slip'
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'earning_details',
|
||||
'from_table': 'Earning Detail',
|
||||
'match_id': 1,
|
||||
'to_field': 'earning_details',
|
||||
'to_table': 'SS Earning Detail'
|
||||
},
|
||||
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'deduction_details',
|
||||
'from_table': 'Deduction Detail',
|
||||
'match_id': 2,
|
||||
'to_field': 'deduction_details',
|
||||
'to_table': 'SS Deduction Detail'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user