mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-26 13:25:20 +00:00
rename dt first cut
This commit is contained in:
@@ -84,10 +84,10 @@
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'delivery_note_details',
|
||||
'from_table': u'Delivery Note Detail',
|
||||
'from_table': u'Delivery Note Item',
|
||||
'match_id': 1,
|
||||
'to_field': u'item_details',
|
||||
'to_table': u'Packing Slip Detail',
|
||||
'to_table': u'Packing Slip Item',
|
||||
'validation_logic': u'IFNULL(packed_qty, 0) < IFNULL(qty, 0)'
|
||||
}
|
||||
]
|
||||
@@ -189,12 +189,12 @@
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'po_details',
|
||||
'from_table': u'PO Detail',
|
||||
'from_table': u'Purchase Order Item',
|
||||
'match_id': 1,
|
||||
'reference_doctype_key': u'prevdoc_doctype',
|
||||
'reference_key': u'prevdoc_detail_docname',
|
||||
'to_field': u'purchase_receipt_details',
|
||||
'to_table': u'Purchase Receipt Detail',
|
||||
'to_table': u'Purchase Receipt Item',
|
||||
'validation_logic': u'docstatus=1 and qty > ifnull(received_qty,0)'
|
||||
},
|
||||
|
||||
@@ -212,10 +212,10 @@
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'purchase_tax_details',
|
||||
'from_table': u'Purchase Tax Detail',
|
||||
'from_table': u'Purchase Taxes and Charges',
|
||||
'match_id': 2,
|
||||
'to_field': u'purchase_tax_details',
|
||||
'to_table': u'Purchase Tax Detail',
|
||||
'to_table': u'Purchase Taxes and Charges',
|
||||
'validation_logic': u'docstatus = 1'
|
||||
}
|
||||
]
|
||||
@@ -1,4 +1,4 @@
|
||||
# DocType Mapper, Receivable Voucher-Delivery Note
|
||||
# DocType Mapper, Sales Invoice-Delivery Note
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
@@ -14,7 +14,7 @@
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': 'Receivable Voucher-Delivery Note',
|
||||
'parent': 'Sales Invoice-Delivery Note',
|
||||
'parentfield': 'table_mapper_details',
|
||||
'parenttype': 'DocType Mapper'
|
||||
},
|
||||
@@ -23,7 +23,7 @@
|
||||
{
|
||||
'doctype': 'Field Mapper Detail',
|
||||
'name': '__common__',
|
||||
'parent': 'Receivable Voucher-Delivery Note',
|
||||
'parent': 'Sales Invoice-Delivery Note',
|
||||
'parentfield': 'field_mapper_details',
|
||||
'parenttype': 'DocType Mapper'
|
||||
},
|
||||
@@ -31,17 +31,17 @@
|
||||
# These values are common for all DocType Mapper
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'from_doctype': 'Receivable Voucher',
|
||||
'from_doctype': 'Sales Invoice',
|
||||
'module': 'Stock',
|
||||
'name': '__common__',
|
||||
'ref_doc_submitted': 1,
|
||||
'to_doctype': 'Delivery Note'
|
||||
},
|
||||
|
||||
# DocType Mapper, Receivable Voucher-Delivery Note
|
||||
# DocType Mapper, Sales Invoice-Delivery Note
|
||||
{
|
||||
'doctype': u'DocType Mapper',
|
||||
'name': 'Receivable Voucher-Delivery Note'
|
||||
'name': 'Sales Invoice-Delivery Note'
|
||||
},
|
||||
|
||||
# Field Mapper Detail
|
||||
@@ -128,7 +128,7 @@
|
||||
# Table Mapper Detail
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_table': 'Receivable Voucher',
|
||||
'from_table': 'Sales Invoice',
|
||||
'match_id': 0,
|
||||
'to_table': 'Delivery Note',
|
||||
'validation_logic': 'docstatus=1'
|
||||
@@ -138,10 +138,10 @@
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'entries',
|
||||
'from_table': 'RV Detail',
|
||||
'from_table': 'Sales Invoice Item',
|
||||
'match_id': 1,
|
||||
'to_field': 'delivery_note_details',
|
||||
'to_table': 'Delivery Note Detail',
|
||||
'to_table': 'Delivery Note Item',
|
||||
'validation_logic': 'docstatus = 1'
|
||||
},
|
||||
|
||||
@@ -149,10 +149,10 @@
|
||||
{
|
||||
'doctype': 'Table Mapper Detail',
|
||||
'from_field': 'other_charges',
|
||||
'from_table': 'RV Tax Detail',
|
||||
'from_table': 'Sales Taxes and Charges',
|
||||
'match_id': 2,
|
||||
'to_field': 'other_charges',
|
||||
'to_table': 'RV Tax Detail',
|
||||
'to_table': 'Sales Taxes and Charges',
|
||||
'validation_logic': 'name is not null'
|
||||
},
|
||||
|
||||
@@ -235,10 +235,10 @@
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'other_charges',
|
||||
'from_table': u'RV Tax Detail',
|
||||
'from_table': u'Sales Taxes and Charges',
|
||||
'match_id': 2,
|
||||
'to_field': u'other_charges',
|
||||
'to_table': u'RV Tax Detail',
|
||||
'to_table': u'Sales Taxes and Charges',
|
||||
'validation_logic': u'name is not null'
|
||||
},
|
||||
|
||||
@@ -246,12 +246,12 @@
|
||||
{
|
||||
'doctype': u'Table Mapper Detail',
|
||||
'from_field': u'sales_order_details',
|
||||
'from_table': u'Sales Order Detail',
|
||||
'from_table': u'Sales Order Item',
|
||||
'match_id': 1,
|
||||
'reference_doctype_key': u'prevdoc_doctype',
|
||||
'reference_key': u'prevdoc_detail_docname',
|
||||
'to_field': u'delivery_note_details',
|
||||
'to_table': u'Delivery Note Detail',
|
||||
'to_table': u'Delivery Note Item',
|
||||
'validation_logic': u'qty > ifnull(delivered_qty,0) and docstatus = 1'
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user