make_mapped_doc
Convert existing ERPNext documents to new types using predefined mapping methods, such as turning quotations into sales orders or purchase orders into invoices.
Instructions
Create a new document mapped from an existing one (document conversion).
Common methods:
erpnext.selling.doctype.quotation.quotation.make_sales_order (Quotation → Sales Order)
erpnext.selling.doctype.sales_order.sales_order.make_delivery_note (Sales Order → Delivery Note)
erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice (Sales Order → Sales Invoice)
erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice (Delivery Note → Sales Invoice)
erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt (PO → Purchase Receipt)
erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice (PO → Purchase Invoice)
Args: method: Dotted path of the mapping method source_name: Name/ID of the source document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| source_name | Yes |