From 2901e14c59343377183bfe4d135ae7f00e5bcfb8 Mon Sep 17 00:00:00 2001 From: Umair Sayyed Date: Wed, 27 Jan 2016 12:22:27 +0530 Subject: [PATCH] articles --- .../api/accounts/erpnext.accounts.party.html | 16 + ...pnext.controllers.accounts_controller.html | 14 - ...rpnext.controllers.recurring_document.html | 2 +- .../docs/current/api/erpnext.exceptions.html | 45 +- .../current/api/support/erpnext.support.html | 18 + erpnext/docs/current/api/support/index.html | 19 + erpnext/docs/current/api/support/index.txt | 1 + ...erpnext.utilities.address_and_contact.html | 114 ++ .../api/utilities/erpnext.utilities.html | 34 + .../erpnext.utilities.transaction_base.html | 206 +++ erpnext/docs/current/api/utilities/index.html | 19 + erpnext/docs/current/api/utilities/index.txt | 3 + erpnext/docs/current/index.html | 2 +- .../accounts/period_closing_voucher.html | 2 +- .../models/accounts/purchase_invoice.html | 14 + .../models/accounts/sales_invoice.html | 14 + .../current/models/buying/purchase_order.html | 14 - .../docs/current/models/buying/supplier.html | 66 +- .../docs/current/models/selling/customer.html | 28 +- .../current/models/selling/sales_order.html | 14 + .../current/models/setup/supplier_type.html | 34 +- .../models/stock/material_request.html | 723 ++++++++ .../models/stock/material_request_item.html | 407 +++++ .../current/models/stock/packed_item.html | 395 ++++ .../current/models/stock/packing_slip.html | 592 ++++++ .../models/stock/packing_slip_item.html | 219 +++ .../docs/current/models/stock/price_list.html | 426 +++++ .../models/stock/price_list_country.html | 84 + .../models/stock/purchase_receipt_item.html | 999 ++++++++++ .../docs/current/models/stock/serial_no.html | 1110 +++++++++++ .../current/models/stock/stock_entry.html | 1617 +++++++++++++++++ .../models/stock/stock_entry_detail.html | 656 +++++++ .../models/stock/stock_ledger_entry.html | 552 ++++++ .../models/stock/stock_reconciliation.html | 589 ++++++ .../stock/stock_reconciliation_item.html | 179 ++ .../current/models/stock/stock_settings.html | 337 ++++ .../models/stock/uom_conversion_detail.html | 96 + .../docs/current/models/stock/warehouse.html | 682 +++++++ .../docs/current/models/support/index.html | 19 + erpnext/docs/current/models/support/index.txt | 0 .../docs/current/models/support/issue.html | 592 ++++++ .../models/support/maintenance_schedule.html | 685 +++++++ .../support/maintenance_schedule_detail.html | 153 ++ .../support/maintenance_schedule_item.html | 233 +++ .../models/support/maintenance_visit.html | 666 +++++++ .../support/maintenance_visit_purpose.html | 212 +++ .../models/support/warranty_claim.html | 780 ++++++++ .../current/models/utilities/address.html | 738 ++++++++ .../models/utilities/address_template.html | 175 ++ .../current/models/utilities/contact.html | 614 +++++++ .../docs/current/models/utilities/index.html | 19 + .../docs/current/models/utilities/index.txt | 0 .../current/models/utilities/rename_tool.html | 147 ++ .../current/models/utilities/sms_log.html | 197 ++ 54 files changed, 15502 insertions(+), 70 deletions(-) create mode 100644 erpnext/docs/current/api/support/erpnext.support.html create mode 100644 erpnext/docs/current/api/support/index.html create mode 100644 erpnext/docs/current/api/support/index.txt create mode 100644 erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html create mode 100644 erpnext/docs/current/api/utilities/erpnext.utilities.html create mode 100644 erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html create mode 100644 erpnext/docs/current/api/utilities/index.html create mode 100644 erpnext/docs/current/api/utilities/index.txt create mode 100644 erpnext/docs/current/models/stock/material_request.html create mode 100644 erpnext/docs/current/models/stock/material_request_item.html create mode 100644 erpnext/docs/current/models/stock/packed_item.html create mode 100644 erpnext/docs/current/models/stock/packing_slip.html create mode 100644 erpnext/docs/current/models/stock/packing_slip_item.html create mode 100644 erpnext/docs/current/models/stock/price_list.html create mode 100644 erpnext/docs/current/models/stock/price_list_country.html create mode 100644 erpnext/docs/current/models/stock/purchase_receipt_item.html create mode 100644 erpnext/docs/current/models/stock/serial_no.html create mode 100644 erpnext/docs/current/models/stock/stock_entry.html create mode 100644 erpnext/docs/current/models/stock/stock_entry_detail.html create mode 100644 erpnext/docs/current/models/stock/stock_ledger_entry.html create mode 100644 erpnext/docs/current/models/stock/stock_reconciliation.html create mode 100644 erpnext/docs/current/models/stock/stock_reconciliation_item.html create mode 100644 erpnext/docs/current/models/stock/stock_settings.html create mode 100644 erpnext/docs/current/models/stock/uom_conversion_detail.html create mode 100644 erpnext/docs/current/models/stock/warehouse.html create mode 100644 erpnext/docs/current/models/support/index.html create mode 100644 erpnext/docs/current/models/support/index.txt create mode 100644 erpnext/docs/current/models/support/issue.html create mode 100644 erpnext/docs/current/models/support/maintenance_schedule.html create mode 100644 erpnext/docs/current/models/support/maintenance_schedule_detail.html create mode 100644 erpnext/docs/current/models/support/maintenance_schedule_item.html create mode 100644 erpnext/docs/current/models/support/maintenance_visit.html create mode 100644 erpnext/docs/current/models/support/maintenance_visit_purpose.html create mode 100644 erpnext/docs/current/models/support/warranty_claim.html create mode 100644 erpnext/docs/current/models/utilities/address.html create mode 100644 erpnext/docs/current/models/utilities/address_template.html create mode 100644 erpnext/docs/current/models/utilities/contact.html create mode 100644 erpnext/docs/current/models/utilities/index.html create mode 100644 erpnext/docs/current/models/utilities/index.txt create mode 100644 erpnext/docs/current/models/utilities/rename_tool.html create mode 100644 erpnext/docs/current/models/utilities/sms_log.html diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.party.html b/erpnext/docs/current/api/accounts/erpnext.accounts.party.html index e5c8d31928..3ad5432e77 100644 --- a/erpnext/docs/current/api/accounts/erpnext.accounts.party.html +++ b/erpnext/docs/current/api/accounts/erpnext.accounts.party.html @@ -315,6 +315,22 @@ finally will return default.

+

+ + + erpnext.accounts.party.validate_party_frozen_disabled + (party_type, party_name) +

+

No docs

+
+
+ + + + + + +

diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html index 78705e3ea8..79e4c046d2 100644 --- a/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html +++ b/erpnext/docs/current/api/controllers/erpnext.controllers.accounts_controller.html @@ -54,20 +54,6 @@ -

- - - before_recurring - (self) -

-

No docs

-
-
- - - - -

diff --git a/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html index b6ac163f05..172e191f05 100644 --- a/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html +++ b/erpnext/docs/current/api/controllers/erpnext.controllers.recurring_document.html @@ -85,7 +85,7 @@ erpnext.controllers.recurring_document.make_new_document - (ref_wrapper, date_field, posting_date) + (reference_doc, date_field, posting_date)

No docs

diff --git a/erpnext/docs/current/api/erpnext.exceptions.html b/erpnext/docs/current/api/erpnext.exceptions.html index 7c91646495..e8f5ee120d 100644 --- a/erpnext/docs/current/api/erpnext.exceptions.html +++ b/erpnext/docs/current/api/erpnext.exceptions.html @@ -15,21 +15,6 @@ -

Class CustomerFrozen

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - -

Class InvalidAccountCurrency

Inherits from frappe.exceptions.ValidationError @@ -58,6 +43,36 @@ + + +

Class PartyDisabled

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class PartyFrozen

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + \ No newline at end of file diff --git a/erpnext/docs/current/api/support/erpnext.support.html b/erpnext/docs/current/api/support/erpnext.support.html new file mode 100644 index 0000000000..d10ce6bf4f --- /dev/null +++ b/erpnext/docs/current/api/support/erpnext.support.html @@ -0,0 +1,18 @@ +
+ + + Version 6.x.x + + + Source + +
+ + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/api/support/index.html b/erpnext/docs/current/api/support/index.html new file mode 100644 index 0000000000..bcbe1c8fa0 --- /dev/null +++ b/erpnext/docs/current/api/support/index.html @@ -0,0 +1,19 @@ + + + +
+ + + Version 6.x.x + + + Source + +
+ +

Package Contents

+ +{index} + + \ No newline at end of file diff --git a/erpnext/docs/current/api/support/index.txt b/erpnext/docs/current/api/support/index.txt new file mode 100644 index 0000000000..42739d16e9 --- /dev/null +++ b/erpnext/docs/current/api/support/index.txt @@ -0,0 +1 @@ +erpnext.support \ No newline at end of file diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html new file mode 100644 index 0000000000..89c9c172e9 --- /dev/null +++ b/erpnext/docs/current/api/utilities/erpnext.utilities.address_and_contact.html @@ -0,0 +1,114 @@ +
+ + + Version 6.x.x + + + Source + +
+ + + + + + + + + +

+ + + erpnext.utilities.address_and_contact.get_permission_query_conditions + (doctype) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.address_and_contact.get_permission_query_conditions_for_address + (user) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.address_and_contact.get_permission_query_conditions_for_contact + (user) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.address_and_contact.get_permitted_and_not_permitted_links + (doctype) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.address_and_contact.has_permission + (doc, ptype, user) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.address_and_contact.load_address_and_contact + (doc, key) +

+

Loads address list and contact list in __onload

+
+
+ + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.html b/erpnext/docs/current/api/utilities/erpnext.utilities.html new file mode 100644 index 0000000000..f2a4dc8d0a --- /dev/null +++ b/erpnext/docs/current/api/utilities/erpnext.utilities.html @@ -0,0 +1,34 @@ +
+ + + Version 6.x.x + + + Source + +
+ + + + + + + + + +

+ + + erpnext.utilities.update_doctypes + () +

+

No docs

+
+
+ + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html new file mode 100644 index 0000000000..216cec5d11 --- /dev/null +++ b/erpnext/docs/current/api/utilities/erpnext.utilities.transaction_base.html @@ -0,0 +1,206 @@ +
+ + + Version 6.x.x + + + Source + +
+ + + + + + + +

Class TransactionBase

+ +

Inherits from erpnext.controllers.status_updater.StatusUpdater + +

+
+
+ + + + +

+ + + _add_calendar_event + (self, opts) +

+

No docs

+
+
+ + + + + +

+ + + add_calendar_event + (self, opts, force=False) +

+

No docs

+
+
+ + + + + +

+ + + compare_values + (self, ref_doc, fields, doc=None) +

+

No docs

+
+
+ + + + + +

+ + + delete_events + (self) +

+

No docs

+
+
+ + + + + +

+ + + load_notification_message + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_posting_time + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_rate_with_reference_doc + (self, ref_details) +

+

No docs

+
+
+ + + + + +

+ + + validate_uom_is_integer + (self, uom_field, qty_fields) +

+

No docs

+
+
+ + + + + +

+ + + validate_with_previous_doc + (self, ref) +

+

No docs

+
+
+ + +
+
+ + + + + +

Class UOMMustBeIntegerError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + + + +

+ + + erpnext.utilities.transaction_base.delete_events + (ref_type, ref_name) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.transaction_base.validate_uom_is_integer + (doc, uom_field, qty_fields, child_dt=None) +

+

No docs

+
+
+ + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/api/utilities/index.html b/erpnext/docs/current/api/utilities/index.html new file mode 100644 index 0000000000..12c76f3850 --- /dev/null +++ b/erpnext/docs/current/api/utilities/index.html @@ -0,0 +1,19 @@ + + + +
+ + + Version 6.x.x + + + Source + +
+ +

Package Contents

+ +{index} + + \ No newline at end of file diff --git a/erpnext/docs/current/api/utilities/index.txt b/erpnext/docs/current/api/utilities/index.txt new file mode 100644 index 0000000000..86ae38fc1d --- /dev/null +++ b/erpnext/docs/current/api/utilities/index.txt @@ -0,0 +1,3 @@ +erpnext.utilities.address_and_contact +erpnext.utilities +erpnext.utilities.transaction_base \ No newline at end of file diff --git a/erpnext/docs/current/index.html b/erpnext/docs/current/index.html index 01071ee1e0..ec8d9545cd 100644 --- a/erpnext/docs/current/index.html +++ b/erpnext/docs/current/index.html @@ -35,7 +35,7 @@ Version - 6.17.0 + 6.18.4 diff --git a/erpnext/docs/current/models/accounts/period_closing_voucher.html b/erpnext/docs/current/models/accounts/period_closing_voucher.html index 1a3aac1fc8..c14226eed0 100644 --- a/erpnext/docs/current/models/accounts/period_closing_voucher.html +++ b/erpnext/docs/current/models/accounts/period_closing_voucher.html @@ -157,7 +157,7 @@ Closing Account Head

- The account head under Liability or Equity, in which Profit/Loss will be booked

+ The account head under Liability, in which Profit/Loss will be booked

diff --git a/erpnext/docs/current/models/accounts/purchase_invoice.html b/erpnext/docs/current/models/accounts/purchase_invoice.html index 1bdbcbf029..b75f10ab5e 100644 --- a/erpnext/docs/current/models/accounts/purchase_invoice.html +++ b/erpnext/docs/current/models/accounts/purchase_invoice.html @@ -1663,6 +1663,20 @@ Yearly +

+ + + on_recurring + (self, reference_doc) +

+

No docs

+
+
+ + + + +

diff --git a/erpnext/docs/current/models/accounts/sales_invoice.html b/erpnext/docs/current/models/accounts/sales_invoice.html index 07e32122ec..8e62c404a9 100644 --- a/erpnext/docs/current/models/accounts/sales_invoice.html +++ b/erpnext/docs/current/models/accounts/sales_invoice.html @@ -2246,6 +2246,20 @@ Yearly +

+ + + on_recurring + (self, reference_doc) +

+

No docs

+
+
+ + + + +

diff --git a/erpnext/docs/current/models/buying/purchase_order.html b/erpnext/docs/current/models/buying/purchase_order.html index c627191b0a..bafaa2e306 100644 --- a/erpnext/docs/current/models/buying/purchase_order.html +++ b/erpnext/docs/current/models/buying/purchase_order.html @@ -1537,20 +1537,6 @@ Yearly -

- - - before_recurring - (self) -

-

No docs

-
-
- - - - -

diff --git a/erpnext/docs/current/models/buying/supplier.html b/erpnext/docs/current/models/buying/supplier.html index a4e2cd47de..9cabf70511 100644 --- a/erpnext/docs/current/models/buying/supplier.html +++ b/erpnext/docs/current/models/buying/supplier.html @@ -113,11 +113,11 @@ Supplier of Goods or Services. 6 - is_frozen + disabled Check - Is Frozen + Disabled @@ -177,8 +177,36 @@ Supplier of Goods or Services. - + 10 + section_credit_limit + + Section Break + + Credit Limit + + + + + + + 11 + credit_days_based_on + + Select + + Credit Days Based On + + + +

+Fixed Days
+Last Day of the Next Month
+ + + + + 12 credit_days Int @@ -190,7 +218,7 @@ Supplier of Goods or Services. - 11 + 13 address_contacts Section Break @@ -204,7 +232,7 @@ Supplier of Goods or Services. - 12 + 14 address_html HTML @@ -216,7 +244,7 @@ Supplier of Goods or Services. - 13 + 15 column_break1 Column Break @@ -228,7 +256,7 @@ Supplier of Goods or Services. - 14 + 16 contact_html HTML @@ -240,7 +268,7 @@ Supplier of Goods or Services. - 15 + 17 default_payable_accounts Section Break @@ -252,7 +280,7 @@ Supplier of Goods or Services. - 16 + 18 accounts Table @@ -274,19 +302,19 @@ Supplier of Goods or Services. - 17 + 19 column_break2 Section Break - Supplier Details + More Information - 18 + 20 website Data @@ -298,7 +326,7 @@ Supplier of Goods or Services. - 19 + 21 supplier_details Text @@ -310,6 +338,18 @@ Supplier of Goods or Services. + + 22 + is_frozen + + Check + + Is Frozen + + + + + diff --git a/erpnext/docs/current/models/selling/customer.html b/erpnext/docs/current/models/selling/customer.html index d1717968cc..c73547ad98 100644 --- a/erpnext/docs/current/models/selling/customer.html +++ b/erpnext/docs/current/models/selling/customer.html @@ -183,11 +183,11 @@ Individual 10 - is_frozen + disabled Check - Is Frozen + Disabled @@ -389,7 +389,7 @@ Last Day of the Next Month Section Break - Customer Details + More Information @@ -422,8 +422,20 @@ Last Day of the Next Month - + 27 + is_frozen + + Check + + Is Frozen + + + + + + + 28 sales_team_section_break Section Break @@ -437,7 +449,7 @@ Last Day of the Next Month - 28 + 29 default_sales_partner Link @@ -458,7 +470,7 @@ Last Day of the Next Month - 29 + 30 default_commission_rate Float @@ -470,7 +482,7 @@ Last Day of the Next Month - 30 + 31 sales_team_section Section Break @@ -482,7 +494,7 @@ Last Day of the Next Month - 31 + 32 sales_team Table diff --git a/erpnext/docs/current/models/selling/sales_order.html b/erpnext/docs/current/models/selling/sales_order.html index aadc66430f..229e8473cf 100644 --- a/erpnext/docs/current/models/selling/sales_order.html +++ b/erpnext/docs/current/models/selling/sales_order.html @@ -1803,6 +1803,20 @@ Yearly +

+ + + on_recurring + (self, reference_doc) +

+

No docs

+
+
+ + + + +

diff --git a/erpnext/docs/current/models/setup/supplier_type.html b/erpnext/docs/current/models/setup/supplier_type.html index ee53252036..fc7bf9c125 100644 --- a/erpnext/docs/current/models/setup/supplier_type.html +++ b/erpnext/docs/current/models/setup/supplier_type.html @@ -50,8 +50,36 @@ - + 2 + section_credit_limit + + Section Break + + Credit Limit + + + + + + + 3 + credit_days_based_on + + Select + + Credit Days Based On + + + +

+Fixed Days
+Last Day of the Next Month
+ + + + + 4 credit_days Int @@ -63,7 +91,7 @@ - 3 + 5 default_payable_account Section Break @@ -75,7 +103,7 @@ - 4 + 6 accounts Table diff --git a/erpnext/docs/current/models/stock/material_request.html b/erpnext/docs/current/models/stock/material_request.html new file mode 100644 index 0000000000..e1fc54335b --- /dev/null +++ b/erpnext/docs/current/models/stock/material_request.html @@ -0,0 +1,723 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabMaterial Request

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1type_section + Section Break + + + +
icon-pushpin
+
2title + Data + Title + +
3material_request_type + Select + Type + + +
Purchase
+Material Transfer
+Material Issue
+
4column_break_2 + Column Break + + +
5naming_series + Select + Series + + +
MREQ-
+
6amended_from + Link + Amended From + + + + + + +Material Request + + + +
7company + Link + Company + + + + + + +Company + + + +
8items_section + Section Break + + + +
icon-shopping-cart
+
9items + Table + Items + + + + + + +Material Request Item + + + +
10more_info + Section Break + More Information + + +
icon-file-text
+
11requested_by + Data + Requested For + +
12transaction_date + Date + Transaction Date + +
13column_break2 + Column Break + + +
14status + Select + Status + + +
+Draft
+Submitted
+Stopped
+Cancelled
+
15per_ordered + Percent + % Ordered + +
16printing_details + Section Break + Printing Details + +
17letter_head + Link + Letter Head + + + + + + +Letter Head + + + +
18select_print_heading + Link + Print Heading + + + + + + +Print Heading + + + +
19terms_section_break + Section Break + Terms and Conditions + + +
icon-legal
+
20tc_name + Link + Terms + + + + + + +Terms and Conditions + + + +
21terms + Text Editor + Terms and Conditions Content + +
+ + +
+

Controller

+

erpnext.stock.doctype.material_request.material_request

+ + + + + + + +

Class MaterialRequest

+ +

Inherits from erpnext.controllers.buying_controller.BuyingController + +

+
+
+ + + + +

+ + + check_if_already_pulled + (self) +

+

No docs

+
+
+ + + + + +

+ + + check_modified_date + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_feed + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_completed_qty + (self, mr_items=None) +

+

No docs

+
+
+ + + + + +

+ + + update_requested_qty + (self, mr_item_rows=None) +

+

update requested qty (before ordered_qty is updated)

+
+
+ + + + + +

+ + + update_status + (self, status) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_qty_against_so + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_schedule_date + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + +

+ + + erpnext.stock.doctype.material_request.material_request.get_material_requests_based_on_supplier + (supplier) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order +

+

+ + + erpnext.stock.doctype.material_request.material_request.make_purchase_order + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier +

+

+ + + erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.material_request.material_request.make_stock_entry +

+

+ + + erpnext.stock.doctype.material_request.material_request.make_stock_entry + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.material_request.material_request.make_supplier_quotation +

+

+ + + erpnext.stock.doctype.material_request.material_request.make_supplier_quotation + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.material_request.material_request.set_missing_values + (source, target_doc) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty + (stock_entry, method) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.material_request.material_request.update_item + (obj, target, source_parent) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/material_request_item.html b/erpnext/docs/current/models/stock/material_request_item.html new file mode 100644 index 0000000000..6cd1c81403 --- /dev/null +++ b/erpnext/docs/current/models/stock/material_request_item.html @@ -0,0 +1,407 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabMaterial Request Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2col_break1 + Column Break + + +
3item_name + Data + Item Name + +
4section_break_4 + Section Break + Description + +
5description + Text Editor + Description + +
6column_break_6 + Column Break + + +
7image + Attach + Image + +
8image_view + Image + Image View + + +
image
+
9quantity_and_warehouse + Section Break + Quantity and Warehouse + +
10qty + Float + Quantity + +
11uom + Link + Stock UOM + + + + + + +UOM + + + +
12warehouse + Link + For Warehouse + + + + + + +Warehouse + + + +
13col_break2 + Column Break + + +
14schedule_date + Date + Required Date + +
15more_info + Section Break + More Information + +
16item_group + Link + Item Group + + + + + + +Item Group + + + +
17brand + Link + Brand + + + + + + +Brand + + + +
18lead_time_date + Date + Lead Time Date + +
19sales_order_no + Link + Sales Order No + + + + + + +Sales Order + + + +
20col_break3 + Column Break + + +
21min_order_qty + Float + Min Order Qty + +
22projected_qty + Float + Projected Qty + +
23ordered_qty + Float + Completed Qty + +
24page_break + Check + Page Break + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/packed_item.html b/erpnext/docs/current/models/stock/packed_item.html new file mode 100644 index 0000000000..ef20be60f1 --- /dev/null +++ b/erpnext/docs/current/models/stock/packed_item.html @@ -0,0 +1,395 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabPacked Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1parent_item + Link + Parent Item + + + + + + +Item + + + +
2item_code + Link + Item Code + + + + + + +Item + + + +
3item_name + Data + Item Name + +
4column_break_5 + Column Break + + +
5description + Text Editor + Description + +
6section_break_6 + Section Break + + +
7warehouse + Link + From Warehouse + + + + + + +Warehouse + + + +
8target_warehouse + Link + To Warehouse (Optional) + + + + + + +Warehouse + + + +
9column_break_9 + Column Break + + +
10qty + Float + Qty + +
11section_break_9 + Section Break + + +
12serial_no + Text + Serial No + +
13column_break_11 + Column Break + + +
14batch_no + Link + Batch No + + + + + + +Batch + + + +
15section_break_13 + Section Break + + +
16actual_qty + Float + Actual Qty + +
17projected_qty + Float + Projected Qty + +
18column_break_16 + Column Break + + +
19uom + Link + UOM + + + + + + +UOM + + + +
20page_break + Check + Page Break + +
21prevdoc_doctype + Data + Prevdoc DocType + +
22parent_detail_docname + Data + Parent Detail docname + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/packing_slip.html b/erpnext/docs/current/models/stock/packing_slip.html new file mode 100644 index 0000000000..88c92b21a8 --- /dev/null +++ b/erpnext/docs/current/models/stock/packing_slip.html @@ -0,0 +1,592 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabPacking Slip

+ + +Generate packing slips for packages to be delivered. Used to notify package number, package contents and its weight. + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1packing_slip_details + Section Break + + +
2column_break0 + Column Break + + +
3delivery_note + Link + Delivery Note +

+ Indicates that the package is a part of this delivery (Only Draft)

+
+ + + + +Delivery Note + + + +
4column_break1 + Column Break + + +
5naming_series + Select + Series + + +
PS-
+
6section_break0 + Section Break + + +
7column_break2 + Column Break + + +
8from_case_no + Data + From Package No. +

+ Identification of the package for the delivery (for print)

+
9column_break3 + Column Break + + +
10to_case_no + Data + To Package No. +

+ If more than one package of the same type (for print)

+
11package_item_details + Section Break + + +
12get_items + Button + Get Items + +
13items + Table + Items + + + + + + +Packing Slip Item + + + +
14package_weight_details + Section Break + Package Weight Details + +
15net_weight_pkg + Float + Net Weight +

+ The net weight of this package. (calculated automatically as sum of net weight of items)

+
16net_weight_uom + Link + Net Weight UOM + + + + + + +UOM + + + +
17column_break4 + Column Break + + +
18gross_weight_pkg + Float + Gross Weight +

+ The gross weight of the package. Usually net weight + packaging material weight. (for print)

+
19gross_weight_uom + Link + Gross Weight UOM + + + + + + +UOM + + + +
20letter_head_details + Section Break + Letter Head + +
21letter_head + Link + Letter Head + + + + + + +Letter Head + + + +
22misc_details + Section Break + + +
23amended_from + Link + Amended From + + + + + + +Packing Slip + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.packing_slip.packing_slip

+ + + + + + + +

Class PackingSlip

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + get_details_for_packing + (self) +

+

Returns +* 'Delivery Note Items' query result as a list of dict +* Item Quantity dict of current packing slip doc +* No. of Cases of this packing slip

+
+
+ + + + + +

+ + + get_items + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_recommended_case_no + (self) +

+

Returns the next case no. for a new packing slip for a delivery +note

+
+
+ + + + + +

+ + + recommend_new_qty + (self, item, ps_item_qty, no_of_cases) +

+

Recommend a new quantity and raise a validation exception

+
+
+ + + + + +

+ + + update_item_details + (self) +

+

Fill empty columns in Packing Slip Item

+
+
+ + + + + +

+ + + validate + (self) +

+
    +
  • Validate existence of submitted Delivery Note
  • +
  • Case nos do not overlap
  • +
  • Check if packed qty doesn't exceed actual qty of delivery note
  • +
+ +

It is necessary to validate case nos before checking quantity

+
+
+ + + + + +

+ + + validate_case_nos + (self) +

+

Validate if case nos overlap. If they do, recommend next case no.

+
+
+ + + + + +

+ + + validate_delivery_note + (self) +

+

Validates if delivery note has status as draft

+
+
+ + + + + +

+ + + validate_items_mandatory + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_qty + (self) +

+

Check packed qty across packing slips and delivery note

+
+
+ + +
+
+ + + + + + + +

+ + + erpnext.stock.doctype.packing_slip.packing_slip.item_details + (doctype, txt, searchfield, start, page_len, filters) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/packing_slip_item.html b/erpnext/docs/current/models/stock/packing_slip_item.html new file mode 100644 index 0000000000..a20375ce3d --- /dev/null +++ b/erpnext/docs/current/models/stock/packing_slip_item.html @@ -0,0 +1,219 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabPacking Slip Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2item_name + Data + Item Name + +
3batch_no + Link + Batch No + + + + + + +Batch + + + +
4description + Text Editor + Description + +
5qty + Float + Quantity + +
6stock_uom + Link + UOM + + + + + + +UOM + + + +
7net_weight + Float + Net Weight + +
8weight_uom + Link + Weight UOM + + + + + + +UOM + + + +
9page_break + Check + Page Break + +
10dn_detail + Data + DN Detail + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/price_list.html b/erpnext/docs/current/models/stock/price_list.html new file mode 100644 index 0000000000..60d5b2eabe --- /dev/null +++ b/erpnext/docs/current/models/stock/price_list.html @@ -0,0 +1,426 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabPrice List

+ + +Price List Master + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1enabled + Check + Enabled + +
2sb_1 + Section Break + + +
3price_list_name + Data + Price List Name + +
4currency + Link + Currency + + + + + + +Currency + + + +
5buying + Check + Buying + +
6selling + Check + Selling + +
7column_break_3 + Column Break + + +
8countries + Table + Applicable for Countries + + + + + + +Price List Country + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.price_list.price_list

+ + + + + + + +

Class PriceList

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_default_if_missing + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_item_price + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/price_list_country.html b/erpnext/docs/current/models/stock/price_list_country.html new file mode 100644 index 0000000000..5e8f410d8d --- /dev/null +++ b/erpnext/docs/current/models/stock/price_list_country.html @@ -0,0 +1,84 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabPrice List Country

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1country + Link + Country + + + + + + +Country + + + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/purchase_receipt_item.html b/erpnext/docs/current/models/stock/purchase_receipt_item.html new file mode 100644 index 0000000000..2404597bdf --- /dev/null +++ b/erpnext/docs/current/models/stock/purchase_receipt_item.html @@ -0,0 +1,999 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabPurchase Receipt Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1barcode + Data + Barcode + +
2section_break_2 + Section Break + + +
3item_code + Link + Item Code + + + + + + +Item + + + +
4column_break_2 + Column Break + + +
5item_name + Data + Item Name + +
6section_break_4 + Section Break + Description + +
7description + Text Editor + Description + +
8col_break1 + Column Break + + +
9image + Attach + Image + +
10image_view + Image + Image View + + +
image
+
11received_and_accepted + Section Break + Received and Accepted + +
12received_qty + Float + Recd Quantity + +
13qty + Float + Accepted Quantity + +
14rejected_qty + Float + Rejected Quantity + +
15col_break2 + Column Break + + +
16uom + Link + UOM + + + + + + +UOM + + + +
17stock_uom + Link + Stock UOM + + + + + + +UOM + + + +
18conversion_factor + Float + Conversion Factor + +
19rate_and_amount + Section Break + Rate and Amount + +
20price_list_rate + Currency + Price List Rate + + +
currency
+
21discount_percentage + Percent + Discount on Price List Rate (%) + +
22col_break3 + Column Break + + +
23base_price_list_rate + Currency + Price List Rate (Company Currency) + + +
Company:company:default_currency
+
24sec_break1 + Section Break + + +
25rate + Currency + Rate + + +
currency
+
26amount + Currency + Amount + + +
currency
+
27col_break4 + Column Break + + +
28base_rate + Currency + Rate (Company Currency) + + +
Company:company:default_currency
+
29base_amount + Currency + Amount (Company Currency) + + +
Company:company:default_currency
+
30pricing_rule + Link + Pricing Rule + + + + + + +Pricing Rule + + + +
31section_break_29 + Section Break + + +
32net_rate + Currency + Net Rate + + +
currency
+
33net_amount + Currency + Net Amount + + +
currency
+
34column_break_32 + Column Break + + +
35base_net_rate + Currency + Net Rate (Company Currency) + + +
Company:company:default_currency
+
36base_net_amount + Currency + Net Amount (Company Currency) + + +
Company:company:default_currency
+
37warehouse_and_reference + Section Break + Warehouse and Reference + +
38warehouse + Link + Accepted Warehouse + + + + + + +Warehouse + + + +
39rejected_warehouse + Link + Rejected Warehouse + + + + + + +Warehouse + + + +
40qa_no + Link + Quality Inspection + + + + + + +Quality Inspection + + + +
41column_break_40 + Column Break + + +
42prevdoc_docname + Link + Purchase Order + + + + + + +Purchase Order + + + +
43schedule_date + Date + Required By + +
44stock_qty + Float + Qty as per Stock UOM + +
45section_break_45 + Section Break + + +
46serial_no + Text + Serial No + +
47batch_no + Link + Batch No + + + + + + +Batch + + + +
48column_break_48 + Column Break + + +
49rejected_serial_no + Text + Rejected Serial No + +
50section_break_50 + Section Break + + +
51project_name + Link + Project Name + + + + + + +Project + + + +
52cost_center + Link + Cost Center + + + + + + +Cost Center + + + +
53prevdoc_doctype + Data + Prevdoc Doctype + +
54prevdoc_detail_docname + Data + Purchase Order Item No + +
55col_break5 + Column Break + + +
56bom + Link + BOM + + + + + + +BOM + + + +
57billed_amt + Currency + Billed Amt + +
58landed_cost_voucher_amount + Currency + Landed Cost Voucher Amount + +
59brand + Link + Brand + + + + + + +Brand + + + +
60item_group + Link + Item Group + + + + + + +Item Group + + + +
61rm_supp_cost + Currency + Raw Materials Supplied Cost + + +
Company:company:default_currency
+
62item_tax_amount + Currency + Item Tax Amount + + +
Company:company:default_currency
+
63valuation_rate + Currency + Valuation Rate + + +
Company:company:default_currency
+
64item_tax_rate + Small Text + Item Tax Rate +

+ Tax detail table fetched from item master as a string and stored in this field. +Used for Taxes and Charges

+
65page_break + Check + Page Break + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/serial_no.html b/erpnext/docs/current/models/stock/serial_no.html new file mode 100644 index 0000000000..2718310089 --- /dev/null +++ b/erpnext/docs/current/models/stock/serial_no.html @@ -0,0 +1,1110 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabSerial No

+ + +Distinct unit of an Item + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1details + Section Break + + +
2column_break0 + Column Break + + +
3serial_no + Data + Serial No + +
4item_code + Link + Item Code + + + + + + +Item + + + +
5warehouse + Link + Warehouse +

+ Warehouse can only be changed via Stock Entry / Delivery Note / Purchase Receipt

+
+ + + + +Warehouse + + + +
6column_break1 + Column Break + + +
7item_name + Data + Item Name + +
8description + Text + Description + +
9item_group + Link + Item Group + + + + + + +Item Group + + + +
10brand + Link + Brand + + + + + + +Brand + + + +
11purchase_details + Section Break + Purchase / Manufacture Details + +
12column_break2 + Column Break + + +
13purchase_document_type + Link + Creation Document Type + + + + + + +DocType + + + +
14purchase_document_no + Dynamic Link + Creation Document No + + +
purchase_document_type
+
15purchase_date + Date + Creation Date + +
16purchase_time + Time + Creation Time + +
17purchase_rate + Currency + Incoming Rate + + +
Company:company:default_currency
+
18column_break3 + Column Break + + +
19supplier + Link + Supplier + + + + + + +Supplier + + + +
20supplier_name + Data + Supplier Name + +
21delivery_details + Section Break + Delivery Details + +
22delivery_document_type + Link + Delivery Document Type + + + + + + +DocType + + + +
23delivery_document_no + Dynamic Link + Delivery Document No + + +
delivery_document_type
+
24delivery_date + Date + Delivery Date + +
25delivery_time + Time + Delivery Time + +
26is_cancelled + Select + Is Cancelled + + +
+Yes
+No
+
27column_break5 + Column Break + + +
28customer + Link + Customer + + + + + + +Customer + + + +
29customer_name + Data + Customer Name + +
30warranty_amc_details + Section Break + Warranty / AMC Details + +
31column_break6 + Column Break + + +
32maintenance_status + Select + Maintenance Status + + +
+Under Warranty
+Out of Warranty
+Under AMC
+Out of AMC
+
33warranty_period + Int + Warranty Period (Days) + +
34column_break7 + Column Break + + +
35warranty_expiry_date + Date + Warranty Expiry Date + +
36amc_expiry_date + Date + AMC Expiry Date + +
37more_info + Section Break + More Information + +
38serial_no_details + Text Editor + Serial No Details + +
39company + Link + Company + + + + + + +Company + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.serial_no.serial_no

+ + + + + + + +

Class SerialNo

+ +

Inherits from erpnext.controllers.stock_controller.StockController + +

+
+
+ + + + +

+ + + __init__ + (self, arg1, arg2=None) +

+

No docs

+
+
+ + + + + +

+ + + after_rename + (self, old, new, merge=False) +

+

rename serial_no text fields

+
+
+ + + + + +

+ + + before_rename + (self, old, new, merge=False) +

+

No docs

+
+
+ + + + + +

+ + + get_last_sle + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_stock_ledger_entries + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_stock_ledger_entry + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_maintenance_status + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_purchase_details + (self, purchase_sle) +

+

No docs

+
+
+ + + + + +

+ + + set_sales_details + (self, delivery_sle) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_item + (self) +

+

Validate whether serial no is required for this item

+
+
+ + + + + +

+ + + validate_warehouse + (self) +

+

No docs

+
+
+ + +
+
+ + + + + +

Class SerialNoCannotCannotChangeError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoCannotCreateDirectError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoDuplicateError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoItemError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoNotExistsError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoNotRequiredError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoQtyError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoRequiredError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class SerialNoWarehouseError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.allow_serial_nos_with_different_item + (sle_serial_no, sle) +

+

Allows same serial nos for raw materials and finished goods +in Manufacture / Repack type Stock Entry

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.get_item_details + (item_code) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.get_serial_nos + (serial_no) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.make_serial_no + (serial_no, sle) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.process_serial_no + (sle) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.update_serial_nos + (sle, item_det) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.update_serial_nos_after_submit + (controller, parentfield) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.serial_no.serial_no.validate_serial_no + (sle, item_det) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_entry.html b/erpnext/docs/current/models/stock/stock_entry.html new file mode 100644 index 0000000000..29bc11e7bc --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_entry.html @@ -0,0 +1,1617 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabStock Entry

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1items_section + Section Break + + +
2title + Data + Title + +
3naming_series + Select + Series + + +
STE-
+
4purpose + Select + Purpose + + +
Material Issue
+Material Receipt
+Material Transfer
+Material Transfer for Manufacture
+Manufacture
+Repack
+Subcontract
+
5production_order + Link + Production Order + + + + + + +Production Order + + + +
6purchase_order + Link + Purchase Order + + + + + + +Purchase Order + + + +
7delivery_note_no + Link + Delivery Note No + + + + + + +Delivery Note + + + +
8sales_invoice_no + Link + Sales Invoice No + + + + + + +Sales Invoice + + + +
9purchase_receipt_no + Link + Purchase Receipt No + + + + + + +Purchase Receipt + + + +
10from_bom + Check + From BOM + +
11col2 + Column Break + + +
12posting_date + Date + Posting Date + +
13posting_time + Time + Posting Time + +
14sb1 + Section Break + + +
15bom_no + Link + BOM No + + + + + + +BOM + + + +
16fg_completed_qty + Float + For Quantity +

+ As per Stock UOM

+
17cb1 + Column Break + + +
18use_multi_level_bom + Check + Use Multi-Level BOM +

+ Including items for sub assemblies

+
19get_items + Button + Get Items + +
20section_break_12 + Section Break + + +
21from_warehouse + Link + Default Source Warehouse + + + + + + +Warehouse + + + +
22cb0 + Column Break + + +
23to_warehouse + Link + Default Target Warehouse + + + + + + +Warehouse + + + +
24sb0 + Section Break + + + +
Simple
+
25items + Table + Items + + + + + + +Stock Entry Detail + + + +
26get_stock_and_rate + Button + Update Rate and Availability + + +
get_stock_and_rate
+
27section_break_19 + Section Break + + +
28total_incoming_value + Currency + Total Incoming Value + + +
Company:company:default_currency
+
29column_break_22 + Column Break + + +
30total_outgoing_value + Currency + Total Outgoing Value + + +
Company:company:default_currency
+
31value_difference + Currency + Total Value Difference (Out - In) + + +
Company:company:default_currency
+
32difference_account + Link + Difference Account + + + + + + +Account + + + +
33additional_costs_section + Section Break + Additional Costs + +
34additional_costs + Table + Additional Costs + + + + + + +Landed Cost Taxes and Charges + + + +
35total_additional_costs + Currency + Total Additional Costs + + +
Company:company:default_currency
+
36contact_section + Section Break + Customer or Supplier Details + +
37supplier + Link + Supplier + + + + + + +Supplier + + + +
38supplier_name + Data + Supplier Name + +
39supplier_address + Small Text + Supplier Address + +
40column_break_39 + Column Break + + +
41customer + Link + Customer + + + + + + +Customer + + + +
42customer_name + Data + Customer Name + +
43customer_address + Small Text + Customer Address + +
44printing_settings + Section Break + Printing Settings + +
45select_print_heading + Link + Print Heading + + + + + + +Print Heading + + + +
46letter_head + Link + Letter Head + + + + + + +Letter Head + + + +
47more_info + Section Break + More Information + +
48project_name + Link + Project Name + + + + + + +Project + + + +
49remarks + Text + Remarks + +
50col5 + Column Break + + +
51total_amount + Currency + Total Amount + + +
Company:company:default_currency
+
52company + Link + Company + + + + + + +Company + + + +
53fiscal_year + Link + Fiscal Year + + + + + + +Fiscal Year + + + +
54amended_from + Link + Amended From + + + + + + +Stock Entry + + + +
55credit_note + Link + Credit Note + + + + + + +Journal Entry + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.stock_entry.stock_entry

+ + + + + + + +

Class DuplicateEntryForProductionOrderError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class IncorrectValuationRateError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class OperationsNotCompleteError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class StockEntry

+ +

Inherits from erpnext.controllers.stock_controller.StockController + +

+
+
+ + + + +

+ + + add_to_stock_entry_detail + (self, item_dict, bom_no=None) +

+

No docs

+
+
+ + + + + +

+ + + calculate_rate_and_amount + (self, force=False) +

+

No docs

+
+
+ + + + + +

+ + + check_duplicate_entry_for_production_order + (self) +

+

No docs

+
+
+ + + + + +

+ + + check_if_operations_completed + (self) +

+

Check if Time Logs are completed against before manufacturing to capture operating costs.

+
+
+ + + + + +

+ + + distribute_additional_costs + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_bom_raw_materials + (self, qty) +

+

No docs

+
+
+ + + + + +

+ + + get_feed + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_gl_entries + (self, warehouse_account) +

+

No docs

+
+
+ + + + + +

+ + + get_issued_qty + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_item_details + (self, args=None, for_update=False) +

+

No docs

+
+
+ + + + + +

+ + + get_items + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_pending_raw_materials + (self) +

+

issue (item quantity) that is pending to issue or desire to transfer, +whichever is less

+
+
+ + + + + +

+ + + get_stock_and_rate + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_transfered_raw_materials + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_uom_details + (self, args) +

+

Returns dict {"conversion_factor": [value], "transfer_qty": qty * [value]}

+ +

Parameters:

+ +
    +
  • args - dict with item_code, uom and qty
  • +
+
+
+ + + + + +

+ + + load_items_from_bom + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + onload + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_actual_qty + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_basic_rate + (self, force=False) +

+

get stock and incoming rate on posting date

+
+
+ + + + + +

+ + + set_basic_rate_for_finished_goods + (self, raw_material_cost) +

+

No docs

+
+
+ + + + + +

+ + + set_total_amount + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_total_incoming_outgoing_value + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_transfer_qty + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_production_order + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_stock_ledger + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_valuation_rate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_batch + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_bom + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_finished_goods + (self) +

+

validation: finished good quantity should be same as manufacturing quantity

+
+
+ + + + + +

+ + + validate_item + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_production_order + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_purchase_order + (self) +

+

Throw exception if more raw material is transferred against Purchase Order than in +the raw materials supplied table

+
+
+ + + + + +

+ + + validate_purpose + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_warehouse + (self) +

+

perform various (sometimes conditional) validations on warehouse

+
+
+ + + + + +

+ + + validate_with_material_request + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + +

+ + + erpnext.stock.doctype.stock_entry.stock_entry.get_additional_costs + (production_order=None, bom_no=None, fg_qty=None) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.stock.doctype.stock_entry.stock_entry.get_operating_cost_per_unit + (production_order=None, bom_no=None) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.stock_entry.stock_entry.get_production_order_details +

+

+ + + erpnext.stock.doctype.stock_entry.stock_entry.get_production_order_details + (production_order) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.stock_entry.stock_entry.get_warehouse_details +

+

+ + + erpnext.stock.doctype.stock_entry.stock_entry.get_warehouse_details + (args) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_entry_detail.html b/erpnext/docs/current/models/stock/stock_entry_detail.html new file mode 100644 index 0000000000..a4ef6c0e5c --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_entry_detail.html @@ -0,0 +1,656 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabStock Entry Detail

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1barcode + Data + Barcode + +
2section_break_2 + Section Break + + +
3s_warehouse + Link + Source Warehouse + + + + + + +Warehouse + + + +
4col_break1 + Column Break + + +
5t_warehouse + Link + Target Warehouse + + + + + + +Warehouse + + + +
6sec_break1 + Section Break + + +
7item_code + Link + Item Code + + + + + + +Item + + + +
8col_break2 + Column Break + + +
9item_name + Data + Item Name + +
10section_break_8 + Section Break + Description + +
11description + Text Editor + Description + +
12column_break_10 + Column Break + + +
13image + Attach + Image + +
14image_view + Image + Image View + + +
image
+
15quantity_and_rate + Section Break + Quantity and Rate + +
16qty + Float + Qty + +
17basic_rate + Currency + Basic Rate (as per Stock UOM) + + +
Company:company:default_currency
+
18basic_amount + Currency + Basic Amount + + +
Company:company:default_currency
+
19additional_cost + Currency + Additional Cost + + +
Company:company:default_currency
+
20amount + Currency + Amount + + +
Company:company:default_currency
+
21valuation_rate + Currency + Valuation Rate + + +
Company:company:default_currency
+
22col_break3 + Column Break + + +
23uom + Link + UOM + + + + + + +UOM + + + +
24conversion_factor + Float + Conversion Factor + +
25stock_uom + Link + Stock UOM + + + + + + +UOM + + + +
26transfer_qty + Float + Qty as per Stock UOM + +
27serial_no_batch + Section Break + Serial No / Batch + +
28serial_no + Text + Serial No + +
29col_break4 + Column Break + + +
30batch_no + Link + Batch No + + + + + + +Batch + + + +
31accounting + Section Break + Accounting + +
32expense_account + Link + Difference Account + + + + + + +Account + + + +
33col_break5 + Column Break + + +
34cost_center + Link + Cost Center + + + + + + +Cost Center + + + +
35more_info + Section Break + More Information + +
36actual_qty + Float + Actual Qty (at source/target) + +
37bom_no + Link + BOM No +

+ BOM No. for a Finished Good Item

+
+ + + + +BOM + + + +
38col_break6 + Column Break + + +
39material_request + Link + Material Request +

+ Material Request used to make this Stock Entry

+
+ + + + +Material Request + + + +
40material_request_item + Link + Material Request Item + + + + + + +Material Request Item + + + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_ledger_entry.html b/erpnext/docs/current/models/stock/stock_ledger_entry.html new file mode 100644 index 0000000000..0ddd997efc --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_ledger_entry.html @@ -0,0 +1,552 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabStock Ledger Entry

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2serial_no + Text + Serial No + +
3batch_no + Data + Batch No + +
4warehouse + Link + Warehouse + + + + + + +Warehouse + + + +
5posting_date + Date + Posting Date + +
6posting_time + Time + Posting Time + +
7voucher_type + Link + Voucher Type + + + + + + +DocType + + + +
8voucher_no + Dynamic Link + Voucher No + + +
voucher_type
+
9voucher_detail_no + Data + Voucher Detail No + +
10actual_qty + Float + Actual Quantity + +
11incoming_rate + Currency + Incoming Rate + + +
Company:company:default_currency
+
12outgoing_rate + Currency + Outgoing Rate + + +
Company:company:default_currency
+
13stock_uom + Link + Stock UOM + + + + + + +UOM + + + +
14qty_after_transaction + Float + Actual Qty After Transaction + +
15valuation_rate + Currency + Valuation Rate + + +
Company:company:default_currency
+
16stock_value + Currency + Stock Value + + +
Company:company:default_currency
+
17stock_value_difference + Currency + Stock Value Difference + + +
Company:company:default_currency
+
18stock_queue + Text + Stock Queue (FIFO) + +
19project + Link + Project + + + + + + +Project + + + +
20company + Link + Company + + + + + + +Company + + + +
21fiscal_year + Data + Fiscal Year + +
22is_cancelled + Select + Is Cancelled + + +
+No
+Yes
+
+ + +
+

Controller

+

erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry

+ + + + + + + +

Class StockFreezeError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class StockLedgerEntry

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + actual_amt_check + (self) +

+

No docs

+
+
+ + + + + +

+ + + check_stock_frozen_date + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + scrub_posting_time + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_batch + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_item + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_mandatory + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + +

+ + + erpnext.stock.doctype.stock_ledger_entry.stock_ledger_entry.on_doctype_update + () +

+

No docs

+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_reconciliation.html b/erpnext/docs/current/models/stock/stock_reconciliation.html new file mode 100644 index 0000000000..12be09c2eb --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_reconciliation.html @@ -0,0 +1,589 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabStock Reconciliation

+ + +This tool helps you to update or fix the quantity and valuation of stock in the system. It is typically used to synchronise the system values and what actually exists in your warehouses. + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1posting_date + Date + Posting Date + +
2posting_time + Time + Posting Time + +
3col1 + Column Break + + +
4amended_from + Link + Amended From + + + + + + +Stock Reconciliation + + + +
5company + Link + Company + + + + + + +Company + + + +
6sb9 + Section Break + + +
7items + Table + Items + + + + + + +Stock Reconciliation Item + + + +
8section_break_9 + Section Break + + +
9expense_account + Link + Difference Account + + + + + + +Account + + + +
10cost_center + Link + Cost Center + + + + + + +Cost Center + + + +
11reconciliation_json + Long Text + Reconciliation JSON + +
12column_break_13 + Column Break + + +
13difference_amount + Currency + Difference Amount + +
14fold_15 + Fold + + +
15section_break_16 + Section Break + + +
16fiscal_year + Link + Fiscal Year + + + + + + +Fiscal Year + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.stock_reconciliation.stock_reconciliation

+ + + + + + + +

Class EmptyStockReconciliationItemsError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class OpeningEntryAccountError

+ +

Inherits from frappe.exceptions.ValidationError + +

+
+
+ +
+
+ + + + + +

Class StockReconciliation

+ +

Inherits from erpnext.controllers.stock_controller.StockController + +

+
+
+ + + + +

+ + + __init__ + (self, arg1, arg2=None) +

+

No docs

+
+
+ + + + + +

+ + + delete_and_repost_sle + (self) +

+
Delete Stock Ledger Entries related to this voucher
+
+ +

and repost future Stock Ledger Entries

+
+
+ + + + + +

+ + + get_gl_entries + (self, warehouse_account=None) +

+

No docs

+
+
+ + + + + +

+ + + get_items_for + (self, warehouse) +

+

No docs

+
+
+ + + + + +

+ + + insert_entries + (self, row) +

+

Insert Stock Ledger Entries

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + remove_items_with_no_change + (self) +

+

Remove items if qty or rate is not changed

+
+
+ + + + + +

+ + + update_stock_ledger + (self) +

+
find difference between current and expected entries
+
+ +

and create stock ledger entries based on the difference

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_data + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_expense_account + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_item + (self, item_code, row_num) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items +

+

+ + + erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_items + (warehouse, posting_date, posting_time) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_stock_balance_for +

+

+ + + erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.get_stock_balance_for + (item_code, warehouse, posting_date, posting_time) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_reconciliation_item.html b/erpnext/docs/current/models/stock/stock_reconciliation_item.html new file mode 100644 index 0000000000..701bbde26f --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_reconciliation_item.html @@ -0,0 +1,179 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabStock Reconciliation Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2warehouse + Link + Warehouse + + + + + + +Warehouse + + + +
3section_break_3 + Section Break + + +
4qty + Float + Quantity + +
5valuation_rate + Currency + Valuation Rate + +
6column_break_6 + Column Break + + +
7current_qty + Float + Current Qty +

+ Before reconciliation

+
8current_valuation_rate + Read Only + Current Valuation Rate +

+ Before reconciliation

+
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/stock_settings.html b/erpnext/docs/current/models/stock/stock_settings.html new file mode 100644 index 0000000000..548ef57685 --- /dev/null +++ b/erpnext/docs/current/models/stock/stock_settings.html @@ -0,0 +1,337 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ +Single + + + + +Settings + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_naming_by + Select + Item Naming By + + +
Item Code
+Naming Series
+
2item_group + Link + Default Item Group + + + + + + +Item Group + + + +
3stock_uom + Link + Default Stock UOM + + + + + + +UOM + + + +
4column_break_4 + Column Break + + +
5valuation_method + Select + Default Valuation Method + + +
FIFO
+Moving Average
+
6tolerance + Float + Allowance Percent +

+ Percentage you are allowed to receive or deliver more against the quantity ordered. For example: If you have ordered 100 units. and your Allowance is 10% then you are allowed to receive 110 units.

+
7section_break_7 + Section Break + + +
8auto_insert_price_list_rate_if_missing + Check + Auto insert Price List rate if missing + +
9allow_negative_stock + Check + Allow Negative Stock + +
10column_break_10 + Column Break + + +
11automatically_set_serial_nos_based_on_fifo + Check + Automatically Set Serial Nos based on FIFO + +
12auto_material_request + Section Break + Auto Material Request + +
13auto_indent + Check + Raise Material Request when stock reaches re-order level + +
14reorder_email_notify + Check + Notify by Email on creation of automatic Material Request + +
15freeze_stock_entries + Section Break + Freeze Stock Entries + +
16stock_frozen_upto + Date + Stock Frozen Upto + +
17stock_frozen_upto_days + Int + Freeze Stocks Older Than [Days] + +
18stock_auth_role + Link + Role Allowed to edit frozen stock + + + + + + +Role + + + +
+ + +
+

Controller

+

erpnext.stock.doctype.stock_settings.stock_settings

+ + + + + + + +

Class StockSettings

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/uom_conversion_detail.html b/erpnext/docs/current/models/stock/uom_conversion_detail.html new file mode 100644 index 0000000000..f6c26f85b1 --- /dev/null +++ b/erpnext/docs/current/models/stock/uom_conversion_detail.html @@ -0,0 +1,96 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabUOM Conversion Detail

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1uom + Link + UOM + + + + + + +UOM + + + +
2conversion_factor + Float + Conversion Factor + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/stock/warehouse.html b/erpnext/docs/current/models/stock/warehouse.html new file mode 100644 index 0000000000..c0fa5d3d6b --- /dev/null +++ b/erpnext/docs/current/models/stock/warehouse.html @@ -0,0 +1,682 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabWarehouse

+ + +A logical Warehouse against which stock entries are made. + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1warehouse_detail + Section Break + Warehouse Detail + +
2warehouse_name + Data + Warehouse Name + +
3company + Link + Company + + + + + + +Company + + + +
4create_account_under + Link + Parent Account +

+ Account for the warehouse (Perpetual Inventory) will be created under this Account.

+
+ + + + +Account + + + +
5disabled + Check + Disabled + +
6warehouse_contact_info + Section Break + Warehouse Contact Info +

+ For Reference Only.

+
7email_id + Data + Email Id + +
8phone_no + Data + Phone No + + +
Phone
+
9mobile_no + Data + Mobile No + + +
Phone
+
10column_break0 + Column Break + + +
11address_line_1 + Data + Address Line 1 + +
12address_line_2 + Data + Address Line 2 + +
13city + Data + City + +
14state + Data + State + +
15pin + Int + PIN + +
+ + +
+

Controller

+

erpnext.stock.doctype.warehouse.warehouse

+ + + + + + + +

Class Warehouse

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + add_abbr_if_missing + (self, dn) +

+

No docs

+
+
+ + + + + +

+ + + after_rename + (self, olddn, newdn, merge=False) +

+

No docs

+
+
+ + + + + +

+ + + autoname + (self) +

+

No docs

+
+
+ + + + + +

+ + + before_rename + (self, olddn, newdn, merge=False) +

+

No docs

+
+
+ + + + + +

+ + + create_account_head + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_account + (self, warehouse) +

+

No docs

+
+
+ + + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + recalculate_bin_qty + (self, newdn) +

+

No docs

+
+
+ + + + + +

+ + + rename_account_for + (self, olddn, newdn, merge) +

+

No docs

+
+
+ + + + + +

+ + + update_parent_account + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_parent_account + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/index.html b/erpnext/docs/current/models/support/index.html new file mode 100644 index 0000000000..c72134dab5 --- /dev/null +++ b/erpnext/docs/current/models/support/index.html @@ -0,0 +1,19 @@ + + + +
+ + + Version 6.x.x + + + Source + +
+ +

DocTypes for support

+ +{index} + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/index.txt b/erpnext/docs/current/models/support/index.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/docs/current/models/support/issue.html b/erpnext/docs/current/models/support/issue.html new file mode 100644 index 0000000000..82f29b53b5 --- /dev/null +++ b/erpnext/docs/current/models/support/issue.html @@ -0,0 +1,592 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabIssue

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1subject_section + Section Break + Subject + + +
icon-flag
+
2naming_series + Select + Series + + +
ISS-
+
3subject + Data + Subject + +
4cb00 + Column Break + + +
5status + Select + Status + + +
Open
+Replied
+Hold
+Closed
+
6raised_by + Data + Raised By (Email) + + +
Email
+
7fold + Fold + + +
8section_break_7 + Section Break + + +
9description + Text + Description + +
10column_break_9 + Column Break + + +
11resolution_date + Datetime + Resolution Date + +
12first_responded_on + Datetime + First Responded On + +
13additional_info + Section Break + + + +
icon-pushpin
+
14lead + Link + Lead + + + + + + +Lead + + + +
15contact + Link + Contact + + + + + + +Contact + + + +
16column_break_16 + Column Break + + +
17customer + Link + Customer + + + + + + +Customer + + + +
18customer_name + Data + Customer Name + +
19section_break_19 + Section Break + + +
20resolution_details + Small Text + Resolution Details + +
21column_break1 + Column Break + + +
22opening_date + Date + Opening Date + +
23opening_time + Time + Opening Time + +
24company + Link + Company + + + + + + +Company + + + +
25content_type + Data + Content Type + +
26attachment + Attach + Attachment + +
+ + +
+

Controller

+

erpnext.support.doctype.issue.issue

+ + + + + + + +

Class Issue

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + get_feed + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_lead_contact + (self, email_id) +

+

No docs

+
+
+ + + + + +

+ + + update_status + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + +

+ + + erpnext.support.doctype.issue.issue.auto_close_tickets + () +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.support.doctype.issue.issue.get_issue_list + (doctype, txt, filters, limit_start, limit_page_length=20) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.support.doctype.issue.issue.get_list_context + (context=None) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.support.doctype.issue.issue.has_website_permission + (doc, ptype, user, verbose=False) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.support.doctype.issue.issue.set_multiple_status +

+

+ + + erpnext.support.doctype.issue.issue.set_multiple_status + (names, status) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.support.doctype.issue.issue.set_status +

+

+ + + erpnext.support.doctype.issue.issue.set_status + (name, status) +

+

No docs

+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/maintenance_schedule.html b/erpnext/docs/current/models/support/maintenance_schedule.html new file mode 100644 index 0000000000..fd245b09e0 --- /dev/null +++ b/erpnext/docs/current/models/support/maintenance_schedule.html @@ -0,0 +1,685 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabMaintenance Schedule

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1customer_details + Section Break + + + +
icon-user
+
2customer + Link + Customer + + + + + + +Customer + + + +
3column_break0 + Column Break + + +
4status + Select + Status + + +
+Draft
+Submitted
+Cancelled
+
5transaction_date + Date + Transaction Date + +
6items_section + Section Break + + + +
icon-shopping-cart
+
7items + Table + Items + + + + + + +Maintenance Schedule Item + + + +
8schedule + Section Break + Schedule + + +
icon-time
+
9generate_schedule + Button + Generate Schedule + +
10schedules + Table + Schedules + + + + + + +Maintenance Schedule Detail + + + +
11contact_info + Section Break + Contact Info + +
12customer_name + Data + Customer Name + +
13contact_person + Link + Contact Person + + + + + + +Contact + + + +
14contact_mobile + Data + Mobile No + +
15contact_email + Data + Contact Email + +
16contact_display + Small Text + Contact + +
17column_break_17 + Column Break + + +
18customer_address + Link + Customer Address + + + + + + +Address + + + +
19address_display + Small Text + Address + +
20territory + Link + Territory + + + + + + +Territory + + + +
21customer_group + Link + Customer Group + + + + + + +Customer Group + + + +
22company + Link + Company + + + + + + +Company + + + +
23amended_from + Link + Amended From + + + + + + +Maintenance Schedule + + + +
+ + +
+

Controller

+

erpnext.support.doctype.maintenance_schedule.maintenance_schedule

+ + + + + + + +

Class MaintenanceSchedule

+ +

Inherits from erpnext.utilities.transaction_base.TransactionBase + +

+
+
+ + + + +

+ + + check_serial_no_added + (self) +

+

No docs

+
+
+ + + + + +

+ + + create_schedule_list + (self, start_date, end_date, no_of_visit, sales_person) +

+

No docs

+
+
+ + + + + +

+ + + generate_schedule + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_amc_date + (self, serial_nos, amc_expiry_date=None) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_dates_with_periodicity + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_maintenance_detail + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_sales_order + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_schedule + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_schedule_date_for_holiday_list + (self, schedule_date, sales_person) +

+

No docs

+
+
+ + + + + +

+ + + validate_serial_no + (self, serial_nos, amc_start_date) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Public API +
/api/method/erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit +

+

+ + + erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/maintenance_schedule_detail.html b/erpnext/docs/current/models/support/maintenance_schedule_detail.html new file mode 100644 index 0000000000..70402e1949 --- /dev/null +++ b/erpnext/docs/current/models/support/maintenance_schedule_detail.html @@ -0,0 +1,153 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabMaintenance Schedule Detail

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2item_name + Data + Item Name + +
3scheduled_date + Date + Scheduled Date + +
4actual_date + Date + Actual Date + +
5sales_person + Link + Sales Person + + + + + + +Sales Person + + + +
6serial_no + Small Text + Serial No + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/maintenance_schedule_item.html b/erpnext/docs/current/models/support/maintenance_schedule_item.html new file mode 100644 index 0000000000..714bc83286 --- /dev/null +++ b/erpnext/docs/current/models/support/maintenance_schedule_item.html @@ -0,0 +1,233 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabMaintenance Schedule Item

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2item_name + Data + Item Name + +
3description + Data + Description + +
4schedule_details + Section Break + + +
5start_date + Date + Start Date + +
6end_date + Date + End Date + +
7periodicity + Select + Periodicity + + +
+Weekly
+Monthly
+Quarterly
+Half Yearly
+Yearly
+Random
+
8no_of_visits + Int + No of Visits + +
9sales_person + Link + Sales Person + + + + + + +Sales Person + + + +
10reference + Section Break + Reference + +
11serial_no + Small Text + Serial No + +
12prevdoc_docname + Data + Against Docname + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/maintenance_visit.html b/erpnext/docs/current/models/support/maintenance_visit.html new file mode 100644 index 0000000000..d5c4aae28d --- /dev/null +++ b/erpnext/docs/current/models/support/maintenance_visit.html @@ -0,0 +1,666 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabMaintenance Visit

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1customer_details + Section Break + + + +
icon-user
+
2column_break0 + Column Break + + +
3customer + Link + Customer + + + + + + +Customer + + + +
4customer_name + Data + Customer Name + +
5address_display + Small Text + Address + +
6contact_display + Small Text + Contact + +
7contact_mobile + Data + Mobile No + +
8contact_email + Data + Contact Email + +
9column_break1 + Column Break + + +
10mntc_date + Date + Maintenance Date + +
11mntc_time + Time + Maintenance Time + +
12maintenance_details + Section Break + + + +
icon-wrench
+
13completion_status + Select + Completion Status + + +
+Partially Completed
+Fully Completed
+
14column_break_14 + Column Break + + +
15maintenance_type + Select + Maintenance Type + + +
+Scheduled
+Unscheduled
+Breakdown
+
16section_break0 + Section Break + + + +
icon-wrench
+
17purposes + Table + Purposes + + + + + + +Maintenance Visit Purpose + + + +
18more_info + Section Break + More Information + + +
icon-file-text
+
19customer_feedback + Small Text + Customer Feedback + +
20col_break3 + Column Break + + +
21status + Data + Status + + +
+Draft
+Cancelled
+Submitted
+
22amended_from + Link + Amended From + + + + + + +Maintenance Visit + + + +
23company + Link + Company + + + + + + +Company + + + +
24fiscal_year + Link + Fiscal Year + + + + + + +Fiscal Year + + + +
25contact_info_section + Section Break + Contact Info + + +
icon-bullhorn
+
26customer_address + Link + Customer Address + + + + + + +Address + + + +
27contact_person + Link + Contact Person + + + + + + +Contact + + + +
28col_break4 + Column Break + + +
29territory + Link + Territory + + + + + + +Territory + + + +
30customer_group + Link + Customer Group + + + + + + +Customer Group + + + +
+ + +
+

Controller

+

erpnext.support.doctype.maintenance_visit.maintenance_visit

+ + + + + + + +

Class MaintenanceVisit

+ +

Inherits from erpnext.utilities.transaction_base.TransactionBase + +

+
+
+ + + + +

+ + + check_if_last_visit + (self) +

+

check if last maintenance visit against same sales order/ Warranty Claim

+
+
+ + + + + +

+ + + get_feed + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_submit + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + update_customer_issue + (self, flag) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_serial_no + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/maintenance_visit_purpose.html b/erpnext/docs/current/models/support/maintenance_visit_purpose.html new file mode 100644 index 0000000000..0dbad3685c --- /dev/null +++ b/erpnext/docs/current/models/support/maintenance_visit_purpose.html @@ -0,0 +1,212 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + +Child Table + + +

Table Name: tabMaintenance Visit Purpose

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1item_code + Link + Item Code + + + + + + +Item + + + +
2item_name + Data + Item Name + +
3serial_no + Small Text + Serial No + +
4description + Text Editor + Description + +
5work_details + Section Break + + +
6service_person + Link + Sales Person + + + + + + +Sales Person + + + +
7work_done + Small Text + Work Done + +
8prevdoc_doctype + Link + Document Type + + + + + + +DocType + + + +
9prevdoc_docname + Dynamic Link + Against Document No + + +
prevdoc_doctype
+
10prevdoc_detail_docname + Data + Against Document Detail No + +
+ + + + +

Child Table Of

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/support/warranty_claim.html b/erpnext/docs/current/models/support/warranty_claim.html new file mode 100644 index 0000000000..d9c403ed56 --- /dev/null +++ b/erpnext/docs/current/models/support/warranty_claim.html @@ -0,0 +1,780 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabWarranty Claim

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1customer_section + Section Break + + + +
icon-user
+
2naming_series + Select + Series + + +
CI-
+
3status + Select + Status + + +
+Open
+Closed
+Work In Progress
+Cancelled
+
4complaint_date + Date + Issue Date + +
5column_break0 + Column Break + + +
6serial_no + Link + Serial No + + + + + + +Serial No + + + +
7customer + Link + Customer + + + + + + +Customer + + + +
8customer_address + Link + Customer Address + + + + + + +Address + + + +
9contact_person + Link + Contact Person + + + + + + +Contact + + + +
10issue_details + Section Break + + + +
icon-ticket
+
11complaint + Small Text + Issue + +
12item_code + Link + Item Code + + + + + + +Item + + + +
13column_break1 + Column Break + + +
14item_name + Data + Item Name + +
15description + Small Text + Description + +
16warranty_amc_status + Select + Warranty / AMC Status + + +
+Under Warranty
+Out of Warranty
+Under AMC
+Out of AMC
+
17warranty_expiry_date + Date + Warranty Expiry Date + +
18amc_expiry_date + Date + AMC Expiry Date + +
19resolution_section + Section Break + Resolution +

+ To assign this issue, use the "Assign" button in the sidebar.

+
+
icon-thumbs-up
+
20resolution_date + Datetime + Resolution Date + +
21resolved_by + Link + Resolved By + + + + + + +User + + + +
22resolution_details + Text + Resolution Details + +
23contact_info + Section Break + Contact Info + + +
icon-bullhorn
+
24col_break3 + Column Break + + +
25customer_name + Data + Customer Name + +
26customer_group + Link + Customer Group + + + + + + +Customer Group + + + +
27territory + Link + Territory + + + + + + +Territory + + + +
28contact_display + Small Text + Contact + +
29contact_mobile + Data + Mobile No + +
30contact_email + Data + Contact Email + +
31col_break4 + Column Break + + +
32service_address + Small Text + Service Address +

+ If different than customer address

+
33address_display + Small Text + Address + +
34more_info + Section Break + More Information + + +
icon-file-text
+
35col_break5 + Column Break + + +
36company + Link + Company + + + + + + +Company + + + +
37fiscal_year + Link + Fiscal Year + + + + + + +Fiscal Year + + + +
38col_break6 + Column Break + + +
39complaint_raised_by + Data + Raised By + +
40from_company + Data + From Company + +
41amended_from + Link + Amended From + + + + + + +Warranty Claim + + + +
+ + +
+

Controller

+

erpnext.support.doctype.warranty_claim.warranty_claim

+ + + + + + + +

Class WarrantyClaim

+ +

Inherits from erpnext.utilities.transaction_base.TransactionBase + +

+
+
+ + + + +

+ + + get_feed + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_cancel + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Public API +
/api/method/erpnext.support.doctype.warranty_claim.warranty_claim.make_maintenance_visit +

+

+ + + erpnext.support.doctype.warranty_claim.warranty_claim.make_maintenance_visit + (source_name, target_doc=None) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/address.html b/erpnext/docs/current/models/utilities/address.html new file mode 100644 index 0000000000..533be96b2c --- /dev/null +++ b/erpnext/docs/current/models/utilities/address.html @@ -0,0 +1,738 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabAddress

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1address_details + Section Break + + + +
icon-map-marker
+
2address_title + Data + Address Title +

+ Name of person or organization that this address belongs to.

+
3address_type + Select + Address Type + + +
Billing
+Shipping
+Office
+Personal
+Plant
+Postal
+Shop
+Subsidiary
+Warehouse
+Other
+
4address_line1 + Data + Address Line 1 + +
5address_line2 + Data + Address Line 2 + +
6city + Data + City/Town + +
7state + Data + State + +
8pincode + Data + Postal Code + +
9country + Link + Country + + + + + + +Country + + + +
10column_break0 + Column Break + + +
11email_id + Data + Email Id + +
12phone + Data + Phone + +
13fax + Data + Fax + +
14is_primary_address + Check + Preferred Billing Address + +
15is_shipping_address + Check + Preferred Shipping Address + +
16linked_with + Section Break + Reference + + +
icon-pushpin
+
17customer + Link + Customer + + + + + + +Customer + + + +
18customer_name + Data + Customer Name + +
19supplier + Link + Supplier + + + + + + +Supplier + + + +
20supplier_name + Data + Supplier Name + +
21sales_partner + Link + Sales Partner + + + + + + +Sales Partner + + + +
22column_break_22 + Column Break + + +
23lead + Link + Lead + + + + + + +Lead + + + +
24lead_name + Data + Lead Name + +
+ + +
+

Controller

+

erpnext.utilities.doctype.address.address

+ + + + + + + +

Class Address

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + __setup__ + (self) +

+

No docs

+
+
+ + + + + +

+ + + _unset_other + (self, is_address_type) +

+

No docs

+
+
+ + + + + +

+ + + autoname + (self) +

+

No docs

+
+
+ + + + + +

+ + + check_if_linked + (self) +

+

No docs

+
+
+ + + + + +

+ + + get_display + (self) +

+

No docs

+
+
+ + + + + +

+ + + link_address + (self) +

+

Link address based on owner

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_primary_address + (self) +

+

Validate that there can only be one primary address for particular customer, supplier

+
+
+ + + + + +

+ + + validate_shipping_address + (self) +

+

Validate that there can only be one shipping address for particular customer, supplier

+
+
+ + +
+
+ + + + + + +

Public API +
/api/method/erpnext.utilities.doctype.address.address.get_address_display +

+

+ + + erpnext.utilities.doctype.address.address.get_address_display + (address_dict) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.doctype.address.address.get_list_context + (context=None) +

+

No docs

+
+
+ + + + + + + +

+ + + erpnext.utilities.doctype.address.address.get_territory_from_address + (address) +

+

Tries to match city, state and country of address to existing territory

+
+
+ + + + + + + +

+ + + erpnext.utilities.doctype.address.address.has_website_permission + (doc, ptype, user, verbose=False) +

+

Returns true if customer or lead matches with user

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/address_template.html b/erpnext/docs/current/models/utilities/address_template.html new file mode 100644 index 0000000000..629989b52b --- /dev/null +++ b/erpnext/docs/current/models/utilities/address_template.html @@ -0,0 +1,175 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabAddress Template

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1country + Link + Country + + + + + + +Country + + + +
2is_default + Check + Is Default +

+ This format is used if country specific format is not found

+
3template + Code + Template +

+

Default Template

+

Uses Jinja Templating and all the fields of Address (including Custom Fields if any) will be available

+
{{ address_line1 }}<br>
+{% if address_line2 %}{{ address_line2 }}<br>{% endif -%}
+{{ city }}<br>
+{% if state %}{{ state }}<br>{% endif -%}
+{% if pincode %} PIN:  {{ pincode }}<br>{% endif -%}
+{{ country }}<br>
+{% if phone %}Phone: {{ phone }}<br>{% endif -%}
+{% if fax %}Fax: {{ fax }}<br>{% endif -%}
+{% if email_id %}Email: {{ email_id }}<br>{% endif -%}
+

+
+ + +
+

Controller

+

erpnext.utilities.doctype.address_template.address_template

+ + + + + + + +

Class AddressTemplate

+ +

Inherits from frappe.model.document.Document + +

+
+
+ + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_update + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/contact.html b/erpnext/docs/current/models/utilities/contact.html new file mode 100644 index 0000000000..187da8037a --- /dev/null +++ b/erpnext/docs/current/models/utilities/contact.html @@ -0,0 +1,614 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabContact

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1contact_section + Section Break + + + +
icon-user
+
2first_name + Data + First Name + +
3last_name + Data + Last Name + +
4email_id + Data + Email Id + + +
Email
+
5cb00 + Column Break + + +
6status + Select + Status + + +
Passive
+Open
+Replied
+
7phone + Data + Phone + +
8contact_details + Section Break + Reference + + +
icon-pushpin
+
9user + Link + User Id + + + + + + +User + + + +
10customer + Link + Customer + + + + + + +Customer + + + +
11customer_name + Data + Customer Name + +
12column_break1 + Column Break + + +
13supplier + Link + Supplier + + + + + + +Supplier + + + +
14supplier_name + Data + Supplier Name + +
15sales_partner + Link + Sales Partner + + + + + + +Sales Partner + + + +
16is_primary_contact + Check + Is Primary Contact + +
17more_info + Section Break + More Information + + +
icon-file-text
+
18mobile_no + Data + Mobile No + +
19department + Data + Department +

+ Enter department to which this Contact belongs

+
20designation + Data + Designation +

+ Enter designation of this Contact

+
21unsubscribed + Check + Unsubscribed + +
+ + +
+

Controller

+

erpnext.utilities.doctype.contact.contact

+ + + + + + + +

Class Contact

+ +

Inherits from erpnext.controllers.status_updater.StatusUpdater + +

+
+
+ + + + +

+ + + autoname + (self) +

+

No docs

+
+
+ + + + + +

+ + + on_trash + (self) +

+

No docs

+
+
+ + + + + +

+ + + set_user + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate + (self) +

+

No docs

+
+
+ + + + + +

+ + + validate_primary_contact + (self) +

+

No docs

+
+
+ + +
+
+ + + + + + +

Public API +
/api/method/erpnext.utilities.doctype.contact.contact.get_contact_details +

+

+ + + erpnext.utilities.doctype.contact.contact.get_contact_details + (contact) +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.utilities.doctype.contact.contact.invite_user +

+

+ + + erpnext.utilities.doctype.contact.contact.invite_user + (contact) +

+

No docs

+
+
+ + + + + + +

Linked In:

+ + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/index.html b/erpnext/docs/current/models/utilities/index.html new file mode 100644 index 0000000000..8c7f74a0f1 --- /dev/null +++ b/erpnext/docs/current/models/utilities/index.html @@ -0,0 +1,19 @@ + + + +
+ + + Version 6.x.x + + + Source + +
+ +

DocTypes for utilities

+ +{index} + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/index.txt b/erpnext/docs/current/models/utilities/index.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/docs/current/models/utilities/rename_tool.html b/erpnext/docs/current/models/utilities/rename_tool.html new file mode 100644 index 0000000000..959c074178 --- /dev/null +++ b/erpnext/docs/current/models/utilities/rename_tool.html @@ -0,0 +1,147 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ +Single + + + + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1select_doctype + Select + Select DocType +

+ Type of document to rename.

+
2file_to_rename + Attach + File to Rename +

+ Attach .csv file with two columns, one for the old name and one for the new name

+
3rename_log + HTML + Rename Log + +
+ + +
+

Controller

+

erpnext.utilities.doctype.rename_tool.rename_tool

+ + + + + + + +

Class RenameTool

+ +

Inherits from frappe.model.document.Document + +

+
+
+ +
+
+ + + + + + +

Public API +
/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes +

+

+ + + erpnext.utilities.doctype.rename_tool.rename_tool.get_doctypes + () +

+

No docs

+
+
+ + + + + + +

Public API +
/api/method/erpnext.utilities.doctype.rename_tool.rename_tool.upload +

+

+ + + erpnext.utilities.doctype.rename_tool.rename_tool.upload + (select_doctype=None, rows=None) +

+

No docs

+
+
+ + + + + + + + + + + \ No newline at end of file diff --git a/erpnext/docs/current/models/utilities/sms_log.html b/erpnext/docs/current/models/utilities/sms_log.html new file mode 100644 index 0000000000..99fc125666 --- /dev/null +++ b/erpnext/docs/current/models/utilities/sms_log.html @@ -0,0 +1,197 @@ + + + + + + +
+ + + Version 6.x.x + + + Source + +
+ + + + + +

Table Name: tabSMS Log

+ + + + +

Fields

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SrFieldnameTypeLabelOptions
1sender_name + Data + Sender Name + +
2sent_on + Date + Sent On + +
3column_break0 + Column Break + + +
4message + Small Text + Message + +
5sec_break1 + Section Break + + + +
Simple
+
6no_of_requested_sms + Int + No of Requested SMS + +
7requested_numbers + Small Text + Requested Numbers + +
8column_break1 + Column Break + + +
9no_of_sent_sms + Int + No of Sent SMS + +
10sent_to + Small Text + Sent To + +
+ + +
+

Controller

+

erpnext.utilities.doctype.sms_log.sms_log

+ + + + + + + +

Class SMSLog

+ +

Inherits from frappe.model.document.Document + +

+
+
+ +
+
+ + + + + + + + + + + \ No newline at end of file