flds added in mapper

This commit is contained in:
Nabin Hait 2011-10-12 12:42:07 +05:30
parent 89a9a26524
commit ee9efb568b
4 changed files with 63 additions and 22 deletions

View File

@ -5,7 +5,7 @@
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-09-15 15:04:43',
'modified': '2011-10-12 12:10:15',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
@ -107,6 +107,15 @@
'to_field': 'naming_series'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_tax',
'map': 'Yes',
'match_id': 0,
'to_field': 'total_tax'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
@ -116,17 +125,6 @@
'validation_logic': 'docstatus =1'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',
'from_field': 'po_details',
'from_table': 'PO Detail',
'match_id': 1,
'to_field': 'entries',
'to_table': 'PV Detail',
'validation_logic': 'ifnull(billed_qty,0) < qty'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',

View File

@ -5,7 +5,7 @@
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-09-15 15:04:44',
'modified': '2011-10-12 10:49:26',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
@ -125,6 +125,33 @@
'to_field': 'naming_series'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'net_total',
'map': 'Yes',
'match_id': 0,
'to_field': 'net_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'grand_total',
'map': 'Yes',
'match_id': 0,
'to_field': 'grand_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_tax',
'map': 'Yes',
'match_id': 0,
'to_field': 'total_tax'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',

View File

@ -52,7 +52,6 @@ cur_frm.cscript.refresh = function(doc, dt, dn) {
//Supplier
cur_frm.cscript.supplier = function(doc,dt,dn) {
var callback = function(r,rt) {
var doc = locals[cur_frm.doctype][cur_frm.docname];
get_server_fields('get_credit_to','','',doc, dt, dn, 0, callback2);
@ -144,13 +143,6 @@ cur_frm.cscript.is_opening = function(doc, dt, dn) {
}
/* ******************************** TRIGGERS **************************************** */
/*
// Supplier
// ---------
cur_frm.cscript.supplier = function(doc,cdt,cdn){
get_server_fields('get_credit_to','','',doc,cdt,cdn);
}
*/
// Conversion Rate
// ----------------

View File

@ -5,7 +5,7 @@
{
'creation': '2010-08-08 17:09:35',
'docstatus': 0,
'modified': '2011-10-11 10:01:02',
'modified': '2011-10-12 10:49:40',
'modified_by': 'Administrator',
'owner': 'Administrator'
},
@ -153,6 +153,30 @@
'to_field': 'schedule_date'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'net_total',
'match_id': 0,
'to_field': 'net_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'grand_total',
'match_id': 0,
'to_field': 'grand_total'
},
# Field Mapper Detail
{
'doctype': 'Field Mapper Detail',
'from_field': 'total_tax',
'match_id': 0,
'to_field': 'total_tax'
},
# Table Mapper Detail
{
'doctype': 'Table Mapper Detail',