Version 6.x.x Source

Table Name: tabPurchase Receipt

Fields

Sr Fieldname Type Label Options
1 supplier_section Section Break
icon-user
2 column_break0 Column Break
3 title Data Title
4 naming_series Select Series
PREC-
PREC-RET-
5 supplier Link Supplier Supplier
6 supplier_name Data Supplier Name
7 address_display Small Text Address
8 contact_display Small Text Contact
9 contact_mobile Small Text Mobile No
10 contact_email Small Text Contact Email
11 column_break1 Column Break
12 posting_date Date Date
13 posting_time Time Posting Time

Time at which materials were received

14 is_return Check Is Return
15 return_against Link Return Against Purchase Receipt Purchase Receipt
16 currency_and_price_list Section Break Currency and Price List
icon-tag
17 currency Link Currency Currency
18 conversion_rate Float Exchange Rate

Rate at which supplier's currency is converted to company's base currency

19 column_break2 Column Break
20 buying_price_list Link Price List Price List
21 price_list_currency Link Price List Currency Currency
22 plc_conversion_rate Float Price List Exchange Rate
23 ignore_pricing_rule Check Ignore Pricing Rule
24 items_section Section Break
icon-shopping-cart
25 items Table Items Purchase Receipt Item
26 get_current_stock Button Get Current Stock
get_current_stock
27 section_break0 Section Break
28 base_total Currency Total (Company Currency)
Company:company:default_currency
29 base_net_total Currency Net Total (Company Currency)
Company:company:default_currency
30 column_break_27 Column Break
31 total Currency Total
currency
32 net_total Currency Net Total
currency
33 taxes_section Section Break

Add / Edit Taxes and Charges

icon-money
34 taxes_and_charges Link Taxes and Charges Purchase Taxes and Charges Template
35 taxes Table Purchase Taxes and Charges Purchase Taxes and Charges
36 other_charges_calculation HTML Taxes and Charges Calculation
37 totals Section Break
icon-money
38 base_taxes_and_charges_added Currency Taxes and Charges Added (Company Currency)
Company:company:default_currency
39 base_taxes_and_charges_deducted Currency Taxes and Charges Deducted (Company Currency)
Company:company:default_currency
40 base_total_taxes_and_charges Currency Total Taxes and Charges (Company Currency)
Company:company:default_currency
41 column_break3 Column Break
42 taxes_and_charges_added Currency Taxes and Charges Added
currency
43 taxes_and_charges_deducted Currency Taxes and Charges Deducted
currency
44 total_taxes_and_charges Currency Total Taxes and Charges
currency
45 section_break_42 Section Break Additional Discount
46 apply_discount_on Select Apply Additional Discount On
Grand Total
Net Total
47 column_break_44 Column Break
48 discount_amount Currency Additional Discount Amount
currency
49 base_discount_amount Currency Additional Discount Amount (Company Currency)
Company:company:default_currency
50 section_break_46 Section Break
51 base_grand_total Currency Grand Total (Company Currency)
Company:company:default_currency
52 base_in_words Data In Words (Company Currency)
53 base_rounded_total Currency Rounded Total (Company Currency)
Company:company:default_currency
54 column_break_50 Column Break
55 grand_total Currency Grand Total
currency
56 in_words Data In Words
57 terms_section_break Section Break Terms and Conditions
icon-legal
58 tc_name Link Terms Terms and Conditions
59 terms Text Editor Terms and Conditions
60 contact_section Section Break Contact Details
icon-bullhorn
61 supplier_address Link Supplier Address Address
62 column_break_57 Column Break
63 contact_person Link Contact Person Contact
64 raw_material_details Section Break Raw Materials Supplied
icon-table
65 is_subcontracted Select Raw Materials Supplied
No
Yes
66 supplier_warehouse Link Supplier Warehouse Warehouse
67 supplied_items Table Supplied Items Purchase Receipt Item Supplied
68 bill_no Data Bill No
69 bill_date Date Bill Date
70 more_info Section Break More Information
icon-file-text
71 status Select Status
Draft
Submitted
Cancelled
Closed
72 rejected_warehouse Link Rejected Warehouse

Warehouse where you are maintaining stock of rejected items

Warehouse
73 amended_from Link Amended From Purchase Receipt
74 range Data Range
75 column_break4 Column Break
76 company Link Company Company
77 fiscal_year Link Fiscal Year Fiscal Year
78 printing_settings Section Break Printing Settings
79 letter_head Link Letter Head Letter Head
80 select_print_heading Link Print Heading Print Heading
81 other_details HTML Other Details
82 instructions Small Text Instructions
83 remarks Small Text Remarks
84 transporter_info Section Break Transporter Details
icon-truck
85 transporter_name Data Transporter Name
86 column_break5 Column Break
87 lr_no Data Vehicle Number
88 lr_date Date Vehicle Date

Controller

erpnext.stock.doctype.purchase_receipt.purchase_receipt

Class PurchaseReceipt

Inherits from erpnext.controllers.buying_controller.BuyingController

__init__ (self, arg1, arg2=None)

No docs


bk_flush_supp_wh (self, sl_entries)

No docs


check_for_stopped_or_closed_status (self, pc_obj)

No docs


check_next_docstatus (self)

No docs


get_already_received_qty (self, po, po_detail)

No docs


get_current_stock (self)

No docs


get_gl_entries (self, warehouse_account=None)

No docs


get_po_qty_and_warehouse (self, po_detail)

No docs


get_rate (self, arg)

No docs


on_cancel (self)

No docs


on_submit (self)

No docs


onload (self)

No docs


po_required (self)

No docs


set_landed_cost_voucher_amount (self)

No docs


update_ordered_qty (self)

No docs


update_status (self, status)

No docs


update_stock_ledger (self, allow_negative_stock=False, via_landed_cost_voucher=False)

No docs


validate (self)

No docs


validate_accepted_rejected_qty (self)

No docs


validate_inspection (self)

No docs


validate_purchase_return (self)

No docs


validate_rejected_warehouse (self)

No docs


validate_with_previous_doc (self)

No docs



erpnext.stock.doctype.purchase_receipt.purchase_receipt.get_invoiced_qty_map (purchase_receipt)

returns a map: {prdetail: invoicedqty}


Public API
/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice

erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice (source_name, target_doc=None)

No docs


Public API
/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return

erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return (source_name, target_doc=None)

No docs


Public API
/api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status

erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status (docname, status)

No docs


Linked In: