mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
flds added in mapper
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:35',
|
'creation': '2010-08-08 17:09:35',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-09-15 15:04:43',
|
'modified': '2011-10-12 12:10:15',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -107,6 +107,15 @@
|
|||||||
'to_field': 'naming_series'
|
'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
|
# Table Mapper Detail
|
||||||
{
|
{
|
||||||
'doctype': 'Table Mapper Detail',
|
'doctype': 'Table Mapper Detail',
|
||||||
@@ -116,17 +125,6 @@
|
|||||||
'validation_logic': 'docstatus =1'
|
'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
|
# Table Mapper Detail
|
||||||
{
|
{
|
||||||
'doctype': 'Table Mapper Detail',
|
'doctype': 'Table Mapper Detail',
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:35',
|
'creation': '2010-08-08 17:09:35',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-09-15 15:04:44',
|
'modified': '2011-10-12 10:49:26',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -125,6 +125,33 @@
|
|||||||
'to_field': 'naming_series'
|
'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
|
# Table Mapper Detail
|
||||||
{
|
{
|
||||||
'doctype': 'Table Mapper Detail',
|
'doctype': 'Table Mapper Detail',
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ cur_frm.cscript.refresh = function(doc, dt, dn) {
|
|||||||
|
|
||||||
//Supplier
|
//Supplier
|
||||||
cur_frm.cscript.supplier = function(doc,dt,dn) {
|
cur_frm.cscript.supplier = function(doc,dt,dn) {
|
||||||
|
|
||||||
var callback = function(r,rt) {
|
var callback = function(r,rt) {
|
||||||
var doc = locals[cur_frm.doctype][cur_frm.docname];
|
var doc = locals[cur_frm.doctype][cur_frm.docname];
|
||||||
get_server_fields('get_credit_to','','',doc, dt, dn, 0, callback2);
|
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 **************************************** */
|
/* ******************************** TRIGGERS **************************************** */
|
||||||
/*
|
|
||||||
// Supplier
|
|
||||||
// ---------
|
|
||||||
cur_frm.cscript.supplier = function(doc,cdt,cdn){
|
|
||||||
get_server_fields('get_credit_to','','',doc,cdt,cdn);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Conversion Rate
|
// Conversion Rate
|
||||||
// ----------------
|
// ----------------
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
'creation': '2010-08-08 17:09:35',
|
'creation': '2010-08-08 17:09:35',
|
||||||
'docstatus': 0,
|
'docstatus': 0,
|
||||||
'modified': '2011-10-11 10:01:02',
|
'modified': '2011-10-12 10:49:40',
|
||||||
'modified_by': 'Administrator',
|
'modified_by': 'Administrator',
|
||||||
'owner': 'Administrator'
|
'owner': 'Administrator'
|
||||||
},
|
},
|
||||||
@@ -153,6 +153,30 @@
|
|||||||
'to_field': 'schedule_date'
|
'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
|
# Table Mapper Detail
|
||||||
{
|
{
|
||||||
'doctype': 'Table Mapper Detail',
|
'doctype': 'Table Mapper Detail',
|
||||||
|
|||||||
Reference in New Issue
Block a user