Version 6.x.x Source

Table Name: `tabDelivery Note`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `delivery_to_section` | Section Break | Delivery To |
    icon-user
2 | `column_break0` | Column Break |  |
3 | `title` | Data | Title |
4 | `naming_series` | Select | Series |
    DN-
    DN-RET-
5 | `customer` | Link | Customer | Customer
6 | `customer_name` | Data | Customer Name |
7 | `customer_address` | Link | Billing Address Name | Address
8 | `address_display` | Small Text | Billing Address |
9 | `shipping_address_name` | Link | Shipping Address | Address
10 | `shipping_address` | Small Text | Shipping Address |
11 | `contact_display` | Small Text | Contact |
12 | `contact_mobile` | Small Text | Mobile No |
13 | `contact_email` | Small Text | Contact Email |
14 | `column_break1` | Column Break |  |
15 | `amended_from` | Link | Amended From | Delivery Note
16 | `company` | Link | Company | Company
17 | `posting_date` | Date | Date |
18 | `po_no` | Data | Customer's Purchase Order No |
19 | `po_date` | Date | Customer's Purchase Order Date |
20 | `is_return` | Check | Is Return |
21 | `return_against` | Link | Return Against Delivery Note | Delivery Note
22 | `currency_and_price_list` | Section Break | Currency and Price List |
    icon-tag
23 | `currency` | Link | Currency | Currency
24 | `conversion_rate` | Float | Exchange Rate Rate at which customer's currency is converted to company's base currency |
25 | `col_break23` | Column Break |  |
26 | `selling_price_list` | Link | Price List | Price List
27 | `price_list_currency` | Link | Price List Currency | Currency
28 | `plc_conversion_rate` | Float | Price List Exchange Rate Rate at which Price list currency is converted to company's base currency |
29 | `ignore_pricing_rule` | Check | Ignore Pricing Rule |
30 | `items_section` | Section Break |  |
    icon-shopping-cart
31 | `items` | Table | Items | Delivery Note Item
32 | `packing_list` | Section Break | Packing List |
    icon-suitcase
33 | `packed_items` | Table | Packed Items | Packed Item
34 | `product_bundle_help` | HTML | Product Bundle Help |
35 | `section_break_31` | Section Break |  |
36 | `base_total` | Currency | Total (Company Currency) |
    Company:company:default_currency
37 | `base_net_total` | Currency | Net Total (Company Currency) |
    Company:company:default_currency
38 | `column_break_33` | Column Break |  |
39 | `total` | Currency | Total |
    currency
40 | `net_total` | Currency | Net Total |
    currency
41 | `taxes_section` | Section Break | Taxes and Charges |
    icon-money
42 | `taxes_and_charges` | Link | Taxes and Charges If you have created a standard template in Sales Taxes and Charges Template, select one and click on the button below. | Sales Taxes and Charges Template
43 | `column_break_39` | Column Break |  |
44 | `shipping_rule` | Link | Shipping Rule | Shipping Rule
45 | `section_break_41` | Section Break |  |
46 | `taxes` | Table | Sales Taxes and Charges | Sales Taxes and Charges
47 | `other_charges_calculation` | HTML | Taxes and Charges Calculation |
48 | `section_break_44` | Section Break |  |
49 | `base_total_taxes_and_charges` | Currency | Total Taxes and Charges (Company Currency) |
    Company:company:default_currency
50 | `column_break_47` | Column Break |  |
51 | `total_taxes_and_charges` | Currency | Total Taxes and Charges |
    currency
52 | `section_break_49` | Section Break | Additional Discount |
53 | `apply_discount_on` | Select | Apply Additional Discount On |
    Grand Total
    Net Total
54 | `column_break_51` | Column Break |  |
55 | `discount_amount` | Currency | Additional Discount Amount |
    currency
56 | `base_discount_amount` | Currency | Additional Discount Amount (Company Currency) |
    Company:company:default_currency
57 | `totals` | Section Break |  |
    icon-money
58 | `base_grand_total` | Currency | Grand Total (Company Currency) |
    Company:company:default_currency
59 | `base_rounded_total` | Currency | Rounded Total (Company Currency) |
    Company:company:default_currency
60 | `base_in_words` | Data | In Words (Company Currency) In Words will be visible once you save the Delivery Note. |
61 | `column_break3` | Column Break |  |
62 | `grand_total` | Currency | Grand Total |
    currency
63 | `rounded_total` | Currency | Rounded Total |
    currency
64 | `in_words` | Data | In Words In Words (Export) will be visible once you save the Delivery Note. |
65 | `terms_section_break` | Section Break | Terms and Conditions |
    icon-legal
66 | `tc_name` | Link | Terms | Terms and Conditions
67 | `terms` | Text Editor | Terms and Conditions Details |
68 | `transporter_info` | Section Break | Transporter Info |
    icon-truck
69 | `transporter_name` | Data | Transporter Name |
70 | `col_break34` | Column Break |  |
71 | `lr_no` | Data | Vehicle No |
72 | `lr_date` | Date | Vehicle Dispatch Date |
73 | `contact_info` | Section Break | Contact Details |
    icon-bullhorn
74 | `territory` | Link | Territory | Territory
75 | `customer_group` | Link | Customer Group | Customer Group
76 | `col_break21` | Column Break |  |
77 | `contact_person` | Link | Contact Person | Contact
78 | `more_info` | Section Break | More Information |
    icon-file-text
79 | `project_name` | Link | Project Name Track this Delivery Note against any Project | Project
80 | `campaign` | Link | Campaign | Campaign
81 | `source` | Select | Source |
    Existing Customer
    Reference
    Advertisement
    Cold Calling
    Exhibition
    Supplier Reference
    Mass Mailing
    Customer's Vendor
    Campaign
82 | `column_break5` | Column Break |  |
83 | `posting_time` | Time | Posting Time Time at which items were delivered from warehouse |
84 | `fiscal_year` | Link | Fiscal Year | Fiscal Year
85 | `printing_details` | Section Break | Printing Details |
86 | `letter_head` | Link | Letter Head | Letter Head
87 | `select_print_heading` | Link | Print Heading | Print Heading
88 | `column_break_88` | Column Break |  |
89 | `print_without_amount` | Check | Print Without Amount |
90 | `section_break_83` | Section Break | Status |
91 | `status` | Select | Status |
    Draft
    Submitted
    Cancelled
    Closed
92 | `per_installed` | Percent | % Installed % of materials delivered against this Delivery Note |
93 | `installation_status` | Select | Installation Status |
94 | `column_break_89` | Column Break |  |
95 | `to_warehouse` | Link | To Warehouse Required only for sample item. | Warehouse
96 | `excise_page` | Data | Excise Page Number |
97 | `instructions` | Text | Instructions |
98 | `sales_team_section_break` | Section Break | Commission |
    icon-group
99 | `sales_partner` | Link | Sales Partner | Sales Partner
100 | `column_break7` | Column Break |  |
101 | `commission_rate` | Float | Commission Rate (%) |
102 | `total_commission` | Currency | Total Commission |
    Company:company:default_currency
103 | `section_break1` | Section Break | Sales Team |
104 | `sales_team` | Table | Sales Team1 | Sales Team

### Controller

#### erpnext.stock.doctype.delivery_note.delivery_note

### Class DeliveryNote

Inherits from erpnext.controllers.selling_controller.SellingController

__init__ (self, arg1, arg2=None)

No docs

before_print (self)

No docs

cancel_packing_slips (self)

Cancel submitted packing slips related to this delivery note

check_credit_limit (self)

No docs

check_next_docstatus (self)

No docs

on_cancel (self)

No docs

on_submit (self)

No docs

onload (self)

No docs

set_actual_qty (self)

No docs

so_required (self)

check in manage account if sales order required or not

update_current_stock (self)

No docs

update_status (self, status)

No docs

validate (self)

No docs

validate_for_items (self)

No docs

validate_packed_qty (self)

Validate that if packed qty exists, it should be equal to qty

validate_proj_cust (self)

check for does customer belong to same project as entered..

validate_warehouse (self)

No docs

validate_with_previous_doc (self)

No docs

erpnext.stock.doctype.delivery_note.delivery_note.get_invoiced_qty_map (delivery_note)

returns a map: {dndetail: invoicedqty}

erpnext.stock.doctype.delivery_note.delivery_note.get_list_context (context=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note`

erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip`

erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice`

erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return`

erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status`

erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status (docname, status)

No docs

#### Linked In:

- Delivery Note
- Packing Slip
- Quality Inspection
- Sales Invoice Item
- Stock Entry