make_mapped_doc
Create a new document from an existing one using standard conversion methods like Quotation to Sales Order or Purchase Order to Purchase Receipt.
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)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Dotted path of the mapping method | |
| source_name | Yes | Name/ID of the source document |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||