Table Name: tabPurchase Order
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
1 | supplier_section |
Section Break |
icon-user |
|
2 | title |
Data | Title | |
3 | naming_series |
Select | Series |
PO- |
4 | supplier |
Link | Supplier | Supplier |
5 | get_items_from_open_material_requests |
Button | Get Items from Open Material Requests | |
6 | is_subcontracted |
Select | Supply Raw Materials |
No Yes |
7 | supplier_name |
Data | Supplier Name | |
8 | address_display |
Small Text | Address | |
9 | contact_display |
Small Text | Contact | |
10 | contact_mobile |
Small Text | Mobile No | |
11 | contact_email |
Small Text | Contact Email | |
12 | column_break1 |
Column Break | ||
13 | transaction_date |
Date | Date | |
14 | amended_from |
Link | Amended From | Purchase Order |
15 | company |
Link | Company | Company |
16 | drop_ship |
Section Break | Drop Ship | |
17 | customer |
Link | Customer | Customer |
18 | customer_name |
Data | Customer Name | |
19 | column_break_19 |
Column Break | ||
20 | customer_address |
Link | Customer Address | Address |
21 | customer_contact_person |
Link | Customer Contact | Contact |
22 | customer_address_display |
Small Text | Customer Address Display | |
23 | customer_contact_display |
Small Text | Customer Contact | |
24 | customer_contact_mobile |
Small Text | Customer Mobile No | |
25 | customer_contact_email |
Small Text | Customer Contact Email | |
26 | currency_and_price_list |
Section Break | Currency and Price List |
icon-tag |
27 | currency |
Link | Currency | Currency |
28 | conversion_rate |
Float | Exchange Rate | |
29 | cb_price_list |
Column Break | ||
30 | buying_price_list |
Link | Price List | Price List |
31 | price_list_currency |
Link | Price List Currency | Currency |
32 | plc_conversion_rate |
Float | Price List Exchange Rate | |
33 | ignore_pricing_rule |
Check | Ignore Pricing Rule | |
34 | items_section |
Section Break |
icon-shopping-cart |
|
35 | items |
Table | Items | Purchase Order Item |
36 | get_last_purchase_rate |
Button | Get last purchase rate | |
37 | sb_last_purchase |
Section Break | ||
38 | base_total |
Currency | Total (Company Currency) |
Company:company:default_currency |
39 | base_net_total |
Currency | Net Total (Company Currency) |
Company:company:default_currency |
40 | column_break_26 |
Column Break | ||
41 | total |
Currency | Total |
currency |
42 | net_total |
Currency | Net Total |
currency |
43 | taxes_section |
Section Break |
icon-money |
|
44 | taxes_and_charges |
Link | Taxes and Charges | Purchase Taxes and Charges Template |
45 | taxes |
Table | Purchase Taxes and Charges | Purchase Taxes and Charges |
46 | other_charges_calculation |
HTML | Taxes and Charges Calculation | |
47 | totals |
Section Break |
icon-money |
|
48 | base_taxes_and_charges_added |
Currency | Taxes and Charges Added (Company Currency) |
Company:company:default_currency |
49 | base_taxes_and_charges_deducted |
Currency | Taxes and Charges Deducted (Company Currency) |
Company:company:default_currency |
50 | base_total_taxes_and_charges |
Currency | Total Taxes and Charges (Company Currency) |
Company:company:default_currency |
51 | column_break_39 |
Column Break | ||
52 | taxes_and_charges_added |
Currency | Taxes and Charges Added |
currency |
53 | taxes_and_charges_deducted |
Currency | Taxes and Charges Deducted |
currency |
54 | total_taxes_and_charges |
Currency | Total Taxes and Charges |
currency |
55 | discount_section |
Section Break | Additional Discount | |
56 | apply_discount_on |
Select | Apply Additional Discount On |
Grand Total Net Total |
57 | base_discount_amount |
Currency | Additional Discount Amount (Company Currency) |
Company:company:default_currency |
58 | column_break_45 |
Column Break | ||
59 | additional_discount_percentage |
Float | Additional Discount Percentage | |
60 | discount_amount |
Currency | Additional Discount Amount |
currency |
61 | totals_section |
Section Break | ||
62 | base_grand_total |
Currency | Grand Total (Company Currency) |
Company:company:default_currency |
63 | base_in_words |
Data |
In Words (Company Currency)
In Words will be visible once you save the Purchase Order. |
|
64 | base_rounded_total |
Currency | Rounded Total (Company Currency) |
Company:company:default_currency |
65 | advance_paid |
Currency | Advance Paid | |
66 | column_break4 |
Column Break | ||
67 | grand_total |
Currency | Grand Total |
currency |
68 | in_words |
Data | In Words | |
69 | terms_section_break |
Section Break | Terms and Conditions |
icon-legal |
70 | tc_name |
Link | Terms | Terms and Conditions |
71 | terms |
Text Editor | Terms and Conditions | |
72 | contact_section |
Section Break | Contact Details |
icon-bullhorn |
73 | supplier_address |
Link | Supplier Address | Address |
74 | cb_contact |
Column Break | ||
75 | contact_person |
Link | Contact Person | Contact |
76 | more_info |
Section Break | More Information | |
77 | status |
Select | Status |
Draft To Receive and Bill To Bill To Receive Completed Stopped Cancelled Closed Delivered |
78 | fiscal_year |
Link | Fiscal Year | Fiscal Year |
79 | ref_sq |
Data | Ref SQ | |
80 | column_break_74 |
Column Break | ||
81 | per_received |
Percent | % Received | |
82 | per_billed |
Percent | % Billed | |
83 | column_break5 |
Section Break | Printing Settings | |
84 | letter_head |
Link | Letter Head | Letter Head |
85 | select_print_heading |
Link | Print Heading | Print Heading |
86 | raw_material_details |
Section Break | Raw Materials Supplied |
icon-truck |
87 | supplied_items |
Table | Supplied Items | Purchase Order Item Supplied |
88 | recurring_order |
Section Break | Recurring |
icon-time |
89 | column_break |
Column Break | ||
90 | is_recurring |
Check | Is Recurring | |
91 | recurring_type |
Select | Recurring Type |
Monthly Quarterly Half-yearly Yearly |
92 | from_date |
Date |
From Date
Start date of current order's period |
|
93 | to_date |
Date |
To Date
End date of current order's period |
|
94 | repeat_on_day_of_month |
Int |
Repeat on Day of Month
The day of the month on which auto order will be generated e.g. 05, 28 etc |
|
95 | end_date |
Date |
End Date
The date on which recurring order will be stop |
|
96 | column_break83 |
Column Break | ||
97 | next_date |
Date |
Next Date
The date on which next invoice will be generated. It is generated on submit. |
|
98 | recurring_id |
Data | Recurring Id | |
99 | notification_email_address |
Small Text |
Notification Email Address
Enter email id separated by commas, order will be mailed automatically on particular date |
|
100 | recurring_print_format |
Link | Recurring Print Format | Print Format |
Inherits from erpnext.controllers.buying_controller.BuyingController
__init__ (self, arg1, arg2=None)
No docs
No docs
check_for_stopped_or_closed_status (self, pc_obj)
No docs
No docs
get last purchase rates for all items
No docs
No docs
No docs
No docs
No docs
No docs
set_received_qty_for_drop_ship_items (self)
No docs
update_delivered_qty_in_sales_order (self)
Update delivered qty in Sales Order for drop ship
update_ordered_qty (self, po_item_rows=None)
update requested qty (before ordered_qty is updated)
No docs
No docs
No docs
No docs
validate_minimum_order_qty (self)
No docs
validate_with_previous_doc (self)
No docs
Public API
/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice
erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice (source_name, target_doc=None)
No docs
Public API
/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt
erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt (source_name, target_doc=None)
No docs
Public API
/api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry
erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry (purchase_order, item_code)
No docs
erpnext.buying.doctype.purchase_order.purchase_order.set_missing_values (source, target)
No docs
Public API
/api/method/erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders
erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders (names, status)
No docs
Public API
/api/method/erpnext.buying.doctype.purchase_order.purchase_order.update_status
erpnext.buying.doctype.purchase_order.purchase_order.update_status (status, name)
No docs