diff --git a/.gitignore b/.gitignore index a23a9a7492f..0d39ab24dd9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ latest_updates.json .wnf-lang-status *.egg-info dist/ +erpnext/docs/current diff --git a/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html b/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html deleted file mode 100644 index ee2613a0227..00000000000 --- a/erpnext/docs/current/api/accounts/erpnext.accounts.general_ledger.html +++ /dev/null @@ -1,193 +0,0 @@ -
Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.accounts.general_ledger.check_if_in_list - (gle, gl_map) -
-No docs
-- - - erpnext.accounts.general_ledger.delete_gl_entries - (gl_entries=None, voucher_type=None, voucher_no=None, adv_adj=False, update_outstanding=Yes) -
-No docs
-- - - erpnext.accounts.general_ledger.make_entry - (args, adv_adj, update_outstanding) -
-No docs
-- - - erpnext.accounts.general_ledger.make_gl_entries - (gl_map, cancel=False, adv_adj=False, merge_entries=True, update_outstanding=Yes) -
-No docs
-- - - erpnext.accounts.general_ledger.make_round_off_gle - (gl_map, debit_credit_diff) -
-No docs
-- - - erpnext.accounts.general_ledger.merge_similar_entries - (gl_map) -
-No docs
-- - - erpnext.accounts.general_ledger.process_gl_map - (gl_map, merge_entries=True) -
-No docs
-- - - erpnext.accounts.general_ledger.round_off_debit_credit - (gl_map) -
-No docs
-- - - erpnext.accounts.general_ledger.save_entries - (gl_map, adv_adj, update_outstanding) -
-No docs
-- - - erpnext.accounts.general_ledger.validate_account_for_auto_accounting_for_stock - (gl_map) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.accounts.party._get_party_details - (party=None, account=None, party_type=Customer, company=None, posting_date=None, price_list=None, currency=None, doctype=None, ignore_permissions=False) -
-No docs
-- - - erpnext.accounts.party.get_company_currency - () -
-No docs
-- - - erpnext.accounts.party.get_credit_days - (party_type, party, company) -
-No docs
-- - - erpnext.accounts.party.get_default_price_list - (party) -
-Return default price list for party (Document object)
-Public API
- /api/method/erpnext.accounts.party.get_due_date
-
- - - erpnext.accounts.party.get_due_date - (posting_date, party_type, party, company) -
-Set Due Date = Posting Date + Credit Days
-Public API
- /api/method/erpnext.accounts.party.get_party_account
-
- - - erpnext.accounts.party.get_party_account - (party_type, party, company) -
-Returns the account for the given party.
-Will first search in party (Customer / Supplier) record, if not found,
-will search in group (Customer Group / Supplier Type),
-finally will return default.
- - - erpnext.accounts.party.get_party_account_currency - (party_type, party, company) -
-No docs
-Public API
- /api/method/erpnext.accounts.party.get_party_details
-
- - - erpnext.accounts.party.get_party_details - (party=None, account=None, party_type=Customer, company=None, posting_date=None, price_list=None, currency=None, doctype=None) -
-No docs
-- - - erpnext.accounts.party.get_party_gle_currency - (party_type, party, company) -
-No docs
-- - - erpnext.accounts.party.set_account_and_due_date - (party, account, party_type, company, posting_date, doctype) -
-No docs
-- - - erpnext.accounts.party.set_address_details - (out, party, party_type) -
-No docs
-- - - erpnext.accounts.party.set_contact_details - (out, party, party_type) -
-No docs
-- - - erpnext.accounts.party.set_other_values - (out, party, party_type) -
-No docs
-- - - erpnext.accounts.party.set_price_list - (out, party, party_type, given_price_list) -
-No docs
-Public API
- /api/method/erpnext.accounts.party.set_taxes
-
- - - erpnext.accounts.party.set_taxes - (party, party_type, posting_date, company, customer_group=None, supplier_type=None, billing_address=None, shipping_address=None, use_for_shopping_cart=None) -
-No docs
-- - - erpnext.accounts.party.validate_due_date - (posting_date, due_date, party_type, party, company) -
-No docs
-- - - erpnext.accounts.party.validate_party_accounts - (doc) -
-No docs
-- - - erpnext.accounts.party.validate_party_frozen_disabled - (party_type, party_name) -
-No docs
-- - - erpnext.accounts.party.validate_party_gle_currency - (party_type, party, company, party_account_currency=None) -
-Validate party account currency with existing GL Entry's currency
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Public API
- /api/method/erpnext.accounts.utils.add_ac
-
- - - erpnext.accounts.utils.add_ac - (args=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.utils.add_cc
-
- - - erpnext.accounts.utils.add_cc - (args=None) -
-No docs
-- - - erpnext.accounts.utils.check_if_jv_modified - (args) -
-check if there is already a voucher reference -check if amount is same -check if jv is submitted
-- - - erpnext.accounts.utils.fix_total_debit_credit - () -
-No docs
-- - - erpnext.accounts.utils.get_actual_expense - (args) -
-No docs
-- - - erpnext.accounts.utils.get_allocated_budget - (distribution_id, posting_date, fiscal_year, yearly_budget) -
-No docs
-Public API
- /api/method/erpnext.accounts.utils.get_balance_on
-
- - - erpnext.accounts.utils.get_balance_on - (account=None, date=None, party_type=None, party=None, in_account_currency=True) -
-No docs
-Public API
- /api/method/erpnext.accounts.utils.get_company_default
-
- - - erpnext.accounts.utils.get_company_default - (company, fieldname) -
-No docs
-- - - erpnext.accounts.utils.get_currency_precision - (currency=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.utils.get_fiscal_year
-
- - - erpnext.accounts.utils.get_fiscal_year - (date=None, fiscal_year=None, label=Date, verbose=1, company=None) -
-No docs
-- - - erpnext.accounts.utils.get_fiscal_years - (transaction_date=None, fiscal_year=None, label=Date, verbose=1, company=None) -
-No docs
-- - - erpnext.accounts.utils.get_outstanding_invoices - (party_type, party, account, condition=None) -
-No docs
-- - - erpnext.accounts.utils.get_stock_and_account_difference - (account_list=None, posting_date=None) -
-No docs
-- - - erpnext.accounts.utils.get_stock_rbnb_difference - (posting_date, company) -
-No docs
-- - - erpnext.accounts.utils.reconcile_against_document - (args) -
-Cancel JV, Update aginst document, split if required and resubmit jv
-- - - erpnext.accounts.utils.remove_against_link_from_jv - (ref_type, ref_no) -
-No docs
-- - - erpnext.accounts.utils.update_against_doc - (d, jv_obj) -
-Updates against document, if partial amount splits into rows
-- - - erpnext.accounts.utils.validate_allocated_amount - (args) -
-No docs
-- - - erpnext.accounts.utils.validate_expense_against_budget - (args) -
-No docs
-- - - erpnext.accounts.utils.validate_fiscal_year - (date, fiscal_year, label=Date, doc=None) -
-No docs
-- - - erpnext.config.accounts.get_data - () -
-No docs
-- - - erpnext.config.buying.get_data - () -
-No docs
-- - - erpnext.config.crm.get_data - () -
-No docs
-- - - erpnext.config.desktop.get_data - () -
-No docs
-- - - erpnext.config.docs.get_context - (context) -
-No docs
-- - - erpnext.config.hr.get_data - () -
-No docs
-- - - erpnext.config.learn.get_data - () -
-No docs
-- - - erpnext.config.manufacturing.get_data - () -
-No docs
-- - - erpnext.config.projects.get_data - () -
-No docs
-- - - erpnext.config.selling.get_data - () -
-No docs
-- - - erpnext.config.setup.get_data - () -
-No docs
-- - - erpnext.config.stock.get_data - () -
-No docs
-- - - erpnext.config.support.get_data - () -
-No docs
-- - - erpnext.config.website.get_data - () -
-No docs
-Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - append_taxes_from_master - (self, tax_master_doctype=None) -
-No docs
-- - - calculate_taxes_and_totals - (self) -
-No docs
-- - - clear_unallocated_advances - (self, childtype, parentfield) -
-No docs
-- - - get_advances - (self, account_head, party_type, party, child_doctype, parentfield, dr_or_cr, against_order_field) -
-Returns list of advances against Account, Party, Reference
-- - - get_company_default - (self, fieldname) -
-No docs
-- - - get_gl_dict - (self, args, account_currency=None) -
-this method populates the common properties of a gl entry record
-- - - get_party - (self) -
-No docs
-- - - get_stock_items - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update_after_submit - (self) -
-No docs
-- - - set_balance_in_account_currency - (self, gl_dict, account_currency=None) -
-No docs
-- - - set_missing_item_details - (self) -
-set missing item values
-- - - set_missing_values - (self, for_validate=False) -
-No docs
-- - - set_other_charges - (self) -
-No docs
-- - - set_price_list_currency - (self, buying_or_selling) -
-No docs
-- - - set_taxes - (self) -
-No docs
-- - - set_total_advance_paid - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_account_currency - (self, account, account_currency=None) -
-No docs
-- - - validate_advance_jv - (self, reference_type) -
-No docs
-- - - validate_currency - (self) -
-No docs
-- - - validate_date_with_fiscal_year - (self) -
-No docs
-- - - validate_due_date - (self) -
-No docs
-- - - validate_enabled_taxes_and_charges - (self) -
-No docs
-- - - validate_multiple_billing - (self, ref_dt, item_ref_dn, based_on, parentfield) -
-No docs
-- - - validate_party - (self) -
-No docs
-Public API
- /api/method/erpnext.controllers.accounts_controller.get_default_taxes_and_charges
-
- - - erpnext.controllers.accounts_controller.get_default_taxes_and_charges - (master_doctype) -
-No docs
-Public API
- /api/method/erpnext.controllers.accounts_controller.get_tax_rate
-
- - - erpnext.controllers.accounts_controller.get_tax_rate - (account_head) -
-No docs
-Public API
- /api/method/erpnext.controllers.accounts_controller.get_taxes_and_charges
-
- - - erpnext.controllers.accounts_controller.get_taxes_and_charges - (master_doctype, master_name) -
-No docs
-- - - erpnext.controllers.accounts_controller.validate_conversion_rate - (currency, conversion_rate, conversion_rate_label, company) -
-common validation for currency and price list currency
-- - - erpnext.controllers.accounts_controller.validate_inclusive_tax - (tax, doc) -
-No docs
-- - - erpnext.controllers.accounts_controller.validate_taxes_and_charges - (tax) -
-No docs
-Inherits from erpnext.controllers.stock_controller.StockController - -
- - - __setup__ - (self) -
-No docs
-- - - cleanup_raw_materials_supplied - (self, parent_items, raw_material_table) -
-Remove all those child items which are no longer present in main item table
-- - - create_raw_materials_supplied - (self, raw_material_table) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - get_items_from_bom - (self, item_code, bom) -
-No docs
-- - - is_item_table_empty - (self) -
-No docs
-- - - set_missing_values - (self, for_validate=False) -
-No docs
-- - - set_qty_as_per_stock_uom - (self) -
-No docs
-- - - set_supplier_from_item_default - (self) -
-No docs
-- - - set_total_in_words - (self) -
-No docs
-- - - update_raw_materials_supplied - (self, item, raw_material_table) -
-No docs
-- - - update_valuation_rate - (self, parentfield) -
-itemtaxamount is the total tax amount applied on that item -stored for valuation
- -TODO: rename itemtaxamount to valuationtaxamount
-- - - validate - (self) -
-No docs
-- - - validate_for_subcontracting - (self) -
-No docs
-- - - validate_stock_or_nonstock_items - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.controllers.item_variant.copy_attributes_to_variant - (item, variant) -
-No docs
-Public API
- /api/method/erpnext.controllers.item_variant.create_variant
-
- - - erpnext.controllers.item_variant.create_variant - (item, args) -
-No docs
-- - - erpnext.controllers.item_variant.find_variant - (template, args, variant_item_code=None) -
-No docs
-Public API
- /api/method/erpnext.controllers.item_variant.get_variant
-
- - - erpnext.controllers.item_variant.get_variant - (template, args, variant=None) -
-Validates Attributes and their Values, then looks for an exactly matching Item Variant
- -Parameters:
- -item - Template Itemargs - A dictionary with "Attribute" as key and "Attribute Value" as value- - - erpnext.controllers.item_variant.make_variant_item_code - (template, variant) -
-Uses template's item code and abbreviations to make variant's item code
-- - - erpnext.controllers.item_variant.validate_item_variant_attributes - (item, args) -
-No docs
-- - - erpnext.controllers.print_settings.print_settings_for_item_table - (doc) -
-No docs
-- - - erpnext.controllers.queries.bom - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.customer_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.employee_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.get_account_list - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.get_batch_no - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.get_delivery_notes_to_be_billed - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.get_filters_cond - (doctype, filters, conditions) -
-No docs
-Public API
- /api/method/erpnext.controllers.queries.get_income_account
-
- - - erpnext.controllers.queries.get_income_account - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.get_project_name - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.item_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.lead_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.supplier_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.queries.tax_account_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.controllers.recurring_document.assign_task_to_owner - (doc, doctype, msg, users) -
-No docs
-- - - erpnext.controllers.recurring_document.convert_to_recurring - (doc, posting_date) -
-No docs
-- - - erpnext.controllers.recurring_document.create_recurring_documents - () -
-No docs
-- - - erpnext.controllers.recurring_document.get_next_date - (dt, mcount, day=None) -
-No docs
-- - - erpnext.controllers.recurring_document.make_new_document - (reference_doc, date_field, posting_date) -
-No docs
-- - - erpnext.controllers.recurring_document.manage_recurring_documents - (doctype, next_date=None, commit=True) -
-Create recurring documents on specific date by copying the original one -and notify the concerned people
-- - - erpnext.controllers.recurring_document.notify_errors - (doc, doctype, party, owner) -
-No docs
-- - - erpnext.controllers.recurring_document.send_notification - (new_rv) -
-Notify concerned persons about recurring document generation
-- - - erpnext.controllers.recurring_document.set_next_date - (doc, posting_date) -
-Set next date on which recurring document will be created
-- - - erpnext.controllers.recurring_document.validate_notification_email_id - (doc) -
-No docs
-- - - erpnext.controllers.recurring_document.validate_recurring_document - (doc) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.controllers.sales_and_purchase_return.get_already_returned_items - (doc) -
-No docs
-- - - erpnext.controllers.sales_and_purchase_return.make_return_doc - (doctype, source_name, target_doc=None) -
-No docs
-- - - erpnext.controllers.sales_and_purchase_return.validate_return - (doc) -
-No docs
-- - - erpnext.controllers.sales_and_purchase_return.validate_return_against - (doc) -
-No docs
-- - - erpnext.controllers.sales_and_purchase_return.validate_returned_items - (doc) -
-No docs
-Inherits from erpnext.controllers.stock_controller.StockController - -
- - - __setup__ - (self) -
-No docs
-- - - apply_shipping_rule - (self) -
-No docs
-- - - calculate_commission - (self) -
-No docs
-- - - calculate_contribution - (self) -
-No docs
-- - - check_stop_or_close_sales_order - (self, ref_fieldname) -
-No docs
-- - - get_already_delivered_qty - (self, current_docname, so, so_detail) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - get_item_list - (self) -
-No docs
-- - - get_so_qty_and_warehouse - (self, so_detail) -
-No docs
-- - - has_product_bundle - (self, item_code) -
-No docs
-- - - onload - (self) -
-No docs
-- - - remove_shipping_charge - (self) -
-No docs
-- - - set_missing_lead_customer_details - (self) -
-No docs
-- - - set_missing_values - (self, for_validate=False) -
-No docs
-- - - set_price_list_and_item_details - (self) -
-No docs
-- - - set_total_in_words - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_max_discount - (self) -
-No docs
-- - - validate_order_type - (self) -
-No docs
-- - - erpnext.controllers.selling_controller.check_active_sales_items - (obj) -
-No docs
-Inherits from frappe.model.document.Document - -
Updates the status of the calling records -Delivery Note: Update Delivered Qty, Update Percent and Validate over delivery -Sales Invoice: Update Billed Amt, Update Percent and Validate over billing -Installation Note: Update Installed Qty, Update Percent Qty and Validate over installation
-- - - _update_children - (self, args, update_modified) -
-Update quantities or amount in child table
-- - - _update_modified - (self, args, update_modified) -
-No docs
-- - - _update_percent_field - (self, args, update_modified=True) -
-Update percent field in parent transaction
-- - - _update_percent_field_in_targets - (self, args, update_modified=True) -
-Update percent field in parent transaction
-- - - check_overflow_with_tolerance - (self, item, args) -
-Checks if there is overflow condering a relaxation tolerance
-- - - set_status - (self, update=False, status=None, update_modified=True) -
-No docs
-- - - update_billing_status - (self, zero_amount_refdoc, ref_dt, ref_fieldname) -
-No docs
-- - - update_billing_status_for_zero_amount_refdoc - (self, ref_dt) -
-No docs
-- - - update_prevdoc_status - (self) -
-No docs
-- - - update_qty - (self, update_modified=True) -
-Updates qty or amount at row level
- -Parameters:
- -update_modified - If true, updates modified and modified_by for target parent doc- - - validate_qty - (self) -
-Validates qty at row level
-- - - erpnext.controllers.status_updater.get_tolerance_for - (item_code, item_tolerance={}, global_tolerance=None) -
-Returns the tolerance for the item, if not set, returns global tolerance
-- - - erpnext.controllers.status_updater.validate_status - (status, options) -
-No docs
-Inherits from erpnext.controllers.accounts_controller.AccountsController - -
- - - check_expense_account - (self, item) -
-No docs
-- - - get_gl_entries - (self, warehouse_account=None, default_expense_account=None, default_cost_center=None) -
-No docs
-- - - get_incoming_rate_for_sales_return - (self, item_code, against_document) -
-No docs
-- - - get_items_and_warehouses - (self) -
-No docs
-- - - get_serialized_items - (self) -
-No docs
-- - - get_sl_entries - (self, d, args) -
-No docs
-- - - get_stock_ledger_details - (self) -
-No docs
-- - - get_voucher_details - (self, default_expense_account, default_cost_center, sle_map) -
-No docs
-- - - make_adjustment_entry - (self, expected_gle, voucher_obj) -
-No docs
-- - - make_gl_entries - (self, repost_future_gle=True) -
-No docs
-- - - make_gl_entries_on_cancel - (self) -
-No docs
-- - - make_sl_entries - (self, sl_entries, is_amended=None, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - update_billing_percentage - (self, update_modified=True) -
-No docs
-- - - update_reserved_qty - (self) -
-No docs
-- - - update_stock_ledger - (self) -
-No docs
-- - - validate_warehouse - (self) -
-No docs
-- - - erpnext.controllers.stock_controller.compare_existing_and_expected_gle - (existing_gle, expected_gle) -
-No docs
-- - - erpnext.controllers.stock_controller.get_future_stock_vouchers - (posting_date, posting_time, for_warehouses=None, for_items=None) -
-No docs
-- - - erpnext.controllers.stock_controller.get_voucherwise_gl_entries - (future_stock_vouchers, posting_date) -
-No docs
-- - - erpnext.controllers.stock_controller.get_warehouse_account - () -
-No docs
-- - - erpnext.controllers.stock_controller.update_gl_entries_after - (posting_date, posting_time, for_warehouses=None, for_items=None, warehouse_account=None) -
-No docs
-Inherits from __builtin__.object - -
- - - __init__ - (self, doc) -
-No docs
-- - - _calculate - (self) -
-No docs
-- - - _cleanup - (self) -
-No docs
-- - - _get_tax_rate - (self, tax, item_tax_map) -
-No docs
-- - - _load_item_tax_rate - (self, item_tax_rate) -
-No docs
-- - - _set_in_company_currency - (self, doc, fields) -
-set values in base currency
-- - - adjust_discount_amount_loss - (self, tax) -
-No docs
-- - - apply_discount_amount - (self) -
-No docs
-- - - calculate - (self) -
-No docs
-- - - calculate_item_values - (self) -
-No docs
-- - - calculate_net_total - (self) -
-No docs
-- - - calculate_outstanding_amount - (self) -
-No docs
-- - - calculate_taxes - (self) -
-No docs
-- - - calculate_total_advance - (self) -
-No docs
-- - - calculate_totals - (self) -
-No docs
-- - - determine_exclusive_rate - (self) -
-No docs
-- - - get_current_tax_amount - (self, item, tax, item_tax_map) -
-No docs
-- - - get_current_tax_fraction - (self, tax, item_tax_map) -
-Get tax fraction for calculating tax exclusive amount -from tax inclusive amount
-- - - get_total_for_discount_amount - (self) -
-No docs
-- - - initialize_taxes - (self) -
-No docs
-- - - manipulate_grand_total_for_inclusive_tax - (self) -
-No docs
-- - - round_off_totals - (self, tax) -
-No docs
-- - - set_discount_amount - (self) -
-No docs
-- - - set_item_wise_tax - (self, item, tax, tax_rate, current_tax_amount) -
-No docs
-- - - validate_conversion_rate - (self) -
-No docs
-- - - erpnext.controllers.trends.based_wise_columns_query - (based_on, trans) -
-No docs
-- - - erpnext.controllers.trends.get_columns - (filters, trans) -
-No docs
-- - - erpnext.controllers.trends.get_data - (filters, conditions) -
-No docs
-- - - erpnext.controllers.trends.get_mon - (dt) -
-No docs
-Public API
- /api/method/erpnext.controllers.trends.get_period_date_ranges
-
- - - erpnext.controllers.trends.get_period_date_ranges - (period, fiscal_year=None, year_start_date=None) -
-No docs
-- - - erpnext.controllers.trends.get_period_month_ranges - (period, fiscal_year) -
-No docs
-- - - erpnext.controllers.trends.get_period_wise_columns - (bet_dates, period, pwc) -
-No docs
-- - - erpnext.controllers.trends.get_period_wise_query - (bet_dates, trans_date, query_details) -
-No docs
-- - - erpnext.controllers.trends.group_wise_column - (group_by) -
-No docs
-- - - erpnext.controllers.trends.period_wise_columns_query - (filters, trans) -
-No docs
-- - - erpnext.controllers.trends.validate_filters - (filters) -
-No docs
-- - - erpnext.controllers.website_list_for_contact.get_customers_suppliers - (doctype, user) -
-No docs
-- - - erpnext.controllers.website_list_for_contact.get_list_context - (context=None) -
-No docs
-- - - erpnext.controllers.website_list_for_contact.get_transaction_list - (doctype, txt=None, filters=None, limit_start=0, limit_page_length=20) -
-No docs
-- - - erpnext.controllers.website_list_for_contact.has_website_permission - (doc, ptype, user, verbose=False) -
-No docs
-- - - erpnext.controllers.website_list_for_contact.post_process - (doctype, data) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.hr.utils.set_employee_name - (doc) -
-No docs
-Public API
- /api/method/erpnext.hub_node.get_items
-
- - - erpnext.hub_node.get_items - (text, start, limit) -
-No docs
-Public API
- /api/method/erpnext.projects.utils.get_time_log_list
-
- - - erpnext.projects.utils.get_time_log_list - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Public API
- /api/method/erpnext.projects.utils.query_task
-
- - - erpnext.projects.utils.query_task - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.setup.install.add_web_forms - () -
-Import web forms for Issues and Addresses
-- - - erpnext.setup.install.after_install - () -
-No docs
-- - - erpnext.setup.install.check_setup_wizard_not_completed - () -
-No docs
-- - - erpnext.setup.install.feature_setup - () -
-save global defaults and features setup
-- - - erpnext.setup.install.set_single_defaults - () -
-No docs
-- - - erpnext.setup.utils.before_tests - () -
-No docs
-- - - erpnext.setup.utils.get_ancestors_of - (doctype, name) -
-Get ancestor elements of a DocType with a tree structure
-- - - erpnext.setup.utils.get_company_currency - (company) -
-No docs
-Public API
- /api/method/erpnext.setup.utils.get_exchange_rate
-
- - - erpnext.setup.utils.get_exchange_rate - (from_currency, to_currency) -
-No docs
-- - - erpnext.setup.utils.get_root_of - (doctype) -
-Get root element of a DocType with a tree structure
-- - - erpnext.setup.setup_wizard.default_website.test - () -
-No docs
-Inherits from __builtin__.object - -
- - - __init__ - (self, company, tagline, user) -
-No docs
-- - - make_blog - (self) -
-No docs
-- - - make_web_page - (self) -
-No docs
-- - - make_website_settings - (self) -
-No docs
-- - - erpnext.setup.setup_wizard.industry_type.get_industry_types - () -
-No docs
-- - - erpnext.setup.setup_wizard.install_fixtures.install - (country=None) -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_issue - () -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_material_request - (buying_items) -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_opportunity - (selling_items, customer) -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_projects - () -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_quote - (selling_items, customer) -
-No docs
-- - - erpnext.setup.setup_wizard.sample_data.make_sample_data - () -
-Create a few opportunities, quotes, material requests, issues, todos, projects -to help the user get started
-- - - erpnext.setup.setup_wizard.setup_wizard.add_all_roles_to - (name) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_bank_account - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_contact - (contact, party_type, party) -
-Create contact based on given contact name
-- - - erpnext.setup.setup_wizard.setup_wizard.create_customers - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_email_digest - () -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_feed_and_todo - () -
-update Activity feed and create todo for creation of item, customer, vendor
-- - - erpnext.setup.setup_wizard.setup_wizard.create_fiscal_year_and_company - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_items - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_letter_head - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_logo - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_price_lists - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_suppliers - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_taxes - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.create_territories - () -
-create two default territories, one for home country and one named Rest of the World
-- - - erpnext.setup.setup_wizard.setup_wizard.create_users - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.get_fy_details - (fy_start_date, fy_end_date) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.login_as_first_user - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.make_item_price - (item, price_list_name, item_price) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.make_sales_and_purchase_tax_templates - (account) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.make_tax_head - (args, i, tax_group, tax_rate) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.set_defaults - (args) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.setup_complete - (args=None) -
-No docs
-- - - erpnext.setup.setup_wizard.setup_wizard.update_user_name - (args) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.shopping_cart.cart._apply_shipping_rule - (party=None, quotation=None, cart_settings=None) -
-No docs
-- - - erpnext.shopping_cart.cart._get_cart_quotation - (party=None) -
-No docs
-- - - erpnext.shopping_cart.cart._set_price_list - (quotation, cart_settings) -
-Set price list based on customer or shopping cart default
-- - - erpnext.shopping_cart.cart.apply_cart_settings - (party=None, quotation=None) -
-No docs
-Public API
- /api/method/erpnext.shopping_cart.cart.apply_shipping_rule
-
- - - erpnext.shopping_cart.cart.apply_shipping_rule - (shipping_rule) -
-No docs
-- - - erpnext.shopping_cart.cart.decorate_quotation_doc - (doc) -
-No docs
-- - - erpnext.shopping_cart.cart.get_address_docs - (doctype=None, txt=None, filters=None, limit_start=0, limit_page_length=20, party=None) -
-No docs
-- - - erpnext.shopping_cart.cart.get_address_territory - (address_name) -
-Tries to match city, state and country of address to existing territory
-- - - erpnext.shopping_cart.cart.get_applicable_shipping_rules - (party=None, quotation=None) -
-No docs
-Public API
- /api/method/erpnext.shopping_cart.cart.get_cart_quotation
-
- - - erpnext.shopping_cart.cart.get_cart_quotation - (doc=None) -
-No docs
-- - - erpnext.shopping_cart.cart.get_customer - (user=None) -
-No docs
-- - - erpnext.shopping_cart.cart.get_shipping_rules - (quotation=None, cart_settings=None) -
-No docs
-- - - erpnext.shopping_cart.cart.guess_territory - () -
-No docs
-Public API
- /api/method/erpnext.shopping_cart.cart.place_order
-
- - - erpnext.shopping_cart.cart.place_order - () -
-No docs
-- - - erpnext.shopping_cart.cart.set_cart_count - (quotation=None) -
-No docs
-- - - erpnext.shopping_cart.cart.set_customer_in_address - (doc, method=None) -
-No docs
-- - - erpnext.shopping_cart.cart.set_price_list_and_rate - (quotation, cart_settings) -
-set price list based on billing territory
-- - - erpnext.shopping_cart.cart.set_taxes - (quotation, cart_settings) -
-set taxes based on billing territory
-Public API
- /api/method/erpnext.shopping_cart.cart.update_cart
-
- - - erpnext.shopping_cart.cart.update_cart - (item_code, qty, with_items=False) -
-No docs
-Public API
- /api/method/erpnext.shopping_cart.cart.update_cart_address
-
- - - erpnext.shopping_cart.cart.update_cart_address - (address_fieldname, address_name) -
-No docs
-- - - erpnext.shopping_cart.cart.update_party - (fullname, company_name=None, mobile_no=None, phone=None) -
-No docs
-- - - erpnext.shopping_cart.product.get_price - (item_code, template_item_code, price_list) -
-No docs
-Public API
- /api/method/erpnext.shopping_cart.product.get_product_info
-
- - - erpnext.shopping_cart.product.get_product_info - (item_code) -
-get product price / stock info
-- - - erpnext.shopping_cart.product.get_qty_in_stock - (item_code, template_item_code) -
-No docs
-Inherits from unittest.case.TestCase - -
Note: -Shopping Cart == Quotation
-- - - create_quotation - (self) -
-No docs
-- - - disable_shopping_cart - (self) -
-No docs
-- - - enable_shopping_cart - (self) -
-No docs
-- - - login_as_customer - (self) -
-No docs
-- - - login_as_new_user - (self) -
-No docs
-- - - remove_all_items_from_cart - (self) -
-No docs
-- - - remove_test_quotation - (self, quotation) -
-No docs
-- - - setUp - (self) -
-No docs
-- - - tearDown - (self) -
-No docs
-- - - test_add_to_cart - (self) -
-No docs
-- - - test_get_cart_customer - (self) -
-No docs
-- - - test_get_cart_new_user - (self) -
-No docs
-- - - test_remove_from_cart - (self) -
-No docs
-- - - test_tax_rule - (self) -
-No docs
-- - - test_update_cart - (self) -
-No docs
-- - - erpnext.shopping_cart.utils.clear_cart_count - (login_manager) -
-No docs
-- - - erpnext.shopping_cart.utils.set_cart_count - (login_manager) -
-No docs
-- - - erpnext.shopping_cart.utils.show_cart_count - () -
-No docs
-- - - erpnext.shopping_cart.utils.update_my_account_context - (context) -
-No docs
-- - - erpnext.shopping_cart.utils.update_website_context - (context) -
-No docs
-- - - erpnext.startup.boot.boot_session - (bootinfo) -
-boot session - send website info if guest
-- - - erpnext.startup.boot.get_letter_heads - () -
-No docs
-- - - erpnext.startup.boot.load_country_and_currency - (bootinfo) -
-No docs
-- - - erpnext.startup.boot.update_page_info - (bootinfo) -
-No docs
-- - - erpnext.startup.notifications.get_notification_config - () -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.apply_price_list
-
- - - erpnext.stock.get_item_details.apply_price_list - (args, as_doc=False) -
-Apply pricelist on a document-like dict object and return as -{'parent': dict, 'children': list}
- -Parameters:
- -args - See belowas_doc - Updates value in the passed dict
args = { - "doctype": "", - "name": "", - "items": [{"doctype": "", "name": "", "itemcode": "", "brand": "", "itemgroup": ""}, ...], - "conversionrate": 1.0, - "sellingpricelist": None, - "pricelistcurrency": None, - "plcconversionrate": 1.0, - "doctype": "", - "name": "", - "supplier": None, - "transactiondate": None, - "conversionrate": 1.0, - "buyingpricelist": None, - "ignorepricing_rule": 0/1 -}
- - - erpnext.stock.get_item_details.apply_price_list_on_item - (args) -
-No docs
-- - - erpnext.stock.get_item_details.get_actual_batch_qty - (batch_no, warehouse, item_code) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_available_qty
-
- - - erpnext.stock.get_item_details.get_available_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.get_item_details.get_basic_details - (args, item) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_batch_qty
-
- - - erpnext.stock.get_item_details.get_batch_qty - (batch_no, warehouse, item_code) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_conversion_factor
-
- - - erpnext.stock.get_item_details.get_conversion_factor - (item_code, uom) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_default_bom
-
- - - erpnext.stock.get_item_details.get_default_bom - (item_code=None) -
-No docs
-- - - erpnext.stock.get_item_details.get_default_cost_center - (args, item) -
-No docs
-- - - erpnext.stock.get_item_details.get_default_expense_account - (args, item) -
-No docs
-- - - erpnext.stock.get_item_details.get_default_income_account - (args, item) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_item_code
-
- - - erpnext.stock.get_item_details.get_item_code - (barcode=None, serial_no=None) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_item_details
-
- - - erpnext.stock.get_item_details.get_item_details - (args) -
-args = { - "itemcode": "", - "warehouse": None, - "customer": "", - "conversionrate": 1.0, - "sellingpricelist": None, - "pricelistcurrency": None, - "plcconversionrate": 1.0, - "doctype": "", - "name": "", - "supplier": None, - "transactiondate": None, - "conversionrate": 1.0, - "buyingpricelist": None, - "issubcontracted": "Yes" / "No", - "ignorepricingrule": 0/1 - "projectname": "" -}
-- - - erpnext.stock.get_item_details.get_party_item_code - (args, item_doc, out) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_pos_profile
-
- - - erpnext.stock.get_item_details.get_pos_profile - (company) -
-No docs
-- - - erpnext.stock.get_item_details.get_pos_profile_item_details - (company, args, pos_profile=None) -
-No docs
-- - - erpnext.stock.get_item_details.get_price_list_currency - (price_list) -
-No docs
-- - - erpnext.stock.get_item_details.get_price_list_currency_and_exchange_rate - (args) -
-No docs
-- - - erpnext.stock.get_item_details.get_price_list_rate - (args, item_doc, out) -
-No docs
-- - - erpnext.stock.get_item_details.get_price_list_rate_for - (price_list, item_code) -
-No docs
-Public API
- /api/method/erpnext.stock.get_item_details.get_projected_qty
-
- - - erpnext.stock.get_item_details.get_projected_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.get_item_details.get_serial_nos_by_fifo - (args, item_doc) -
-No docs
-- - - erpnext.stock.get_item_details.insert_item_price - (args) -
-Insert Item Price if Price List and Price List Rate are specified and currency is the same
-- - - erpnext.stock.get_item_details.process_args - (args) -
-No docs
-- - - erpnext.stock.get_item_details.validate_conversion_rate - (args, meta) -
-No docs
-- - - erpnext.stock.get_item_details.validate_item_details - (args, item) -
-No docs
-- - - erpnext.stock.get_item_details.validate_price_list - (args) -
-No docs
-- - - erpnext.stock.reorder_item._reorder_item - () -
-No docs
-- - - erpnext.stock.reorder_item.create_material_request - (material_requests) -
-Create indent on reaching reorder level
-
-- - - erpnext.stock.reorder_item.get_item_warehouse_projected_qty - (items_to_consider) -
-No docs
-- - - erpnext.stock.reorder_item.notify_errors - (exceptions_list) -
-No docs
-- - - erpnext.stock.reorder_item.reorder_item - () -
-Reorder item if stock reaches reorder level
-- - - erpnext.stock.reorder_item.send_email_notification - (mr_list) -
-Notify user about auto creation of indent
-- - - erpnext.stock.stock_balance.get_balance_qty_from_sle - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.stock_balance.get_indented_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.stock_balance.get_ordered_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.stock_balance.get_planned_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.stock_balance.get_reserved_qty - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.stock_balance.repost - (only_actual=False, allow_negative_stock=False, allow_zero_rate=False, only_bin=False) -
-Repost everything!
-- - - erpnext.stock.stock_balance.repost_actual_qty - (item_code, warehouse, allow_zero_rate=False) -
-No docs
-- - - erpnext.stock.stock_balance.repost_all_stock_vouchers - () -
-No docs
-- - - erpnext.stock.stock_balance.repost_stock - (item_code, warehouse, allow_zero_rate=False, only_actual=False, only_bin=False) -
-No docs
-- - - erpnext.stock.stock_balance.reset_serial_no_status_and_warehouse - (serial_nos=None) -
-No docs
-- - - erpnext.stock.stock_balance.set_stock_balance_as_per_serial_no - (item_code=None, posting_date=None, posting_time=None, fiscal_year=None) -
-No docs
-- - - erpnext.stock.stock_balance.update_bin_qty - (item_code, warehouse, qty_dict=None) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.stock.stock_ledger.delete_cancelled_entry - (voucher_type, voucher_no) -
-No docs
-- - - erpnext.stock.stock_ledger.get_previous_sle - (args, for_update=False) -
-get the last sle on or before the current time-bucket, -to get actual qty before transaction, this function -is called from various transaction like stock entry, reco etc
- -args = { - "itemcode": "ABC", - "warehouse": "XYZ", - "postingdate": "2012-12-12", - "posting_time": "12:00", - "sle": "name of reference Stock Ledger Entry" -}
-- - - erpnext.stock.stock_ledger.get_stock_ledger_entries - (previous_sle, operator=None, order=desc, limit=None, for_update=False, debug=False) -
-get stock ledger entries filtered by specific posting datetime conditions
-- - - erpnext.stock.stock_ledger.get_valuation_rate - (item_code, warehouse, allow_zero_rate=False) -
-No docs
-- - - erpnext.stock.stock_ledger.make_entry - (args, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - erpnext.stock.stock_ledger.make_sl_entries - (sl_entries, is_amended=None, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - erpnext.stock.stock_ledger.set_as_cancel - (voucher_type, voucher_no) -
-No docs
-Inherits from __builtin__.object - -
update valution rate and qty after transaction -from the current time-bucket onwards
- -Parameters:
- -args - args as dict
args = { - "itemcode": "ABC", - "warehouse": "XYZ", - "postingdate": "2012-12-12", - "posting_time": "12:00" -}
- - - __init__ - (self, args, allow_zero_rate=False, allow_negative_stock=None, via_landed_cost_voucher=False, verbose=1) -
-No docs
-- - - build - (self) -
-No docs
-- - - get_fifo_values - (self, sle) -
-No docs
-- - - get_moving_average_values - (self, sle) -
-No docs
-- - - get_serialized_values - (self, sle) -
-No docs
-- - - get_sle_after_datetime - (self) -
-get Stock Ledger Entries after a particular datetime, for reposting
-- - - get_sle_before_datetime - (self) -
-get previous stock ledger entry before current time-bucket
-- - - process_sle - (self, sle) -
-No docs
-- - - raise_exceptions - (self) -
-No docs
-- - - update_bin - (self) -
-No docs
-- - - validate_negative_stock - (self, sle) -
-validate negative stock for entries current datetime onwards -will not consider cancelled entries
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.stock.utils.get_avg_purchase_rate - (serial_nos) -
-get average value of serial numbers
-- - - erpnext.stock.utils.get_bin - (item_code, warehouse) -
-No docs
-- - - erpnext.stock.utils.get_fifo_rate - (previous_stock_queue, qty) -
-get FIFO (average) Rate from Queue
-Public API
- /api/method/erpnext.stock.utils.get_incoming_rate
-
- - - erpnext.stock.utils.get_incoming_rate - (args) -
-Get Incoming Rate based on valuation method
-- - - erpnext.stock.utils.get_latest_stock_balance - () -
-No docs
-- - - erpnext.stock.utils.get_stock_balance - (item_code, warehouse, posting_date=None, posting_time=None, with_valuation_rate=False) -
-Returns stock balance quantity at given warehouse on given posting date or current date.
- -If with_valuation_rate is True, will return tuple (qty, rate)
- - - erpnext.stock.utils.get_stock_value_on - (warehouse=None, posting_date=None, item_code=None) -
-No docs
-- - - erpnext.stock.utils.get_valid_serial_nos - (sr_nos, qty=0, item_code=) -
-split serial nos, validate and return list of valid serial nos
-- - - erpnext.stock.utils.get_valuation_method - (item_code) -
-get valuation method from item or default
-- - - erpnext.stock.utils.update_bin - (args, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - erpnext.stock.utils.validate_warehouse_company - (warehouse, company) -
-No docs
-- - - 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
- - - erpnext.utilities.update_doctypes - () -
-No docs
-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
-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
-| - App Name - | -
- erpnext
- |
-
| - Publisher - | -
- Frappe Technologies Pvt. Ltd.
- |
-
| - Version - | -
- 6.19.0
- |
-
Table Name: tabAccount
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -properties |
- - Section Break | -- - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -account_name |
- - Data | -- Account Name - - | -- |
| 4 | -is_group |
- - Check | -- Is Group - - | -- |
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -root_type |
- - Select | -- Root Type - - | -
- -Asset -Liability -Income -Expense -Equity- |
-
| 7 | -report_type |
- - Select | -- Report Type - - | -
- -Balance Sheet -Profit and Loss- |
-
| 8 | -account_currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -parent_account |
- - Link | -- Parent Account - - | -- - - - -Account - - - - | -
| 11 | -account_type |
- - Select | -
- Account Type
- - Setting Account Type helps in selecting this Account in transactions. - |
-
- -Bank -Cash -Depreciation -Tax -Chargeable -Warehouse -Receivable -Payable -Equity -Fixed Asset -Cost of Goods Sold -Expense Account -Round Off -Income Account -Stock Received But Not Billed -Expenses Included In Valuation -Stock Adjustment -Stock -Temporary- |
-
| 12 | -tax_rate |
- - Float | -
- Rate
- - Rate at which this tax is applied - |
- - |
| 13 | -freeze_account |
- - Select | -
- Frozen
- - If the account is frozen, entries are allowed to restricted users. - |
-
- No -Yes- |
-
| 14 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 15 | -balance_must_be |
- - Select | -- Balance must be - - | -
- -Debit -Credit- |
-
| 16 | -lft |
- - Int | -- Lft - - | -- |
| 17 | -rgt |
- - Int | -- Rgt - - | -- |
| 18 | -old_parent |
- - Data | -- Old Parent - - | -- |
Inherits from frappe.model.document.Document - -
- - - after_rename - (self, old, new, merge=False) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - before_rename - (self, old, new, merge=False) -
-No docs
-- - - check_gle_exists - (self) -
-No docs
-- - - check_if_child_exists - (self) -
-No docs
-- - - convert_group_to_ledger - (self) -
-No docs
-- - - convert_ledger_to_group - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - set_root_and_report_type - (self) -
-No docs
-- - - update_nsm_model - (self) -
-update lft, rgt indices for nested set model
-- - - validate - (self) -
-No docs
-- - - validate_account_currency - (self) -
-No docs
-- - - validate_balance_must_be_debit_or_credit - (self) -
-No docs
-- - - validate_frozen_accounts_modifier - (self) -
-No docs
-- - - validate_group_or_ledger - (self) -
-No docs
-- - - validate_mandatory - (self) -
-No docs
-- - - validate_parent - (self) -
-Fetch Parent Details and validate parent account
-- - - validate_root_details - (self) -
-No docs
-- - - validate_trash - (self) -
-checks gl entries and if child exists
-- - - validate_warehouse - (self, warehouse) -
-No docs
-- - - validate_warehouse_account - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.accounts.doctype.account.account.get_account_currency - (account) -
-Helper function to get account currency
-- - - erpnext.accounts.doctype.account.account.get_parent_account - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -auto_accounting_for_stock |
- - Check | -
- Make Accounting Entry For Every Stock Movement
- - If enabled, the system will post accounting entries for inventory automatically. - |
- - |
| 2 | -acc_frozen_upto |
- - Date | -
- Accounts Frozen Upto
- - Accounting entry frozen up to this date, nobody can do / modify entry except role specified below. - |
- - |
| 3 | -frozen_accounts_modifier |
- - Link | -
- Role Allowed to Set Frozen Accounts & Edit Frozen Entries
- - Users with this role are allowed to set frozen accounts and create / modify accounting entries against frozen accounts - |
- - - - - -Role - - - - | -
| 4 | -credit_controller |
- - Link | -
- Credit Controller
- - Role that is allowed to submit transactions that exceed credit limits set. - |
- - - - - -Role - - - - | -
| 5 | -check_supplier_invoice_uniqueness |
- - Check | -- Check Supplier Invoice Number Uniqueness - - | -- |
Inherits from frappe.model.document.Document - -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -bank_account |
- - Link | -
- Bank Account
- - Select account head of the bank where cheque was deposited. - |
- - - - - -Account - - - - | -
| 2 | -account_currency |
- - Link | -- Account Currency - - | -- - - - -Currency - - - - | -
| 3 | -from_date |
- - Date | -- From Date - - | -- |
| 4 | -to_date |
- - Date | -- To Date - - | -- |
| 5 | -include_reconciled_entries |
- - Check | -- Include Reconciled Entries - - | -- |
| 6 | -get_relevant_entries |
- - Button | -- Get Relevant Entries - - | -- |
| 7 | -journal_entries |
- - Table | -- Journal Entries - - | -- - - - -Bank Reconciliation Detail - - - - | -
| 8 | -update_clearance_date |
- - Button | -- Update Clearance Date - - | -- |
| 9 | -total_amount |
- - Currency | -- Total Amount - - | -
- account_currency- |
-
Inherits from frappe.model.document.Document - -
- - - get_details - (self) -
-No docs
-- - - update_details - (self) -
-No docs
-Table Name: tabBank Reconciliation Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -voucher_id |
- - Link | -- Voucher ID - - | -- - - - -Journal Entry - - - - | -
| 2 | -against_account |
- - Data | -- Against Account - - | -- |
| 3 | -debit |
- - Currency | -- Debit - - | -
- account_currency- |
-
| 4 | -credit |
- - Currency | -- Credit - - | -
- account_currency- |
-
| 5 | -column_break_5 |
- - Column Break | -- - - | -- |
| 6 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 7 | -cheque_number |
- - Data | -- Cheque Number - - | -- |
| 8 | -cheque_date |
- - Date | -- Cheque Date - - | -- |
| 9 | -clearance_date |
- - Date | -- Clearance Date - - | -- |
| 10 | -data_10 |
- - Data | -- - - | -- |
Table Name: tabBudget Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -account |
- - Link | -- Account - - | -- - - - -Account - - - - | -
| 2 | -budget_allocated |
- - Currency | -- Budget Allocated - - | -
- Company:company:default_currency- |
-
| 3 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
Table Name: tabC-Form
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -naming_series |
- - Select | -- Series - - | -
- C-FORM-- |
-
| 3 | -c_form_no |
- - Data | -- C-Form No - - | -- |
| 4 | -received_date |
- - Date | -- Received Date - - | -- |
| 5 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 6 | -column_break1 |
- - Column Break | -- - - | -- |
| 7 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 8 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 9 | -quarter |
- - Select | -- Quarter - - | -
- -I -II -III -IV- |
-
| 10 | -total_amount |
- - Currency | -- Total Amount - - | -
- Company:company:default_currency- |
-
| 11 | -state |
- - Data | -- State - - | -- |
| 12 | -section_break0 |
- - Section Break | -- - - | -- |
| 13 | -invoices |
- - Table | -- Invoices - - | -- - - - -C-Form Invoice Detail - - - - | -
| 14 | -total_invoiced_amount |
- - Currency | -- Total Invoiced Amount - - | -
- Company:company:default_currency- |
-
| 15 | -amended_from |
- - Link | -- Amended From - - | -- - - - -C-Form - - - - | -
Inherits from frappe.model.document.Document - -
- - - before_cancel - (self) -
-No docs
-- - - get_invoice_details - (self, invoice_no) -
-Pull details from invoices for referrence
-
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-Update C-Form No on invoices
-
-- - - set_cform_in_sales_invoices - (self) -
-No docs
-- - - set_total_invoiced_amount - (self) -
-No docs
-- - - validate - (self) -
-Validate invoice that c-form is applicable -and no other c-form is received for that
-Table Name: tabC-Form Invoice Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -invoice_no |
- - Link | -- Invoice No - - | -- - - - -Sales Invoice - - - - | -
| 2 | -invoice_date |
- - Date | -- Invoice Date - - | -- |
| 3 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 4 | -net_total |
- - Currency | -- Net Total - - | -
- Company:company:default_currency- |
-
| 5 | -grand_total |
- - Currency | -- Grand Total - - | -
- Company:company:default_currency- |
-
Table Name: tabCost Center
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -sb0 |
- - Section Break | -- - - | -- |
| 2 | -cost_center_name |
- - Data | -- Cost Center Name - - | -- |
| 3 | -parent_cost_center |
- - Link | -- Parent Cost Center - - | -- - - - -Cost Center - - - - | -
| 4 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 5 | -cb0 |
- - Column Break | -- - - | -- |
| 6 | -is_group |
- - Check | -- Is Group - - | -- |
| 7 | -sb1 |
- - Section Break | -
- Budget
- - Define Budget for this Cost Center. To set budget action, see "Company List" - |
- - |
| 8 | -distribution_id |
- - Link | -
- Distribution Id
- - Select Monthly Distribution, if you want to track based on seasonality. - |
- - - - - -Monthly Distribution - - - - | -
| 9 | -budgets |
- - Table | -
- Budgets
- - Add rows to set annual budgets on Accounts. - |
- - - - - -Budget Detail - - - - | -
| 10 | -lft |
- - Int | -- lft - - | -- |
| 11 | -rgt |
- - Int | -- rgt - - | -- |
| 12 | -old_parent |
- - Link | -- old_parent - - | -- - - - -Cost Center - - - - | -
Inherits from frappe.utils.nestedset.NestedSet - -
- - - after_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - before_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - check_gle_exists - (self) -
-No docs
-- - - check_if_child_exists - (self) -
-No docs
-- - - convert_group_to_ledger - (self) -
-No docs
-- - - convert_ledger_to_group - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_accounts - (self) -
-No docs
-- - - validate_mandatory - (self) -
-No docs
-Table Name: tabFiscal Year
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -year |
- - Data | -
- Year Name
- - For e.g. 2012, 2012-13 - |
- - |
| 2 | -disabled |
- - Check | -- Disabled - - | -- |
| 3 | -year_start_date |
- - Date | -- Year Start Date - - | -- |
| 4 | -year_end_date |
- - Date | -- Year End Date - - | -- |
| 5 | -companies |
- - Table | -- Companies - - | -- - - - -Fiscal Year Company - - - - | -
Inherits from frappe.model.document.Document - -
- - - on_update - (self) -
-No docs
-- - - set_as_default - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_dates - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year
-
- - - erpnext.accounts.doctype.fiscal_year.fiscal_year.auto_create_fiscal_year - () -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.fiscal_year.fiscal_year.check_duplicate_fiscal_year
-
- - - erpnext.accounts.doctype.fiscal_year.fiscal_year.check_duplicate_fiscal_year - (doc) -
-No docs
-Table Name: tabFiscal Year Company
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
Table Name: tabGL Entry
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 2 | -transaction_date |
- - Date | -- Transaction Date - - | -- |
| 3 | -account |
- - Link | -- Account - - | -- - - - -Account - - - - | -
| 4 | -party_type |
- - Link | -- Party Type - - | -- - - - -DocType - - - - | -
| 5 | -party |
- - Dynamic Link | -- Party - - | -
- party_type- |
-
| 6 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 7 | -debit |
- - Currency | -- Debit Amount - - | -
- Company:company:default_currency- |
-
| 8 | -credit |
- - Currency | -- Credit Amount - - | -
- Company:company:default_currency- |
-
| 9 | -account_currency |
- - Link | -- Account Currency - - | -- - - - -Currency - - - - | -
| 10 | -debit_in_account_currency |
- - Currency | -- Debit Amount in Account Currency - - | -
- currency- |
-
| 11 | -credit_in_account_currency |
- - Currency | -- Credit Amount in Account Currency - - | -
- currency- |
-
| 12 | -against |
- - Text | -- Against - - | -- |
| 13 | -against_voucher_type |
- - Link | -- Against Voucher Type - - | -- - - - -DocType - - - - | -
| 14 | -against_voucher |
- - Dynamic Link | -- Against Voucher - - | -
- against_voucher_type- |
-
| 15 | -voucher_type |
- - Link | -- Voucher Type - - | -- - - - -DocType - - - - | -
| 16 | -voucher_no |
- - Dynamic Link | -- Voucher No - - | -
- voucher_type- |
-
| 17 | -remarks |
- - Text | -- Remarks - - | -- |
| 18 | -is_opening |
- - Select | -- Is Opening - - | -
- No -Yes- |
-
| 19 | -is_advance |
- - Select | -- Is Advance - - | -
- No -Yes- |
-
| 20 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 21 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
Inherits from frappe.model.document.Document - -
- - - check_mandatory - (self) -
-No docs
-- - - check_pl_account - (self) -
-No docs
-- - - on_update_with_args - (self, adv_adj, update_outstanding=Yes) -
-No docs
-- - - pl_must_have_cost_center - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_account_details - (self, adv_adj) -
-Account must be ledger, active and not freezed
-- - - validate_cost_center - (self) -
-No docs
-- - - validate_currency - (self) -
-No docs
-- - - validate_party - (self) -
-No docs
-- - - validate_posting_date - (self) -
-No docs
-- - - erpnext.accounts.doctype.gl_entry.gl_entry.check_freezing_date - (posting_date, adv_adj=False) -
-Nobody can do GL Entries where posting date is before freezing date -except authorized person
-- - - erpnext.accounts.doctype.gl_entry.gl_entry.update_against_account - (voucher_type, voucher_no) -
-No docs
-- - - erpnext.accounts.doctype.gl_entry.gl_entry.update_outstanding_amt - (account, party_type, party, against_voucher_type, against_voucher, on_cancel=False) -
-No docs
-- - - erpnext.accounts.doctype.gl_entry.gl_entry.validate_balance_type - (account, adv_adj=False) -
-No docs
-- - - erpnext.accounts.doctype.gl_entry.gl_entry.validate_frozen_account - (account, adv_adj=None) -
-No docs
-Table Name: tabJournal Entry
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -entry_type_and_date |
- - Section Break | -- - - | -
- icon-flag- |
-
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -voucher_type |
- - Select | -- Entry Type - - | -
- Journal Entry -Bank Entry -Cash Entry -Credit Card Entry -Debit Note -Credit Note -Contra Entry -Excise Entry -Write Off Entry -Opening Entry- |
-
| 4 | -naming_series |
- - Select | -- Series - - | -
- JV-- |
-
| 5 | -column_break1 |
- - Column Break | -- - - | -- |
| 6 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 7 | -2_add_edit_gl_entries |
- - Section Break | -- - - | -
- icon-table- |
-
| 8 | -accounts |
- - Table | -- Accounting Entries - - | -- - - - -Journal Entry Account - - - - | -
| 9 | -section_break99 |
- - Section Break | -- - - | -- |
| 10 | -cheque_no |
- - Data | -- Reference Number - - | -- |
| 11 | -cheque_date |
- - Date | -- Reference Date - - | -- |
| 12 | -user_remark |
- - Small Text | -- User Remark - - | -- |
| 13 | -column_break99 |
- - Column Break | -- - - | -- |
| 14 | -total_debit |
- - Currency | -- Total Debit - - | -
- Company:company:default_currency- |
-
| 15 | -total_credit |
- - Currency | -- Total Credit - - | -
- Company:company:default_currency- |
-
| 16 | -difference |
- - Currency | -- Difference (Dr - Cr) - - | -
- Company:company:default_currency- |
-
| 17 | -get_balance |
- - Button | -- Make Difference Entry - - | -- |
| 18 | -multi_currency |
- - Check | -- Multi Currency - - | -- |
| 19 | -total_amount |
- - Currency | -- Total Amount - - | -- |
| 20 | -total_amount_in_words |
- - Data | -- Total Amount in Words - - | -- |
| 21 | -reference |
- - Section Break | -- Reference - - | -
- icon-pushpin- |
-
| 22 | -clearance_date |
- - Date | -- Clearance Date - - | -- |
| 23 | -remark |
- - Small Text | -- Remark - - | -- |
| 24 | -column_break98 |
- - Column Break | -- - - | -- |
| 25 | -bill_no |
- - Data | -- Bill No - - | -- |
| 26 | -bill_date |
- - Date | -- Bill Date - - | -- |
| 27 | -due_date |
- - Date | -- Due Date - - | -- |
| 28 | -write_off |
- - Section Break | -- Write Off - - | -- |
| 29 | -write_off_based_on |
- - Select | -- Write Off Based On - - | -
- Accounts Receivable -Accounts Payable- |
-
| 30 | -get_outstanding_invoices |
- - Button | -- Get Outstanding Invoices - - | -
- get_outstanding_invoices- |
-
| 31 | -column_break_30 |
- - Column Break | -- - - | -- |
| 32 | -write_off_amount |
- - Currency | -- Write Off Amount - - | -
- Company:company:default_currency- |
-
| 33 | -printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 34 | -pay_to_recd_from |
- - Data | -- Pay To / Recd From - - | -- |
| 35 | -column_break_35 |
- - Column Break | -- - - | -- |
| 36 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 37 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 38 | -addtional_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 39 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 40 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 41 | -column_break3 |
- - Column Break | -- - - | -- |
| 42 | -is_opening |
- - Select | -- Is Opening - - | -
- No -Yes- |
-
| 43 | -stock_entry |
- - Link | -- Stock Entry - - | -- - - - -Stock Entry - - - - | -
| 44 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Journal Entry - - - - | -
Inherits from erpnext.controllers.accounts_controller.AccountsController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - check_credit_limit - (self) -
-No docs
-- - - create_remarks - (self) -
-No docs
-- - - get_balance - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - get_outstanding_invoices - (self) -
-No docs
-- - - get_title - (self) -
-No docs
-- - - get_values - (self) -
-No docs
-- - - make_gl_entries - (self, cancel=0, adv_adj=0) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_account_and_party_balance - (self) -
-No docs
-- - - set_against_account - (self) -
-No docs
-- - - set_amounts_in_company_currency - (self) -
-No docs
-- - - set_exchange_rate - (self) -
-No docs
-- - - set_print_format_fields - (self) -
-No docs
-- - - set_total_amount - (self, amt, currency) -
-No docs
-- - - set_total_debit_credit - (self) -
-No docs
-- - - update_advance_paid - (self) -
-No docs
-- - - update_expense_claim - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_against_jv - (self) -
-No docs
-- - - validate_cheque_info - (self) -
-No docs
-- - - validate_credit_debit_note - (self) -
-No docs
-- - - validate_empty_accounts_table - (self) -
-No docs
-- - - validate_entries_for_advance - (self) -
-No docs
-- - - validate_expense_claim - (self) -
-No docs
-- - - validate_invoices - (self) -
-Validate totals and docstatus for invoices
-- - - validate_multi_currency - (self) -
-No docs
-- - - validate_orders - (self) -
-Validate totals, stopped and docstatus for orders
-- - - validate_party - (self) -
-No docs
-- - - validate_reference_doc - (self) -
-Validates reference document
-- - - validate_total_debit_and_credit - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_account_balance_and_party_type - (account, date, company, debit=None, credit=None, exchange_rate=None) -
-Returns dict of account balance and party type to be set in Journal Entry on selection of account.
-- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_against_jv - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_average_exchange_rate - (account) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_default_bank_cash_account - (company, voucher_type, mode_of_payment=None, account=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_exchange_rate - (account, account_currency=None, company=None, reference_type=None, reference_name=None, debit=None, credit=None, exchange_rate=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_opening_accounts - (company) -
-get all balance sheet accounts for opening entry
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_outstanding - (args) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_party_account_and_balance - (company, party_type, party) -
-No docs
-- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry - (ref_doc, args) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_invoice - (dt, dn, amount=None, journal_entry=False, bank_account=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order
-
- - - erpnext.accounts.doctype.journal_entry.journal_entry.get_payment_entry_against_order - (dt, dn, amount=None, journal_entry=False, bank_account=None) -
-No docs
-Table Name: tabJournal Entry Account
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -account |
- - Link | -- Account - - | -- - - - -Account - - - - | -
| 2 | -account_type |
- - Data | -- Account Type - - | -- |
| 3 | -balance |
- - Currency | -- Account Balance - - | -
- account_currency- |
-
| 4 | -cost_center |
- - Link | -
- Cost Center
- - If Income or Expense - |
- - - - - -Cost Center - - - - | -
| 5 | -col_break1 |
- - Column Break | -- - - | -- |
| 6 | -party_type |
- - Link | -- Party Type - - | -- - - - -DocType - - - - | -
| 7 | -party |
- - Dynamic Link | -- Party - - | -
- party_type- |
-
| 8 | -party_balance |
- - Currency | -- Party Balance - - | -
- account_currency- |
-
| 9 | -currency_section |
- - Section Break | -- Currency - - | -- |
| 10 | -account_currency |
- - Link | -- Account Currency - - | -- - - - -Currency - - - - | -
| 11 | -column_break_10 |
- - Column Break | -- - - | -- |
| 12 | -exchange_rate |
- - Float | -- Exchange Rate - - | -- |
| 13 | -sec_break1 |
- - Section Break | -- Amount - - | -- |
| 14 | -debit_in_account_currency |
- - Currency | -- Debit - - | -
- account_currency- |
-
| 15 | -debit |
- - Currency | -- Debit in Company Currency - - | -
- Company:company:default_currency- |
-
| 16 | -col_break2 |
- - Column Break | -- - - | -- |
| 17 | -credit_in_account_currency |
- - Currency | -- Credit - - | -
- account_currency- |
-
| 18 | -credit |
- - Currency | -- Credit in Company Currency - - | -
- Company:company:default_currency- |
-
| 19 | -reference |
- - Section Break | -- Reference - - | -- |
| 20 | -reference_type |
- - Select | -- Reference Type - - | -
- -Sales Invoice -Purchase Invoice -Journal Entry -Sales Order -Purchase Order -Expense Claim- |
-
| 21 | -reference_name |
- - Dynamic Link | -- Reference Name - - | -
- reference_type- |
-
| 22 | -col_break3 |
- - Column Break | -- - - | -- |
| 23 | -is_advance |
- - Select | -- Is Advance - - | -
- No -Yes- |
-
| 24 | -against_account |
- - Text | -- Against Account - - | -- |
Table Name: tabMode of Payment
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -mode_of_payment |
- - Data | -- Mode of Payment - - | -- |
| 2 | -accounts |
- - Table | -- Accounts - - | -- - - - -Mode of Payment Account - - - - | -
Inherits from frappe.model.document.Document - -
- - - validate - (self) -
-No docs
-- - - validate_accounts - (self) -
-No docs
-- - - validate_repeating_companies - (self) -
-Error when Same Company is entered multiple times in accounts
-Table Name: tabMode of Payment Account
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 2 | -default_account |
- - Link | -
- Default Account
- - Default Bank / Cash account will be automatically updated in POS Invoice when this mode is selected. - |
- - - - - -Account - - - - | -
Table Name: tabMonthly Distribution
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -distribution_id |
- - Data | -
- Distribution Name
- - Name of the Monthly Distribution - |
- - |
| 2 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 3 | -percentages |
- - Table | -- Monthly Distribution Percentages - - | -- - - - -Monthly Distribution Percentage - - - - | -
Inherits from frappe.model.document.Document - -
- - - get_months - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabMonthly Distribution Percentage
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -month |
- - Data | -- Month - - | -- |
| 2 | -percentage_allocation |
- - Float | -- Percentage Allocation - - | -- |
Table Name: tabParty Account
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 2 | -col_break1 |
- - Column Break | -- - - | -- |
| 3 | -account |
- - Link | -- Account - - | -- - - - -Account - - - - | -
Table Name: tabPayment Gateway
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -gateway |
- - Data | -- Gateway - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabPayment Gateway Account
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -gateway |
- - Link | -- Payment Gateway - - | -- - - - -Payment Gateway - - - - | -
| 2 | -is_default |
- - Check | -- Is Default - - | -- |
| 3 | -column_break_4 |
- - Column Break | -- - - | -- |
| 4 | -payment_account |
- - Link | -- Payment Account - - | -- - - - -Account - - - - | -
| 5 | -currency |
- - Read Only | -- Currency - - | -
- payment_account.account_currency- |
-
| 6 | -payment_request_message |
- - Section Break | -- - - | -- |
| 7 | -message |
- - Text Editor | -- Default Payment Request Message - - | -- |
| 8 | -payment_url_message |
- - Data | -- Payment URL Message - - | -- |
| 9 | -payment_success_url |
- - Data | -- Payment Success URL - - | -- |
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - set_as_default_if_not_set - (self) -
-No docs
-- - - update_default_payment_gateway - (self) -
-No docs
-- - - validate - (self) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 2 | -party_type |
- - Link | -- Party Type - - | -- - - - -DocType - - - - | -
| 3 | -party |
- - Dynamic Link | -- Party - - | -
- party_type- |
-
| 4 | -receivable_payable_account |
- - Link | -- Receivable / Payable Account - - | -- - - - -Account - - - - | -
| 5 | -bank_cash_account |
- - Link | -- Bank / Cash Account - - | -- - - - -Account - - - - | -
| 6 | -col_break1 |
- - Column Break | -- - - | -- |
| 7 | -from_date |
- - Date | -- From Invoice Date - - | -- |
| 8 | -to_date |
- - Date | -- To Invoice Date - - | -- |
| 9 | -minimum_amount |
- - Currency | -- Minimum Invoice Amount - - | -- |
| 10 | -maximum_amount |
- - Currency | -- Maximum Invoice Amount - - | -- |
| 11 | -get_unreconciled_entries |
- - Button | -- Get Unreconciled Entries - - | -- |
| 12 | -sec_break1 |
- - Section Break | -- Unreconciled Payment Details - - | -- |
| 13 | -payments |
- - Table | -- Payments - - | -- - - - -Payment Reconciliation Payment - - - - | -
| 14 | -reconcile |
- - Button | -- Reconcile - - | -- |
| 15 | -sec_break2 |
- - Section Break | -- Invoice/Journal Entry Details - - | -- |
| 16 | -invoices |
- - Table | -- Invoices - - | -- - - - -Payment Reconciliation Invoice - - - - | -
Inherits from frappe.model.document.Document - -
- - - add_invoice_entries - (self, non_reconciled_invoices) -
-No docs
-- - - add_payment_entries - (self, jv_entries) -
-No docs
-- - - check_condition - (self) -
-No docs
-- - - check_mandatory_to_fetch - (self) -
-No docs
-- - - get_invoice_entries - (self) -
-No docs
-- - - get_jv_entries - (self) -
-No docs
-- - - get_unreconciled_entries - (self) -
-No docs
-- - - reconcile - (self, args) -
-No docs
-- - - validate_invoice - (self) -
-No docs
-Table Name: tabPayment Reconciliation Invoice
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -invoice_type |
- - Data | -- Invoice Type - - | -
- Sales Invoice -Purchase Invoice -Journal Entry- |
-
| 2 | -invoice_number |
- - Data | -- Invoice Number - - | -- |
| 3 | -invoice_date |
- - Date | -- Invoice Date - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -amount |
- - Currency | -- Amount - - | -- |
| 6 | -outstanding_amount |
- - Currency | -- Outstanding Amount - - | -- |
Table Name: tabPayment Reconciliation Payment
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -journal_entry |
- - Link | -- Journal Entry - - | -- - - - -Journal Entry - - - - | -
| 2 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 3 | -amount |
- - Currency | -- Amount - - | -- |
| 4 | -is_advance |
- - Data | -- Is Advance - - | -- |
| 5 | -voucher_detail_number |
- - Data | -- Voucher Detail Number - - | -- |
| 6 | -col_break1 |
- - Column Break | -- - - | -- |
| 7 | -invoice_number |
- - Select | -- Invoice Number - - | -- |
| 8 | -allocated_amount |
- - Currency | -- Allocated amount - - | -- |
| 9 | -sec_break1 |
- - Section Break | -- - - | -- |
| 10 | -remark |
- - Small Text | -- Remark - - | -- |
Table Name: tabPayment Request
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -payment_details |
- - Section Break | -- Payment Details - - | -- |
| 2 | -amount |
- - Currency | -- Amount - - | -- |
| 3 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 4 | -make_sales_invoice |
- - Check | -- Make Sales Invoice - - | -- |
| 5 | -column_break_5 |
- - Column Break | -- - - | -- |
| 6 | -status |
- - Select | -- Status - - | -
- -Draft -Initiated -Paid -Failed -Cancelled- |
-
| 7 | -section_break_7 |
- - Section Break | -- - - | -- |
| 8 | -payment_gateway |
- - Link | -- Payment Gateway - - | -- - - - -Payment Gateway Account - - - - | -
| 9 | -payment_success_url |
- - Data | -- Payment Success URL - - | -- |
| 10 | -column_break_9 |
- - Column Break | -- - - | -- |
| 11 | -gateway |
- - Read Only | -- Gateway - - | -
- payment_gateway.gateway- |
-
| 12 | -payment_account |
- - Read Only | -- Payment Account - - | -
- payment_gateway.payment_account- |
-
| 13 | -recipient_and_message |
- - Section Break | -- Recipient and Message - - | -- |
| 14 | -print_format |
- - Select | -- Print Format - - | -- |
| 15 | -mute_email |
- - Check | -- Mute Email - - | -- |
| 16 | -email_to |
- - Data | -- Email To - - | -- |
| 17 | -subject |
- - Data | -- Subject - - | -- |
| 18 | -message |
- - Text Editor | -- Message - - | -- |
| 19 | -payment_url_message |
- - Data | -- Payment URL Message - - | -- |
| 20 | -payment_url |
- - Data | -- payment_url - - | -- |
| 21 | -reference_details |
- - Section Break | -- Reference Details - - | -- |
| 22 | -reference_doctype |
- - Link | -- Reference Doctype - - | -- - - - -DocType - - - - | -
| 23 | -reference_name |
- - Dynamic Link | -- Reference Name - - | -
- reference_doctype- |
-
| 24 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Payment Request - - - - | -
Inherits from frappe.model.document.Document - -
- - - create_journal_entry - (self) -
-create entry
-- - - get_message - (self) -
-return message with payment gateway link
-- - - get_payment_success_url - (self) -
-No docs
-- - - get_payment_url - (self) -
-No docs
-- - - make_communication_entry - (self) -
-Make communication entry
-- - - make_invoice - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update_after_submit - (self) -
-No docs
-- - - send_email - (self) -
-send email with payment link
-- - - send_payment_request - (self) -
-No docs
-- - - set_as_cancelled - (self) -
-No docs
-- - - set_as_paid - (self) -
-No docs
-- - - set_failed - (self) -
-No docs
-- - - set_status - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_currency - (self) -
-No docs
-- - - validate_payment_gateway - (self) -
-No docs
-- - - validate_payment_gateway_account - (self) -
-No docs
-- - - validate_payment_request - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.payment_request.payment_request.generate_payment_request
-
- - - erpnext.accounts.doctype.payment_request.payment_request.generate_payment_request - (name) -
-No docs
-- - - erpnext.accounts.doctype.payment_request.payment_request.get_amount - (ref_doc, dt) -
-get amount based on doctype
-- - - erpnext.accounts.doctype.payment_request.payment_request.get_gateway_details - (args) -
-return gateway and payment account of default payment gateway
-Public API
- /api/method/erpnext.accounts.doctype.payment_request.payment_request.get_print_format_list
-
- - - erpnext.accounts.doctype.payment_request.payment_request.get_print_format_list - (ref_doctype) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.payment_request.payment_request.make_payment_request
-
- - - erpnext.accounts.doctype.payment_request.payment_request.make_payment_request - () -
-Make payment request
-Public API
- /api/method/erpnext.accounts.doctype.payment_request.payment_request.resend_payment_email
-
- - - erpnext.accounts.doctype.payment_request.payment_request.resend_payment_email - (docname) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -sec_break1 |
- - Section Break | -- Find Invoices to Match - - | -- |
| 2 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 3 | -party_type |
- - Link | -- Party Type - - | -- - - - -DocType - - - - | -
| 4 | -received_or_paid |
- - Select | -- Received Or Paid - - | -
- Received -Paid- |
-
| 5 | -col_break1 |
- - Column Break | -- - - | -- |
| 6 | -party |
- - Dynamic Link | -- Party - - | -
- party_type- |
-
| 7 | -party_account |
- - Link | -- Party Account - - | -- - - - -Account - - - - | -
| 8 | -party_account_currency |
- - Link | -- Party Account Currency - - | -- - - - -Currency - - - - | -
| 9 | -set_payment_amount |
- - Check | -- Set Payment Amount = Outstanding Amount - - | -- |
| 10 | -get_outstanding_vouchers |
- - Button | -- Get Outstanding Vouchers - - | -- |
| 11 | -sec_break3 |
- - Section Break | -- Set Matching Amounts - - | -- |
| 12 | -vouchers |
- - Table | -- Against Vouchers - - | -- - - - -Payment Tool Detail - - - - | -
| 13 | -section_break_19 |
- - Section Break | -- Make Payment Entry - - | -- |
| 14 | -payment_mode |
- - Link | -- Payment Mode - - | -- - - - -Mode of Payment - - - - | -
| 15 | -payment_account |
- - Link | -- Payment Account - - | -- - - - -Account - - - - | -
| 16 | -total_payment_amount |
- - Currency | -- Total Payment Amount - - | -
- party_account_currency- |
-
| 17 | -data_22 |
- - Column Break | -- - - | -- |
| 18 | -reference_date |
- - Date | -- Reference Date - - | -- |
| 19 | -reference_no |
- - Data | -- Reference No - - | -- |
| 20 | -make_journal_entry |
- - Button | -- Make Journal Entry - - | -- |
| 21 | -section_break_21 |
- - Section Break | -- - - | -- |
| 22 | -make_jv_help |
- - Small Text | -- - - | -- |
Inherits from frappe.model.document.Document - -
Public API
- /api/method/erpnext.accounts.doctype.payment_tool.payment_tool.get_against_voucher_amount
-
- - - erpnext.accounts.doctype.payment_tool.payment_tool.get_against_voucher_amount - (against_voucher_type, against_voucher_no, party_account, company) -
-No docs
-- - - erpnext.accounts.doctype.payment_tool.payment_tool.get_orders_to_be_billed - (party_type, party, party_account_currency, company_currency) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.payment_tool.payment_tool.get_outstanding_vouchers
-
- - - erpnext.accounts.doctype.payment_tool.payment_tool.get_outstanding_vouchers - (args) -
-No docs
-Table Name: tabPayment Tool Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -against_voucher_type |
- - Link | -- Against Voucher Type - - | -- - - - -DocType - - - - | -
| 2 | -against_voucher_no |
- - Dynamic Link | -- Against Voucher No - - | -
- against_voucher_type- |
-
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -total_amount |
- - Currency | -- Total Amount - - | -
- party_account_currency- |
-
| 5 | -outstanding_amount |
- - Currency | -- Outstanding Amount - - | -
- party_account_currency- |
-
| 6 | -payment_amount |
- - Currency | -- Payment Amount - - | -
- party_account_currency- |
-
Table Name: tabPeriod Closing Voucher
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -transaction_date |
- - Date | -- Transaction Date - - | -- |
| 3 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 4 | -fiscal_year |
- - Link | -- Closing Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 5 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Period Closing Voucher - - - - | -
| 6 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 7 | -column_break1 |
- - Column Break | -- - - | -- |
| 8 | -closing_account_head |
- - Link | -
- Closing Account Head
- - The account head under Liability, in which Profit/Loss will be booked - |
- - - - - -Account - - - - | -
| 9 | -remarks |
- - Small Text | -- Remarks - - | -- |
Inherits from erpnext.controllers.accounts_controller.AccountsController - -
- - - get_pl_balances - (self) -
-Get balance for pl accounts
-- - - make_gl_entries - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_account_head - (self) -
-No docs
-- - - validate_posting_date - (self) -
-No docs
-Table Name: tabPOS Profile
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -user |
- - Link | -- Applicable for User - - | -- - - - -User - - - - | -
| 2 | -naming_series |
- - Select | -- Series - - | -
- [Select]- |
-
| 3 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 4 | -update_stock |
- - Check | -- Update Stock - - | -- |
| 5 | -column_break_4 |
- - Column Break | -- - - | -- |
| 6 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 7 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 8 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 9 | -mode_of_payment |
- - Link | -- Mode of Payment - - | -- - - - -Mode of Payment - - - - | -
| 10 | -section_break_16 |
- - Section Break | -- - - | -- |
| 11 | -print_format |
- - Link | -- Print Format - - | -- - - - -Print Format - - - - | -
| 12 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 13 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 14 | -tc_name |
- - Link | -- Terms and Conditions - - | -- - - - -Terms and Conditions - - - - | -
| 15 | -column_break0 |
- - Column Break | -- - - | -- |
| 16 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 17 | -selling_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 18 | -section_break_19 |
- - Section Break | -- - - | -- |
| 19 | -write_off_account |
- - Link | -- Write Off Account - - | -- - - - -Account - - - - | -
| 20 | -write_off_cost_center |
- - Link | -- Write Off Cost Center - - | -- - - - -Cost Center - - - - | -
| 21 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Sales Taxes and Charges Template - - - - | -
| 22 | -column_break_23 |
- - Column Break | -- - - | -- |
| 23 | -cash_bank_account |
- - Link | -- Cash/Bank Account - - | -- - - - -Account - - - - | -
| 24 | -income_account |
- - Link | -- Income Account - - | -- - - - -Account - - - - | -
| 25 | -expense_account |
- - Link | -- Expense Account - - | -- - - - -Account - - - - | -
| 26 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
Inherits from frappe.model.document.Document - -
- - - check_for_duplicate - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - set_defaults - (self, include_current_pos=True) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_all_link_fields - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.pos_profile.pos_profile.get_series
-
- - - erpnext.accounts.doctype.pos_profile.pos_profile.get_series - () -
-No docs
-Table Name: tabPricing Rule
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -applicability_section |
- - Section Break | -- - - | -- |
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -apply_on |
- - Select | -- Apply On - - | -
- -Item Code -Item Group -Brand- |
-
| 4 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 5 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 6 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 7 | -column_break_7 |
- - Column Break | -- - - | -- |
| 8 | -priority |
- - Select | -
- Priority
- - Higher the number, higher the priority - |
-
- -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20- |
-
| 9 | -disable |
- - Check | -- Disable - - | -- |
| 10 | -section_break_7 |
- - Section Break | -- - - | -- |
| 11 | -selling |
- - Check | -- Selling - - | -- |
| 12 | -buying |
- - Check | -- Buying - - | -- |
| 13 | -column_break_11 |
- - Column Break | -- - - | -- |
| 14 | -applicable_for |
- - Select | -- Applicable For - - | -
- -Customer -Customer Group -Territory -Sales Partner -Campaign -Supplier -Supplier Type- |
-
| 15 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 16 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 17 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 18 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 19 | -campaign |
- - Link | -- Campaign - - | -- - - - -Campaign - - - - | -
| 20 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 21 | -supplier_type |
- - Link | -- Supplier Type - - | -- - - - -Supplier Type - - - - | -
| 22 | -section_break_19 |
- - Section Break | -- - - | -- |
| 23 | -min_qty |
- - Float | -- Min Qty - - | -- |
| 24 | -column_break_21 |
- - Column Break | -- - - | -- |
| 25 | -max_qty |
- - Float | -- Max Qty - - | -- |
| 26 | -section_break_23 |
- - Section Break | -- - - | -- |
| 27 | -valid_from |
- - Date | -- Valid From - - | -- |
| 28 | -valid_upto |
- - Date | -- Valid Upto - - | -- |
| 29 | -col_break1 |
- - Column Break | -- - - | -- |
| 30 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 31 | -price_discount_section |
- - Section Break | -- - - | -- |
| 32 | -price_or_discount |
- - Select | -- Price or Discount - - | -
- -Price -Discount Percentage- |
-
| 33 | -col_break2 |
- - Column Break | -- - - | -- |
| 34 | -price |
- - Float | -- Price - - | -- |
| 35 | -discount_percentage |
- - Float | -- Discount on Price List Rate (%) - - | -- |
| 36 | -for_price_list |
- - Link | -- For Price List - - | -- - - - -Price List - - - - | -
| 37 | -help_section |
- - Section Break | -- - - | -
- Simple- |
-
| 38 | -pricing_rule_help |
- - HTML | -- Pricing Rule Help - - | -- |
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - cleanup_fields_value - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_applicable_for_selling_or_buying - (self) -
-No docs
-- - - validate_mandatory - (self) -
-No docs
-- - - validate_max_discount - (self) -
-No docs
-- - - validate_min_max_qty - (self) -
-No docs
-- - - validate_price_or_discount - (self) -
-No docs
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_internal_priority - (pricing_rules, field_set, args) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_pricing_rule
-
- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.apply_pricing_rule - (args) -
-args = { - "items": [{"doctype": "", "name": "", "itemcode": "", "brand": "", "itemgroup": ""}, ...], - "customer": "something", - "customergroup": "something", - "territory": "something", - "supplier": "something", - "suppliertype": "something", - "currency": "something", - "conversionrate": "something", - "pricelist": "something", - "plcconversionrate": "something", - "company": "something", - "transactiondate": "something", - "campaign": "something", - "salespartner": "something", - "ignorepricingrule": "something" -}
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.filter_pricing_rules - (args, pricing_rules) -
-No docs
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rule_for_item - (args) -
-No docs
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.get_pricing_rules - (args) -
-No docs
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.if_all_rules_same - (pricing_rules, fields) -
-No docs
-- - - erpnext.accounts.doctype.pricing_rule.pricing_rule.set_transaction_type - (args) -
-No docs
-Table Name: tabPurchase Invoice
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -naming_series |
- - Select | -- Series - - | -
- PINV- -PINV-RET-- |
-
| 3 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 4 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 5 | -address_display |
- - Small Text | -- Address - - | -- |
| 6 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 7 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 8 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -posting_date |
- - Date | -- Date - - | -- |
| 11 | -bill_no |
- - Data | -- Supplier Invoice No - - | -- |
| 12 | -bill_date |
- - Date | -- Supplier Invoice Date - - | -- |
| 13 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Purchase Invoice - - - - | -
| 14 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 15 | -is_return |
- - Check | -- Is Return - - | -- |
| 16 | -return_against |
- - Link | -- Return Against Purchase Invoice - - | -- - - - -Purchase Invoice - - - - | -
| 17 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 18 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 19 | -conversion_rate |
- - Float | -- Exchange Rate - - | -- |
| 20 | -column_break2 |
- - Column Break | -- - - | -- |
| 21 | -buying_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 22 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 23 | -plc_conversion_rate |
- - Float | -- Price List Exchange Rate - - | -- |
| 24 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 25 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 26 | -items |
- - Table | -- Items - - | -- - - - -Purchase Invoice Item - - - - | -
| 27 | -section_break_26 |
- - Section Break | -- - - | -- |
| 28 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 29 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -column_break_28 |
- - Column Break | -- - - | -- |
| 31 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 32 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 33 | -taxes_section |
- - Section Break | -- - - | -
- icon-money- |
-
| 34 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Purchase Taxes and Charges Template - - - - | -
| 35 | -taxes |
- - Table | -- Purchase Taxes and Charges - - | -- - - - -Purchase Taxes and Charges - - - - | -
| 36 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 37 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 38 | -base_taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added (Company Currency) - - | -
- Company:company:default_currency- |
-
| 39 | -base_taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted (Company Currency) - - | -
- Company:company:default_currency- |
-
| 40 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 41 | -column_break_40 |
- - Column Break | -- - - | -- |
| 42 | -taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added - - | -
- currency- |
-
| 43 | -taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted - - | -
- currency- |
-
| 44 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 45 | -section_break_44 |
- - Section Break | -- Additional Discount - - | -- |
| 46 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 47 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 48 | -column_break_46 |
- - Column Break | -- - - | -- |
| 49 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 50 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 51 | -section_break_49 |
- - Section Break | -- - - | -- |
| 52 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 53 | -base_in_words |
- - Data | -- In Words (Company Currency) - - | -- |
| 54 | -column_break8 |
- - Column Break | -- - - | -- |
| 55 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 56 | -in_words |
- - Data | -- In Words - - | -- |
| 57 | -total_advance |
- - Currency | -- Total Advance - - | -
- party_account_currency- |
-
| 58 | -outstanding_amount |
- - Currency | -- Outstanding Amount - - | -
- party_account_currency- |
-
| 59 | -write_off |
- - Section Break | -- Write Off - - | -- |
| 60 | -write_off_amount |
- - Currency | -- Write Off Amount - - | -
- currency- |
-
| 61 | -base_write_off_amount |
- - Currency | -- Write Off Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 62 | -column_break_61 |
- - Column Break | -- - - | -- |
| 63 | -write_off_account |
- - Link | -- Write Off Account - - | -- - - - -Account - - - - | -
| 64 | -write_off_cost_center |
- - Link | -- Write Off Cost Center - - | -- - - - -Cost Center - - - - | -
| 65 | -advances_section |
- - Section Break | -- Advance Payments - - | -
- icon-money- |
-
| 66 | -get_advances_paid |
- - Button | -- Get Advances Paid - - | -
- get_advances- |
-
| 67 | -advances |
- - Table | -- Advances - - | -- - - - -Purchase Invoice Advance - - - - | -
| 68 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 69 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 70 | -terms |
- - Text Editor | -- Terms and Conditions1 - - | -- |
| 71 | -contact_section |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 72 | -supplier_address |
- - Link | -- Supplier Address - - | -- - - - -Address - - - - | -
| 73 | -col_break23 |
- - Column Break | -- - - | -- |
| 74 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 75 | -printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 76 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 77 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 78 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 79 | -credit_to |
- - Link | -- Credit To - - | -- - - - -Account - - - - | -
| 80 | -party_account_currency |
- - Link | -- Party Account Currency - - | -- - - - -Currency - - - - | -
| 81 | -is_opening |
- - Select | -- Is Opening - - | -
- No -Yes- |
-
| 82 | -due_date |
- - Date | -- Due Date - - | -- |
| 83 | -against_expense_account |
- - Small Text | -- Against Expense Account - - | -- |
| 84 | -column_break_63 |
- - Column Break | -- - - | -- |
| 85 | -mode_of_payment |
- - Link | -- Mode of Payment - - | -- - - - -Mode of Payment - - - - | -
| 86 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 87 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 88 | -recurring_invoice |
- - Section Break | -- Recurring Invoice - - | -
- icon-time- |
-
| 89 | -is_recurring |
- - Check | -- Is Recurring - - | -- |
| 90 | -recurring_type |
- - Select | -
- Recurring Type
- - Select the period when the invoice will be generated automatically - |
-
- Monthly -Quarterly -Half-yearly -Yearly- |
-
| 91 | -from_date |
- - Date | -
- From Date
- - Start date of current invoice's period - |
- - |
| 92 | -to_date |
- - Date | -
- To Date
- - End date of current invoice's period - |
- - |
| 93 | -repeat_on_day_of_month |
- - Int | -
- Repeat on Day of Month
- - The day of the month on which auto invoice will be generated e.g. 05, 28 etc - |
- - |
| 94 | -end_date |
- - Date | -
- End Date
- - The date on which recurring invoice will be stop - |
- - |
| 95 | -column_break_82 |
- - Column Break | -- - - | -- |
| 96 | -next_date |
- - Date | -
- Next Date
- - The date on which next invoice will be generated. It is generated on submit. - |
- - |
| 97 | -recurring_id |
- - Data | -
- Recurring Id
- - The unique id for tracking all recurring invoices. It is generated on submit. - |
- - |
| 98 | -notification_email_address |
- - Small Text | -
- Notification Email Address
- - Enter email id separated by commas, invoice will be mailed automatically on particular date - |
- - |
| 99 | -recurring_print_format |
- - Link | -- Recurring Print Format - - | -- - - - -Print Format - - - - | -
Inherits from erpnext.controllers.buying_controller.BuyingController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - check_active_purchase_items - (self) -
-No docs
-- - - check_conversion_rate - (self) -
-No docs
-- - - check_for_stopped_or_closed_status - (self) -
-No docs
-- - - check_prev_docstatus - (self) -
-No docs
-- - - create_remarks - (self) -
-No docs
-- - - get_advances - (self) -
-No docs
-- - - make_gl_entries - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_recurring - (self, reference_doc) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - po_required - (self) -
-No docs
-- - - pr_required - (self) -
-No docs
-- - - set_against_expense_account - (self) -
-No docs
-- - - set_missing_values - (self, for_validate=False) -
-No docs
-- - - update_against_document_in_jv - (self) -
-Links invoice and advance voucher: - 1. cancel advance voucher - 2. split into multiple rows if partially adjusted, assign against voucher - 3. submit advance voucher
-- - - update_billing_status_in_pr - (self, update_modified=True) -
-No docs
-- - - update_project - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_credit_to_acc - (self) -
-No docs
-- - - validate_supplier_invoice - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-- - - validate_write_off_account - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account
-
- - - erpnext.accounts.doctype.purchase_invoice.purchase_invoice.get_expense_account - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note
-
- - - erpnext.accounts.doctype.purchase_invoice.purchase_invoice.make_debit_note - (source_name, target_doc=None) -
-No docs
-Table Name: tabPurchase Invoice Advance
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -journal_entry |
- - Link | -- Journal Entry - - | -- - - - -Journal Entry - - - - | -
| 2 | -jv_detail_no |
- - Data | -- Journal Entry Detail No - - | -- |
| 3 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -advance_amount |
- - Currency | -- Advance Amount - - | -
- party_account_currency- |
-
| 6 | -allocated_amount |
- - Currency | -- Allocated Amount - - | -
- party_account_currency- |
-
Table Name: tabPurchase Invoice Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item - - | -- - - - -Item - - - - | -
| 2 | -col_break1 |
- - Column Break | -- - - | -- |
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -description_section |
- - Section Break | -- Description - - | -- |
| 5 | -description |
- - Text Editor | -- Description - - | -- |
| 6 | -image |
- - Attach | -- Image - - | -- |
| 7 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 8 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 9 | -qty |
- - Float | -- Qty - - | -- |
| 10 | -col_break2 |
- - Column Break | -- - - | -- |
| 11 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 12 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
| 13 | -sec_break1 |
- - Section Break | -- - - | -- |
| 14 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 15 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 16 | -col_break3 |
- - Column Break | -- - - | -- |
| 17 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 18 | -sec_break2 |
- - Section Break | -- - - | -- |
| 19 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 20 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 21 | -col_break4 |
- - Column Break | -- - - | -- |
| 22 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 23 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 24 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 25 | -section_break_22 |
- - Section Break | -- - - | -- |
| 26 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 27 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 28 | -column_break_25 |
- - Column Break | -- - - | -- |
| 29 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 31 | -accounting |
- - Section Break | -- Accounting - - | -- |
| 32 | -expense_account |
- - Link | -- Expense Head - - | -- - - - -Account - - - - | -
| 33 | -col_break5 |
- - Column Break | -- - - | -- |
| 34 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 35 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 36 | -reference |
- - Section Break | -- Reference - - | -- |
| 37 | -brand |
- - Data | -- Brand - - | -- |
| 38 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 39 | -item_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 - |
- - |
| 40 | -item_tax_amount |
- - Currency | -- Item Tax Amount - - | -
- Company:company:default_currency- |
-
| 41 | -purchase_order |
- - Link | -- Purchase Order - - | -- - - - -Purchase Order - - - - | -
| 42 | -col_break6 |
- - Column Break | -- - - | -- |
| 43 | -po_detail |
- - Data | -- Purchase Order Item - - | -- |
| 44 | -purchase_receipt |
- - Link | -- Purchase Receipt - - | -- - - - -Purchase Receipt - - - - | -
| 45 | -page_break |
- - Check | -- Page Break - - | -- |
| 46 | -pr_detail |
- - Data | -- PR Detail - - | -- |
| 47 | -valuation_rate |
- - Currency | -- Valuation Rate - - | -
- Company:company:default_currency- |
-
| 48 | -rm_supp_cost |
- - Currency | -- Raw Materials Supplied Cost - - | -
- Company:company:default_currency- |
-
Table Name: tabPurchase Taxes and Charges
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -category |
- - Select | -- Consider Tax or Charge for - - | -
- Valuation and Total -Valuation -Total- |
-
| 2 | -add_deduct_tax |
- - Select | -- Add or Deduct - - | -
- Add -Deduct- |
-
| 3 | -charge_type |
- - Select | -- Type - - | -
- -Actual -On Net Total -On Previous Row Amount -On Previous Row Total- |
-
| 4 | -row_id |
- - Data | -- Reference Row # - - | -- |
| 5 | -included_in_print_rate |
- - Check | -
- Is this Tax included in Basic Rate?
- - If checked, the tax amount will be considered as already included in the Print Rate / Print Amount - |
- - |
| 6 | -col_break1 |
- - Column Break | -- - - | -- |
| 7 | -account_head |
- - Link | -- Account Head - - | -- - - - -Account - - - - | -
| 8 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 9 | -description |
- - Text Editor | -- Description - - | -- |
| 10 | -section_break_10 |
- - Section Break | -- - - | -- |
| 11 | -rate |
- - Float | -- Rate - - | -- |
| 12 | -section_break_9 |
- - Section Break | -- - - | -- |
| 13 | -tax_amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 14 | -tax_amount_after_discount_amount |
- - Currency | -- Tax Amount After Discount Amount - - | -
- currency- |
-
| 15 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 16 | -column_break_14 |
- - Column Break | -- - - | -- |
| 17 | -base_tax_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 18 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 19 | -base_tax_amount_after_discount_amount |
- - Currency | -- Tax Amount After Discount Amount - - | -
- Company:company:default_currency- |
-
| 20 | -item_wise_tax_detail |
- - Small Text | -- Item Wise Tax Detail - - | -- |
| 21 | -parenttype |
- - Data | -- Parenttype - - | -- |
Table Name: tabPurchase Taxes and Charges Template
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -is_default |
- - Check | -- Default - - | -- |
| 3 | -disabled |
- - Check | -- Disabled - - | -- |
| 4 | -column_break4 |
- - Column Break | -- - - | -- |
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -section_break6 |
- - Section Break | -- - - | -- |
| 7 | -taxes |
- - Table | -- Purchase Taxes and Charges - - | -- - - - -Purchase Taxes and Charges - - - - | -
Inherits from frappe.model.document.Document - -
Table Name: tabSales Invoice
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -naming_series |
- - Select | -- Series - - | -
- SINV- -SINV-RET-- |
-
| 4 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 5 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 6 | -address_display |
- - Small Text | -- Address - - | -- |
| 7 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 8 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 9 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 10 | -is_pos |
- - Check | -- Is POS - - | -- |
| 11 | -is_return |
- - Check | -- Is Return - - | -- |
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -posting_date |
- - Date | -- Date - - | -- |
| 14 | -due_date |
- - Date | -- Payment Due Date - - | -- |
| 15 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 16 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Sales Invoice - - - - | -
| 17 | -return_against |
- - Link | -- Return Against Sales Invoice - - | -- - - - -Sales Invoice - - - - | -
| 18 | -shipping_address_name |
- - Link | -- Shipping Address Name - - | -- - - - -Address - - - - | -
| 19 | -shipping_address |
- - Small Text | -- Shipping Address - - | -- |
| 20 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -- |
| 21 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 22 | -conversion_rate |
- - Float | -
- Exchange Rate
- - Rate at which Customer Currency is converted to customer's base currency - |
- - |
| 23 | -column_break2 |
- - Column Break | -- - - | -- |
| 24 | -selling_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 25 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 26 | -plc_conversion_rate |
- - Float | -
- Price List Exchange Rate
- - Rate at which Price list currency is converted to customer's base currency - |
- - |
| 27 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 28 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 29 | -update_stock |
- - Check | -- Update Stock - - | -- |
| 30 | -items |
- - Table | -- Items - - | -- - - - -Sales Invoice Item - - - - | -
| 31 | -packing_list |
- - Section Break | -- Packing List - - | -
- icon-suitcase- |
-
| 32 | -packed_items |
- - Table | -- Packed Items - - | -- - - - -Packed Item - - - - | -
| 33 | -product_bundle_help |
- - HTML | -- Product Bundle Help - - | -- |
| 34 | -section_break_30 |
- - Section Break | -- - - | -- |
| 35 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 36 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 37 | -column_break_32 |
- - Column Break | -- - - | -- |
| 38 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 39 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 40 | -taxes_section |
- - Section Break | -- - - | -
- icon-money- |
-
| 41 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Sales Taxes and Charges Template - - - - | -
| 42 | -column_break_38 |
- - Column Break | -- - - | -- |
| 43 | -shipping_rule |
- - Link | -- Shipping Rule - - | -- - - - -Shipping Rule - - - - | -
| 44 | -section_break_40 |
- - Section Break | -- - - | -- |
| 45 | -taxes |
- - Table | -- Sales Taxes and Charges - - | -- - - - -Sales Taxes and Charges - - - - | -
| 46 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 47 | -section_break_43 |
- - Section Break | -- - - | -- |
| 48 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 49 | -column_break_47 |
- - Column Break | -- - - | -- |
| 50 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 51 | -section_break_49 |
- - Section Break | -- Additional Discount - - | -- |
| 52 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 53 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 54 | -column_break_51 |
- - Column Break | -- - - | -- |
| 55 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 56 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 57 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 58 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 59 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 60 | -base_in_words |
- - Data | -
- In Words (Company Currency)
- - In Words will be visible once you save the Sales Invoice. - |
- - |
| 61 | -column_break5 |
- - Column Break | -- - - | -- |
| 62 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 63 | -rounded_total |
- - Currency | -- Rounded Total - - | -
- currency- |
-
| 64 | -in_words |
- - Data | -- In Words - - | -- |
| 65 | -total_advance |
- - Currency | -- Total Advance - - | -
- party_account_currency- |
-
| 66 | -outstanding_amount |
- - Currency | -- Outstanding Amount - - | -
- party_account_currency- |
-
| 67 | -advances_section |
- - Section Break | -- Advance Payments - - | -
- icon-money- |
-
| 68 | -get_advances_received |
- - Button | -- Get Advances Received - - | -
- get_advances- |
-
| 69 | -advances |
- - Table | -- Advances - - | -- - - - -Sales Invoice Advance - - - - | -
| 70 | -payments_section |
- - Section Break | -- Payments - - | -
- icon-money- |
-
| 71 | -mode_of_payment |
- - Link | -- Mode of Payment - - | -- - - - -Mode of Payment - - - - | -
| 72 | -cash_bank_account |
- - Link | -- Cash/Bank Account - - | -- - - - -Account - - - - | -
| 73 | -column_break3 |
- - Column Break | -- - - | -- |
| 74 | -paid_amount |
- - Currency | -- Paid Amount - - | -
- currency- |
-
| 75 | -base_paid_amount |
- - Currency | -- Paid Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 76 | -column_break4 |
- - Section Break | -- Write Off - - | -- |
| 77 | -write_off_amount |
- - Currency | -- Write Off Amount - - | -
- currency- |
-
| 78 | -base_write_off_amount |
- - Currency | -- Write Off Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 79 | -write_off_outstanding_amount_automatically |
- - Check | -- Write Off Outstanding Amount - - | -- |
| 80 | -column_break_74 |
- - Column Break | -- - - | -- |
| 81 | -write_off_account |
- - Link | -- Write Off Account - - | -- - - - -Account - - - - | -
| 82 | -write_off_cost_center |
- - Link | -- Write Off Cost Center - - | -- - - - -Cost Center - - - - | -
| 83 | -terms_section_break |
- - Section Break | -- Terms - - | -- |
| 84 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 85 | -terms |
- - Text Editor | -- Terms and Conditions Details - - | -- |
| 86 | -edit_printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 87 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 88 | -column_break_84 |
- - Column Break | -- - - | -- |
| 89 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 90 | -contact_section |
- - Section Break | -- More Information - - | -
- icon-bullhorn- |
-
| 91 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 92 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 93 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 94 | -col_break23 |
- - Column Break | -- - - | -- |
| 95 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 96 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 97 | -campaign |
- - Link | -- Campaign - - | -- - - - -Campaign - - - - | -
| 98 | -source |
- - Select | -- Source - - | -
- -Existing Customer -Reference -Advertisement -Cold Calling -Exhibition -Supplier Reference -Mass Mailing -Customer's Vendor -Campaign- |
-
| 99 | -more_info |
- - Section Break | -- Accounting Details - - | -
- icon-file-text- |
-
| 100 | -debit_to |
- - Link | -- Debit To - - | -- - - - -Account - - - - | -
| 101 | -party_account_currency |
- - Link | -- Party Account Currency - - | -- - - - -Currency - - - - | -
| 102 | -is_opening |
- - Select | -- Is Opening Entry - - | -
- No -Yes- |
-
| 103 | -c_form_applicable |
- - Select | -- C-Form Applicable - - | -
- No -Yes- |
-
| 104 | -c_form_no |
- - Link | -- C-Form No - - | -- - - - -C-Form - - - - | -
| 105 | -column_break8 |
- - Column Break | -- - - | -- |
| 106 | -posting_time |
- - Time | -- Posting Time - - | -- |
| 107 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 108 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 109 | -sales_team_section_break |
- - Section Break | -- Commission - - | -
- icon-group- |
-
| 110 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 111 | -column_break10 |
- - Column Break | -- - - | -- |
| 112 | -commission_rate |
- - Float | -- Commission Rate (%) - - | -- |
| 113 | -total_commission |
- - Currency | -- Total Commission - - | -
- Company:company:default_currency- |
-
| 114 | -section_break2 |
- - Section Break | -- Sales Team - - | -- |
| 115 | -sales_team |
- - Table | -- Sales Team1 - - | -- - - - -Sales Team - - - - | -
| 116 | -recurring_invoice |
- - Section Break | -- Recurring - - | -
- icon-time- |
-
| 117 | -column_break11 |
- - Column Break | -- - - | -- |
| 118 | -is_recurring |
- - Check | -
- Is Recurring
- - Check if recurring invoice, uncheck to stop recurring or put proper End Date - |
- - |
| 119 | -recurring_type |
- - Select | -
- Recurring Type
- - Select the period when the invoice will be generated automatically - |
-
- -Monthly -Quarterly -Half-yearly -Yearly- |
-
| 120 | -from_date |
- - Date | -
- From Date
- - Start date of current invoice's period - |
- - |
| 121 | -to_date |
- - Date | -
- To Date
- - End date of current invoice's period - |
- - |
| 122 | -repeat_on_day_of_month |
- - Int | -
- Repeat on Day of Month
- - The day of the month on which auto invoice will be generated e.g. 05, 28 etc - |
- - |
| 123 | -end_date |
- - Date | -
- End Date
- - The date on which recurring invoice will be stop - |
- - |
| 124 | -column_break12 |
- - Column Break | -- - - | -- |
| 125 | -next_date |
- - Date | -
- Next Date
- - The date on which next invoice will be generated. It is generated on submit. - - |
- - |
| 126 | -recurring_id |
- - Data | -
- Recurring Id
- - The unique id for tracking all recurring invoices. It is generated on submit. - |
- - |
| 127 | -notification_email_address |
- - Small Text | -
- Notification Email Address
- - Enter email id separated by commas, invoice will be mailed automatically on particular date - |
- - |
| 128 | -recurring_print_format |
- - Link | -- Recurring Print Format - - | -- - - - -Print Format - - - - | -
| 129 | -against_income_account |
- - Small Text | -- Against Income Account - - | -- |
Inherits from erpnext.controllers.selling_controller.SellingController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - add_remarks - (self) -
-No docs
-- - - before_cancel - (self) -
-No docs
-- - - check_credit_limit - (self) -
-No docs
-- - - check_prev_docstatus - (self) -
-No docs
-- - - get_advances - (self) -
-No docs
-- - - get_company_abbr - (self) -
-No docs
-- - - get_gl_entries - (self, warehouse_account=None) -
-No docs
-- - - get_warehouse - (self) -
-No docs
-- - - make_customer_gl_entry - (self, gl_entries) -
-No docs
-- - - make_gl_entries - (self, repost_future_gle=True) -
-No docs
-- - - make_item_gl_entries - (self, gl_entries) -
-No docs
-- - - make_pos_gl_entries - (self, gl_entries) -
-No docs
-- - - make_tax_gl_entries - (self, gl_entries) -
-No docs
-- - - make_write_off_gl_entry - (self, gl_entries) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_recurring - (self, reference_doc) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - set_against_income_account - (self) -
-Set against account for debit to account
-- - - set_indicator - (self) -
-Set indicator for portal
-- - - set_missing_values - (self, for_validate=False) -
-No docs
-- - - set_pos_fields - (self, for_validate=False) -
-Set retail related fields from POS Profiles
-- - - so_dn_required - (self) -
-check in manage account if sales order / delivery note required or not.
-- - - update_against_document_in_jv - (self) -
-Links invoice and advance voucher: - 1. cancel advance voucher - 2. split into multiple rows if partially adjusted, assign against voucher - 3. submit advance voucher
-- - - update_billing_status_in_dn - (self, update_modified=True) -
-No docs
-- - - update_current_stock - (self) -
-No docs
-- - - update_packing_list - (self) -
-No docs
-- - - update_status_updater_args - (self) -
-No docs
-- - - update_time_log_batch - (self, sales_invoice) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_c_form - (self) -
-Blank C-form no if C-form applicable marked as 'No'
-- - - validate_c_form_on_cancel - (self) -
-Display message if C-Form no exists on cancellation of Sales Invoice
-- - - validate_debit_to_acc - (self) -
-No docs
-- - - validate_delivery_note - (self) -
-No docs
-- - - validate_dropship_item - (self) -
-No docs
-- - - validate_fixed_asset_account - (self) -
-Validate Fixed Asset and whether Income Account Entered Exists
-- - - validate_item_code - (self) -
-No docs
-- - - validate_pos - (self) -
-No docs
-- - - validate_proj_cust - (self) -
-check for does customer belong to same project as entered..
-- - - validate_time_logs_are_submitted - (self) -
-No docs
-- - - validate_warehouse - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-- - - validate_write_off_account - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account
-
- - - erpnext.accounts.doctype.sales_invoice.sales_invoice.get_bank_cash_account - (mode_of_payment, company) -
-No docs
-- - - erpnext.accounts.doctype.sales_invoice.sales_invoice.get_list_context - (context=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note
-
- - - erpnext.accounts.doctype.sales_invoice.sales_invoice.make_delivery_note - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return
-
- - - erpnext.accounts.doctype.sales_invoice.sales_invoice.make_sales_return - (source_name, target_doc=None) -
-No docs
-Table Name: tabSales Invoice Advance
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -journal_entry |
- - Link | -- Journal Entry - - | -- - - - -Journal Entry - - - - | -
| 2 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 3 | -jv_detail_no |
- - Data | -- Journal Entry Detail No - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -advance_amount |
- - Currency | -- Advance amount - - | -
- party_account_currency- |
-
| 6 | -allocated_amount |
- - Currency | -- Allocated amount - - | -
- party_account_currency- |
-
Table Name: tabSales Invoice Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -barcode |
- - Data | -- Barcode - - | -- |
| 2 | -item_code |
- - Link | -- Item - - | -- - - - -Item - - - - | -
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -item_name |
- - Data | -- Item Name - - | -- |
| 5 | -customer_item_code |
- - Data | -- Customer's Item Code - - | -- |
| 6 | -section_break_6 |
- - Section Break | -- Edit Description - - | -- |
| 7 | -description |
- - Text Editor | -- Description - - | -- |
| 8 | -column_break_8 |
- - Column Break | -- - - | -- |
| 9 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 10 | -image |
- - Attach | -- Image - - | -- |
| 11 | -quantity_and_rate |
- - Section Break | -- - - | -- |
| 12 | -qty |
- - Float | -- Quantity - - | -- |
| 13 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 14 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 15 | -col_break2 |
- - Column Break | -- - - | -- |
| 16 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 17 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 18 | -section_break1 |
- - Section Break | -- - - | -- |
| 19 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 20 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 21 | -col_break3 |
- - Column Break | -- - - | -- |
| 22 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 23 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 24 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 25 | -section_break_21 |
- - Section Break | -- - - | -- |
| 26 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 27 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 28 | -column_break_24 |
- - Column Break | -- - - | -- |
| 29 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 31 | -drop_ship |
- - Section Break | -- Drop Ship - - | -- |
| 32 | -delivered_by_supplier |
- - Check | -- Delivered By Supplier - - | -- |
| 33 | -accounting |
- - Section Break | -- Accounting Details - - | -- |
| 34 | -income_account |
- - Link | -- Income Account - - | -- - - - -Account - - - - | -
| 35 | -expense_account |
- - Link | -- Expense Account - - | -- - - - -Account - - - - | -
| 36 | -col_break4 |
- - Column Break | -- - - | -- |
| 37 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 38 | -warehouse_and_reference |
- - Section Break | -- Stock Details - - | -- |
| 39 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 40 | -target_warehouse |
- - Link | -- Customer Warehouse (Optional) - - | -- - - - -Warehouse - - - - | -
| 41 | -serial_no |
- - Small Text | -- Serial No - - | -- |
| 42 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 43 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 44 | -brand |
- - Data | -- Brand Name - - | -- |
| 45 | -item_tax_rate |
- - Small Text | -- Item Tax Rate - - | -- |
| 46 | -col_break5 |
- - Column Break | -- - - | -- |
| 47 | -actual_batch_qty |
- - Float | -- Available Batch Qty at Warehouse - - | -- |
| 48 | -actual_qty |
- - Float | -- Available Qty at Warehouse - - | -- |
| 49 | -edit_references |
- - Section Break | -- References - - | -- |
| 50 | -time_log_batch |
- - Link | -- Time Log Batch - - | -- - - - -Time Log Batch - - - - | -
| 51 | -sales_order |
- - Link | -- Sales Order - - | -- - - - -Sales Order - - - - | -
| 52 | -so_detail |
- - Data | -- Sales Order Item - - | -- |
| 53 | -column_break_50 |
- - Column Break | -- - - | -- |
| 54 | -delivery_note |
- - Link | -- Delivery Note - - | -- - - - -Delivery Note - - - - | -
| 55 | -dn_detail |
- - Data | -- Delivery Note Item - - | -- |
| 56 | -delivered_qty |
- - Float | -- Delivered Qty - - | -- |
| 57 | -section_break_54 |
- - Section Break | -- - - | -- |
| 58 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabSales Taxes and Charges
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -charge_type |
- - Select | -- Type - - | -
- -Actual -On Net Total -On Previous Row Amount -On Previous Row Total- |
-
| 2 | -row_id |
- - Data | -- Reference Row # - - | -- |
| 3 | -account_head |
- - Link | -- Account Head - - | -- - - - -Account - - - - | -
| 4 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 5 | -col_break_1 |
- - Column Break | -- - - | -- |
| 6 | -description |
- - Text Editor | -- Description - - | -- |
| 7 | -included_in_print_rate |
- - Check | -
- Is this Tax included in Basic Rate?
- - If checked, the tax amount will be considered as already included in the Print Rate / Print Amount - |
- - |
| 8 | -section_break_8 |
- - Section Break | -- - - | -- |
| 9 | -rate |
- - Float | -- Rate - - | -- |
| 10 | -section_break_9 |
- - Section Break | -- - - | -- |
| 11 | -tax_amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 12 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 13 | -tax_amount_after_discount_amount |
- - Currency | -- Tax Amount After Discount Amount - - | -
- currency- |
-
| 14 | -column_break_13 |
- - Column Break | -- - - | -- |
| 15 | -base_tax_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 16 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 17 | -base_tax_amount_after_discount_amount |
- - Currency | -- Tax Amount After Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 18 | -item_wise_tax_detail |
- - Small Text | -- Item Wise Tax Detail - - | -- |
| 19 | -parenttype |
- - Data | -- Parenttype - - | -- |
Table Name: tabSales Taxes and Charges Template
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -is_default |
- - Check | -- Default - - | -- |
| 3 | -disabled |
- - Check | -- Disabled - - | -- |
| 4 | -column_break_3 |
- - Column Break | -- - - | -- |
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -section_break_5 |
- - Section Break | -- - - | -- |
| 7 | -taxes |
- - Table | -
- Sales Taxes and Charges
- - * Will be calculated in the transaction. - |
- - - - - -Sales Taxes and Charges - - - - | -
Inherits from frappe.model.document.Document - -
- - - erpnext.accounts.doctype.sales_taxes_and_charges_template.sales_taxes_and_charges_template.valdiate_taxes_and_charges_template - (doc) -
-No docs
-Table Name: tabShipping Rule
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -label |
- - Data | -
- Shipping Rule Label
- - example: Next Day Shipping - |
- - |
| 2 | -disabled |
- - Check | -- Disabled - - | -- |
| 3 | -calculate_based_on |
- - Select | -- Calculate Based On - - | -
- Net Total -Net Weight- |
-
| 4 | -rule_conditions_section |
- - Section Break | -- Shipping Rule Conditions - - | -- |
| 5 | -conditions |
- - Table | -- Shipping Rule Conditions - - | -- - - - -Shipping Rule Condition - - - - | -
| 6 | -section_break_6 |
- - Section Break | -- Valid for Countries - - | -- |
| 7 | -worldwide_shipping |
- - Check | -- Worldwide Shipping - - | -- |
| 8 | -countries |
- - Table | -- Valid for Countries - - | -- - - - -Shipping Rule Country - - - - | -
| 9 | -section_break_10 |
- - Section Break | -- - - | -- |
| 10 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 11 | -column_break_12 |
- - Column Break | -- - - | -- |
| 12 | -account |
- - Link | -- Shipping Account - - | -- - - - -Account - - - - | -
| 13 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - sort_shipping_rule_conditions - (self) -
-Sort Shipping Rule Conditions based on increasing From Value
-- - - validate - (self) -
-No docs
-- - - validate_from_to_values - (self) -
-No docs
-- - - validate_overlapping_shipping_rule_conditions - (self) -
-No docs
-Table Name: tabShipping Rule Condition
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -from_value |
- - Float | -- From Value - - | -- |
| 2 | -to_value |
- - Float | -- To Value - - | -- |
| 3 | -shipping_amount |
- - Currency | -- Shipping Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabShipping Rule Country
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
Table Name: tabTax Rule
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -tax_type |
- - Select | -- Tax Type - - | -
- Sales -Purchase- |
-
| 2 | -use_for_shopping_cart |
- - Check | -- Use for Shopping Cart - - | -- |
| 3 | -column_break_1 |
- - Column Break | -- - - | -- |
| 4 | -sales_tax_template |
- - Link | -- Sales Tax Template - - | -- - - - -Sales Taxes and Charges Template - - - - | -
| 5 | -purchase_tax_template |
- - Link | -- Purchase Tax Template - - | -- - - - -Purchase Taxes and Charges Template - - - - | -
| 6 | -filters |
- - Section Break | -- Filters - - | -- |
| 7 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 8 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 9 | -billing_city |
- - Data | -- Billing City - - | -- |
| 10 | -billing_state |
- - Data | -- Billing State - - | -- |
| 11 | -billing_country |
- - Link | -- Billing Country - - | -- - - - -Country - - - - | -
| 12 | -column_break_2 |
- - Column Break | -- - - | -- |
| 13 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 14 | -supplier_type |
- - Link | -- Supplier Type - - | -- - - - -Supplier Type - - - - | -
| 15 | -shipping_city |
- - Data | -- Shipping City - - | -- |
| 16 | -shipping_state |
- - Data | -- Shipping State - - | -- |
| 17 | -shipping_country |
- - Link | -- Shipping Country - - | -- - - - -Country - - - - | -
| 18 | -section_break_4 |
- - Section Break | -- Validity - - | -- |
| 19 | -from_date |
- - Date | -- From Date - - | -- |
| 20 | -column_break_7 |
- - Column Break | -- - - | -- |
| 21 | -to_date |
- - Date | -- To Date - - | -- |
| 22 | -section_break_6 |
- - Section Break | -- - - | -- |
| 23 | -priority |
- - Int | -- Priority - - | -- |
| 24 | -column_break_20 |
- - Column Break | -- - - | -- |
| 25 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - __setup__ - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_date - (self) -
-No docs
-- - - validate_filters - (self) -
-No docs
-- - - validate_tax_template - (self) -
-No docs
-Public API
- /api/method/erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details
-
- - - erpnext.accounts.doctype.tax_rule.tax_rule.get_party_details - (party, party_type, args=None) -
-No docs
-- - - erpnext.accounts.doctype.tax_rule.tax_rule.get_tax_template - (posting_date, args) -
-Get matching tax rule
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supp_master_name |
- - Select | -- Supplier Naming By - - | -
- Supplier Name -Naming Series- |
-
| 2 | -supplier_type |
- - Link | -- Default Supplier Type - - | -- - - - -Supplier Type - - - - | -
| 3 | -buying_price_list |
- - Link | -- Default Buying Price List - - | -- - - - -Price List - - - - | -
| 4 | -column_break_3 |
- - Column Break | -- - - | -- |
| 5 | -po_required |
- - Select | -- Purchase Order Required - - | -
- No -Yes- |
-
| 6 | -pr_required |
- - Select | -- Purchase Receipt Required - - | -
- No -Yes- |
-
| 7 | -maintain_same_rate |
- - Check | -- Maintain same rate throughout purchase cycle - - | -- |
| 8 | -allow_multiple_items |
- - Check | -- Allow Item to be added multiple times in a transaction - - | -- |
Inherits from frappe.model.document.Document - -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|
Inherits from erpnext.controllers.buying_controller.BuyingController - -
- - - check_docstatus - (self, check, doctype, docname, detail_doctype=) -
-No docs
-- - - check_for_stopped_or_closed_status - (self, doctype, docname) -
-No docs
-- - - update_last_purchase_rate - (self, obj, is_submit) -
-updates lastpurchaserate in item table for each item
-- - - validate_for_items - (self, obj) -
-No docs
-Table Name: tabPurchase Order
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supplier_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -naming_series |
- - Select | -- Series - - | -
- PO-- |
-
| 4 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 5 | -get_items_from_open_material_requests |
- - Button | -- Get Items from Open Material Requests - - | -- |
| 6 | -is_subcontracted |
- - Select | -- Supply Raw Materials - - | -
- No -Yes- |
-
| 7 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 8 | -address_display |
- - Small Text | -- Address - - | -- |
| 9 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 10 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 11 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -transaction_date |
- - Date | -- Date - - | -- |
| 14 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Purchase Order - - - - | -
| 15 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 16 | -drop_ship |
- - Section Break | -- Drop Ship - - | -- |
| 17 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 18 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 19 | -column_break_19 |
- - Column Break | -- - - | -- |
| 20 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 21 | -customer_contact_person |
- - Link | -- Customer Contact - - | -- - - - -Contact - - - - | -
| 22 | -customer_address_display |
- - Small Text | -- Customer Address Display - - | -- |
| 23 | -customer_contact_display |
- - Small Text | -- Customer Contact - - | -- |
| 24 | -customer_contact_mobile |
- - Small Text | -- Customer Mobile No - - | -- |
| 25 | -customer_contact_email |
- - Small Text | -- Customer Contact Email - - | -- |
| 26 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 27 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 28 | -conversion_rate |
- - Float | -- Exchange Rate - - | -- |
| 29 | -cb_price_list |
- - Column Break | -- - - | -- |
| 30 | -buying_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 31 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 32 | -plc_conversion_rate |
- - Float | -- Price List Exchange Rate - - | -- |
| 33 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 34 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 35 | -items |
- - Table | -- Items - - | -- - - - -Purchase Order Item - - - - | -
| 36 | -get_last_purchase_rate |
- - Button | -- Get last purchase rate - - | -- |
| 37 | -sb_last_purchase |
- - Section Break | -- - - | -- |
| 38 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 39 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 40 | -column_break_26 |
- - Column Break | -- - - | -- |
| 41 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 42 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 43 | -taxes_section |
- - Section Break | -- - - | -
- icon-money- |
-
| 44 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Purchase Taxes and Charges Template - - - - | -
| 45 | -taxes |
- - Table | -- Purchase Taxes and Charges - - | -- - - - -Purchase Taxes and Charges - - - - | -
| 46 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 47 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 48 | -base_taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added (Company Currency) - - | -
- Company:company:default_currency- |
-
| 49 | -base_taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted (Company Currency) - - | -
- Company:company:default_currency- |
-
| 50 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 51 | -column_break_39 |
- - Column Break | -- - - | -- |
| 52 | -taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added - - | -
- currency- |
-
| 53 | -taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted - - | -
- currency- |
-
| 54 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 55 | -discount_section |
- - Section Break | -- Additional Discount - - | -- |
| 56 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 57 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 58 | -column_break_45 |
- - Column Break | -- - - | -- |
| 59 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 60 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 61 | -totals_section |
- - Section Break | -- - - | -- |
| 62 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 63 | -base_in_words |
- - Data | -
- In Words (Company Currency)
- - In Words will be visible once you save the Purchase Order. - |
- - |
| 64 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 65 | -column_break4 |
- - Column Break | -- - - | -- |
| 66 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 67 | -in_words |
- - Data | -- In Words - - | -- |
| 68 | -advance_paid |
- - Currency | -- Advance Paid - - | -
- party_account_currency- |
-
| 69 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 70 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 71 | -terms |
- - Text Editor | -- Terms and Conditions - - | -- |
| 72 | -contact_section |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 73 | -supplier_address |
- - Link | -- Supplier Address - - | -- - - - -Address - - - - | -
| 74 | -cb_contact |
- - Column Break | -- - - | -- |
| 75 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 76 | -more_info |
- - Section Break | -- More Information - - | -- |
| 77 | -status |
- - Select | -- Status - - | -
- -Draft -To Receive and Bill -To Bill -To Receive -Completed -Stopped -Cancelled -Closed -Delivered- |
-
| 78 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 79 | -ref_sq |
- - Data | -- Ref SQ - - | -- |
| 80 | -party_account_currency |
- - Link | -- Party Account Currency - - | -- - - - -Currency - - - - | -
| 81 | -column_break_74 |
- - Column Break | -- - - | -- |
| 82 | -per_received |
- - Percent | -- % Received - - | -- |
| 83 | -per_billed |
- - Percent | -- % Billed - - | -- |
| 84 | -column_break5 |
- - Section Break | -- Printing Settings - - | -- |
| 85 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 86 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 87 | -raw_material_details |
- - Section Break | -- Raw Materials Supplied - - | -
- icon-truck- |
-
| 88 | -supplied_items |
- - Table | -- Supplied Items - - | -- - - - -Purchase Order Item Supplied - - - - | -
| 89 | -recurring_order |
- - Section Break | -- Recurring - - | -
- icon-time- |
-
| 90 | -column_break |
- - Column Break | -- - - | -- |
| 91 | -is_recurring |
- - Check | -- Is Recurring - - | -- |
| 92 | -recurring_type |
- - Select | -- Recurring Type - - | -
- Monthly -Quarterly -Half-yearly -Yearly- |
-
| 93 | -from_date |
- - Date | -
- From Date
- - Start date of current order's period - |
- - |
| 94 | -to_date |
- - Date | -
- To Date
- - End date of current order's period - |
- - |
| 95 | -repeat_on_day_of_month |
- - Int | -
- Repeat on Day of Month
- - The day of the month on which auto order will be generated e.g. 05, 28 etc - |
- - |
| 96 | -end_date |
- - Date | -
- End Date
- - The date on which recurring order will be stop - |
- - |
| 97 | -column_break83 |
- - Column Break | -- - - | -- |
| 98 | -next_date |
- - Date | -
- Next Date
- - The date on which next invoice will be generated. It is generated on submit. - |
- - |
| 99 | -recurring_id |
- - Data | -- Recurring Id - - | -- |
| 100 | -notification_email_address |
- - Small Text | -
- Notification Email Address
- - Enter email id separated by commas, order will be mailed automatically on particular date - |
- - |
| 101 | -recurring_print_format |
- - Link | -- Recurring Print Format - - | -- - - - -Print Format - - - - | -
Inherits from erpnext.controllers.buying_controller.BuyingController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - check_for_stopped_or_closed_status - (self, pc_obj) -
-No docs
-- - - check_modified_date - (self) -
-No docs
-- - - get_last_purchase_rate - (self) -
-get last purchase rates for all items
-- - - get_schedule_dates - (self) -
-No docs
-- - - has_drop_ship_item - (self) -
-No docs
-- - - is_against_so - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - set_received_qty_for_drop_ship_items - (self) -
-No docs
-- - - update_delivered_qty_in_sales_order - (self) -
-Update delivered qty in Sales Order for drop ship
-- - - update_ordered_qty - (self, po_item_rows=None) -
-update requested qty (before ordered_qty is updated)
-- - - update_requested_qty - (self) -
-No docs
-- - - update_status - (self, status) -
-No docs
-- - - update_status_updater - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_minimum_order_qty - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice
-
- - - erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_invoice - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt
-
- - - erpnext.buying.doctype.purchase_order.purchase_order.make_purchase_receipt - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry
-
- - - erpnext.buying.doctype.purchase_order.purchase_order.make_stock_entry - (purchase_order, item_code) -
-No docs
-- - - erpnext.buying.doctype.purchase_order.purchase_order.set_missing_values - (source, target) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders
-
- - - erpnext.buying.doctype.purchase_order.purchase_order.stop_or_unstop_purchase_orders - (names, status) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.purchase_order.purchase_order.update_status
-
- - - erpnext.buying.doctype.purchase_order.purchase_order.update_status - (status, name) -
-No docs
-Table Name: tabPurchase Order Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -supplier_part_no |
- - Data | -- Supplier Part Number - - | -- |
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -column_break_4 |
- - Column Break | -- - - | -- |
| 5 | -schedule_date |
- - Date | -- Reqd By Date - - | -- |
| 6 | -section_break_5 |
- - Section Break | -- Description - - | -- |
| 7 | -description |
- - Text Editor | -- Description - - | -- |
| 8 | -col_break1 |
- - Column Break | -- - - | -- |
| 9 | -image |
- - Attach | -- Image - - | -- |
| 10 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 11 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 12 | -qty |
- - Float | -- Quantity - - | -- |
| 13 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 14 | -col_break2 |
- - Column Break | -- - - | -- |
| 15 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 16 | -conversion_factor |
- - Float | -- UOM Conversion Factor - - | -- |
| 17 | -sec_break1 |
- - Section Break | -- - - | -- |
| 18 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 19 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 20 | -col_break3 |
- - Column Break | -- - - | -- |
| 21 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 22 | -sec_break2 |
- - Section Break | -- - - | -- |
| 23 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 24 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 25 | -col_break4 |
- - Column Break | -- - - | -- |
| 26 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 27 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 28 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 29 | -section_break_29 |
- - Section Break | -- - - | -- |
| 30 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 31 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 32 | -column_break_32 |
- - Column Break | -- - - | -- |
| 33 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 34 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 35 | -warehouse_and_reference |
- - Section Break | -- Warehouse and Reference - - | -- |
| 36 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 37 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 38 | -prevdoc_doctype |
- - Link | -- Reference Document Type - - | -- - - - -DocType - - - - | -
| 39 | -prevdoc_docname |
- - Dynamic Link | -- Reference Name - - | -
- prevdoc_doctype- |
-
| 40 | -prevdoc_detail_docname |
- - Data | -- Material Request Detail No - - | -- |
| 41 | -supplier_quotation |
- - Link | -- Supplier Quotation - - | -- - - - -Supplier Quotation - - - - | -
| 42 | -supplier_quotation_item |
- - Link | -- Supplier Quotation Item - - | -- - - - -Supplier Quotation Item - - - - | -
| 43 | -delivered_by_supplier |
- - Check | -- To be delivered to customer - - | -- |
| 44 | -col_break5 |
- - Column Break | -- - - | -- |
| 45 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 46 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 47 | -bom |
- - Link | -- BOM - - | -- - - - -BOM - - - - | -
| 48 | -stock_qty |
- - Float | -- Qty as per Stock UOM - - | -- |
| 49 | -received_qty |
- - Float | -- Received Qty - - | -- |
| 50 | -returned_qty |
- - Float | -- Returned Qty - - | -- |
| 51 | -billed_amt |
- - Currency | -- Billed Amt - - | -
- currency- |
-
| 52 | -item_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 - |
- - |
| 53 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabPurchase Order Item Supplied
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -main_item_code |
- - Data | -- Item Code - - | -- |
| 2 | -rm_item_code |
- - Data | -- Raw Material Item Code - - | -- |
| 3 | -required_qty |
- - Float | -- Supplied Qty - - | -- |
| 4 | -rate |
- - Currency | -- Rate - - | -
- Company:company:default_currency- |
-
| 5 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 6 | -bom_detail_no |
- - Data | -- BOM Detail No - - | -- |
| 7 | -reference_name |
- - Data | -- Reference Name - - | -- |
| 8 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
| 9 | -stock_uom |
- - Link | -- Stock Uom - - | -- - - - -UOM - - - - | -
Table Name: tabPurchase Receipt Item Supplied
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -main_item_code |
- - Data | -- Item Code - - | -- |
| 2 | -rm_item_code |
- - Data | -- Raw Material Item Code - - | -- |
| 3 | -description |
- - Text Editor | -- Description - - | -- |
| 4 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 5 | -serial_no |
- - Text | -- Serial No - - | -- |
| 6 | -col_break1 |
- - Column Break | -- - - | -- |
| 7 | -required_qty |
- - Float | -- Required Qty - - | -- |
| 8 | -consumed_qty |
- - Float | -- Consumed Qty - - | -- |
| 9 | -stock_uom |
- - Link | -- Stock Uom - - | -- - - - -UOM - - - - | -
| 10 | -rate |
- - Currency | -- Rate - - | -
- Company:company:default_currency- |
-
| 11 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 12 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
| 13 | -current_stock |
- - Float | -- Current Stock - - | -- |
| 14 | -reference_name |
- - Data | -- Reference Name - - | -- |
| 15 | -bom_detail_no |
- - Data | -- BOM Detail No - - | -- |
Table Name: tabQuality Inspection
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -naming_series |
- - Select | -- Series - - | -
- QI-- |
-
| 2 | -report_date |
- - Date | -- Report Date - - | -- |
| 3 | -column_break_4 |
- - Column Break | -- - - | -- |
| 4 | -inspection_type |
- - Select | -- Inspection Type - - | -
- -Incoming -Outgoing -In Process- |
-
| 5 | -purchase_receipt_no |
- - Link | -- Purchase Receipt No - - | -- - - - -Purchase Receipt - - - - | -
| 6 | -delivery_note_no |
- - Link | -- Delivery Note No - - | -- - - - -Delivery Note - - - - | -
| 7 | -section_break_7 |
- - Section Break | -- - - | -- |
| 8 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 9 | -item_serial_no |
- - Link | -- Item Serial No - - | -- - - - -Serial No - - - - | -
| 10 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 11 | -sample_size |
- - Float | -- Sample Size - - | -- |
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -item_name |
- - Data | -- Item Name - - | -- |
| 14 | -description |
- - Small Text | -- Description - - | -- |
| 15 | -section_break_14 |
- - Section Break | -- - - | -- |
| 16 | -inspected_by |
- - Link | -- Inspected By - - | -- - - - -User - - - - | -
| 17 | -verified_by |
- - Data | -- Verified By - - | -- |
| 18 | -column_break_17 |
- - Column Break | -- - - | -- |
| 19 | -remarks |
- - Text | -- Remarks - - | -- |
| 20 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Quality Inspection - - - - | -
| 21 | -specification_details |
- - Section Break | -- - - | -
- Simple- |
-
| 22 | -get_specification_details |
- - Button | -- Get Specification Details - - | -
- get_item_specification_details- |
-
| 23 | -readings |
- - Table | -- Readings - - | -- - - - -Quality Inspection Reading - - - - | -
Inherits from frappe.model.document.Document - -
- - - get_item_specification_details - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - erpnext.buying.doctype.quality_inspection.quality_inspection.item_query - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Table Name: tabQuality Inspection Reading
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -specification |
- - Data | -- Parameter - - | -- |
| 2 | -value |
- - Data | -- Acceptance Criteria - - | -- |
| 3 | -reading_1 |
- - Data | -- Reading 1 - - | -- |
| 4 | -reading_2 |
- - Data | -- Reading 2 - - | -- |
| 5 | -reading_3 |
- - Data | -- Reading 3 - - | -- |
| 6 | -reading_4 |
- - Data | -- Reading 4 - - | -- |
| 7 | -reading_5 |
- - Data | -- Reading 5 - - | -- |
| 8 | -reading_6 |
- - Data | -- Reading 6 - - | -- |
| 9 | -reading_7 |
- - Data | -- Reading 7 - - | -- |
| 10 | -reading_8 |
- - Data | -- Reading 8 - - | -- |
| 11 | -reading_9 |
- - Data | -- Reading 9 - - | -- |
| 12 | -reading_10 |
- - Data | -- Reading 10 - - | -- |
| 13 | -status |
- - Select | -- Status - - | -
- Accepted -Rejected- |
-
Table Name: tabSupplier
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -basic_info |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- SUPP-- |
-
| 3 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 4 | -column_break0 |
- - Column Break | -- - - | -- |
| 5 | -supplier_type |
- - Link | -- Supplier Type - - | -- - - - -Supplier Type - - - - | -
| 6 | -disabled |
- - Check | -- Disabled - - | -- |
| 7 | -section_break_7 |
- - Section Break | -- - - | -- |
| 8 | -default_currency |
- - Link | -- Billing Currency - - | -- - - - -Currency - - - - | -
| 9 | -default_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 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 | -- Credit Days - - | -- |
| 13 | -address_contacts |
- - Section Break | -- Address and Contacts - - | -
- icon-map-marker- |
-
| 14 | -address_html |
- - HTML | -- Address HTML - - | -- |
| 15 | -column_break1 |
- - Column Break | -- - - | -- |
| 16 | -contact_html |
- - HTML | -- Contact HTML - - | -- |
| 17 | -default_payable_accounts |
- - Section Break | -- Default Payable Accounts - - | -- |
| 18 | -accounts |
- - Table | -
- Accounts
- - Mention if non-standard receivable account - |
- - - - - -Party Account - - - - | -
| 19 | -column_break2 |
- - Section Break | -- More Information - - | -- |
| 20 | -website |
- - Data | -- Website - - | -- |
| 21 | -supplier_details |
- - Text | -
- Supplier Details
- - Statutory info and other general information about your Supplier - |
- - |
| 22 | -is_frozen |
- - Check | -- Is Frozen - - | -- |
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - after_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - delete_supplier_address - (self) -
-No docs
-- - - delete_supplier_contact - (self) -
-No docs
-- - - get_contacts - (self, nm) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-Load address and contacts in __onload
- - - update_address - (self) -
-No docs
-- - - update_contact - (self) -
-No docs
-- - - update_supplier_address - (self, newdn, set_field) -
-No docs
-- - - validate - (self) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.supplier.supplier.get_dashboard_info
-
- - - erpnext.buying.doctype.supplier.supplier.get_dashboard_info - (supplier) -
-No docs
-Table Name: tabSupplier Quotation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supplier_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -naming_series |
- - Select | -- Series - - | -
- SQTN-- |
-
| 4 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 5 | -supplier_name |
- - Data | -- Name - - | -- |
| 6 | -address_display |
- - Small Text | -- Address - - | -- |
| 7 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 8 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 9 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 10 | -column_break1 |
- - Column Break | -- - - | -- |
| 11 | -transaction_date |
- - Date | -- Date - - | -- |
| 12 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Supplier Quotation - - - - | -
| 13 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 14 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 15 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 16 | -conversion_rate |
- - Float | -- Exchange Rate - - | -- |
| 17 | -cb_price_list |
- - Column Break | -- - - | -- |
| 18 | -buying_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 19 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 20 | -plc_conversion_rate |
- - Float | -- Price List Exchange Rate - - | -- |
| 21 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 22 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 23 | -items |
- - Table | -- Items - - | -- - - - -Supplier Quotation Item - - - - | -
| 24 | -section_break_22 |
- - Section Break | -- - - | -- |
| 25 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 26 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 27 | -column_break_24 |
- - Column Break | -- - - | -- |
| 28 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 29 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 30 | -taxes_section |
- - Section Break | -- Taxes and Charges - - | -
- icon-money- |
-
| 31 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Purchase Taxes and Charges Template - - - - | -
| 32 | -taxes |
- - Table | -- Purchase Taxes and Charges - - | -- - - - -Purchase Taxes and Charges - - - - | -
| 33 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 34 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 35 | -base_taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added (Company Currency) - - | -
- Company:company:default_currency- |
-
| 36 | -base_taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted (Company Currency) - - | -
- Company:company:default_currency- |
-
| 37 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 38 | -column_break_37 |
- - Column Break | -- - - | -- |
| 39 | -taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added - - | -
- currency- |
-
| 40 | -taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted - - | -
- currency- |
-
| 41 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 42 | -section_break_41 |
- - Section Break | -- Additional Discount - - | -- |
| 43 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 44 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 45 | -column_break_43 |
- - Column Break | -- - - | -- |
| 46 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 47 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 48 | -section_break_46 |
- - Section Break | -- - - | -- |
| 49 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 50 | -base_in_words |
- - Data | -- In Words (Company Currency) - - | -- |
| 51 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 52 | -column_break4 |
- - Column Break | -- - - | -- |
| 53 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 54 | -in_words |
- - Data | -- In Words - - | -- |
| 55 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 56 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 57 | -terms |
- - Text Editor | -- Terms and Conditions - - | -- |
| 58 | -contact_section |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 59 | -supplier_address |
- - Link | -- Supplier Address - - | -- - - - -Address - - - - | -
| 60 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 61 | -printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 62 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 63 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 64 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 65 | -status |
- - Select | -- Status - - | -
- -Draft -Submitted -Stopped -Cancelled- |
-
| 66 | -is_subcontracted |
- - Select | -- Is Subcontracted - - | -
- -Yes -No- |
-
| 67 | -column_break_57 |
- - Column Break | -- - - | -- |
| 68 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
Inherits from erpnext.controllers.buying_controller.BuyingController - -
- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_common - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-Public API
- /api/method/erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order
-
- - - erpnext.buying.doctype.supplier_quotation.supplier_quotation.make_purchase_order - (source_name, target_doc=None) -
-No docs
-Table Name: tabSupplier Quotation Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -supplier_part_no |
- - Data | -- Supplier Part Number - - | -- |
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -item_name |
- - Data | -- Item Name - - | -- |
| 5 | -section_break_5 |
- - Section Break | -- Description - - | -- |
| 6 | -description |
- - Text Editor | -- Description - - | -- |
| 7 | -col_break1 |
- - Column Break | -- - - | -- |
| 8 | -image |
- - Attach | -- Image - - | -- |
| 9 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 10 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 11 | -qty |
- - Float | -- Quantity - - | -- |
| 12 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 13 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 14 | -col_break2 |
- - Column Break | -- - - | -- |
| 15 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 16 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 17 | -sec_break1 |
- - Section Break | -- - - | -- |
| 18 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 19 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 20 | -col_break3 |
- - Column Break | -- - - | -- |
| 21 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 22 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 23 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 24 | -section_break_24 |
- - Section Break | -- - - | -- |
| 25 | -net_rate |
- - Currency | -- Net Rate - - | -- |
| 26 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 27 | -column_break_27 |
- - Column Break | -- - - | -- |
| 28 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 29 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -warehouse_and_reference |
- - Section Break | -- Warehouse and Reference - - | -- |
| 31 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 32 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 33 | -prevdoc_doctype |
- - Data | -- Prevdoc DocType - - | -- |
| 34 | -prevdoc_docname |
- - Link | -- Material Request No - - | -- - - - -Material Request - - - - | -
| 35 | -col_break4 |
- - Column Break | -- - - | -- |
| 36 | -prevdoc_detail_docname |
- - Data | -- Material Request Detail No - - | -- |
| 37 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 38 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 39 | -item_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 - |
- - |
| 40 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabLead
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -lead_details |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- LEAD-- |
-
| 3 | -lead_name |
- - Data | -- Person Name - - | -- |
| 4 | -company_name |
- - Data | -- Organization Name - - | -- |
| 5 | -email_id |
- - Data | -- Email Id - - | -
- |
-
| 6 | -col_break123 |
- - Column Break | -- - - | -- |
| 7 | -status |
- - Select | -- Status - - | -
- Lead -Open -Replied -Opportunity -Interested -Converted -Do Not Contact- |
-
| 8 | -source |
- - Select | -- Source - - | -
- -Advertisement -Blog Post -Campaign -Call -Customer -Exhibition -Supplier -Website -Email- |
-
| 9 | -customer |
- - Link | -- From Customer - - | -- - - - -Customer - - - - | -
| 10 | -campaign_name |
- - Link | -- Campaign Name - - | -- - - - -Campaign - - - - | -
| 11 | -section_break_12 |
- - Section Break | -- - - | -- |
| 12 | -lead_owner |
- - Link | -- Lead Owner - - | -- - - - -User - - - - | -
| 13 | -column_break_14 |
- - Column Break | -- - - | -- |
| 14 | -contact_by |
- - Link | -- Next Contact By - - | -- - - - -User - - - - | -
| 15 | -contact_date |
- - Datetime | -
- Next Contact Date
- - Add to calendar on this date - |
- - |
| 16 | -contact_info |
- - Section Break | -- Address & Contact - - | -
- icon-map-marker- |
-
| 17 | -address_desc |
- - HTML | -- Address Desc - - | -- |
| 18 | -address_html |
- - HTML | -- Address HTML - - | -- |
| 19 | -column_break2 |
- - Column Break | -- - - | -- |
| 20 | -phone |
- - Data | -- Phone - - | -- |
| 21 | -mobile_no |
- - Data | -- Mobile No. - - | -- |
| 22 | -fax |
- - Data | -- Fax - - | -- |
| 23 | -website |
- - Data | -- Website - - | -- |
| 24 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 25 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 26 | -type |
- - Select | -- Lead Type - - | -
- -Client -Channel Partner -Consultant- |
-
| 27 | -market_segment |
- - Select | -- Market Segment - - | -
- -Lower Income -Middle Income -Upper Income- |
-
| 28 | -industry |
- - Link | -- Industry - - | -- - - - -Industry Type - - - - | -
| 29 | -request_type |
- - Select | -- Request Type - - | -
- -Product Enquiry -Request for Information -Suggestions -Other- |
-
| 30 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 31 | -column_break3 |
- - Column Break | -- - - | -- |
| 32 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 33 | -unsubscribed |
- - Check | -- Unsubscribed - - | -- |
| 34 | -blog_subscriber |
- - Check | -- Blog Subscriber - - | -- |
Inherits from erpnext.controllers.selling_controller.SellingController - -
- - - add_calendar_event - (self, opts=None, force=False) -
-No docs
-- - - check_email_id_is_unique - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - has_customer - (self) -
-No docs
-- - - has_opportunity - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - erpnext.crm.doctype.lead.lead._make_customer - (source_name, target_doc=None, ignore_permissions=False) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.lead.lead.get_lead_details
-
- - - erpnext.crm.doctype.lead.lead.get_lead_details - (lead) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.lead.lead.make_customer
-
- - - erpnext.crm.doctype.lead.lead.make_customer - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.lead.lead.make_opportunity
-
- - - erpnext.crm.doctype.lead.lead.make_opportunity - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.lead.lead.make_quotation
-
- - - erpnext.crm.doctype.lead.lead.make_quotation - (source_name, target_doc=None) -
-No docs
-Table Name: tabNewsletter
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -newsletter_list |
- - Link | -- Newsletter List - - | -- - - - -Newsletter List - - - - | -
| 2 | -subject |
- - Small Text | -- Subject - - | -- |
| 3 | -send_from |
- - Data | -- Sender - - | -- |
| 4 | -email_sent |
- - Check | -- Email Sent? - - | -- |
| 5 | -newsletter_content |
- - Section Break | -- - - | -- |
| 6 | -message |
- - Text Editor | -- Message - - | -- |
| 7 | -test_the_newsletter |
- - Section Break | -- - - | -- |
| 8 | -test_email_id |
- - Data | -
- Test Email Id
- - A Lead with this email id should exist - |
- - |
| 9 | -test_send |
- - Button | -- Test - - | -
- test_send- |
-
Inherits from frappe.model.document.Document - -
- - - get_recipients - (self) -
-Get recipients from Newsletter List
-- - - onload - (self) -
-No docs
-- - - send_bulk - (self) -
-No docs
-- - - send_emails - (self) -
-send emails to leads and customers
-- - - test_send - (self, doctype=Lead) -
-No docs
-- - - validate_send - (self) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.newsletter.newsletter.confirm_subscription
-
- - - erpnext.crm.doctype.newsletter.newsletter.confirm_subscription - (email) -
-No docs
-- - - erpnext.crm.doctype.newsletter.newsletter.create_lead - (email_id) -
-create a lead if it does not exist
-Public API
- /api/method/erpnext.crm.doctype.newsletter.newsletter.get_lead_options
-
- - - erpnext.crm.doctype.newsletter.newsletter.get_lead_options - () -
-No docs
-- - - erpnext.crm.doctype.newsletter.newsletter.return_unsubscribed_page - (email) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.newsletter.newsletter.subscribe
-
- - - erpnext.crm.doctype.newsletter.newsletter.subscribe - (email) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.newsletter.newsletter.unsubscribe
-
- - - erpnext.crm.doctype.newsletter.newsletter.unsubscribe - (email, name) -
-No docs
-Table Name: tabNewsletter List
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -total_subscribers |
- - Int | -- Total Subscribers - - | -- |
Inherits from frappe.model.document.Document - -
- - - get_total_subscribers - (self) -
-No docs
-- - - import_from - (self, doctype) -
-Extract email ids from given doctype and add them to the current list
-- - - on_trash - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - update_total_subscribers - (self) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers
-
- - - erpnext.crm.doctype.newsletter_list.newsletter_list.add_subscribers - (name, email_list) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.newsletter_list.newsletter_list.import_from
-
- - - erpnext.crm.doctype.newsletter_list.newsletter_list.import_from - (name, doctype) -
-No docs
-Table Name: tabNewsletter List Subscriber
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -newsletter_list |
- - Link | -- Newsletter List - - | -- - - - -Newsletter List - - - - | -
| 2 | -email |
- - Data | -- Email - - | -- |
| 3 | -unsubscribed |
- - Check | -- Unsubscribed - - | -- |
Inherits from frappe.model.document.Document - -
- - - erpnext.crm.doctype.newsletter_list_subscriber.newsletter_list_subscriber.after_doctype_insert - () -
-No docs
-Table Name: tabOpportunity
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -from_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- OPTY-- |
-
| 3 | -enquiry_from |
- - Select | -- Opportunity From - - | -
- -Lead -Customer- |
-
| 4 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 5 | -lead |
- - Link | -- Lead - - | -- - - - -Lead - - - - | -
| 6 | -customer_name |
- - Data | -- Customer / Lead Name - - | -- |
| 7 | -column_break0 |
- - Column Break | -- - - | -- |
| 8 | -title |
- - Data | -- Title - - | -- |
| 9 | -enquiry_type |
- - Select | -- Opportunity Type - - | -
- Sales -Maintenance- |
-
| 10 | -status |
- - Select | -- Status - - | -
- Open -Quotation -Lost -Replied -Closed- |
-
| 11 | -order_lost_reason |
- - Small Text | -- Lost Reason - - | -- |
| 12 | -with_items |
- - Check | -- With Items - - | -- |
| 13 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 14 | -items |
- - Table | -- Items - - | -- - - - -Opportunity Item - - - - | -
| 15 | -contact_info |
- - Section Break | -- Contact Info - - | -
- icon-bullhorn- |
-
| 16 | -customer_address |
- - Link | -- Customer / Lead Address - - | -- - - - -Address - - - - | -
| 17 | -address_display |
- - Small Text | -- Address - - | -- |
| 18 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 19 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 20 | -column_break3 |
- - Column Break | -- - - | -- |
| 21 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 22 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 23 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 24 | -contact_mobile |
- - Small Text | -- Contact Mobile No - - | -- |
| 25 | -more_info |
- - Section Break | -- Source - - | -
- icon-file-text- |
-
| 26 | -source |
- - Select | -- Source - - | -
- -Existing Customer -Reference -Advertisement -Cold Calling -Exhibition -Supplier Reference -Mass Mailing -Customer's Vendor -Campaign -Walk In- |
-
| 27 | -campaign |
- - Link | -
- Campaign
- - Enter name of campaign if source of enquiry is campaign - |
- - - - - -Campaign - - - - | -
| 28 | -column_break1 |
- - Column Break | -- - - | -- |
| 29 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 30 | -transaction_date |
- - Date | -- Opportunity Date - - | -- |
| 31 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 32 | -next_contact |
- - Section Break | -- Next Contact - - | -- |
| 33 | -contact_by |
- - Link | -
- Next Contact By
- - Your sales person who will contact the customer in future - |
- - - - - -User - - - - | -
| 34 | -contact_date |
- - Datetime | -
- Next Contact Date
- - Your sales person will get a reminder on this date to contact the customer - |
- - |
| 35 | -column_break2 |
- - Column Break | -- - - | -- |
| 36 | -to_discuss |
- - Small Text | -- To Discuss - - | -- |
| 37 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Opportunity - - - - | -
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - add_calendar_event - (self, opts=None, force=False) -
-No docs
-- - - after_insert - (self) -
-No docs
-- - - declare_enquiry_lost - (self, arg) -
-No docs
-- - - get_cust_address - (self, name) -
-No docs
-- - - has_ordered_quotation - (self) -
-No docs
-- - - has_quotation - (self) -
-No docs
-- - - make_new_lead_if_required - (self) -
-Set lead against new opportunity
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_cust_name - (self) -
-No docs
-- - - validate_item_details - (self) -
-No docs
-- - - validate_lead_cust - (self) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.opportunity.opportunity.get_item_details
-
- - - erpnext.crm.doctype.opportunity.opportunity.get_item_details - (item_code) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.opportunity.opportunity.make_quotation
-
- - - erpnext.crm.doctype.opportunity.opportunity.make_quotation - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.crm.doctype.opportunity.opportunity.set_multiple_status
-
- - - erpnext.crm.doctype.opportunity.opportunity.set_multiple_status - (names, status) -
-No docs
-Table Name: tabOpportunity Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -col_break1 |
- - Column Break | -- - - | -- |
| 3 | -qty |
- - Float | -- Qty - - | -- |
| 4 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 5 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 6 | -section_break_6 |
- - Section Break | -- - - | -- |
| 7 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 8 | -item_name |
- - Data | -- Item Name - - | -- |
| 9 | -description |
- - Text Editor | -- Description - - | -- |
| 10 | -column_break_8 |
- - Column Break | -- - - | -- |
| 11 | -image |
- - Attach | -- Image - - | -- |
| 12 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 13 | -basic_rate |
- - Currency | -- Basic Rate - - | -
- Company:company:default_currency- |
-
Table Name: tabAppraisal
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -employee_details |
- - Section Break | -- - - | -- |
| 2 | -kra_template |
- - Link | -
- Appraisal Template
- - Select template from which you want to get the Goals - |
- - - - - -Appraisal Template - - - - | -
| 3 | -employee |
- - Link | -
- For Employee
- - Select the Employee for whom you are creating the Appraisal. - |
- - - - - -Employee - - - - | -
| 4 | -employee_name |
- - Data | -- For Employee Name - - | -- |
| 5 | -column_break0 |
- - Column Break | -- - - | -- |
| 6 | -status |
- - Select | -- Status - - | -
- -Draft -Submitted -Completed -Cancelled- |
-
| 7 | -start_date |
- - Date | -- Start Date - - | -- |
| 8 | -end_date |
- - Date | -- End Date - - | -- |
| 9 | -section_break0 |
- - Section Break | -- Goals - - | -
- Simple- |
-
| 10 | -goals |
- - Table | -- Goals - - | -- - - - -Appraisal Goal - - - - | -
| 11 | -calculate_total_score |
- - Button | -- Calculate Total Score - - | -
- calculate_total- |
-
| 12 | -total_score |
- - Float | -- Total Score (Out of 5) - - | -- |
| 13 | -section_break1 |
- - Section Break | -- - - | -- |
| 14 | -remarks |
- - Text | -
- Remarks
- - Any other remarks, noteworthy effort that should go in the records. - |
- - |
| 15 | -other_details |
- - Section Break | -- - - | -- |
| 16 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 17 | -column_break_17 |
- - Column Break | -- - - | -- |
| 18 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 19 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Appraisal - - - - | -
Inherits from frappe.model.document.Document - -
- - - calculate_total - (self) -
-No docs
-- - - get_employee_name - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_dates - (self) -
-No docs
-- - - validate_existing_appraisal - (self) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template
-
- - - erpnext.hr.doctype.appraisal.appraisal.fetch_appraisal_template - (source_name, target_doc=None) -
-No docs
-Table Name: tabAppraisal Goal
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -kra |
- - Small Text | -
- Goal
- - Key Responsibility Area - |
- - |
| 2 | -section_break_2 |
- - Section Break | -- - - | -- |
| 3 | -per_weightage |
- - Float | -- Weightage (%) - - | -- |
| 4 | -column_break_4 |
- - Column Break | -- - - | -- |
| 5 | -score |
- - Float | -- Score (0-5) - - | -- |
| 6 | -section_break_6 |
- - Section Break | -- - - | -- |
| 7 | -score_earned |
- - Float | -- Score Earned - - | -- |
Table Name: tabAppraisal Template
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -kra_title |
- - Data | -- Appraisal Template Title - - | -- |
| 2 | -description |
- - Small Text | -- Description - - | -- |
| 3 | -goals |
- - Table | -- Goals - - | -- - - - -Appraisal Template Goal - - - - | -
Inherits from frappe.model.document.Document - -
- - - check_total_points - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabAppraisal Template Goal
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -kra |
- - Small Text | -
- KRA
- - Key Performance Area - |
- - |
| 2 | -per_weightage |
- - Float | -- Weightage (%) - - | -- |
Table Name: tabAttendance
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -attendance_details |
- - Section Break | -- - - | -
- Simple- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- ATT-- |
-
| 3 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 4 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 5 | -status |
- - Select | -- Status - - | -
- -Present -Absent -Half Day- |
-
| 6 | -leave_type |
- - Link | -- Leave Type - - | -- - - - -Leave Type - - - - | -
| 7 | -column_break0 |
- - Column Break | -- - - | -- |
| 8 | -att_date |
- - Date | -- Attendance Date - - | -- |
| 9 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 10 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 11 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Attendance - - - - | -
Inherits from frappe.model.document.Document - -
- - - check_leave_record - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_att_date - (self) -
-No docs
-- - - validate_duplicate_record - (self) -
-No docs
-- - - validate_employee - (self) -
-No docs
-Table Name: tabBranch
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -branch |
- - Data | -- Branch - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabDeduction Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -deduction_name |
- - Data | -- Name - - | -- |
| 2 | -description |
- - Small Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabDepartment
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -department_name |
- - Data | -- Department - - | -- |
| 2 | -leave_block_list |
- - Link | -
- Leave Block List
- - Days for which Holidays are blocked for this department. - |
- - - - - -Leave Block List - - - - | -
Inherits from frappe.model.document.Document - -
Table Name: tabDesignation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -designation_name |
- - Data | -- Designation - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabEarning Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -earning_name |
- - Data | -- Name - - | -- |
| 2 | -description |
- - Small Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabEmployee
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -basic_information |
- - Section Break | -- - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -employee |
- - Data | -- Employee - - | -- |
| 4 | -naming_series |
- - Select | -- Series - - | -
- EMP/- |
-
| 5 | -salutation |
- - Select | -- Salutation - - | -
- -Mr -Ms- |
-
| 6 | -employee_name |
- - Data | -- Full Name - - | -- |
| 7 | -image |
- - Attach | -- Image - - | -- |
| 8 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -user_id |
- - Link | -
- User ID
- - System User (login) ID. If set, it will become default for all HR forms. - |
- - - - - -User - - - - | -
| 11 | -employee_number |
- - Data | -- Employee Number - - | -- |
| 12 | -date_of_joining |
- - Date | -- Date of Joining - - | -- |
| 13 | -date_of_birth |
- - Date | -
- Date of Birth
- - You can enter any date manually - |
- - |
| 14 | -gender |
- - Select | -- Gender - - | -
- -Male -Female- |
-
| 15 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 16 | -employment_details |
- - Section Break | -- Employment Details - - | -- |
| 17 | -col_break_21 |
- - Column Break | -- - - | -- |
| 18 | -status |
- - Select | -- Status - - | -
- -Active -Left- |
-
| 19 | -employment_type |
- - Link | -- Employment Type - - | -- - - - -Employment Type - - - - | -
| 20 | -holiday_list |
- - Link | -
- Holiday List
- - Applicable Holiday List - |
- - - - - -Holiday List - - - - | -
| 21 | -col_break_22 |
- - Column Break | -- - - | -- |
| 22 | -scheduled_confirmation_date |
- - Date | -- Offer Date - - | -- |
| 23 | -final_confirmation_date |
- - Date | -- Confirmation Date - - | -- |
| 24 | -contract_end_date |
- - Date | -- Contract End Date - - | -- |
| 25 | -date_of_retirement |
- - Date | -- Date Of Retirement - - | -- |
| 26 | -job_profile |
- - Section Break | -- Job Profile - - | -- |
| 27 | -column_break2 |
- - Column Break | -- - - | -- |
| 28 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 29 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 30 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 31 | -company_email |
- - Data | -
- Company Email
- - Provide email id registered in company - |
-
- |
-
| 32 | -notice_number_of_days |
- - Int | -- Notice (days) - - | -- |
| 33 | -salary_information |
- - Column Break | -- Salary Information - - | -- |
| 34 | -salary_mode |
- - Select | -- Salary Mode - - | -
- -Bank -Cash -Cheque- |
-
| 35 | -bank_name |
- - Data | -- Bank Name - - | -- |
| 36 | -bank_ac_no |
- - Data | -- Bank A/C No. - - | -- |
| 37 | -organization_profile |
- - Section Break | -- Organization Profile - - | -- |
| 38 | -reports_to |
- - Link | -- Reports to - - | -- - - - -Employee - - - - | -
| 39 | -leave_approvers |
- - Table | -
- Leave Approvers
- - The first Leave Approver in the list will be set as the default Leave Approver - |
- - - - - -Employee Leave Approver - - - - | -
| 40 | -contact_details |
- - Section Break | -- Contact Details - - | -- |
| 41 | -column_break3 |
- - Column Break | -- - - | -- |
| 42 | -cell_number |
- - Data | -- Cell Number - - | -- |
| 43 | -personal_email |
- - Data | -- Personal Email - - | -
- |
-
| 44 | -unsubscribed |
- - Check | -- Unsubscribed - - | -- |
| 45 | -person_to_be_contacted |
- - Data | -- Emergency Contact - - | -- |
| 46 | -relation |
- - Data | -- Relation - - | -- |
| 47 | -emergency_phone_number |
- - Data | -- Emergency Phone - - | -- |
| 48 | -column_break4 |
- - Column Break | -- - - | -- |
| 49 | -permanent_accommodation_type |
- - Select | -- Permanent Address Is - - | -
- -Rented -Owned- |
-
| 50 | -permanent_address |
- - Small Text | -- Permanent Address - - | -- |
| 51 | -current_accommodation_type |
- - Select | -- Current Address Is - - | -
- -Rented -Owned- |
-
| 52 | -current_address |
- - Small Text | -- Current Address - - | -- |
| 53 | -sb53 |
- - Section Break | -- - - | -- |
| 54 | -bio |
- - Text Editor | -
- Bio
- - Short biography for website and other publications. - |
- - |
| 55 | -personal_details |
- - Section Break | -- Personal Details - - | -- |
| 56 | -column_break5 |
- - Column Break | -- - - | -- |
| 57 | -passport_number |
- - Data | -- Passport Number - - | -- |
| 58 | -date_of_issue |
- - Date | -- Date of Issue - - | -- |
| 59 | -valid_upto |
- - Date | -- Valid Upto - - | -- |
| 60 | -place_of_issue |
- - Data | -- Place of Issue - - | -- |
| 61 | -column_break6 |
- - Column Break | -- - - | -- |
| 62 | -marital_status |
- - Select | -- Marital Status - - | -
- -Single -Married -Divorced -Widowed- |
-
| 63 | -blood_group |
- - Select | -- Blood Group - - | -
- -A+ -A- -B+ -B- -AB+ -AB- -O+ -O-- |
-
| 64 | -family_background |
- - Small Text | -
- Family Background
- - Here you can maintain family details like name and occupation of parent, spouse and children - |
- - |
| 65 | -health_details |
- - Small Text | -
- Health Details
- - Here you can maintain height, weight, allergies, medical concerns etc - |
- - |
| 66 | -educational_qualification |
- - Section Break | -- Educational Qualification - - | -- |
| 67 | -education |
- - Table | -- Education - - | -- - - - -Employee Education - - - - | -
| 68 | -previous_work_experience |
- - Section Break | -- Previous Work Experience - - | -
- Simple- |
-
| 69 | -external_work_history |
- - Table | -- External Work History - - | -- - - - -Employee External Work History - - - - | -
| 70 | -history_in_company |
- - Section Break | -- History In Company - - | -
- Simple- |
-
| 71 | -internal_work_history |
- - Table | -- Internal Work History - - | -- - - - -Employee Internal Work History - - - - | -
| 72 | -exit |
- - Section Break | -- Exit - - | -- |
| 73 | -column_break7 |
- - Column Break | -- - - | -- |
| 74 | -resignation_letter_date |
- - Date | -- Resignation Letter Date - - | -- |
| 75 | -relieving_date |
- - Date | -- Relieving Date - - | -- |
| 76 | -reason_for_leaving |
- - Data | -- Reason for Leaving - - | -- |
| 77 | -leave_encashed |
- - Select | -- Leave Encashed? - - | -
- -Yes -No- |
-
| 78 | -encashment_date |
- - Date | -- Encashment Date - - | -- |
| 79 | -exit_interview_details |
- - Column Break | -- Exit Interview Details - - | -- |
| 80 | -held_on |
- - Date | -- Held On - - | -- |
| 81 | -reason_for_resignation |
- - Select | -- Reason for Resignation - - | -
- -Better Prospects -Health Concerns- |
-
| 82 | -new_workplace |
- - Data | -- New Workplace - - | -- |
| 83 | -feedback |
- - Small Text | -- Feedback - - | -- |
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - update_user - (self) -
-No docs
-- - - update_user_permissions - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_date - (self) -
-No docs
-- - - validate_duplicate_user_id - (self) -
-No docs
-- - - validate_email - (self) -
-No docs
-- - - validate_employee_leave_approver - (self) -
-No docs
-- - - validate_for_enabled_user_id - (self) -
-No docs
-- - - validate_reports_to - (self) -
-No docs
-- - - validate_status - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.hr.doctype.employee.employee.get_employees_who_are_born_today - () -
-Get Employee properties whose birthday is today.
-Public API
- /api/method/erpnext.hr.doctype.employee.employee.get_retirement_date
-
- - - erpnext.hr.doctype.employee.employee.get_retirement_date - (date_of_birth=None) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.employee.employee.make_salary_structure
-
- - - erpnext.hr.doctype.employee.employee.make_salary_structure - (source_name, target=None) -
-No docs
-- - - erpnext.hr.doctype.employee.employee.send_birthday_reminders - () -
-Send Employee birthday reminders if no 'Stop Birthday Reminders' is not set.
-- - - erpnext.hr.doctype.employee.employee.update_user_permissions - (doc, method) -
-No docs
-- - - erpnext.hr.doctype.employee.employee.validate_employee_role - (doc, method) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -date |
- - Date | -- Date - - | -- |
| 2 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -unmarked_attendance_section |
- - Section Break | -- Unmarked Attendance - - | -- |
| 7 | -employees_html |
- - HTML | -- Employees HTML - - | -- |
| 8 | -marked_attendance_section |
- - Section Break | -- Marked Attendance - - | -- |
| 9 | -marked_attendance_html |
- - HTML | -- Marked Attendance HTML - - | -- |
Inherits from frappe.model.document.Document - -
Public API
- /api/method/erpnext.hr.doctype.employee_attendance_tool.employee_attendance_tool.get_employees
-
- - - erpnext.hr.doctype.employee_attendance_tool.employee_attendance_tool.get_employees - (date, department=None, branch=None, company=None) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.employee_attendance_tool.employee_attendance_tool.mark_employee_attendance
-
- - - erpnext.hr.doctype.employee_attendance_tool.employee_attendance_tool.mark_employee_attendance - (employee_list, status, date, company=None) -
-No docs
-Table Name: tabEmployee Education
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -school_univ |
- - Small Text | -- School/University - - | -- |
| 2 | -qualification |
- - Data | -- Qualification - - | -- |
| 3 | -level |
- - Select | -- Level - - | -
- Graduate -Post Graduate -Under Graduate- |
-
| 4 | -year_of_passing |
- - Int | -- Year of Passing - - | -- |
| 5 | -class_per |
- - Data | -- Class / Percentage - - | -- |
| 6 | -maj_opt_subj |
- - Text | -- Major/Optional Subjects - - | -- |
Table Name: tabEmployee External Work History
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company_name |
- - Data | -- Company - - | -- |
| 2 | -designation |
- - Data | -- Designation - - | -- |
| 3 | -salary |
- - Currency | -- Salary - - | -
- Company:company:default_currency- |
-
| 4 | -address |
- - Small Text | -- Address - - | -- |
| 5 | -contact |
- - Data | -- Contact - - | -- |
| 6 | -total_experience |
- - Data | -- Total Experience - - | -- |
Table Name: tabEmployee Internal Work History
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 2 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 3 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 4 | -from_date |
- - Date | -- From Date - - | -- |
| 5 | -to_date |
- - Date | -- To Date - - | -- |
Table Name: tabEmployee Leave Approver
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -leave_approver |
- - Link | -- Leave Approver - - | -- - - - -User - - - - | -
Table Name: tabEmployment Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -employee_type_name |
- - Data | -- Employment Type - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabExpense Claim
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -naming_series |
- - Select | -- Series - - | -
- EXP- |
-
| 2 | -approval_status |
- - Select | -- Approval Status - - | -
- Draft -Approved -Rejected- |
-
| 3 | -exp_approver |
- - Link | -
- Approver
- - A user with "Expense Approver" role - |
- - - - - -User - - - - | -
| 4 | -column_break0 |
- - Column Break | -- - - | -- |
| 5 | -total_claimed_amount |
- - Currency | -- Total Claimed Amount - - | -
- Company:company:default_currency- |
-
| 6 | -total_sanctioned_amount |
- - Currency | -- Total Sanctioned Amount - - | -
- Company:company:default_currency- |
-
| 7 | -expense_details |
- - Section Break | -- - - | -- |
| 8 | -expenses |
- - Table | -- Expenses - - | -- - - - -Expense Claim Detail - - - - | -
| 9 | -sb1 |
- - Section Break | -- - - | -
- Simple- |
-
| 10 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 11 | -employee |
- - Link | -- From Employee - - | -- - - - -Employee - - - - | -
| 12 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 13 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 14 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 15 | -cb1 |
- - Column Break | -- - - | -- |
| 16 | -total_amount_reimbursed |
- - Currency | -- Total Amount Reimbursed - - | -
- Company:company:default_currency- |
-
| 17 | -remark |
- - Small Text | -- Remark - - | -- |
| 18 | -project |
- - Link | -- Project - - | -- - - - -Project - - - - | -
| 19 | -task |
- - Link | -- Task - - | -- - - - -Task - - - - | -
| 20 | -title |
- - Data | -- Title - - | -- |
| 21 | -email_id |
- - Data | -- Employees Email Id - - | -- |
| 22 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Expense Claim - - - - | -
Inherits from frappe.model.document.Document - -
- - - calculate_total_amount - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - update_task - (self) -
-No docs
-- - - update_task_and_project - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_expense_approver - (self) -
-No docs
-- - - validate_sanctioned_amount - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Public API
- /api/method/erpnext.hr.doctype.expense_claim.expense_claim.get_expense_approver
-
- - - erpnext.hr.doctype.expense_claim.expense_claim.get_expense_approver - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Table Name: tabExpense Claim Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -expense_date |
- - Date | -- Expense Date - - | -- |
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -expense_type |
- - Link | -- Expense Claim Type - - | -- - - - -Expense Claim Type - - - - | -
| 4 | -default_account |
- - Link | -- Default Account - - | -- - - - -Account - - - - | -
| 5 | -section_break_4 |
- - Section Break | -- - - | -- |
| 6 | -description |
- - Text Editor | -- Description - - | -- |
| 7 | -section_break_6 |
- - Section Break | -- - - | -- |
| 8 | -claim_amount |
- - Currency | -- Claim Amount - - | -
- Company:company:default_currency- |
-
| 9 | -column_break_8 |
- - Column Break | -- - - | -- |
| 10 | -sanctioned_amount |
- - Currency | -- Sanctioned Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabExpense Claim Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -expense_type |
- - Data | -- Expense Claim Type - - | -- |
| 2 | -default_account |
- - Link | -- Default Account - - | -- - - - -Account - - - - | -
| 3 | -description |
- - Small Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabHoliday
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -description |
- - Text Editor | -- Description - - | -- |
| 2 | -holiday_date |
- - Date | -- Date - - | -- |
Table Name: tabHoliday List
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -holiday_list_name |
- - Data | -- Holiday List Name - - | -- |
| 2 | -is_default |
- - Check | -- Default - - | -- |
| 3 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 4 | -weekly_off |
- - Select | -- Weekly Off - - | -
- -Sunday -Monday -Tuesday -Wednesday -Thursday -Friday -Saturday- |
-
| 5 | -get_weekly_off_dates |
- - Button | -- Get Weekly Off Dates - - | -
- get_weekly_off_dates- |
-
| 6 | -holidays |
- - Table | -- Holidays - - | -- - - - -Holiday - - - - | -
| 7 | -clear_table |
- - Button | -- Clear Table - - | -
- clear_table- |
-
Inherits from frappe.model.document.Document - -
- - - clear_table - (self) -
-No docs
-- - - get_weekly_off_date_list - (self, year_start_date, year_end_date) -
-No docs
-- - - get_weekly_off_dates - (self) -
-No docs
-- - - update_default_holiday_list - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_days - (self) -
-No docs
-- - - validate_values - (self) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.holiday_list.holiday_list.get_events
-
- - - erpnext.hr.doctype.holiday_list.holiday_list.get_events - (start, end, filters=None) -
-No docs
-- - - erpnext.hr.doctype.holiday_list.holiday_list.get_fy_start_end_dates - (fiscal_year) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -employee_settings |
- - Section Break | -- Employee Settings - - | -- |
| 2 | -emp_created_by |
- - Select | -
- Employee Records to be created by
- - Employee record is created using selected field. - |
-
- Naming Series -Employee Number- |
-
| 3 | -stop_birthday_reminders |
- - Check | -
- Stop Birthday Reminders
- - Don't send Employee Birthday Reminders - |
- - |
| 4 | -payroll_settings |
- - Section Break | -- Payroll Settings - - | -- |
| 5 | -include_holidays_in_total_working_days |
- - Check | -
- Include holidays in Total no. of Working Days
- - If checked, Total no. of Working Days will include holidays, and this will reduce the value of Salary Per Day - |
- - |
Inherits from frappe.model.document.Document - -
Table Name: tabJob Applicant
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -applicant_name |
- - Data | -- Applicant Name - - | -- |
| 2 | -email_id |
- - Data | -- Email Id - - | -
- |
-
| 3 | -status |
- - Select | -- Status - - | -
- Open -Replied -Rejected -Hold- |
-
| 4 | -column_break_3 |
- - Column Break | -- - - | -- |
| 5 | -job_opening |
- - Link | -- Job Opening - - | -- - - - -Job Opening - - - - | -
| 6 | -section_break_5 |
- - Section Break | -- - - | -- |
| 7 | -thread_html |
- - HTML | -- Thread HTML - - | -- |
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - check_email_id_is_unique - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabJob Opening
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -job_title |
- - Data | -- Job Title - - | -- |
| 2 | -status |
- - Select | -- Status - - | -
- Open -Closed- |
-
| 3 | -description |
- - Text Editor | -
- Description
- - Job profile, qualifications required etc. - |
- - |
Inherits from frappe.model.document.Document - -
Table Name: tabLeave Allocation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 3 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 4 | -column_break1 |
- - Column Break | -- - - | -- |
| 5 | -description |
- - Small Text | -- Description - - | -- |
| 6 | -section_break_6 |
- - Section Break | -- - - | -- |
| 7 | -leave_type |
- - Link | -- Leave Type - - | -- - - - -Leave Type - - - - | -
| 8 | -from_date |
- - Date | -- From Date - - | -- |
| 9 | -to_date |
- - Date | -- To Date - - | -- |
| 10 | -column_break_10 |
- - Column Break | -- - - | -- |
| 11 | -new_leaves_allocated |
- - Float | -- New Leaves Allocated - - | -- |
| 12 | -carry_forward |
- - Check | -- Add unused leaves from previous allocations - - | -- |
| 13 | -carry_forwarded_leaves |
- - Float | -- Unused leaves - - | -- |
| 14 | -total_leaves_allocated |
- - Float | -- Total Leaves Allocated - - | -- |
| 15 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Leave Allocation - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - on_update_after_submit - (self) -
-No docs
-- - - set_total_leaves_allocated - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_against_leave_applications - (self) -
-No docs
-- - - validate_allocation_overlap - (self) -
-No docs
-- - - validate_back_dated_allocation - (self) -
-No docs
-- - - validate_new_leaves_allocated_value - (self) -
-validate that leave allocation is in multiples of 0.5
-- - - validate_period - (self) -
-No docs
-- - - validate_total_leaves_allocated - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Public API
- /api/method/erpnext.hr.doctype.leave_allocation.leave_allocation.get_carry_forwarded_leaves
-
- - - erpnext.hr.doctype.leave_allocation.leave_allocation.get_carry_forwarded_leaves - (employee, leave_type, date, carry_forward=None) -
-No docs
-- - - erpnext.hr.doctype.leave_allocation.leave_allocation.validate_carry_forward - (leave_type) -
-No docs
-Table Name: tabLeave Application
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -status |
- - Select | -- Status - - | -
- Open -Approved -Rejected- |
-
| 2 | -column_break_12 |
- - Column Break | -- - - | -- |
| 3 | -leave_type |
- - Link | -- Leave Type - - | -- - - - -Leave Type - - - - | -
| 4 | -leave_balance |
- - Float | -- Leave Balance Before Application - - | -- |
| 5 | -section_break_5 |
- - Section Break | -- - - | -- |
| 6 | -from_date |
- - Date | -- From Date - - | -- |
| 7 | -to_date |
- - Date | -- To Date - - | -- |
| 8 | -half_day |
- - Check | -- Half Day - - | -- |
| 9 | -total_leave_days |
- - Float | -- Total Leave Days - - | -- |
| 10 | -column_break1 |
- - Column Break | -- - - | -- |
| 11 | -description |
- - Small Text | -- Reason - - | -- |
| 12 | -section_break_7 |
- - Section Break | -- - - | -- |
| 13 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 14 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 15 | -column_break_15 |
- - Column Break | -- - - | -- |
| 16 | -leave_approver |
- - Link | -- Leave Approver - - | -- - - - -User - - - - | -
| 17 | -leave_approver_name |
- - Read Only | -- Leave Approver Name - - | -- |
| 18 | -sb10 |
- - Section Break | -- - - | -- |
| 19 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 20 | -follow_via_email |
- - Check | -- Follow via Email - - | -- |
| 21 | -column_break_17 |
- - Column Break | -- - - | -- |
| 22 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 23 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 24 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Leave Application - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - get_feed - (self) -
-No docs
-- - - notify - (self, args) -
-No docs
-- - - notify_employee - (self, status) -
-No docs
-- - - notify_leave_approver - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - show_block_day_warning - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_back_dated_application - (self) -
-No docs
-- - - validate_balance_leaves - (self) -
-No docs
-- - - validate_block_days - (self) -
-No docs
-- - - validate_dates - (self) -
-No docs
-- - - validate_dates_acorss_allocation - (self) -
-No docs
-- - - validate_leave_approver - (self) -
-No docs
-- - - validate_leave_overlap - (self) -
-No docs
-- - - validate_max_days - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.hr.doctype.leave_application.leave_application.add_block_dates - (events, start, end, employee, company) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.add_department_leaves - (events, start, end, employee, company) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.add_holidays - (events, start, end, employee, company) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.add_leaves - (events, start, end, match_conditions=None) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.get_approved_leaves_for_period - (employee, leave_type, from_date, to_date) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.leave_application.leave_application.get_approvers
-
- - - erpnext.hr.doctype.leave_application.leave_application.get_approvers - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.leave_application.leave_application.get_events
-
- - - erpnext.hr.doctype.leave_application.leave_application.get_events - (start, end) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.get_holidays - (employee, from_date, to_date) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.get_leave_allocation_records - (date, employee=None) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on
-
- - - erpnext.hr.doctype.leave_application.leave_application.get_leave_balance_on - (employee, leave_type, date, allocation_records=None, consider_all_leaves_in_the_allocation_period=False) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.leave_application.leave_application.get_number_of_leave_days
-
- - - erpnext.hr.doctype.leave_application.leave_application.get_number_of_leave_days - (employee, leave_type, from_date, to_date, half_day=None) -
-No docs
-- - - erpnext.hr.doctype.leave_application.leave_application.is_lwp - (leave_type) -
-No docs
-Table Name: tabLeave Block List
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -leave_block_list_name |
- - Data | -- Leave Block List Name - - | -- |
| 2 | -year |
- - Link | -- Year - - | -- - - - -Fiscal Year - - - - | -
| 3 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 4 | -applies_to_all_departments |
- - Check | -
- Applies to Company
- - If not checked, the list will have to be added to each Department where it has to be applied. - |
- - |
| 5 | -block_days |
- - Section Break | -
- Block Days
- - Stop users from making Leave Applications on following days. - |
- - |
| 6 | -leave_block_list_dates |
- - Table | -- Leave Block List Dates - - | -- - - - -Leave Block List Date - - - - | -
| 7 | -allow_list |
- - Section Break | -
- Allow Users
- - Allow the following users to approve Leave Applications for block days. - |
- - |
| 8 | -leave_block_list_allowed |
- - Table | -- Leave Block List Allowed - - | -- - - - -Leave Block List Allow - - - - | -
Inherits from frappe.model.document.Document - -
Public API
- /api/method/erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_dates
-
- - - erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_dates - (from_date, to_date, employee=None, company=None, all_lists=False) -
-No docs
-- - - erpnext.hr.doctype.leave_block_list.leave_block_list.get_applicable_block_lists - (employee=None, company=None, all_lists=False) -
-No docs
-- - - erpnext.hr.doctype.leave_block_list.leave_block_list.is_user_in_allow_list - (block_list) -
-No docs
-Table Name: tabLeave Block List Allow
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -allow_user |
- - Link | -- Allow User - - | -- - - - -User - - - - | -
Table Name: tabLeave Block List Date
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -block_date |
- - Date | -- Block Date - - | -- |
| 2 | -reason |
- - Text | -- Reason - - | -- |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -employee_type |
- - Link | -
- Employee Type
- - Leave blank if considered for all employee types - |
- - - - - -Employment Type - - - - | -
| 3 | -branch |
- - Link | -
- Branch
- - Leave blank if considered for all branches - |
- - - - - -Branch - - - - | -
| 4 | -department |
- - Link | -
- Department
- - Leave blank if considered for all departments - |
- - - - - -Department - - - - | -
| 5 | -designation |
- - Link | -
- Designation
- - Leave blank if considered for all designations - |
- - - - - -Designation - - - - | -
| 6 | -column_break1 |
- - Column Break | -- - - | -- |
| 7 | -from_date |
- - Date | -- From Date - - | -- |
| 8 | -to_date |
- - Date | -- To Date - - | -- |
| 9 | -leave_type |
- - Link | -- Leave Type - - | -- - - - -Leave Type - - - - | -
| 10 | -carry_forward |
- - Check | -
- Carry Forward
- - Please select Carry Forward if you also want to include previous fiscal year's balance leaves to this fiscal year - |
- - |
| 11 | -no_of_days |
- - Float | -- New Leaves Allocated (In Days) - - | -- |
| 12 | -allocate |
- - Button | -- Allocate - - | -
- allocate_leave- |
-
Inherits from frappe.model.document.Document - -
- - - allocate_leave - (self) -
-No docs
-- - - get_employees - (self) -
-No docs
-- - - to_date_validation - (self) -
-No docs
-- - - validate_values - (self) -
-No docs
-Table Name: tabLeave Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -leave_type_name |
- - Data | -- Leave Type Name - - | -- |
| 2 | -max_days_allowed |
- - Data | -- Max Days Leave Allowed - - | -- |
| 3 | -is_carry_forward |
- - Check | -- Is Carry Forward - - | -- |
| 4 | -is_encash |
- - Check | -- Is Encash - - | -- |
| 5 | -is_lwp |
- - Check | -- Is Leave Without Pay - - | -- |
| 6 | -allow_negative |
- - Check | -- Allow Negative Balance - - | -- |
| 7 | -include_holiday |
- - Check | -- Include holidays within leaves as leaves - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabOffer Letter
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -job_applicant |
- - Link | -- Job Applicant - - | -- - - - -Job Applicant - - - - | -
| 2 | -applicant_name |
- - Data | -- Applicant Name - - | -
- job_applicant.applicant_name- |
-
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -status |
- - Select | -- Status - - | -
- Awaiting Response -Accepted -Rejected- |
-
| 5 | -offer_date |
- - Date | -- Offer Date - - | -- |
| 6 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 7 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 8 | -section_break_4 |
- - Section Break | -- - - | -- |
| 9 | -offer_terms |
- - Table | -- Offer Letter Terms - - | -- - - - -Offer Letter Term - - - - | -
| 10 | -section_break_14 |
- - Section Break | -- - - | -- |
| 11 | -select_terms |
- - Link | -- Select Terms and Conditions - - | -- - - - -Terms and Conditions - - - - | -
| 12 | -terms |
- - Text Editor | -- Terms and Conditions - - | -- |
| 13 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Offer Letter - - - - | -
Inherits from frappe.model.document.Document - -
Table Name: tabOffer Letter Term
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -offer_term |
- - Link | -- Offer Term - - | -- - - - -Offer Term - - - - | -
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -value |
- - Small Text | -- Value / Description - - | -- |
Table Name: tabOffer Term
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -offer_term |
- - Data | -- Offer Term - - | -- |
Inherits from frappe.model.document.Document - -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -section_break0 |
- - Section Break | -- Select Employees - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 4 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 5 | -send_email |
- - Check | -
- Send Email
- - Check if you want to send salary slip in mail to each employee while submitting salary slip - |
- - |
| 6 | -column_break1 |
- - Column Break | -- - - | -- |
| 7 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 8 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 9 | -select_payroll_year_and_month |
- - Section Break | -- Select Payroll Year and Month - - | -- |
| 10 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 11 | -column_break_11 |
- - Column Break | -- - - | -- |
| 12 | -month |
- - Select | -- Month - - | -
- -01 -02 -03 -04 -05 -06 -07 -08 -09 -10 -11 -12- |
-
| 13 | -process_payroll |
- - Section Break | -- Process Payroll - - | -- |
| 14 | -column_break2 |
- - Column Break | -- - - | -- |
| 15 | -create_salary_slip |
- - Button | -
- Create Salary Slip
- - Creates salary slip for above mentioned criteria. - |
- - |
| 16 | -column_break3 |
- - Column Break | -- - - | -- |
| 17 | -submit_salary_slip |
- - Button | -
- Submit Salary Slip
- - Submit all salary slips for the above selected criteria - |
- - |
| 18 | -column_break4 |
- - Column Break | -- - - | -- |
| 19 | -make_bank_entry |
- - Button | -
- Make Bank Entry
- - Create Bank Entry for the total salary paid for the above selected criteria - |
- - |
| 20 | -section_break2 |
- - Section Break | -- - - | -- |
| 21 | -activity_log |
- - HTML | -- Activity Log - - | -- |
Inherits from frappe.model.document.Document - -
- - - check_mandatory - (self) -
-No docs
-- - - create_log - (self, ss_list) -
-No docs
-- - - create_sal_slip - (self) -
-Creates salary slip for selected employees if already not created
-- - - create_submit_log - (self, all_ss, not_submitted_ss) -
-No docs
-- - - format_as_links - (self, ss_list) -
-No docs
-- - - get_emp_list - (self) -
-Returns list of active employees based on selected criteria -and for which salary structure exists
-- - - get_filter_condition - (self) -
-No docs
-- - - get_joining_releiving_condition - (self) -
-No docs
-- - - get_sal_slip_list - (self) -
-Returns list of salary slips based on selected criteria -which are not submitted
-- - - get_total_salary - (self) -
-Get total salary amount from submitted salary slip based on selected criteria
-- - - make_journal_entry - (self, salary_account=None) -
-No docs
-- - - submit_salary_slip - (self) -
-Submit all salary slips based on selected criteria
-- - - erpnext.hr.doctype.process_payroll.process_payroll.get_month_details - (year, month) -
-No docs
-Table Name: tabSalary Slip
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 3 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 4 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 5 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 6 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 7 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 8 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -month |
- - Select | -- Month - - | -
- -01 -02 -03 -04 -05 -06 -07 -08 -09 -10 -11 -12- |
-
| 11 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 12 | -total_days_in_month |
- - Float | -- Working Days - - | -- |
| 13 | -leave_without_pay |
- - Float | -- Leave Without Pay - - | -- |
| 14 | -payment_days |
- - Float | -- Payment Days - - | -- |
| 15 | -bank_name |
- - Data | -- Bank Name - - | -- |
| 16 | -bank_account_no |
- - Data | -- Bank Account No. - - | -- |
| 17 | -email_check |
- - Check | -- Email - - | -- |
| 18 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Salary Slip - - - - | -
| 19 | -earning_deduction |
- - Section Break | -- Earning & Deduction - - | -- |
| 20 | -earning |
- - Column Break | -- Earning - - | -- |
| 21 | -earnings |
- - Table | -- Earnings - - | -- - - - -Salary Slip Earning - - - - | -
| 22 | -deduction |
- - Column Break | -- Deduction - - | -- |
| 23 | -deductions |
- - Table | -- Deductions - - | -- - - - -Salary Slip Deduction - - - - | -
| 24 | -totals |
- - Section Break | -- - - | -- |
| 25 | -column_break_25 |
- - Column Break | -- - - | -- |
| 26 | -column_break_26 |
- - Column Break | -- - - | -- |
| 27 | -arrear_amount |
- - Currency | -- Arrear Amount - - | -
- Company:company:default_currency- |
-
| 28 | -leave_encashment_amount |
- - Currency | -- Leave Encashment Amount - - | -
- Company:company:default_currency- |
-
| 29 | -gross_pay |
- - Currency | -- Gross Pay - - | -
- Company:company:default_currency- |
-
| 30 | -total_deduction |
- - Currency | -- Total Deduction - - | -
- Company:company:default_currency- |
-
| 31 | -net_pay |
- - Currency | -
- Net Pay
- - Gross Pay + Arrear Amount +Encashment Amount - Total Deduction - |
-
- Company:company:default_currency- |
-
| 32 | -rounded_total |
- - Currency | -- Rounded Total - - | -
- Company:company:default_currency- |
-
| 33 | -total_in_words |
- - Data | -
- Total in words
- - Net Pay (in words) will be visible once you save the Salary Slip. - |
- - |
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - autoname - (self) -
-No docs
-- - - calculate_ded_total - (self) -
-No docs
-- - - calculate_earning_total - (self) -
-No docs
-- - - calculate_lwp - (self, holidays, m) -
-No docs
-- - - calculate_net_pay - (self) -
-No docs
-- - - check_existing - (self) -
-No docs
-- - - check_sal_struct - (self, joining_date, relieving_date) -
-No docs
-- - - get_emp_and_leave_details - (self) -
-No docs
-- - - get_holidays_for_employee - (self, start_date, end_date) -
-No docs
-- - - get_leave_details - (self, joining_date=None, relieving_date=None, lwp=None) -
-No docs
-- - - get_payment_days - (self, month, joining_date, relieving_date) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - pull_emp_details - (self) -
-No docs
-- - - pull_sal_struct - (self, struct) -
-No docs
-- - - send_mail_funct - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabSalary Slip Deduction
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -d_type |
- - Link | -- Type - - | -- - - - -Deduction Type - - - - | -
| 2 | -d_amount |
- - Currency | -- Default Amount - - | -
- Company:company:default_currency- |
-
| 3 | -d_depends_on_lwp |
- - Check | -- Depends on Leave Without Pay - - | -- |
| 4 | -d_modified_amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabSalary Slip Earning
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -e_type |
- - Link | -- Type - - | -- - - - -Earning Type - - - - | -
| 2 | -e_amount |
- - Currency | -- Default Amount - - | -
- Company:company:default_currency- |
-
| 3 | -e_depends_on_lwp |
- - Check | -- Depends on Leave Without Pay - - | -- |
| 4 | -e_modified_amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabSalary Structure
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 3 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 4 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 5 | -designation |
- - Link | -- Designation - - | -- - - - -Designation - - - - | -
| 6 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 7 | -column_break1 |
- - Column Break | -- - - | -- |
| 8 | -is_active |
- - Select | -- Is Active - - | -
- -Yes -No- |
-
| 9 | -from_date |
- - Date | -- From Date - - | -- |
| 10 | -to_date |
- - Date | -- To Date - - | -- |
| 11 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 12 | -earning_deduction |
- - Section Break | -
- Monthly Earning & Deduction
- - Salary breakup based on Earning and Deduction. - |
- - |
| 13 | -earning |
- - Column Break | -- Earning - - | -- |
| 14 | -earnings |
- - Table | -- Earnings - - | -- - - - -Salary Structure Earning - - - - | -
| 15 | -deduction |
- - Column Break | -- Deduction - - | -- |
| 16 | -deductions |
- - Table | -- Deductions - - | -- - - - -Salary Structure Deduction - - - - | -
| 17 | -section_break0 |
- - Section Break | -- - - | -
- Simple- |
-
| 18 | -column_break2 |
- - Column Break | -- - - | -- |
| 19 | -total_earning |
- - Currency | -- Total Earning - - | -
- Company:company:default_currency- |
-
| 20 | -total_deduction |
- - Currency | -- Total Deduction - - | -
- Company:company:default_currency- |
-
| 21 | -column_break3 |
- - Column Break | -- - - | -- |
| 22 | -net_pay |
- - Currency | -- Net Pay - - | -
- Company:company:default_currency- |
-
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - before_test_insert - (self) -
-Make any existing salary structure for employee inactive.
-- - - check_existing - (self) -
-No docs
-- - - get_employee_details - (self) -
-No docs
-- - - get_other_active_salary_structure - (self) -
-No docs
-- - - get_ss_values - (self, employee) -
-No docs
-- - - make_earn_ded_table - (self) -
-No docs
-- - - make_table - (self, doct_name, tab_fname, tab_name) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_amount - (self) -
-No docs
-- - - validate_employee - (self) -
-No docs
-- - - validate_joining_date - (self) -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip
-
- - - erpnext.hr.doctype.salary_structure.salary_structure.make_salary_slip - (source_name, target_doc=None) -
-No docs
-Table Name: tabSalary Structure Deduction
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -d_type |
- - Link | -- Type - - | -- - - - -Deduction Type - - - - | -
| 2 | -d_modified_amt |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 3 | -depend_on_lwp |
- - Check | -- Reduce Deduction for Leave Without Pay (LWP) - - | -- |
Table Name: tabSalary Structure Earning
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -e_type |
- - Link | -- Type - - | -- - - - -Earning Type - - - - | -
| 2 | -modified_value |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 3 | -depend_on_lwp |
- - Check | -- Reduce Earning for Leave Without Pay (LWP) - - | -- |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -download_template |
- - Section Break | -
- Download Template
- - Download the Template, fill appropriate data and attach the modified file. -All dates and employee combination in the selected period will come in the template, with existing attendance records - |
- - |
| 2 | -att_fr_date |
- - Date | -- Attendance From Date - - | -- |
| 3 | -att_to_date |
- - Date | -- Attendance To Date - - | -- |
| 4 | -get_template |
- - Button | -- Get Template - - | -- |
| 5 | -upload_attendance_data |
- - Section Break | -- Import Attendance - - | -- |
| 6 | -upload_html |
- - HTML | -- Upload HTML - - | -- |
| 7 | -import_log |
- - HTML | -- Import Log - - | -- |
Inherits from frappe.model.document.Document - -
- - - erpnext.hr.doctype.upload_attendance.upload_attendance.add_data - (w, args) -
-No docs
-- - - erpnext.hr.doctype.upload_attendance.upload_attendance.add_header - (w) -
-No docs
-- - - erpnext.hr.doctype.upload_attendance.upload_attendance.get_active_employees - () -
-No docs
-- - - erpnext.hr.doctype.upload_attendance.upload_attendance.get_dates - (args) -
-get list of dates in between from date and to date
-- - - erpnext.hr.doctype.upload_attendance.upload_attendance.get_existing_attendance_records - (args) -
-No docs
-- - - erpnext.hr.doctype.upload_attendance.upload_attendance.get_naming_series - () -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.upload_attendance.upload_attendance.get_template
-
- - - erpnext.hr.doctype.upload_attendance.upload_attendance.get_template - () -
-No docs
-Public API
- /api/method/erpnext.hr.doctype.upload_attendance.upload_attendance.upload
-
- - - erpnext.hr.doctype.upload_attendance.upload_attendance.upload - () -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -publish |
- - Check | -- Publish Items to Hub - - | -- |
| 2 | -section_break_2 |
- - Section Break | -- - - | -- |
| 3 | -publish_pricing |
- - Check | -- Publish Pricing - - | -- |
| 4 | -publish_availability |
- - Check | -- Publish Availability - - | -- |
| 5 | -column_break_5 |
- - Column Break | -- - - | -- |
| 6 | -sync_now |
- - Button | -- Sync Now - - | -
- sync- |
-
| 7 | -section_break_6 |
- - Section Break | -- - - | -- |
| 8 | -seller_name |
- - Data | -- Seller Name - - | -- |
| 9 | -seller_country |
- - Link | -- Seller Country - - | -- - - - -Country - - - - | -
| 10 | -seller_email |
- - Data | -- Seller Email - - | -
- |
-
| 11 | -column_break_10 |
- - Column Break | -- - - | -- |
| 12 | -seller_city |
- - Data | -- Seller City - - | -- |
| 13 | -seller_website |
- - Data | -- Seller Website - - | -- |
| 14 | -section_break_13 |
- - Section Break | -- - - | -- |
| 15 | -seller_description |
- - Text Editor | -- Seller Description - - | -- |
| 16 | -name_token |
- - Data | -- Name Token - - | -- |
| 17 | -access_token |
- - Data | -- Access Token - - | -- |
Inherits from frappe.model.document.Document - -
- - - get_args - (self) -
-No docs
-- - - publish_selling_items - (self) -
-Set publish_in_hub=1 for all Sales Items
- - - register - (self) -
-Register at hub.erpnext.com, save name_token and access_token
- - - sync - (self, verbose=True) -
-Sync items with hub.erpnext.com
-- - - unpublish - (self) -
-Unpublish from hub.erpnext.com
-- - - update_seller_details - (self) -
-Update details at hub.erpnext.com
-- - - validate - (self) -
-No docs
-Browse DocTypes by Module
- -Table Name: tabBOM
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item |
- - Link | -
- Item
- - Item to be manufactured or repacked - |
- - - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -rm_cost_as_per |
- - Select | -- Rate Of Materials Based On - - | -
- Valuation Rate -Last Purchase Rate -Price List- |
-
| 4 | -buying_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 5 | -cb0 |
- - Column Break | -- - - | -- |
| 6 | -is_active |
- - Check | -- Is Active - - | -- |
| 7 | -is_default |
- - Check | -- Is Default - - | -- |
| 8 | -with_operations |
- - Check | -
- With Operations
- - Manage cost of operations - |
- - |
| 9 | -operations_section |
- - Section Break | -
- Operations
- - Specify the operations, operating cost and give a unique Operation no to your operations. - |
- - |
| 10 | -operations |
- - Table | -- Operations - - | -- - - - -BOM Operation - - - - | -
| 11 | -materials_section |
- - Section Break | -- Materials - - | -- |
| 12 | -items |
- - Table | -- Items - - | -- - - - -BOM Item - - - - | -
| 13 | -quantity |
- - Float | -
- Quantity
- - Quantity of item obtained after manufacturing / repacking from given quantities of raw materials - |
- - |
| 14 | -costing |
- - Section Break | -- Costing - - | -- |
| 15 | -operating_cost |
- - Currency | -- Operating Cost - - | -
- Company:company:default_currency- |
-
| 16 | -raw_material_cost |
- - Currency | -- Raw Material Cost - - | -
- Company:company:default_currency- |
-
| 17 | -cb1 |
- - Column Break | -- - - | -- |
| 18 | -total_cost |
- - Currency | -- Total Cost - - | -
- Company:company:default_currency- |
-
| 19 | -more_info_section |
- - Section Break | -- - - | -- |
| 20 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 21 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 22 | -amended_from |
- - Link | -- Amended From - - | -- - - - -BOM - - - - | -
| 23 | -col_break23 |
- - Column Break | -- - - | -- |
| 24 | -uom |
- - Link | -- Item UOM - - | -- - - - -UOM - - - - | -
| 25 | -section_break_25 |
- - Section Break | -- - - | -- |
| 26 | -description |
- - Small Text | -- Item Desription - - | -- |
| 27 | -column_break_27 |
- - Column Break | -- - - | -- |
| 28 | -image |
- - Attach | -- Image - - | -- |
| 29 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 30 | -section_break0 |
- - Section Break | -- Materials Required (Exploded) - - | -- |
| 31 | -exploded_items |
- - Table | -- Exploded_items - - | -- - - - -BOM Explosion Item - - - - | -
Inherits from frappe.model.document.Document - -
- - - add_exploded_items - (self) -
-Add items to Flat BOM table
-- - - add_to_cur_exploded_items - (self, args) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - calculate_cost - (self) -
-Calculate bom totals
-- - - calculate_op_cost - (self) -
-Update workstation rate and calculates totals
-- - - calculate_rm_cost - (self) -
-Fetch RM rate as per today's valuation rate and calculate totals
-- - - check_recursion - (self) -
-Check whether recursion occurs in any bom
-- - - clear_operations - (self) -
-No docs
-- - - get_bom_material_detail - (self, args=None) -
-Get raw material details like uom, desc and rate
-- - - get_bom_unitcost - (self, bom_no) -
-No docs
-- - - get_child_exploded_items - (self, bom_no, qty) -
-Add all items from Flat BOM of child BOM
-- - - get_exploded_items - (self) -
-Get all raw materials including items from child bom
-- - - get_item_det - (self, item_code) -
-No docs
-- - - get_rm_rate - (self, arg) -
-Get raw material rate as per selected method, if bom exists takes bom cost
-
-- - - get_valuation_rate - (self, args) -
-Get weighted average of valuation rate from all warehouses
-- - - manage_default_bom - (self) -
-Uncheck others if current one is selected as default, -update default bom in item master
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - on_update_after_submit - (self) -
-No docs
-- - - set_bom_material_details - (self) -
-No docs
-- - - traverse_tree - (self, bom_list=[]) -
-No docs
-- - - update_cost - (self) -
-No docs
-- - - update_cost_and_exploded_items - (self, bom_list=[]) -
-No docs
-- - - update_exploded_items - (self) -
-Update Flat BOM, following will be correct data
-- - - validate - (self) -
-No docs
-- - - validate_bom_links - (self) -
-No docs
-- - - validate_main_item - (self) -
-Validate main FG item
-- - - validate_materials - (self) -
-Validate raw material entries
-- - - validate_operations - (self) -
-No docs
-- - - validate_rm_item - (self, item) -
-No docs
-Public API
- /api/method/erpnext.manufacturing.doctype.bom.bom.get_bom_items
-
- - - erpnext.manufacturing.doctype.bom.bom.get_bom_items - (bom, company, qty=1, fetch_exploded=1) -
-No docs
-- - - erpnext.manufacturing.doctype.bom.bom.get_bom_items_as_dict - (bom, company, qty=1, fetch_exploded=1) -
-No docs
-- - - erpnext.manufacturing.doctype.bom.bom.validate_bom_no - (item, bom_no) -
-Validate BOM No of sub-contracted items
-Table Name: tabBOM Explosion Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -cb |
- - Column Break | -- - - | -- |
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -section_break_3 |
- - Section Break | -- - - | -- |
| 5 | -description |
- - Text Editor | -- Description - - | -- |
| 6 | -column_break_2 |
- - Column Break | -- - - | -- |
| 7 | -image |
- - Attach | -- Image - - | -- |
| 8 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 9 | -section_break_4 |
- - Section Break | -- - - | -- |
| 10 | -qty |
- - Float | -- Qty - - | -- |
| 11 | -rate |
- - Currency | -- Rate - - | -
- Company:company:default_currency- |
-
| 12 | -qty_consumed_per_unit |
- - Float | -- Qty Consumed Per Unit - - | -- |
| 13 | -column_break_8 |
- - Column Break | -- - - | -- |
| 14 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 15 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabBOM Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -bom_no |
- - Link | -- BOM No - - | -- - - - -BOM - - - - | -
| 5 | -section_break_5 |
- - Section Break | -- - - | -- |
| 6 | -description |
- - Text Editor | -- Item Description - - | -- |
| 7 | -col_break1 |
- - Column Break | -- - - | -- |
| 8 | -image |
- - Attach | -- Image - - | -- |
| 9 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 10 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 11 | -qty |
- - Float | -- Qty - - | -- |
| 12 | -rate |
- - Currency | -
- Rate
- - See "Rate Of Materials Based On" in Costing Section - |
-
- Company:company:default_currency- |
-
| 13 | -col_break2 |
- - Column Break | -- - - | -- |
| 14 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 15 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 16 | -scrap |
- - Float | -- Scrap % - - | -- |
| 17 | -qty_consumed_per_unit |
- - Float | -- Qty Consumed Per Unit - - | -- |
Table Name: tabBOM Operation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -operation |
- - Link | -- Operation - - | -- - - - -Operation - - - - | -
| 2 | -workstation |
- - Link | -- Workstation - - | -- - - - -Workstation - - - - | -
| 3 | -description |
- - Text Editor | -- Operation Description - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -hour_rate |
- - Float | -- Hour Rate - - | -- |
| 6 | -time_in_mins |
- - Float | -
- Operation Time
- - In minutes - |
- - |
| 7 | -operating_cost |
- - Currency | -- Operating Cost - - | -- |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -current_bom |
- - Link | -
- Current BOM
- - The BOM which will be replaced - |
- - - - - -BOM - - - - | -
| 2 | -new_bom |
- - Link | -
- New BOM
- - The new BOM after replacement - |
- - - - - -BOM - - - - | -
| 3 | -replace |
- - Button | -- Replace - - | -
- replace_bom- |
-
Inherits from frappe.model.document.Document - -
- - - get_parent_boms - (self) -
-No docs
-- - - replace_bom - (self) -
-No docs
-- - - update_new_bom - (self) -
-No docs
-- - - validate_bom - (self) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -capacity_planning |
- - Section Break | -- Capacity Planning - - | -- |
| 2 | -disable_capacity_planning |
- - Check | -
- Disable Capacity Planning and Time Tracking
- - Disables creation of time logs against Production Orders. Operations shall not be tracked against Production Order - |
- - |
| 3 | -allow_overtime |
- - Check | -
- Allow Overtime
- - Plan time logs outside Workstation Working Hours. - |
- - |
| 4 | -allow_production_on_holidays |
- - Check | -- Allow Production on Holidays - - | -- |
| 5 | -column_break_3 |
- - Column Break | -- - - | -- |
| 6 | -capacity_planning_for_days |
- - Int | -
- Capacity Planning For (Days)
- - Try planning operations for X days in advance. - |
- - |
| 7 | -mins_between_operations |
- - Int | -
- Time Between Operations (in mins)
- - Default 10 mins - |
- - |
| 8 | -section_break_6 |
- - Section Break | -- - - | -- |
| 9 | -over_production_allowance_percentage |
- - Percent | -- Over Production Allowance Percentage - - | -- |
| 10 | -backflush_raw_materials_based_on |
- - Select | -- Backflush Raw Materials Based On - - | -
- BOM -Material Transferred for Manufacture- |
-
| 11 | -column_break_11 |
- - Column Break | -- - - | -- |
| 12 | -default_wip_warehouse |
- - Link | -- Default Work In Progress Warehouse - - | -- - - - -Warehouse - - - - | -
| 13 | -default_fg_warehouse |
- - Link | -- Default Finished Goods Warehouse - - | -- - - - -Warehouse - - - - | -
Inherits from frappe.model.document.Document - -
- - - erpnext.manufacturing.doctype.manufacturing_settings.manufacturing_settings.get_mins_between_operations - () -
-No docs
-Table Name: tabOperation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -workstation |
- - Link | -- Default Workstation - - | -- - - - -Workstation - - - - | -
| 2 | -section_break_4 |
- - Section Break | -- - - | -- |
| 3 | -description |
- - Text | -- Operation Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabProduction Order
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item |
- - Section Break | -- - - | -
- icon-gift- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- PRO-- |
-
| 3 | -status |
- - Select | -- Status - - | -
- -Draft -Submitted -Stopped -In Process -Completed -Cancelled- |
-
| 4 | -production_item |
- - Link | -- Item To Manufacture - - | -- - - - -Item - - - - | -
| 5 | -bom_no |
- - Link | -- BOM No - - | -- - - - -BOM - - - - | -
| 6 | -use_multi_level_bom |
- - Check | -
- Use Multi-Level BOM
- - Plan material for sub-assemblies - |
- - |
| 7 | -column_break1 |
- - Column Break | -- - - | -- |
| 8 | -qty |
- - Float | -- Qty To Manufacture - - | -- |
| 9 | -material_transferred_for_manufacturing |
- - Float | -- Material Transferred for Manufacturing - - | -- |
| 10 | -produced_qty |
- - Float | -- Manufactured Qty - - | -- |
| 11 | -warehouses |
- - Section Break | -- Warehouses - - | -
- icon-building- |
-
| 12 | -wip_warehouse |
- - Link | -- Work-in-Progress Warehouse - - | -- - - - -Warehouse - - - - | -
| 13 | -column_break_12 |
- - Column Break | -- - - | -- |
| 14 | -fg_warehouse |
- - Link | -- Target Warehouse - - | -- - - - -Warehouse - - - - | -
| 15 | -time |
- - Section Break | -- Time - - | -
- icon-time- |
-
| 16 | -expected_delivery_date |
- - Date | -- Expected Delivery Date - - | -- |
| 17 | -planned_start_date |
- - Datetime | -- Planned Start Date - - | -- |
| 18 | -planned_end_date |
- - Datetime | -- Planned End Date - - | -- |
| 19 | -column_break_13 |
- - Column Break | -- - - | -- |
| 20 | -actual_start_date |
- - Datetime | -- Actual Start Date - - | -- |
| 21 | -actual_end_date |
- - Datetime | -- Actual End Date - - | -- |
| 22 | -operations_section |
- - Section Break | -- Operations - - | -
- icon-wrench- |
-
| 23 | -operations |
- - Table | -- Operations - - | -- - - - -Production Order Operation - - - - | -
| 24 | -section_break_22 |
- - Section Break | -- Operation Cost - - | -- |
| 25 | -planned_operating_cost |
- - Currency | -- Planned Operating Cost - - | -
- Company:company:default_currency- |
-
| 26 | -actual_operating_cost |
- - Currency | -- Actual Operating Cost - - | -
- Company:company:default_currency- |
-
| 27 | -additional_operating_cost |
- - Currency | -- Additional Operating Cost - - | -
- Company:company:default_currency- |
-
| 28 | -column_break_24 |
- - Column Break | -- - - | -- |
| 29 | -total_operating_cost |
- - Currency | -- Total Operating Cost - - | -
- Company:company:default_currency- |
-
| 30 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 31 | -description |
- - Small Text | -- Item Description - - | -- |
| 32 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 33 | -column_break2 |
- - Column Break | -- - - | -- |
| 34 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 35 | -sales_order |
- - Link | -
- Sales Order
- - Manufacture against Sales Order - |
- - - - - -Sales Order - - - - | -
| 36 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 37 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Production Order - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - calculate_operating_cost - (self) -
-No docs
-- - - calculate_time - (self) -
-No docs
-- - - check_operation_fits_in_working_hours - (self, d) -
-Raises expection if operation is longer than working hours in the given workstation.
-- - - delete_time_logs - (self) -
-No docs
-- - - get_holidays - (self, workstation) -
-No docs
-- - - make_time_logs - (self) -
-Capacity Planning. Plan time logs based on earliest availablity of workstation after -Planned Start Date. Time logs will be created and remain in Draft mode and must be submitted -before manufacturing entry can be made.
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_actual_dates - (self) -
-No docs
-- - - set_operation_start_end_time - (self, i, d) -
-Set start and end time for given operation. If first operation, set start as
-planned_start_date, else add time diff to end time of earlier operation.
- - - set_production_order_operations - (self) -
-Fetch operations from BOM and set in 'Production Order'
-- - - stop_unstop - (self, status) -
-Called from client side on Stop/Unstop event
-- - - update_operation_status - (self) -
-No docs
-- - - update_planned_qty - (self) -
-No docs
-- - - update_production_order_qty - (self) -
-Update Manufactured Qty and Material Transferred for Qty in Production Order -based on Stock Entry
-- - - update_status - (self, status=None) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_cancel - (self) -
-No docs
-- - - validate_delivery_date - (self) -
-No docs
-- - - validate_operation_time - (self) -
-No docs
-- - - validate_production_item - (self) -
-No docs
-- - - validate_production_order_against_so - (self) -
-No docs
-- - - validate_qty - (self) -
-No docs
-- - - validate_sales_order - (self) -
-No docs
-- - - validate_warehouse - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Public API
- /api/method/erpnext.manufacturing.doctype.production_order.production_order.get_default_warehouse
-
- - - erpnext.manufacturing.doctype.production_order.production_order.get_default_warehouse - () -
-No docs
-Public API
- /api/method/erpnext.manufacturing.doctype.production_order.production_order.get_events
-
- - - erpnext.manufacturing.doctype.production_order.production_order.get_events - (start, end, filters=None) -
-Returns events for Gantt / Calendar view rendering.
- -Parameters:
- -start - Start date-time.end - End date-time.filters - Filters (JSON).Public API
- /api/method/erpnext.manufacturing.doctype.production_order.production_order.get_item_details
-
- - - erpnext.manufacturing.doctype.production_order.production_order.get_item_details - (item) -
-No docs
-Public API
- /api/method/erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry
-
- - - erpnext.manufacturing.doctype.production_order.production_order.make_stock_entry - (production_order_id, purpose, qty=None) -
-No docs
-Public API
- /api/method/erpnext.manufacturing.doctype.production_order.production_order.make_time_log
-
- - - erpnext.manufacturing.doctype.production_order.production_order.make_time_log - (name, operation, from_time=None, to_time=None, qty=None, project=None, workstation=None, operation_id=None) -
-No docs
-Table Name: tabProduction Order Operation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -details |
- - Section Break | -- - - | -- |
| 2 | -operation |
- - Link | -- Operation - - | -- - - - -Operation - - - - | -
| 3 | -description |
- - Text Editor | -- Operation Description - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -completed_qty |
- - Float | -
- Completed Qty
- - Operation completed for how many finished goods? - |
- - |
| 6 | -status |
- - Select | -- Status - - | -
- Pending -Work in Progress -Completed- |
-
| 7 | -workstation |
- - Link | -- Workstation - - | -- - - - -Workstation - - - - | -
| 8 | -show_time_logs |
- - Button | -- Show Time Logs - - | -- |
| 9 | -estimated_time_and_cost |
- - Section Break | -- Estimated Time and Cost - - | -- |
| 10 | -planned_start_time |
- - Datetime | -- Planned Start Time - - | -- |
| 11 | -planned_end_time |
- - Datetime | -- Planned End Time - - | -- |
| 12 | -column_break_10 |
- - Column Break | -- - - | -- |
| 13 | -time_in_mins |
- - Float | -
- Operation Time
- - in Minutes - |
- - |
| 14 | -hour_rate |
- - Float | -- Hour Rate - - | -- |
| 15 | -planned_operating_cost |
- - Currency | -- Planned Operating Cost - - | -
- Company:company:default_currency- |
-
| 16 | -section_break_9 |
- - Section Break | -- Actual Time and Cost - - | -- |
| 17 | -actual_start_time |
- - Datetime | -- Actual Start Time - - | -- |
| 18 | -actual_end_time |
- - Datetime | -
- Actual End Time
- - Updated via 'Time Log' - |
- - |
| 19 | -column_break_11 |
- - Column Break | -- - - | -- |
| 20 | -actual_operation_time |
- - Float | -
- Actual Operation Time
- - in Minutes -Updated via 'Time Log' - |
- - |
| 21 | -actual_operating_cost |
- - Currency | -
- Actual Operating Cost
- - (Hour Rate / 60) * Actual Operation Time - |
-
- Company:company:default_currency- |
-
| 22 | -make_time_log |
- - Button | -- Make Time Log - - | -- |
Table Name: tabProduction Plan Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -bom_no |
- - Link | -- BOM No - - | -- - - - -BOM - - - - | -
| 3 | -planned_qty |
- - Float | -- Planned Qty - - | -- |
| 4 | -planned_start_date |
- - Datetime | -- Planned Start Date - - | -- |
| 5 | -sales_order |
- - Link | -- Sales Order - - | -- - - - -Sales Order - - - - | -
| 6 | -so_pending_qty |
- - Float | -- SO Pending Qty - - | -- |
| 7 | -warehouse |
- - Link | -
- Warehouse
- - Reserved Warehouse in Sales Order / Finished Goods Warehouse - |
- - - - - -Warehouse - - - - | -
| 8 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 9 | -description |
- - Text Editor | -- Description - - | -- |
Table Name: tabProduction Plan Sales Order
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -sales_order |
- - Link | -- Sales Order - - | -- - - - -Sales Order - - - - | -
| 2 | -sales_order_date |
- - Date | -- SO Date - - | -- |
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 5 | -grand_total |
- - Currency | -- Grand Total - - | -
- Company:company:default_currency- |
-
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -select_sales_orders |
- - Section Break | -
- Select Sales Orders
- - Select Sales Orders from which you want to create Production Orders. - |
- - |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -fg_item |
- - Link | -- Filter based on item - - | -- - - - -Item - - - - | -
| 4 | -customer |
- - Link | -- Filter based on customer - - | -- - - - -Customer - - - - | -
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -column_break1 |
- - Column Break | -- - - | -- |
| 7 | -from_date |
- - Date | -- From Date - - | -- |
| 8 | -to_date |
- - Date | -- To Date - - | -- |
| 9 | -section_break1 |
- - Section Break | -- - - | -
- Simple- |
-
| 10 | -get_sales_orders |
- - Button | -
- Get Sales Orders
- - Pull sales orders (pending to deliver) based on the above criteria - |
-
- get_open_sales_orders- |
-
| 11 | -sales_orders |
- - Table | -- Sales Orders - - | -- - - - -Production Plan Sales Order - - - - | -
| 12 | -items_for_production |
- - Section Break | -- Select Items - - | -- |
| 13 | -get_items_from_so |
- - Button | -- Get Items From Sales Orders - - | -
- get_items_from_so- |
-
| 14 | -use_multi_level_bom |
- - Check | -
- Use Multi-Level BOM
- - If checked, BOM for sub-assembly items will be considered for getting raw materials. Otherwise, all sub-assembly items will be treated as a raw material. - |
- - |
| 15 | -items |
- - Table | -- Items - - | -- - - - -Production Plan Item - - - - | -
| 16 | -create_production_orders |
- - Section Break | -
- Production Orders
- - Enter items and planned qty for which you want to raise production orders or download raw materials for analysis. - |
- - |
| 17 | -raise_production_order |
- - Button | -
- Create Production Orders
- - Separate production order will be created for each finished good item. - |
-
- raise_production_order- |
-
| 18 | -sb5 |
- - Section Break | -- Material Requirement - - | -- |
| 19 | -purchase_request_for_warehouse |
- - Link | -- Material Request For Warehouse - - | -- - - - -Warehouse - - - - | -
| 20 | -raise_purchase_request |
- - Button | -
- Create Material Requests
- - Items to be requested which are "Out of Stock" considering all warehouses based on projected qty and minimum order qty - |
- - |
| 21 | -download_materials_required |
- - Button | -
- Download Materials Required
- - Download a report containing all raw materials with their latest inventory status - |
- - |
Inherits from frappe.model.document.Document - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - add_items - (self, items) -
-No docs
-- - - add_so_in_table - (self, open_so) -
-Add sales orders in the table
-- - - clear_item_table - (self) -
-No docs
-- - - clear_so_table - (self) -
-No docs
-- - - create_production_order - (self, items) -
-Create production order. Called from Production Planning Tool
-- - - download_raw_materials - (self) -
-Create csv data for required raw material to produce finished goods
-- - - get_csv - (self) -
-No docs
-- - - get_distinct_items_and_boms - (self) -
-Club similar BOM and item for processing -bomdict { - bomno: ['sales_order', 'qty'] -}
-- - - get_item_details - (self, item_code) -
-No docs
-- - - get_items - (self) -
-No docs
-- - - get_items_from_so - (self) -
-Pull items from Sales Order, only proction item -and subcontracted item will be pulled from Packing item -and add items in the table
-- - - get_open_sales_orders - (self) -
-Pull sales orders which are pending to deliver based on criteria selected
-- - - get_projected_qty - (self) -
-No docs
-- - - get_raw_materials - (self, bom_dict) -
-Get raw materials considering sub-assembly items -{ - "itemcode": [qtyrequired, description, stockuom, minorder_qty] -}
-- - - get_requested_items - (self) -
-No docs
-- - - get_so_details - (self, so) -
-Pull other details from so
-- - - insert_purchase_request - (self) -
-No docs
-- - - make_items_dict - (self, item_list) -
-No docs
-- - - raise_production_order - (self) -
-It will raise production order (Draft) for all distinct FG items
-- - - raise_purchase_request - (self) -
-Raise Material Request if projected qty is less than qty required -Requested qty should be shortage qty considering minimum order qty
-- - - validate_company - (self) -
-No docs
-- - - validate_data - (self) -
-No docs
-Table Name: tabWorkstation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -description_and_warehouse |
- - Section Break | -- - - | -- |
| 2 | -workstation_name |
- - Data | -- Workstation Name - - | -- |
| 3 | -description |
- - Text | -- Description - - | -- |
| 4 | -column_break_4 |
- - Column Break | -- - - | -- |
| 5 | -holiday_list |
- - Link | -- Holiday List - - | -- - - - -Holiday List - - - - | -
| 6 | -over_heads |
- - Section Break | -- Operating Costs - - | -- |
| 7 | -hour_rate_electricity |
- - Currency | -
- Electricity Cost
- - per hour - |
- - |
| 8 | -hour_rate_consumable |
- - Currency | -
- Consumable Cost
- - per hour - |
- - |
| 9 | -column_break_11 |
- - Column Break | -- - - | -- |
| 10 | -hour_rate_rent |
- - Currency | -
- Rent Cost
- - per hour - |
- - |
| 11 | -hour_rate_labour |
- - Currency | -
- Wages
- - Wages per hour - |
- - |
| 12 | -hour_rate |
- - Currency | -
- Net Hour Rate
- - per hour - |
- - |
| 13 | -working_hours_section |
- - Section Break | -- Working Hours - - | -- |
| 14 | -working_hours |
- - Table | -- Working Hours - - | -- - - - -Workstation Working Hour - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - on_update - (self) -
-No docs
-- - - update_bom_operation - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_overlap_for_operation_timings - (self) -
-Check if there is no overlap in setting Workstation Operating Hours
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours - (workstation, operation, from_datetime, to_datetime) -
-No docs
-- - - erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday - (workstation, from_datetime, to_datetime) -
-No docs
-Public API
- /api/method/erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list
-
- - - erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list - () -
-No docs
-- - - erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours - (workstation, operation, from_datetime, to_datetime) -
-No docs
-Table Name: tabWorkstation Working Hour
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -start_time |
- - Time | -- Start Time - - | -- |
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -end_time |
- - Time | -- End Time - - | -- |
| 4 | -section_break_2 |
- - Column Break | -- - - | -- |
| 5 | -enabled |
- - Check | -- Enabled - - | -- |
Table Name: tabActivity Cost
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -activity_type |
- - Link | -- Activity Type - - | -- - - - -Activity Type - - - - | -
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 4 | -employee_name |
- - Data | -- Employee Name - - | -- |
| 5 | -section_break_4 |
- - Section Break | -- - - | -- |
| 6 | -billing_rate |
- - Currency | -
- Billing Rate
- - per hour - |
- - |
| 7 | -column_break_6 |
- - Column Break | -- - - | -- |
| 8 | -costing_rate |
- - Currency | -
- Costing Rate
- - per hour - |
- - |
| 9 | -title |
- - Data | -- title - - | -- |
Inherits from frappe.model.document.Document - -
- - - check_unique - (self) -
-No docs
-- - - set_title - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Table Name: tabActivity Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -activity_type |
- - Data | -- Activity Type - - | -- |
| 2 | -costing_rate |
- - Currency | -- Default Costing Rate - - | -- |
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -billing_rate |
- - Currency | -- Default Billing Rate - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabDependent Task
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -task |
- - Link | -- Task - - | -- - - - -Task - - - - | -
Table Name: tabProject
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -project_name |
- - Data | -- Project Name - - | -- |
| 2 | -status |
- - Select | -- Status - - | -
- Open -Completed -Cancelled- |
-
| 3 | -project_type |
- - Select | -- Project Type - - | -
- Internal -External -Other- |
-
| 4 | -column_break_5 |
- - Column Break | -- - - | -- |
| 5 | -is_active |
- - Select | -- Is Active - - | -
- Yes -No- |
-
| 6 | -priority |
- - Select | -- Priority - - | -
- Medium -Low -High- |
-
| 7 | -section_break_12 |
- - Section Break | -- - - | -- |
| 8 | -expected_start_date |
- - Date | -- Expected Start Date - - | -- |
| 9 | -column_break_11 |
- - Column Break | -- - - | -- |
| 10 | -expected_end_date |
- - Date | -- Expected End Date - - | -- |
| 11 | -customer_details |
- - Section Break | -- - - | -
- icon-user- |
-
| 12 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 13 | -column_break_14 |
- - Column Break | -- - - | -- |
| 14 | -sales_order |
- - Link | -- Sales Order - - | -- - - - -Sales Order - - - - | -
| 15 | -sb_milestones |
- - Section Break | -- Tasks - - | -
- icon-flag- |
-
| 16 | -tasks |
- - Table | -- Tasks - - | -- - - - -Project Task - - - - | -
| 17 | -percent_complete |
- - Percent | -- % Tasks Completed - - | -- |
| 18 | -section_break0 |
- - Section Break | -- - - | -
- icon-list- |
-
| 19 | -notes |
- - Text Editor | -- Notes - - | -- |
| 20 | -section_break_18 |
- - Section Break | -- - - | -- |
| 21 | -actual_start_date |
- - Data | -- Actual Start Date - - | -- |
| 22 | -actual_time |
- - Float | -- Actual Time (in Hours) - - | -- |
| 23 | -column_break_20 |
- - Column Break | -- - - | -- |
| 24 | -actual_end_date |
- - Date | -- Actual End Date - - | -- |
| 25 | -section_break_26 |
- - Section Break | -- - - | -- |
| 26 | -estimated_costing |
- - Currency | -- Estimated Costing - - | -
- Company:company:default_currency- |
-
| 27 | -column_break_22 |
- - Column Break | -- - - | -- |
| 28 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 29 | -cost_center |
- - Link | -- Default Cost Center - - | -- - - - -Cost Center - - - - | -
| 30 | -project_details |
- - Section Break | -- - - | -
- icon-money- |
-
| 31 | -total_costing_amount |
- - Currency | -- Total Costing Amount (via Time Logs) - - | -- |
| 32 | -total_expense_claim |
- - Currency | -- Total Expense Claim (via Expense Claims) - - | -- |
| 33 | -column_break_28 |
- - Column Break | -- - - | -- |
| 34 | -total_billing_amount |
- - Currency | -- Total Billing Amount (via Time Logs) - - | -- |
| 35 | -total_purchase_cost |
- - Currency | -- Total Purchase Cost (via Purchase Invoice) - - | -- |
| 36 | -margin |
- - Section Break | -- - - | -- |
| 37 | -gross_margin |
- - Currency | -- Gross Margin - - | -
- Company:company:default_currency- |
-
| 38 | -column_break_37 |
- - Column Break | -- - - | -- |
| 39 | -per_gross_margin |
- - Percent | -- Gross Margin % - - | -- |
Inherits from frappe.model.document.Document - -
- - - __setup__ - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - get_tasks - (self) -
-No docs
-- - - onload - (self) -
-Load project tasks for quick view
-- - - sync_tasks - (self) -
-sync tasks and remove table
-- - - update_costing - (self) -
-No docs
-- - - update_percent_complete - (self) -
-No docs
-- - - update_project - (self) -
-No docs
-- - - update_purchase_costing - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_dates - (self) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.project.project.get_cost_center_name
-
- - - erpnext.projects.doctype.project.project.get_cost_center_name - (project_name) -
-No docs
-Table Name: tabProject Task
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -status |
- - Select | -- Status - - | -
- Open -Working -Pending Review -Closed -Cancelled- |
-
| 3 | -edit_task |
- - Button | -- View Task - - | -- |
| 4 | -column_break_3 |
- - Column Break | -- - - | -- |
| 5 | -start_date |
- - Date | -- Start Date - - | -- |
| 6 | -end_date |
- - Date | -- End Date - - | -- |
| 7 | -section_break_6 |
- - Section Break | -- - - | -- |
| 8 | -description |
- - Text Editor | -- Description - - | -- |
| 9 | -task_id |
- - Link | -- Task ID - - | -- - - - -Task - - - - | -
Table Name: tabTask
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -subject |
- - Data | -- Subject - - | -- |
| 2 | -project |
- - Link | -- Project - - | -- - - - -Project - - - - | -
| 3 | -column_break0 |
- - Column Break | -- - - | -- |
| 4 | -status |
- - Select | -- Status - - | -
- Open -Working -Pending Review -Overdue -Closed -Cancelled- |
-
| 5 | -priority |
- - Select | -- Priority - - | -
- Low -Medium -High -Urgent- |
-
| 6 | -section_break_10 |
- - Section Break | -- - - | -- |
| 7 | -exp_start_date |
- - Date | -- Expected Start Date - - | -- |
| 8 | -expected_time |
- - Float | -- Expected Time (in hours) - - | -- |
| 9 | -column_break_11 |
- - Column Break | -- - - | -- |
| 10 | -exp_end_date |
- - Date | -- Expected End Date - - | -- |
| 11 | -section_break0 |
- - Section Break | -- - - | -
- Simple- |
-
| 12 | -description |
- - Text Editor | -- Details - - | -- |
| 13 | -section_break |
- - Section Break | -- Depends On - - | -- |
| 14 | -depends_on |
- - Table | -- depends_on - - | -- - - - -Task Depends On - - - - | -
| 15 | -actual |
- - Section Break | -- - - | -- |
| 16 | -act_start_date |
- - Date | -- Actual Start Date (via Time Logs) - - | -- |
| 17 | -actual_time |
- - Float | -- Actual Time (in hours) - - | -- |
| 18 | -column_break_15 |
- - Column Break | -- - - | -- |
| 19 | -act_end_date |
- - Date | -- Actual End Date (via Time Logs) - - | -- |
| 20 | -section_break_17 |
- - Section Break | -- - - | -- |
| 21 | -total_costing_amount |
- - Currency | -- Total Costing Amount (via Time Logs) - - | -
- Company:company:default_currency- |
-
| 22 | -total_expense_claim |
- - Currency | -- Total Expense Claim (via Expense Claim) - - | -
- Company:company:default_currency- |
-
| 23 | -column_break_20 |
- - Column Break | -- - - | -- |
| 24 | -total_billing_amount |
- - Currency | -- Total Billing Amount (via Time Logs) - - | -- |
| 25 | -more_details |
- - Section Break | -- - - | -- |
| 26 | -review_date |
- - Date | -- Review Date - - | -- |
| 27 | -closing_date |
- - Date | -- Closing Date - - | -- |
| 28 | -column_break_22 |
- - Column Break | -- - - | -- |
| 29 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - check_recursion - (self) -
-No docs
-- - - get_customer_details - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - get_project_details - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - reschedule_dependent_tasks - (self) -
-No docs
-- - - update_project - (self) -
-No docs
-- - - update_time_and_costing - (self) -
-No docs
-- - - update_total_expense_claim - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_dates - (self) -
-No docs
-- - - validate_status - (self) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.task.task.get_events
-
- - - erpnext.projects.doctype.task.task.get_events - (start, end, filters=None) -
-Returns events for Gantt / Calendar view rendering.
- -Parameters:
- -start - Start date-time.end - End date-time.filters - Filters (JSON).- - - erpnext.projects.doctype.task.task.get_project - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.task.task.set_multiple_status
-
- - - erpnext.projects.doctype.task.task.set_multiple_status - (names, status) -
-No docs
-- - - erpnext.projects.doctype.task.task.set_tasks_as_overdue - () -
-No docs
-Table Name: tabTask Depends On
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -task |
- - Link | -- Task - - | -- - - - -Task - - - - | -
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -subject |
- - Text | -- Subject - - | -- |
Table Name: tabTime Log
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -activity_type |
- - Link | -- Activity Type - - | -- - - - -Activity Type - - - - | -
| 2 | -naming_series |
- - Select | -- Series - - | -
- TL-- |
-
| 3 | -project |
- - Link | -- Project - - | -- - - - -Project - - - - | -
| 4 | -task |
- - Link | -- Task - - | -- - - - -Task - - - - | -
| 5 | -status |
- - Select | -- Status - - | -
- Draft -Submitted -Batched for Billing -Billed -Cancelled- |
-
| 6 | -column_break_2 |
- - Column Break | -- - - | -- |
| 7 | -from_time |
- - Datetime | -- From Time - - | -- |
| 8 | -hours |
- - Float | -- Hours - - | -- |
| 9 | -to_time |
- - Datetime | -- To Time - - | -- |
| 10 | -billable |
- - Check | -- Billable - - | -- |
| 11 | -section_break_7 |
- - Section Break | -- - - | -- |
| 12 | -note |
- - Text Editor | -- Note - - | -- |
| 13 | -section_break_12 |
- - Section Break | -- - - | -- |
| 14 | -user |
- - Link | -- User - - | -- - - - -User - - - - | -
| 15 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 16 | -column_break_3 |
- - Column Break | -- - - | -- |
| 17 | -for_manufacturing |
- - Check | -- For Manufacturing - - | -- |
| 18 | -section_break_11 |
- - Section Break | -- - - | -- |
| 19 | -production_order |
- - Link | -- Production Order - - | -- - - - -Production Order - - - - | -
| 20 | -operation |
- - Link | -- Operation - - | -- - - - -Operation - - - - | -
| 21 | -operation_id |
- - Data | -- Operation ID - - | -- |
| 22 | -column_break_14 |
- - Column Break | -- - - | -- |
| 23 | -workstation |
- - Link | -- Workstation - - | -- - - - -Workstation - - - - | -
| 24 | -completed_qty |
- - Float | -
- Completed Qty
- - Operation completed for how many finished goods? - |
- - |
| 25 | -section_break_24 |
- - Section Break | -- - - | -- |
| 26 | -costing_rate |
- - Currency | -- Costing Rate based on Activity Type (per hour) - - | -- |
| 27 | -costing_amount |
- - Currency | -- Costing Amount - - | -- |
| 28 | -column_break_25 |
- - Column Break | -- - - | -- |
| 29 | -billing_rate |
- - Currency | -- Billing Rate based on Activity Type (per hour) - - | -- |
| 30 | -additional_cost |
- - Currency | -- Additional Cost - - | -- |
| 31 | -billing_amount |
- - Currency | -
- Billing Amount
- - Will be updated only if Time Log is 'Billable' - |
- - |
| 32 | -section_break_29 |
- - Section Break | -- - - | -- |
| 33 | -time_log_batch |
- - Link | -
- Time Log Batch
- - Will be updated when batched. - |
- - - - - -Time Log Batch - - - - | -
| 34 | -sales_invoice |
- - Link | -
- Sales Invoice
- - Will be updated when billed. - |
- - - - - -Sales Invoice - - - - | -
| 35 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Time Log - - - - | -
| 36 | -title |
- - Data | -- Title - - | -- |
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.model.document.Document - -
- - - before_cancel - (self) -
-No docs
-- - - before_update_after_submit - (self) -
-No docs
-- - - calculate_total_hours - (self) -
-No docs
-- - - check_workstation_timings - (self) -
-Checks if Time Log is between operating hours of the Workstation.
-- - - get_operation_start_end_time - (self) -
-Returns Min From and Max To Dates of Time Logs against a specific Operation.
-- - - get_overlap_for - (self, fieldname) -
-No docs
-- - - get_time_log_summary - (self) -
-Returns 'Actual Operating Time'.
-- - - move_to_next_day - (self) -
-Move start and end time one day forward
-- - - move_to_next_non_overlapping_slot - (self) -
-If in overlap, set start as the end point of the overlapping time log
-- - - move_to_next_working_slot - (self) -
-Move to next working slot from workstation
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_project_if_missing - (self) -
-Set project if task is set
-- - - set_status - (self) -
-No docs
-- - - set_title - (self) -
-Set default title for the Time Log
-- - - update_cost - (self) -
-No docs
-- - - update_production_order - (self) -
-Updates start_date, end_date, status for operation in Production Order.
- - - update_task_and_project - (self) -
-Update costing rate in Task or Project if either is set
-- - - validate - (self) -
-No docs
-- - - validate_manufacturing - (self) -
-No docs
-- - - validate_overlap - (self) -
-Checks if 'Time Log' entries overlap for a user, workstation.
-- - - validate_overlap_for - (self, fieldname) -
-No docs
-- - - validate_production_order - (self) -
-Throws 'NotSubmittedError' if production order is not submitted.
-- - - validate_time_log_for - (self) -
-No docs
-- - - validate_timings - (self) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.time_log.time_log.get_activity_cost
-
- - - erpnext.projects.doctype.time_log.time_log.get_activity_cost - (employee=None, activity_type=None) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.time_log.time_log.get_events
-
- - - erpnext.projects.doctype.time_log.time_log.get_events - (start, end, filters=None) -
-Returns events for Gantt / Calendar view rendering.
- -Parameters:
- -start - Start date-time.end - End date-time.filters - Filters like workstation, project etc.Table Name: tabTime Log Batch
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -naming_series |
- - Select | -- Series - - | -
- TLB-- |
-
| 2 | -status |
- - Select | -- Status - - | -
- Draft -Submitted -Billed -Cancelled- |
-
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -sales_invoice |
- - Link | -
- Sales Invoice
- - Will be updated after Sales Invoice is Submitted. - |
- - - - - -Sales Invoice - - - - | -
| 5 | -section_break_5 |
- - Section Break | -- - - | -- |
| 6 | -time_logs |
- - Table | -- Time Logs - - | -- - - - -Time Log Batch Detail - - - - | -
| 7 | -section_break_8 |
- - Section Break | -- - - | -- |
| 8 | -total_hours |
- - Float | -
- Total Hours
- - updated via Time Logs - |
- - |
| 9 | -column_break_10 |
- - Column Break | -- - - | -- |
| 10 | -total_billing_amount |
- - Float | -
- Total Billing Amount
- - updated via Time Logs - |
- - |
| 11 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Time Log Batch - - - - | -
Inherits from frappe.model.document.Document - -
- - - before_cancel - (self) -
-No docs
-- - - before_update_after_submit - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_status - (self) -
-No docs
-- - - update_status - (self, time_log_batch) -
-No docs
-- - - update_time_log_values - (self, d, tl) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_time_log_is_submitted - (self, tl) -
-No docs
-Public API
- /api/method/erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice
-
- - - erpnext.projects.doctype.time_log_batch.time_log_batch.make_sales_invoice - (source_name, target=None) -
-No docs
-Table Name: tabTime Log Batch Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -time_log |
- - Link | -- Time Log - - | -- - - - -Time Log - - - - | -
| 2 | -hours |
- - Float | -- Hours - - | -- |
| 3 | -section_break_3 |
- - Column Break | -- - - | -- |
| 4 | -activity_type |
- - Data | -- Activity Type - - | -- |
| 5 | -billing_amount |
- - Float | -- Billing Amount - - | -- |
Table Name: tabCampaign
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -campaign |
- - Section Break | -- Campaign - - | -- |
| 2 | -campaign_name |
- - Data | -- Campaign Name - - | -- |
| 3 | -naming_series |
- - Select | -- Naming Series - - | -
- Campaign-.####- |
-
| 4 | -description |
- - Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabCustomer
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -basic_info |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- CUST-- |
-
| 3 | -customer_name |
- - Data | -- Full Name - - | -- |
| 4 | -customer_type |
- - Select | -- Type - - | -
- -Company -Individual- |
-
| 5 | -lead_name |
- - Link | -- From Lead - - | -- - - - -Lead - - - - | -
| 6 | -column_break0 |
- - Column Break | -- - - | -- |
| 7 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 8 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 9 | -tax_id |
- - Data | -- Tax ID - - | -- |
| 10 | -disabled |
- - Check | -- Disabled - - | -- |
| 11 | -currency_and_price_list |
- - Section Break | -- - - | -- |
| 12 | -default_currency |
- - Link | -- Billing Currency - - | -- - - - -Currency - - - - | -
| 13 | -default_price_list |
- - Link | -- Default Price List - - | -- - - - -Price List - - - - | -
| 14 | -address_contacts |
- - Section Break | -- Address and Contact - - | -
- icon-map-marker- |
-
| 15 | -address_html |
- - HTML | -- Address HTML - - | -- |
| 16 | -column_break1 |
- - Column Break | -- - - | -- |
| 17 | -contact_html |
- - HTML | -- Contact HTML - - | -- |
| 18 | -default_receivable_accounts |
- - Section Break | -- Default Receivable Accounts - - | -- |
| 19 | -accounts |
- - Table | -
- Accounts
- - Mention if non-standard receivable account - |
- - - - - -Party Account - - - - | -
| 20 | -column_break2 |
- - Section Break | -- Credit Limit - - | -- |
| 21 | -credit_days_based_on |
- - Select | -- Credit Days Based On - - | -
- -Fixed Days -Last Day of the Next Month- |
-
| 22 | -credit_days |
- - Int | -- Credit Days - - | -- |
| 23 | -credit_limit |
- - Currency | -- Credit Limit - - | -- |
| 24 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 25 | -customer_details |
- - Text | -
- Customer Details
- - Additional information regarding the customer. - |
- - |
| 26 | -website |
- - Data | -- Website - - | -- |
| 27 | -is_frozen |
- - Check | -- Is Frozen - - | -- |
| 28 | -sales_team_section_break |
- - Section Break | -- Sales Partner and Commission - - | -
- icon-group- |
-
| 29 | -default_sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 30 | -default_commission_rate |
- - Float | -- Commission Rate - - | -- |
| 31 | -sales_team_section |
- - Section Break | -- Sales Team - - | -- |
| 32 | -sales_team |
- - Table | -- Sales Team Details - - | -- - - - -Sales Team - - - - | -
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - after_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - create_lead_address_contact - (self) -
-No docs
-- - - delete_customer_address - (self) -
-No docs
-- - - delete_customer_contact - (self) -
-No docs
-- - - get_customer_name - (self) -
-No docs
-- - - get_feed - (self) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-Load address and contacts in __onload
- - - update_address - (self) -
-No docs
-- - - update_contact - (self) -
-No docs
-- - - update_customer_address - (self, newdn, set_field) -
-No docs
-- - - update_lead_status - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_name_with_customer_group - (self) -
-No docs
-- - - erpnext.selling.doctype.customer.customer.check_credit_limit - (customer, company) -
-No docs
-- - - erpnext.selling.doctype.customer.customer.get_credit_limit - (customer, company) -
-No docs
-- - - erpnext.selling.doctype.customer.customer.get_customer_list - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-- - - erpnext.selling.doctype.customer.customer.get_customer_outstanding - (customer, company) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.customer.customer.get_dashboard_info
-
- - - erpnext.selling.doctype.customer.customer.get_dashboard_info - (customer) -
-No docs
-Table Name: tabIndustry Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -industry |
- - Data | -- Industry - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabInstallation Note
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -installation_note |
- - Section Break | -- Installation Note - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -naming_series |
- - Select | -- Series - - | -
- IN-- |
-
| 4 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 5 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 6 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 7 | -customer_name |
- - Data | -- Name - - | -- |
| 8 | -address_display |
- - Small Text | -- Address - - | -- |
| 9 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 10 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 11 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 12 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 13 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 14 | -column_break1 |
- - Column Break | -- - - | -- |
| 15 | -inst_date |
- - Date | -- Installation Date - - | -- |
| 16 | -inst_time |
- - Time | -- Installation Time - - | -- |
| 17 | -status |
- - Select | -- Status - - | -
- Draft -Submitted -Cancelled- |
-
| 18 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 19 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 20 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Installation Note - - - - | -
| 21 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 22 | -item_details |
- - Section Break | -- - - | -
- Simple- |
-
| 23 | -items |
- - Table | -- Items - - | -- - - - -Installation Note Item - - - - | -
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - check_item_table - (self) -
-No docs
-- - - get_prevdoc_serial_no - (self, prevdoc_detail_docname) -
-No docs
-- - - is_serial_no_added - (self, item_code, serial_no) -
-No docs
-- - - is_serial_no_exist - (self, item_code, serial_no) -
-No docs
-- - - is_serial_no_match - (self, cur_s_no, prevdoc_s_no, prevdoc_docname) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_installation_date - (self) -
-No docs
-- - - validate_serial_no - (self) -
-No docs
-Table Name: tabInstallation Note Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -description |
- - Data | -- Description - - | -- |
| 3 | -serial_no |
- - Small Text | -- Serial No - - | -- |
| 4 | -prevdoc_detail_docname |
- - Data | -- Against Document Detail No - - | -- |
| 5 | -prevdoc_docname |
- - Data | -- Against Document No - - | -- |
| 6 | -prevdoc_doctype |
- - Data | -- Document Type - - | -- |
| 7 | -qty |
- - Float | -- Installed Qty - - | -- |
Table Name: tabProduct Bundle
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -basic_section |
- - Section Break | -- - - | -- |
| 2 | -new_item_code |
- - Link | -- Parent Item - - | -- - - - -Item - - - - | -
| 3 | -item_section |
- - Section Break | -
-
- - List items that form the package. - |
- - |
| 4 | -items |
- - Table | -- Items - - | -- - - - -Product Bundle Item - - - - | -
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_main_item - (self) -
-Validates, main Item is not a stock item
-- - - erpnext.selling.doctype.product_bundle.product_bundle.get_new_item_code - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Table Name: tabProduct Bundle Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item - - | -- - - - -Item - - - - | -
| 2 | -qty |
- - Float | -- Qty - - | -- |
| 3 | -description |
- - Text Editor | -- Description - - | -- |
| 4 | -rate |
- - Float | -- Rate - - | -- |
| 5 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
Table Name: tabQuotation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -title |
- - Data | -- Title - - | -- |
| 4 | -naming_series |
- - Select | -- Series - - | -
- QTN-- |
-
| 5 | -quotation_to |
- - Select | -- Quotation To - - | -
- -Lead -Customer- |
-
| 6 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 7 | -lead |
- - Link | -- Lead - - | -- - - - -Lead - - - - | -
| 8 | -customer_name |
- - Data | -- Customer / Lead Name - - | -- |
| 9 | -address_display |
- - Small Text | -- Address - - | -- |
| 10 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 11 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 12 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 13 | -column_break1 |
- - Column Break | -- - - | -- |
| 14 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Quotation - - - - | -
| 15 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 16 | -transaction_date |
- - Date | -- Date - - | -- |
| 17 | -order_type |
- - Select | -- Order Type - - | -
- -Sales -Maintenance -Shopping Cart- |
-
| 18 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 19 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 20 | -conversion_rate |
- - Float | -
- Exchange Rate
- - Rate at which customer's currency is converted to company's base currency - |
- - |
| 21 | -column_break2 |
- - Column Break | -- - - | -- |
| 22 | -selling_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 23 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 24 | -plc_conversion_rate |
- - Float | -
- Price List Exchange Rate
- - Rate at which Price list currency is converted to company's base currency - |
- - |
| 25 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 26 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 27 | -items |
- - Table | -- Items - - | -- - - - -Quotation Item - - - - | -
| 28 | -sec_break23 |
- - Section Break | -- - - | -- |
| 29 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 31 | -column_break_28 |
- - Column Break | -- - - | -- |
| 32 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 33 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 34 | -taxes_section |
- - Section Break | -- Taxes and Charges - - | -
- icon-money- |
-
| 35 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Sales Taxes and Charges Template - - - - | -
| 36 | -column_break_34 |
- - Column Break | -- - - | -- |
| 37 | -shipping_rule |
- - Link | -- Shipping Rule - - | -- - - - -Shipping Rule - - - - | -
| 38 | -section_break_36 |
- - Section Break | -- - - | -- |
| 39 | -taxes |
- - Table | -- Sales Taxes and Charges - - | -- - - - -Sales Taxes and Charges - - - - | -
| 40 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 41 | -section_break_39 |
- - Section Break | -- - - | -- |
| 42 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 43 | -column_break_42 |
- - Column Break | -- - - | -- |
| 44 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 45 | -section_break_44 |
- - Section Break | -- Additional Discount - - | -- |
| 46 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 47 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 48 | -column_break_46 |
- - Column Break | -- - - | -- |
| 49 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 50 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 51 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 52 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 53 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 54 | -base_in_words |
- - Data | -
- In Words (Company Currency)
- - In Words will be visible once you save the Quotation. - |
- - |
| 55 | -column_break3 |
- - Column Break | -- - - | -- |
| 56 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 57 | -rounded_total |
- - Currency | -- Rounded Total - - | -
- currency- |
-
| 58 | -in_words |
- - Data | -- In Words - - | -- |
| 59 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 60 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 61 | -terms |
- - Text Editor | -- Term Details - - | -- |
| 62 | -contact_section |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 63 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 64 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 65 | -shipping_address_name |
- - Link | -- Shipping Address - - | -- - - - -Address - - - - | -
| 66 | -shipping_address |
- - Small Text | -- Shipping Address - - | -- |
| 67 | -col_break98 |
- - Column Break | -- - - | -- |
| 68 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 69 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 70 | -print_settings |
- - Section Break | -- Print Settings - - | -- |
| 71 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 72 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 73 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 74 | -campaign |
- - Link | -- Campaign - - | -- - - - -Campaign - - - - | -
| 75 | -source |
- - Select | -- Source - - | -
- -Existing Customer -Reference -Advertisement -Cold Calling -Exhibition -Supplier Reference -Mass Mailing -Customer's Vendor -Campaign- |
-
| 76 | -order_lost_reason |
- - Small Text | -- Quotation Lost Reason - - | -- |
| 77 | -column_break4 |
- - Column Break | -- - - | -- |
| 78 | -status |
- - Select | -- Status - - | -
- Draft -Submitted -Ordered -Lost -Cancelled -Open -Replied- |
-
| 79 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 80 | -enq_det |
- - Text | -- Opportunity Item - - | -- |
Inherits from erpnext.controllers.selling_controller.SellingController - -
- - - check_item_table - (self) -
-No docs
-- - - declare_order_lost - (self, arg) -
-No docs
-- - - has_sales_order - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - print_other_charges - (self, docname) -
-No docs
-- - - update_opportunity - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_order_type - (self) -
-No docs
-- - - validate_quotation_to - (self) -
-No docs
-- - - erpnext.selling.doctype.quotation.quotation._make_customer - (source_name, ignore_permissions=False) -
-No docs
-- - - erpnext.selling.doctype.quotation.quotation._make_sales_order - (source_name, target_doc=None, ignore_permissions=False) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.quotation.quotation.make_sales_order
-
- - - erpnext.selling.doctype.quotation.quotation.make_sales_order - (source_name, target_doc=None) -
-No docs
-Table Name: tabQuotation Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -customer_item_code |
- - Data | -- Customer's Item Code - - | -- |
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -item_name |
- - Data | -- Item Name - - | -- |
| 5 | -section_break_5 |
- - Section Break | -- - - | -- |
| 6 | -description |
- - Text Editor | -- Description - - | -- |
| 7 | -column_break_7 |
- - Column Break | -- - - | -- |
| 8 | -image |
- - Attach | -- Image - - | -- |
| 9 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 10 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 11 | -qty |
- - Float | -- Quantity - - | -- |
| 12 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 13 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 14 | -col_break2 |
- - Column Break | -- - - | -- |
| 15 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 16 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 17 | -section_break1 |
- - Section Break | -- - - | -- |
| 18 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 19 | -net_rate |
- - Currency | -- Net Rate - - | -- |
| 20 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 21 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 22 | -col_break3 |
- - Column Break | -- - - | -- |
| 23 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 24 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -- |
| 25 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 26 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 27 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 28 | -reference |
- - Section Break | -- Reference - - | -- |
| 29 | -prevdoc_doctype |
- - Link | -- Against Doctype - - | -- - - - -DocType - - - - | -
| 30 | -prevdoc_docname |
- - Dynamic Link | -- Against Docname - - | -
- prevdoc_doctype- |
-
| 31 | -item_tax_rate |
- - Small Text | -- Item Tax Rate - - | -- |
| 32 | -col_break4 |
- - Column Break | -- - - | -- |
| 33 | -page_break |
- - Check | -- Page Break - - | -- |
| 34 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 35 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
Table Name: tabSales Order
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -title |
- - Data | -- Title - - | -- |
| 4 | -naming_series |
- - Select | -- Series - - | -
- SO-- |
-
| 5 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 6 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 7 | -address_display |
- - Small Text | -- Address - - | -- |
| 8 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 9 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 10 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 11 | -order_type |
- - Select | -- Order Type - - | -
- -Sales -Maintenance -Shopping Cart- |
-
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Sales Order - - - - | -
| 14 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 15 | -transaction_date |
- - Date | -- Date - - | -- |
| 16 | -delivery_date |
- - Date | -- Delivery Date - - | -- |
| 17 | -po_no |
- - Data | -- Customer's Purchase Order - - | -- |
| 18 | -po_date |
- - Date | -- Customer's Purchase Order Date - - | -- |
| 19 | -shipping_address_name |
- - Link | -- Shipping Address Name - - | -- - - - -Address - - - - | -
| 20 | -shipping_address |
- - Small Text | -- Shipping Address - - | -- |
| 21 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 22 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 23 | -conversion_rate |
- - Float | -
- Exchange Rate
- - Rate at which customer's currency is converted to company's base currency - |
- - |
| 24 | -column_break2 |
- - Column Break | -- - - | -- |
| 25 | -selling_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 26 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 27 | -plc_conversion_rate |
- - Float | -
- Price List Exchange Rate
- - Rate at which Price list currency is converted to company's base currency - |
- - |
| 28 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 29 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 30 | -items |
- - Table | -- Items - - | -- - - - -Sales Order Item - - - - | -
| 31 | -section_break_31 |
- - Section Break | -- - - | -- |
| 32 | -column_break_33a |
- - Column Break | -- - - | -- |
| 33 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 34 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 35 | -column_break_33 |
- - Column Break | -- - - | -- |
| 36 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 37 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 38 | -taxes_section |
- - Section Break | -- Taxes and Charges - - | -
- icon-money- |
-
| 39 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Sales Taxes and Charges Template - - - - | -
| 40 | -column_break_38 |
- - Column Break | -- - - | -- |
| 41 | -shipping_rule |
- - Link | -- Shipping Rule - - | -- - - - -Shipping Rule - - - - | -
| 42 | -section_break_40 |
- - Section Break | -- - - | -- |
| 43 | -taxes |
- - Table | -- Sales Taxes and Charges - - | -- - - - -Sales Taxes and Charges - - - - | -
| 44 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 45 | -section_break_43 |
- - Section Break | -- - - | -- |
| 46 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 47 | -column_break_46 |
- - Column Break | -- - - | -- |
| 48 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 49 | -section_break_48 |
- - Section Break | -- Additional Discount - - | -- |
| 50 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 51 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 52 | -column_break_50 |
- - Column Break | -- - - | -- |
| 53 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 54 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 55 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 56 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 57 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 58 | -base_in_words |
- - Data | -
- In Words (Company Currency)
- - In Words will be visible once you save the Sales Order. - |
- - |
| 59 | -column_break3 |
- - Column Break | -- - - | -- |
| 60 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 61 | -rounded_total |
- - Currency | -- Rounded Total - - | -
- currency- |
-
| 62 | -in_words |
- - Data | -- In Words - - | -- |
| 63 | -advance_paid |
- - Currency | -- Advance Paid - - | -
- party_account_currency- |
-
| 64 | -packing_list |
- - Section Break | -- Packing List - - | -
- icon-suitcase- |
-
| 65 | -packed_items |
- - Table | -- Packed Items - - | -- - - - -Packed Item - - - - | -
| 66 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 67 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 68 | -terms |
- - Text Editor | -- Terms and Conditions Details - - | -- |
| 69 | -contact_info |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 70 | -col_break45 |
- - Column Break | -- - - | -- |
| 71 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 72 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 73 | -col_break46 |
- - Column Break | -- - - | -- |
| 74 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 75 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 76 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 77 | -project_name |
- - Link | -
- Project Name
- - Track this Sales Order against any Project - |
- - - - - -Project - - - - | -
| 78 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 79 | -party_account_currency |
- - Link | -- Party Account Currency - - | -- - - - -Currency - - - - | -
| 80 | -column_break_77 |
- - Column Break | -- - - | -- |
| 81 | -source |
- - Select | -- Source - - | -
- -Existing Customer -Reference -Advertisement -Cold Calling -Exhibition -Supplier Reference -Mass Mailing -Customer's Vendor -Campaign- |
-
| 82 | -campaign |
- - Link | -- Campaign - - | -- - - - -Campaign - - - - | -
| 83 | -printing_details |
- - Section Break | -- Printing Details - - | -- |
| 84 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 85 | -column_break4 |
- - Column Break | -- - - | -- |
| 86 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 87 | -section_break_78 |
- - Section Break | -- Billing and Delivery Status - - | -- |
| 88 | -status |
- - Select | -- Status - - | -
- -Draft -To Deliver and Bill -To Bill -To Deliver -Completed -Stopped -Cancelled -Closed- |
-
| 89 | -delivery_status |
- - Select | -- Delivery Status - - | -
- Not Delivered -Fully Delivered -Partly Delivered -Closed -Not Applicable- |
-
| 90 | -per_delivered |
- - Percent | -
- % Delivered
- - % of materials delivered against this Sales Order - |
- - |
| 91 | -column_break_81 |
- - Column Break | -- - - | -- |
| 92 | -per_billed |
- - Percent | -
- % Amount Billed
- - % of materials billed against this Sales Order - |
- - |
| 93 | -billing_status |
- - Select | -- Billing Status - - | -
- Not Billed -Fully Billed -Partly Billed -Closed- |
-
| 94 | -sales_team_section_break |
- - Section Break | -- Commission - - | -
- icon-group- |
-
| 95 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 96 | -column_break7 |
- - Column Break | -- - - | -- |
| 97 | -commission_rate |
- - Float | -- Commission Rate - - | -- |
| 98 | -total_commission |
- - Currency | -- Total Commission - - | -
- Company:company:default_currency- |
-
| 99 | -section_break1 |
- - Section Break | -- Sales Team - - | -- |
| 100 | -sales_team |
- - Table | -- Sales Team1 - - | -- - - - -Sales Team - - - - | -
| 101 | -recurring_order |
- - Section Break | -- Recurring Order - - | -
- icon-time- |
-
| 102 | -is_recurring |
- - Check | -
- Is Recurring
- - Check if recurring order, uncheck to stop recurring or put proper End Date - |
- - |
| 103 | -recurring_type |
- - Select | -
- Recurring Type
- - Select the period when the invoice will be generated automatically - |
-
- -Monthly -Quarterly -Half-yearly -Yearly- |
-
| 104 | -from_date |
- - Date | -
- From Date
- - Start date of current order's period - |
- - |
| 105 | -to_date |
- - Date | -
- To Date
- - End date of current order's period - |
- - |
| 106 | -repeat_on_day_of_month |
- - Int | -
- Repeat on Day of Month
- - The day of the month on which auto order will be generated e.g. 05, 28 etc - |
- - |
| 107 | -end_date |
- - Date | -
- End Date
- - The date on which recurring order will be stop - |
- - |
| 108 | -column_break83 |
- - Column Break | -- - - | -- |
| 109 | -next_date |
- - Date | -
- Next Date
- - The date on which next invoice will be generated. It is generated on submit. - |
- - |
| 110 | -recurring_id |
- - Data | -- Recurring Id - - | -- |
| 111 | -notification_email_address |
- - Small Text | -
- Notification Email Address
- - Enter email id separated by commas, order will be mailed automatically on particular date - |
- - |
| 112 | -recurring_print_format |
- - Link | -- Recurring Print Format - - | -- - - - -Print Format - - - - | -
Inherits from erpnext.controllers.selling_controller.SellingController - -
- - - before_update_after_submit - (self) -
-No docs
-- - - check_credit_limit - (self) -
-No docs
-- - - check_modified_date - (self) -
-No docs
-- - - check_nextdoc_docstatus - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_recurring - (self, reference_doc) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - product_bundle_has_stock_item - (self, product_bundle) -
-Returns true if product bundle has stock item
-- - - set_indicator - (self) -
-Set indicator for portal
-- - - update_delivery_status - (self) -
-Update delivery status from Purchase Order for drop shipping
-- - - update_enquiry_status - (self, prevdoc, flag) -
-No docs
-- - - update_prevdoc_status - (self, flag) -
-No docs
-- - - update_reserved_qty - (self, so_item_rows=None) -
-update requested qty (before ordered_qty is updated)
-- - - update_status - (self, status) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_delivery_date - (self) -
-No docs
-- - - validate_drop_ship - (self) -
-No docs
-- - - validate_for_items - (self) -
-No docs
-- - - validate_mandatory - (self) -
-No docs
-- - - validate_order_type - (self) -
-No docs
-- - - validate_po - (self) -
-No docs
-- - - validate_proj_cust - (self) -
-No docs
-- - - validate_sales_mntc_quotation - (self) -
-No docs
-- - - validate_supplier_after_submit - (self) -
-Check that supplier is the same after submit if PO is already made
-- - - validate_warehouse - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.get_events
-
- - - erpnext.selling.doctype.sales_order.sales_order.get_events - (start, end, filters=None) -
-Returns events for Gantt / Calendar view rendering.
- -Parameters:
- -start - Start date-time.end - End date-time.filters - Filters (JSON).- - - erpnext.selling.doctype.sales_order.sales_order.get_list_context - (context=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.get_supplier
-
- - - erpnext.selling.doctype.sales_order.sales_order.get_supplier - (doctype, txt, searchfield, start, page_len, filters) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_delivery_note
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_delivery_note - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_maintenance_schedule - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_maintenance_visit - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_material_request
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_material_request - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_purchase_order_for_drop_shipment
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_purchase_order_for_drop_shipment - (source_name, for_supplier, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice
-
- - - erpnext.selling.doctype.sales_order.sales_order.make_sales_invoice - (source_name, target_doc=None, ignore_permissions=False) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.stop_or_unstop_sales_orders
-
- - - erpnext.selling.doctype.sales_order.sales_order.stop_or_unstop_sales_orders - (names, status) -
-No docs
-Public API
- /api/method/erpnext.selling.doctype.sales_order.sales_order.update_status
-
- - - erpnext.selling.doctype.sales_order.sales_order.update_status - (status, name) -
-No docs
-Table Name: tabSales Order Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -customer_item_code |
- - Data | -- Customer's Item Code - - | -- |
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -item_name |
- - Data | -- Item Name - - | -- |
| 5 | -section_break_5 |
- - Section Break | -- Description - - | -- |
| 6 | -description |
- - Text Editor | -- Description - - | -- |
| 7 | -column_break_7 |
- - Column Break | -- - - | -- |
| 8 | -image |
- - Attach | -- Image - - | -- |
| 9 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 10 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 11 | -qty |
- - Float | -- Quantity - - | -- |
| 12 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 13 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 14 | -col_break2 |
- - Column Break | -- - - | -- |
| 15 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 16 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 17 | -section_break_simple1 |
- - Section Break | -- - - | -- |
| 18 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 19 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 20 | -col_break3 |
- - Column Break | -- - - | -- |
| 21 | -base_rate |
- - Currency | -- Basic Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 22 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 23 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 24 | -section_break_24 |
- - Section Break | -- - - | -- |
| 25 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 26 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 27 | -column_break_27 |
- - Column Break | -- - - | -- |
| 28 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 29 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -drop_ship_section |
- - Section Break | -- Drop Ship - - | -- |
| 31 | -delivered_by_supplier |
- - Check | -- Supplier delivers to Customer - - | -- |
| 32 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 33 | -warehouse_and_reference |
- - Section Break | -- Warehouse and Reference - - | -- |
| 34 | -warehouse |
- - Link | -- Delivery Warehouse - - | -- - - - -Warehouse - - - - | -
| 35 | -target_warehouse |
- - Link | -- Customer Warehouse (Optional) - - | -- - - - -Warehouse - - - - | -
| 36 | -prevdoc_docname |
- - Link | -- Quotation - - | -- - - - -Quotation - - - - | -
| 37 | -brand |
- - Link | -- Brand Name - - | -- - - - -Brand - - - - | -
| 38 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 39 | -page_break |
- - Check | -- Page Break - - | -- |
| 40 | -col_break4 |
- - Column Break | -- - - | -- |
| 41 | -projected_qty |
- - Float | -- Projected Qty - - | -- |
| 42 | -actual_qty |
- - Float | -- Actual Qty - - | -- |
| 43 | -ordered_qty |
- - Float | -- Ordered Qty - - | -- |
| 44 | -delivered_qty |
- - Float | -- Delivered Qty - - | -- |
| 45 | -returned_qty |
- - Float | -- Returned Qty - - | -- |
| 46 | -billed_amt |
- - Currency | -- Billed Amt - - | -
- currency- |
-
| 47 | -planned_qty |
- - Float | -
- Planned Quantity
- - For Production - |
- - |
| 48 | -produced_qty |
- - Float | -
- Produced Quantity
- - For Production - |
- - |
| 49 | -item_tax_rate |
- - Small Text | -- Item Tax Rate - - | -- |
| 50 | -transaction_date |
- - Date | -
- Sales Order Date
- - Used for Production Plan - |
- - |
Table Name: tabSales Team
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -sales_person |
- - Link | -- Sales Person - - | -- - - - -Sales Person - - - - | -
| 2 | -contact_no |
- - Data | -- Contact No. - - | -- |
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -allocated_percentage |
- - Float | -- Contribution (%) - - | -- |
| 5 | -allocated_amount |
- - Currency | -- Contribution to Net Total - - | -
- Company:company:default_currency- |
-
| 6 | -incentives |
- - Currency | -- Incentives - - | -
- Company:company:default_currency- |
-
| 7 | -parenttype |
- - Data | -- Parenttype - - | -- |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -cust_master_name |
- - Select | -- Customer Naming By - - | -
- Customer Name -Naming Series- |
-
| 2 | -campaign_naming_by |
- - Select | -- Campaign Naming By - - | -
- Campaign Name -Naming Series- |
-
| 3 | -customer_group |
- - Link | -- Default Customer Group - - | -- - - - -Customer Group - - - - | -
| 4 | -territory |
- - Link | -- Default Territory - - | -- - - - -Territory - - - - | -
| 5 | -selling_price_list |
- - Link | -- Default Price List - - | -- - - - -Price List - - - - | -
| 6 | -column_break_5 |
- - Column Break | -- - - | -- |
| 7 | -so_required |
- - Select | -- Sales Order Required - - | -
- No -Yes- |
-
| 8 | -dn_required |
- - Select | -- Delivery Note Required - - | -
- No -Yes- |
-
| 9 | -maintain_same_sales_rate |
- - Check | -- Maintain Same Rate Throughout Sales Cycle - - | -- |
| 10 | -editable_price_list_rate |
- - Check | -- Allow user to edit Price List Rate in transactions - - | -- |
| 11 | -allow_multiple_items |
- - Check | -- Allow Item to be added multiple times in a transaction - - | -- |
| 12 | -allow_against_multiple_purchase_orders |
- - Check | -- Allow multiple Sales Orders against a Customer's Purchase Order - - | -- |
Inherits from frappe.model.document.Document - -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break1 |
- - Column Break | -- - - | -- |
| 2 | -send_to |
- - Select | -- Send To - - | -
- -All Contact -All Customer Contact -All Supplier Contact -All Sales Partner Contact -All Lead (Open) -All Employee (Active) -All Sales Person- |
-
| 3 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 4 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 5 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 6 | -department |
- - Link | -- Department - - | -- - - - -Department - - - - | -
| 7 | -branch |
- - Link | -- Branch - - | -- - - - -Branch - - - - | -
| 8 | -create_receiver_list |
- - Button | -- Create Receiver List - - | -
- create_receiver_list- |
-
| 9 | -receiver_list |
- - Code | -- Receiver List - - | -- |
| 10 | -column_break9 |
- - Column Break | -- - - | -- |
| 11 | -message |
- - Text | -
- Message
- - Messages greater than 160 characters will be split into multiple messages - |
- - |
| 12 | -total_characters |
- - Int | -- Total Characters - - | -- |
| 13 | -total_messages |
- - Int | -- Total Message(s) - - | -- |
| 14 | -send_sms |
- - Button | -- Send SMS - - | -
- send_sms- |
-
Inherits from frappe.model.document.Document - -
- - - create_receiver_list - (self) -
-No docs
-- - - get_receiver_nos - (self) -
-No docs
-- - - send_sms - (self) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|
Inherits from erpnext.utilities.transaction_base.TransactionBase - -
- - - bifurcate_based_on_type - (self, doctype_name, total, av_dis, based_on, doc_obj, val, company) -
-No docs
-- - - get_appr_user_role - (self, det, doctype_name, total, based_on, condition, item, company) -
-No docs
-- - - get_approver_name - (self, doctype_name, total, doc_obj=) -
-No docs
-- - - get_value_based_rule - (self, doctype_name, employee, total_claimed_amount, company) -
-No docs
-- - - validate_approving_authority - (self, doctype_name, company, total, doc_obj=) -
-No docs
-- - - validate_auth_rule - (self, doctype_name, total, based_on, cond, company, item=) -
-No docs
-Table Name: tabAuthorization Rule
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -transaction |
- - Select | -- Transaction - - | -
- -Sales Order -Purchase Order -Quotation -Delivery Note -Sales Invoice -Purchase Invoice -Purchase Receipt -Appraisal- |
-
| 2 | -based_on |
- - Select | -- Based On - - | -
- -Grand Total -Average Discount -Customerwise Discount -Itemwise Discount -Not Applicable- |
-
| 3 | -customer_or_item |
- - Select | -- Customer or Item - - | -
- Customer -Item- |
-
| 4 | -master_name |
- - Dynamic Link | -- Customer / Item Name - - | -
- customer_or_item- |
-
| 5 | -column_break_3 |
- - Column Break | -- - - | -- |
| 6 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 7 | -section_break_17 |
- - Section Break | -- - - | -- |
| 8 | -value |
- - Float | -- Authorized Value - - | -- |
| 9 | -section_break_7 |
- - Section Break | -- - - | -- |
| 10 | -system_role |
- - Link | -- Applicable To (Role) - - | -- - - - -Role - - - - | -
| 11 | -to_emp |
- - Link | -- Applicable To (Employee) - - | -- - - - -Employee - - - - | -
| 12 | -column_break_10 |
- - Column Break | -- - - | -- |
| 13 | -system_user |
- - Link | -- Applicable To (User) - - | -- - - - -User - - - - | -
| 14 | -to_designation |
- - Link | -- Applicable To (Designation) - - | -- - - - -Designation - - - - | -
| 15 | -section_break_13 |
- - Section Break | -- - - | -- |
| 16 | -approving_role |
- - Link | -- Approving Role (above authorized value) - - | -- - - - -Role - - - - | -
| 17 | -column_break_15 |
- - Column Break | -- - - | -- |
| 18 | -approving_user |
- - Link | -- Approving User (above authorized value) - - | -- - - - -User - - - - | -
Inherits from frappe.model.document.Document - -
- - - check_duplicate_entry - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_rule - (self) -
-No docs
-Table Name: tabBrand
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -brand |
- - Data | -- Brand Name - - | -- |
| 2 | -description |
- - Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabCompany
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -details |
- - Section Break | -- - - | -- |
| 2 | -company_name |
- - Data | -- Company - - | -- |
| 3 | -abbr |
- - Data | -- Abbr - - | -- |
| 4 | -change_abbr |
- - Button | -- Change Abbreviation - - | -- |
| 5 | -cb0 |
- - Column Break | -- - - | -- |
| 6 | -domain |
- - Select | -- Domain - - | -
- Distribution -Manufacturing -Retail -Services -Education- |
-
| 7 | -charts_section |
- - Section Break | -- Default Values - - | -- |
| 8 | -default_letter_head |
- - Link | -- Default Letter Head - - | -- - - - -Letter Head - - - - | -
| 9 | -default_holiday_list |
- - Link | -- Default Holiday List - - | -- - - - -Holiday List - - - - | -
| 10 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
| 11 | -column_break_10 |
- - Column Break | -- - - | -- |
| 12 | -default_currency |
- - Link | -- Default Currency - - | -- - - - -Currency - - - - | -
| 13 | -chart_of_accounts |
- - Select | -- Chart of Accounts - - | -- |
| 14 | -default_terms |
- - Link | -- Default Terms - - | -- - - - -Terms and Conditions - - - - | -
| 15 | -default_settings |
- - Section Break | -- Accounts Settings - - | -- |
| 16 | -default_bank_account |
- - Link | -- Default Bank Account - - | -- - - - -Account - - - - | -
| 17 | -default_cash_account |
- - Link | -- Default Cash Account - - | -- - - - -Account - - - - | -
| 18 | -default_receivable_account |
- - Link | -- Default Receivable Account - - | -- - - - -Account - - - - | -
| 19 | -round_off_account |
- - Link | -- Round Off Account - - | -- - - - -Account - - - - | -
| 20 | -column_break0 |
- - Column Break | -- - - | -- |
| 21 | -default_payable_account |
- - Link | -- Default Payable Account - - | -- - - - -Account - - - - | -
| 22 | -default_expense_account |
- - Link | -- Default Cost of Goods Sold Account - - | -- - - - -Account - - - - | -
| 23 | -default_income_account |
- - Link | -- Default Income Account - - | -- - - - -Account - - - - | -
| 24 | -round_off_cost_center |
- - Link | -- Round Off Cost Center - - | -- - - - -Cost Center - - - - | -
| 25 | -section_break_22 |
- - Section Break | -- - - | -- |
| 26 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 27 | -credit_days_based_on |
- - Select | -- Credit Days Based On - - | -
- -Fixed Days -Last Day of the Next Month- |
-
| 28 | -credit_days |
- - Int | -- Credit Days - - | -- |
| 29 | -credit_limit |
- - Currency | -- Credit Limit - - | -
- default_currency- |
-
| 30 | -column_break_26 |
- - Column Break | -- - - | -- |
| 31 | -yearly_bgt_flag |
- - Select | -- If Yearly Budget Exceeded (for expense account) - - | -
- -Warn -Ignore -Stop- |
-
| 32 | -monthly_bgt_flag |
- - Select | -- If Monthly Budget Exceeded (for expense account) - - | -
- -Warn -Ignore -Stop- |
-
| 33 | -auto_accounting_for_stock_settings |
- - Section Break | -- Stock Settings - - | -- |
| 34 | -stock_received_but_not_billed |
- - Link | -- Stock Received But Not Billed - - | -- - - - -Account - - - - | -
| 35 | -stock_adjustment_account |
- - Link | -- Stock Adjustment Account - - | -- - - - -Account - - - - | -
| 36 | -column_break_32 |
- - Column Break | -- - - | -- |
| 37 | -expenses_included_in_valuation |
- - Link | -- Expenses Included In Valuation - - | -- - - - -Account - - - - | -
| 38 | -company_info |
- - Section Break | -
- Company Info
- - For reference only. - |
- - |
| 39 | -address |
- - Small Text | -- Address - - | -- |
| 40 | -column_break1 |
- - Column Break | -- - - | -- |
| 41 | -phone_no |
- - Data | -- Phone No - - | -
- Phone- |
-
| 42 | -fax |
- - Data | -- Fax - - | -
- Phone- |
-
| 43 | -email |
- - Data | -- Email - - | -
- |
-
| 44 | -website |
- - Data | -- Website - - | -- |
| 45 | -registration_info |
- - Section Break | -- - - | -- |
| 46 | -registration_details |
- - Code | -
- Registration Details
- - Company registration numbers for your reference. Tax numbers etc. - |
- - |
| 47 | -delete_company_transactions |
- - Button | -- Delete Company Transactions - - | -- |
Inherits from frappe.model.document.Document - -
- - - _set_default_account - (self, fieldname, account_type) -
-No docs
-- - - abbreviate - (self) -
-No docs
-- - - after_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - before_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - check_if_transactions_exist - (self) -
-No docs
-- - - create_default_accounts - (self) -
-No docs
-- - - create_default_cost_center - (self) -
-No docs
-- - - create_default_warehouses - (self) -
-No docs
-- - - install_country_fixtures - (self) -
-No docs
-- - - on_trash - (self) -
-Trash accounts and cost centers for this company if no gl entry exists
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - set_default_accounts - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_abbr - (self) -
-No docs
-- - - validate_currency - (self) -
-No docs
-- - - validate_default_accounts - (self) -
-No docs
-- - - erpnext.setup.doctype.company.company.get_company_currency - (company) -
-No docs
-- - - erpnext.setup.doctype.company.company.get_name_with_abbr - (name, company) -
-No docs
-Public API
- /api/method/erpnext.setup.doctype.company.company.replace_abbr
-
- - - erpnext.setup.doctype.company.company.replace_abbr - (company, old, new) -
-No docs
-Table Name: tabCurrency Exchange
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -from_currency |
- - Link | -- From Currency - - | -- - - - -Currency - - - - | -
| 2 | -to_currency |
- - Link | -- To Currency - - | -- - - - -Currency - - - - | -
| 3 | -exchange_rate |
- - Float | -- Exchange Rate - - | -- |
Inherits from frappe.model.document.Document - -
- - - autoname - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabCustomer Group
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_group_name |
- - Data | -- Customer Group Name - - | -- |
| 2 | -parent_customer_group |
- - Link | -- Parent Customer Group - - | -- - - - -Customer Group - - - - | -
| 3 | -is_group |
- - Select | -
- Has Child Node
- - Only leaf nodes are allowed in transaction - |
-
- -Yes -No- |
-
| 4 | -cb0 |
- - Column Break | -- - - | -- |
| 5 | -default_price_list |
- - Link | -- Default Price List - - | -- - - - -Price List - - - - | -
| 6 | -credit_days_based_on |
- - Select | -- Credit Days Based On - - | -
- -Fixed Days -Last Day of the Next Month- |
-
| 7 | -credit_days |
- - Int | -- Credit Days - - | -- |
| 8 | -credit_limit |
- - Currency | -- Credit Limit - - | -- |
| 9 | -lft |
- - Int | -- lft - - | -- |
| 10 | -rgt |
- - Int | -- rgt - - | -- |
| 11 | -old_parent |
- - Link | -- old_parent - - | -- - - - -Customer Group - - - - | -
| 12 | -default_receivable_account |
- - Section Break | -- Default Receivable Account - - | -- |
| 13 | -accounts |
- - Table | -
- Accounts
- - Mention if non-standard receivable account applicable - |
- - - - - -Party Account - - - - | -
Inherits from frappe.utils.nestedset.NestedSet - -
- - - on_update - (self) -
-No docs
-- - - validate_name_with_customer - (self) -
-No docs
-Table Name: tabEmail Digest
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -settings |
- - Section Break | -- Email Digest Settings - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -enabled |
- - Check | -- Enabled - - | -- |
| 4 | -company |
- - Link | -- For Company - - | -- - - - -Company - - - - | -
| 5 | -frequency |
- - Select | -- How frequently? - - | -
- Daily -Weekly -Monthly- |
-
| 6 | -next_send |
- - Data | -- Next email will be sent on: - - | -- |
| 7 | -column_break1 |
- - Column Break | -- - - | -- |
| 8 | -recipient_list |
- - Text | -
- Recipients
- - Note: Email will not be sent to disabled users - |
- - |
| 9 | -addremove_recipients |
- - Button | -- Add/Remove Recipients - - | -- |
| 10 | -accounts |
- - Section Break | -- Accounts - - | -- |
| 11 | -accounts_module |
- - Column Break | -- Income / Expense - - | -- |
| 12 | -income |
- - Check | -- Income - - | -- |
| 13 | -expenses_booked |
- - Check | -- Expense - - | -- |
| 14 | -bank_balance |
- - Check | -- Bank Balance - - | -- |
| 15 | -income_year_to_date |
- - Check | -- Annual Income - - | -- |
| 16 | -expense_year_to_date |
- - Check | -- Annual Expense - - | -- |
| 17 | -column_break_16 |
- - Column Break | -- Receivables / Payables - - | -- |
| 18 | -invoiced_amount |
- - Check | -- Receivables - - | -- |
| 19 | -payables |
- - Check | -- Payables - - | -- |
| 20 | -other |
- - Section Break | -- Other - - | -- |
| 21 | -add_quote |
- - Check | -- Add Quote - - | -- |
Inherits from frappe.model.document.Document - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - fmt_money - (self, value) -
-No docs
-- - - get_bank_balance - (self) -
-No docs
-- - - get_calendar_events - (self) -
-Get calendar events for given user
-- - - get_expense_year_to_date - (self) -
-Get income to date
-- - - get_expenses_booked - (self) -
-No docs
-- - - get_from_to_date - (self) -
-No docs
-- - - get_income - (self) -
-Get income for given period
-- - - get_income_year_to_date - (self) -
-Get income to date
-- - - get_invoiced_amount - (self) -
-No docs
-- - - get_msg_html - (self) -
-Build email digest content
-- - - get_next_sending - (self) -
-No docs
-- - - get_notifications - (self) -
-Get notifications for user
-- - - get_payables - (self) -
-No docs
-- - - get_period_amounts - (self, accounts) -
-Get amounts for current and past periods
-- - - get_root_type_accounts - (self, root_type) -
-No docs
-- - - get_todo_list - (self, user_id=None) -
-Get to-do list
-- - - get_type_balance - (self, fieldname, account_type) -
-No docs
-- - - get_users - (self) -
-get list of users
-- - - get_year_to_date_balance - (self, root_type) -
-Get income to date
-- - - onload - (self) -
-No docs
-- - - send - (self) -
-No docs
-- - - set_accounting_cards - (self, context) -
-Create accounting cards if checked
-- - - set_dates - (self) -
-No docs
-- - - set_style - (self, context) -
-Set standard digest style
-- - - set_title - (self, context) -
-Set digest title
-Public API
- /api/method/erpnext.setup.doctype.email_digest.email_digest.get_digest_msg
-
- - - erpnext.setup.doctype.email_digest.email_digest.get_digest_msg - (name) -
-No docs
-- - - erpnext.setup.doctype.email_digest.email_digest.send - () -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -materials |
- - Section Break | -- Materials - - | -- |
| 2 | -fs_item_serial_nos |
- - Check | -
- Item Serial Nos
- - To track item in sales and purchase documents based on their serial nos. This is can also used to track warranty details of the product. - |
- - |
| 3 | -fs_item_batch_nos |
- - Check | -
- Item Batch Nos
- - To track items in sales and purchase documents with batch nos. "Preferred Industry: Chemicals" - |
- - |
| 4 | -fs_brands |
- - Check | -
- Brands
- - To track brand name in the following documents Delivery Note, Opportunity, Material Request, Item, Purchase Order, Purchase Voucher, Purchaser Receipt, Quotation, Sales Invoice, Product Bundle, Sales Order, Serial No - |
- - |
| 5 | -fs_item_barcode |
- - Check | -
- Item Barcode
- - To track items using barcode. You will be able to enter items in Delivery Note and Sales Invoice by scanning barcode of item. - |
- - |
| 6 | -column_break0 |
- - Column Break | -- - - | -- |
| 7 | -fs_item_advanced |
- - Check | -
- Item Advanced
- - 1. To maintain the customer wise item code and to make them searchable based on their code use this option - |
- - |
| 8 | -fs_item_group_in_details |
- - Check | -
- Item Groups in Details
- - To get Item Group in details table - |
- - |
| 9 | -sales_and_purchase |
- - Section Break | -- Sales and Purchase - - | -- |
| 10 | -fs_exports |
- - Check | -
- Exports
- - All export related fields like currency, conversion rate, export total, export grand total etc are available in Delivery Note, POS, Quotation, Sales Invoice, Sales Order etc. - |
- - |
| 11 | -fs_imports |
- - Check | -
- Imports
- - All import related fields like currency, conversion rate, import total, import grand total etc are available in Purchase Receipt, Supplier Quotation, Purchase Invoice, Purchase Order etc. - |
- - |
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -fs_discounts |
- - Check | -
- Sales Discounts
- - Field available in Delivery Note, Quotation, Sales Invoice, Sales Order - |
- - |
| 14 | -fs_purchase_discounts |
- - Check | -
- Purchase Discounts
- - Discount Fields will be available in Purchase Order, Purchase Receipt, Purchase Invoice - |
- - |
| 15 | -fs_after_sales_installations |
- - Check | -
- After Sale Installations
- - To track any installation or commissioning related work after sales - |
- - |
| 16 | -fs_projects |
- - Check | -
- Projects
- - Available in BOM, Delivery Note, Purchase Invoice, Production Order, Purchase Order, Purchase Receipt, Sales Invoice, Sales Order, Stock Entry, Timesheet - |
- - |
| 17 | -fs_sales_extras |
- - Check | -
- Sales Extras
- - If you have Sales Team and Sale Partners (Channel Partners) they can be tagged and maintain their contribution in the sales activity - |
- - |
| 18 | -accounts |
- - Section Break | -- Accounts - - | -- |
| 19 | -fs_recurring_invoice |
- - Check | -
- Recurring Invoice
- - Check if you need automatic recurring invoices. After submitting any sales invoice, Recurring section will be visible. - |
- - |
| 20 | -column_break2 |
- - Column Break | -- - - | -- |
| 21 | -fs_pos |
- - Check | -
- Point of Sale
- - To enable "Point of Sale" features - |
- - |
| 22 | -fs_pos_view |
- - Check | -
- POS View
- - To enable "Point of Sale" view - |
- - |
| 23 | -production |
- - Section Break | -- Manufacturing - - | -- |
| 24 | -fs_manufacturing |
- - Check | -
- Manufacturing
- - If you involve in manufacturing activity. Enables Item 'Is Manufactured' - |
- - |
| 25 | -column_break3 |
- - Column Break | -- - - | -- |
| 26 | -fs_quality |
- - Check | -
- Quality
- - If you follow Quality Inspection. Enables Item QA Required and QA No in Purchase Receipt - |
- - |
| 27 | -miscelleneous |
- - Section Break | -- Miscelleneous - - | -- |
| 28 | -fs_page_break |
- - Check | -
- Page Break
- - If you have long print formats, this feature can be used to split the page to be printed on multiple pages with all headers and footers on each page - |
- - |
| 29 | -column_break4 |
- - Column Break | -- - - | -- |
| 30 | -fs_more_info |
- - Check | -- More Information - - | -- |
Inherits from frappe.model.document.Document - -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -default_company |
- - Link | -- Default Company - - | -- - - - -Company - - - - | -
| 2 | -current_fiscal_year |
- - Link | -- Current Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 3 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
| 4 | -column_break_8 |
- - Column Break | -- - - | -- |
| 5 | -default_currency |
- - Link | -- Default Currency - - | -- - - - -Currency - - - - | -
| 6 | -hide_currency_symbol |
- - Select | -
- Hide Currency Symbol
- - Do not show any symbol like $ etc next to currencies. - |
-
- -No -Yes- |
-
| 7 | -disable_rounded_total |
- - Check | -
- Disable Rounded Total
- - If disable, 'Rounded Total' field will not be visible in any transaction - |
- - |
Inherits from frappe.model.document.Document - -
- - - get_defaults - (self) -
-No docs
-- - - on_update - (self) -
-update defaults
-- - - toggle_rounded_total - (self) -
-No docs
-Table Name: tabItem Group
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -gs |
- - Section Break | -- General Settings - - | -- |
| 2 | -item_group_name |
- - Data | -- Item Group Name - - | -- |
| 3 | -parent_item_group |
- - Link | -- Parent Item Group - - | -- - - - -Item Group - - - - | -
| 4 | -is_group |
- - Select | -
- Has Child Node
- - Only leaf nodes are allowed in transaction - |
-
- -Yes -No- |
-
| 5 | -column_break_5 |
- - Column Break | -- - - | -- |
| 6 | -default_income_account |
- - Link | -- Default Income Account - - | -- - - - -Account - - - - | -
| 7 | -default_expense_account |
- - Link | -- Default Expense Account - - | -- - - - -Account - - - - | -
| 8 | -default_cost_center |
- - Link | -- Default Cost Center - - | -- - - - -Cost Center - - - - | -
| 9 | -sb9 |
- - Section Break | -- Website Settings - - | -- |
| 10 | -show_in_website |
- - Check | -
- Show in Website
- - Check this if you want to show in website - |
- - |
| 11 | -page_name |
- - Data | -- Page Name - - | -- |
| 12 | -parent_website_route |
- - Read Only | -- Parent Website Route - - | -- |
| 13 | -slideshow |
- - Link | -
- Slideshow
- - Show this slideshow at the top of the page - |
- - - - - -Website Slideshow - - - - | -
| 14 | -description |
- - Text Editor | -
- Description
- - HTML / Banner that will show on the top of product list. - |
- - |
| 15 | -website_specifications |
- - Table | -- Website Specifications - - | -- - - - -Item Website Specification - - - - | -
| 16 | -lft |
- - Int | -- lft - - | -- |
| 17 | -rgt |
- - Int | -- rgt - - | -- |
| 18 | -old_parent |
- - Link | -- old_parent - - | -- - - - -Item Group - - - - | -
Inherits from frappe.utils.nestedset.NestedSet, frappe.website.website_generator.WebsiteGenerator - -
- - - after_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - get_context - (self, context) -
-No docs
-- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - set_parent_website_route - (self) -
-Overwrite parent_website_route from WebsiteGenerator.
-Only set parent_website_route if parent is visble.
e.g. If show_in_website is set for Products then url should be /products
- - - validate_name_with_item - (self) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.get_child_groups - (item_group_name) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.get_group_item_count - (item_group) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.get_item_for_list_in_html - (context) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.get_parent_item_groups - (item_group_name) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.get_product_list_for_group - (product_group=None, start=0, limit=10) -
-No docs
-- - - erpnext.setup.doctype.item_group.item_group.invalidate_cache_for - (doc, item_group=None) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -setup_series |
- - Section Break | -
- Setup Series
- - Set prefix for numbering series on your transactions - |
- - |
| 2 | -select_doc_for_series |
- - Select | -- Select Transaction - - | -- |
| 3 | -help_html |
- - HTML | -- Help HTML - - | -- |
| 4 | -set_options |
- - Text | -- Series List for this Transaction - - | -- |
| 5 | -user_must_always_select |
- - Check | -
- User must always select
- - Check this if you want to force the user to select a series before saving. There will be no default if you check this. - |
- - |
| 6 | -update |
- - Button | -- Update - - | -- |
| 7 | -update_series |
- - Section Break | -
- Update Series
- - Change the starting / current sequence number of an existing series. - |
- - |
| 8 | -prefix |
- - Select | -- Prefix - - | -- |
| 9 | -current_value |
- - Int | -
- Current Value
- - This is the number of the last created transaction with this prefix - |
- - |
| 10 | -update_series_start |
- - Button | -- Update Series Number - - | -
- update_series_start- |
-
Inherits from frappe.model.document.Document - -
- - - check_duplicate - (self) -
-No docs
-- - - get_current - (self, arg=None) -
-get series current
-- - - get_options - (self, arg=None) -
-No docs
-- - - get_transactions - (self, arg=None) -
-No docs
-- - - insert_series - (self, series) -
-insert series if missing
-- - - scrub_options_list - (self, ol) -
-No docs
-- - - set_series_for - (self, doctype, ol) -
-No docs
-- - - update_series - (self, arg=None) -
-update series list
-- - - update_series_start - (self) -
-No docs
-- - - validate_series_name - (self, n) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.setup.doctype.naming_series.naming_series.get_default_naming_series - (doctype) -
-No docs
-- - - erpnext.setup.doctype.naming_series.naming_series.set_by_naming_series - (doctype, fieldname, naming_series, hide_name_field=True) -
-No docs
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -send_autonotification_for |
- - Section Break | -
- Prompt for Email on Submission of
- - When any of the checked transactions are "Submitted", an email pop-up automatically opened to send an email to the associated "Contact" in that transaction, with the transaction as an attachment. The user may or may not send the email. - |
- - |
| 2 | -sales |
- - Column Break | -- Sales - - | -- |
| 3 | -quotation |
- - Check | -- Quotation - - | -- |
| 4 | -sales_order |
- - Check | -- Sales Order - - | -- |
| 5 | -delivery_note |
- - Check | -- Delivery Note - - | -- |
| 6 | -sales_invoice |
- - Check | -- Sales Invoice - - | -- |
| 7 | -purchase |
- - Column Break | -- Purchase - - | -- |
| 8 | -purchase_order |
- - Check | -- Purchase Order - - | -- |
| 9 | -purchase_receipt |
- - Check | -- Purchase Receipt - - | -- |
| 10 | -expense_claim |
- - Check | -- Expense Claim - - | -- |
| 11 | -customize_the_notification |
- - Section Break | -
- Customize the Notification
- - Customize the introductory text that goes as a part of that email. Each transaction has a separate introductory text. - |
- - |
| 12 | -select_transaction |
- - Select | -- Select Transaction - - | -
- -Quotation -Sales Order -Delivery Note -Sales Invoice -Purchase Order -Purchase Receipt -Expense Claim -Expense Claim Approved -Expense Claim Rejected- |
-
| 13 | -custom_message |
- - Text Editor | -- Custom Message - - | -- |
| 14 | -set_message |
- - Button | -- Update - - | -- |
| 15 | -quotation_message |
- - Text | -- Quotation Message - - | -- |
| 16 | -sales_order_message |
- - Text | -- Sales Order Message - - | -- |
| 17 | -delivery_note_message |
- - Text | -- Delivery Note Message - - | -- |
| 18 | -sales_invoice_message |
- - Text | -- Sales Invoice Message - - | -- |
| 19 | -purchase_order_message |
- - Text | -- Purchase Order Message - - | -- |
| 20 | -purchase_receipt_message |
- - Text | -- Purchase Receipt Message - - | -- |
| 21 | -expense_claim_approved_message |
- - Text | -- Expense Claim Approved Message - - | -- |
| 22 | -expense_claim_rejected_message |
- - Text | -- Expense Claim Rejected Message - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabPrint Heading
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -print_heading |
- - Data | -- Print Heading - - | -- |
| 2 | -description |
- - Small Text | -- Description - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabQuotation Lost Reason
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -order_lost_reason |
- - Data | -- Quotation Lost Reason - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabSales Partner
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -partner_name |
- - Data | -- Sales Partner Name - - | -- |
| 2 | -partner_type |
- - Select | -- Partner Type - - | -
- -Channel Partner -Distributor -Dealer -Agent -Retailer -Implementation Partner -Reseller- |
-
| 3 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 4 | -column_break0 |
- - Column Break | -- - - | -- |
| 5 | -commission_rate |
- - Float | -- Commission Rate - - | -- |
| 6 | -address_contacts |
- - Section Break | -- Address & Contacts - - | -- |
| 7 | -address_desc |
- - HTML | -- Address Desc - - | -- |
| 8 | -address_html |
- - HTML | -- Address HTML - - | -- |
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -contact_desc |
- - HTML | -- Contact Desc - - | -- |
| 11 | -contact_html |
- - HTML | -- Contact HTML - - | -- |
| 12 | -partner_target_details_section_break |
- - Section Break | -- Sales Partner Target - - | -- |
| 13 | -targets |
- - Table | -- Targets - - | -- - - - -Target Detail - - - - | -
| 14 | -distribution_id |
- - Link | -
- Target Distribution
- - Select Monthly Distribution to unevenly distribute targets across months. - |
- - - - - -Monthly Distribution - - - - | -
| 15 | -website |
- - Section Break | -- Website - - | -- |
| 16 | -show_in_website |
- - Check | -- Show In Website - - | -- |
| 17 | -section_break_17 |
- - Section Break | -- - - | -- |
| 18 | -logo |
- - Attach | -- Logo - - | -- |
| 19 | -partner_website |
- - Data | -- Partner's Website - - | -- |
| 20 | -column_break_20 |
- - Column Break | -- - - | -- |
| 21 | -page_name |
- - Data | -- Page Name - - | -- |
| 22 | -section_break_22 |
- - Section Break | -- - - | -- |
| 23 | -introduction |
- - Text | -- Introduction - - | -- |
| 24 | -description |
- - Text Editor | -- Description - - | -- |
| 25 | -parent_website_route |
- - Read Only | -- Parent Website Route - - | -- |
Inherits from frappe.website.website_generator.WebsiteGenerator - -
- - - autoname - (self) -
-No docs
-- - - get_contacts - (self, nm) -
-No docs
-- - - get_context - (self, context) -
-No docs
-- - - onload - (self) -
-Load address and contacts in __onload
- - - validate - (self) -
-No docs
-Table Name: tabSales Person
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -name_and_employee_id |
- - Section Break | -- Name and Employee ID - - | -
- icon-user- |
-
| 2 | -sales_person_name |
- - Data | -- Sales Person Name - - | -- |
| 3 | -parent_sales_person |
- - Link | -
- Parent Sales Person
- - Select company name first. - |
- - - - - -Sales Person - - - - | -
| 4 | -is_group |
- - Select | -- Has Child Node - - | -
- -Yes -No- |
-
| 5 | -cb0 |
- - Column Break | -- - - | -- |
| 6 | -employee |
- - Link | -- Employee - - | -- - - - -Employee - - - - | -
| 7 | -lft |
- - Int | -- lft - - | -- |
| 8 | -rgt |
- - Int | -- rgt - - | -- |
| 9 | -old_parent |
- - Data | -- old_parent - - | -- |
| 10 | -target_details_section_break |
- - Section Break | -
- Sales Person Targets
- - Set targets Item Group-wise for this Sales Person. - |
-
- icon-bullseye- |
-
| 11 | -targets |
- - Table | -- Targets - - | -- - - - -Target Detail - - - - | -
| 12 | -distribution_id |
- - Link | -
- Target Distribution
- - Select Monthly Distribution to unevenly distribute targets across months. - |
- - - - - -Monthly Distribution - - - - | -
Inherits from frappe.utils.nestedset.NestedSet - -
- - - get_email_id - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_employee_id - (self) -
-No docs
-Table Name: tabSMS Parameter
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -parameter |
- - Data | -- Parameter - - | -- |
| 2 | -value |
- - Data | -- Value - - | -- |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -column_break0 |
- - Column Break | -- - - | -- |
| 2 | -sms_gateway_url |
- - Data | -
- SMS Gateway URL
- - Eg. smsgateway.com/api/send_sms.cgi - |
- - |
| 3 | -message_parameter |
- - Data | -
- Message Parameter
- - Enter url parameter for message - |
- - |
| 4 | -receiver_parameter |
- - Data | -
- Receiver Parameter
- - Enter url parameter for receiver nos - |
- - |
| 5 | -sms_sender_name |
- - Data | -- SMS Sender Name - - | -- |
| 6 | -static_parameters_section |
- - Column Break | -- - - | -- |
| 7 | -parameters |
- - Table | -
- Static Parameters
- - Enter static url parameters here (Eg. sender=ERPNext, username=ERPNext, password=1234 etc.) - |
- - - - - -SMS Parameter - - - - | -
Inherits from frappe.model.document.Document - -
- - - erpnext.setup.doctype.sms_settings.sms_settings.create_sms_log - (args, sent_to) -
-No docs
-Public API
- /api/method/erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number
-
- - - erpnext.setup.doctype.sms_settings.sms_settings.get_contact_number - (contact_name, value, key) -
-returns mobile number of the contact
-- - - erpnext.setup.doctype.sms_settings.sms_settings.get_sender_name - () -
-returns name as SMS sender
-- - - erpnext.setup.doctype.sms_settings.sms_settings.scrub_gateway_url - (url) -
-No docs
-- - - erpnext.setup.doctype.sms_settings.sms_settings.send_request - (gateway_url, args) -
-No docs
-Public API
- /api/method/erpnext.setup.doctype.sms_settings.sms_settings.send_sms
-
- - - erpnext.setup.doctype.sms_settings.sms_settings.send_sms - (receiver_list, msg, sender_name=) -
-No docs
-- - - erpnext.setup.doctype.sms_settings.sms_settings.send_via_gateway - (arg) -
-No docs
-- - - erpnext.setup.doctype.sms_settings.sms_settings.validate_receiver_nos - (receiver_list) -
-No docs
-Table Name: tabSupplier Type
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supplier_type |
- - Data | -- Supplier Type - - | -- |
| 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 | -- Credit Days - - | -- |
| 5 | -default_payable_account |
- - Section Break | -- Default Payable Account - - | -- |
| 6 | -accounts |
- - Table | -
- Accounts
- - Mention if non-standard receivable account applicable - |
- - - - - -Party Account - - - - | -
Inherits from frappe.model.document.Document - -
Table Name: tabTarget Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 2 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 3 | -target_qty |
- - Float | -- Target Qty - - | -- |
| 4 | -target_amount |
- - Float | -- Target Amount - - | -- |
Table Name: tabTerms and Conditions
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -title |
- - Data | -- Title - - | -- |
| 2 | -disabled |
- - Check | -- Disabled - - | -- |
| 3 | -terms |
- - Text Editor | -- Terms and Conditions - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabTerritory
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -territory_name |
- - Data | -- Territory Name - - | -- |
| 2 | -parent_territory |
- - Link | -- Parent Territory - - | -- - - - -Territory - - - - | -
| 3 | -is_group |
- - Select | -
- Has Child Node
- - Only leaf nodes are allowed in transaction - |
-
- -Yes -No- |
-
| 4 | -cb0 |
- - Column Break | -- - - | -- |
| 5 | -territory_manager |
- - Link | -
- Territory Manager
- - For reference - |
- - - - - -Sales Person - - - - | -
| 6 | -lft |
- - Int | -- lft - - | -- |
| 7 | -rgt |
- - Int | -- rgt - - | -- |
| 8 | -old_parent |
- - Link | -- old_parent - - | -- - - - -Territory - - - - | -
| 9 | -target_details_section_break |
- - Section Break | -
- Territory Targets
- - Set Item Group-wise budgets on this Territory. You can also include seasonality by setting the Distribution. - |
- - |
| 10 | -targets |
- - Table | -- Targets - - | -- - - - -Target Detail - - - - | -
| 11 | -distribution_id |
- - Link | -
- Target Distribution
- - Select Monthly Distribution to unevenly distribute targets across months. - |
- - - - - -Monthly Distribution - - - - | -
Inherits from frappe.utils.nestedset.NestedSet - -
- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabUOM
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -uom_name |
- - Data | -- UOM Name - - | -- |
| 2 | -must_be_whole_number |
- - Check | -
- Must be Whole Number
- - Check this to disallow fractions. (for Nos) - |
- - |
Inherits from frappe.model.document.Document - -
Table Name: tabWebsite Item Group
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -enabled |
- - Check | -- Enable Shopping Cart - - | -- |
| 2 | -section_break_2 |
- - Section Break | -- - - | -- |
| 3 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 4 | -price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 5 | -column_break_4 |
- - Column Break | -- - - | -- |
| 6 | -default_customer_group |
- - Link | -- Default Customer Group - - | -- - - - -Customer Group - - - - | -
| 7 | -quotation_series |
- - Select | -- Quotation Series - - | -- |
Inherits from frappe.model.document.Document - -
- - - get_shipping_rules - (self, shipping_territory) -
-No docs
-- - - get_tax_master - (self, billing_territory) -
-No docs
-- - - onload - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_exchange_rates_exist - (self) -
-check if exchange rates exist for all Price List currencies (to company's currency)
-- - - validate_tax_rule - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.check_shopping_cart_enabled - () -
-No docs
-- - - erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.get_shopping_cart_settings - () -
-No docs
-- - - erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.is_cart_enabled - () -
-No docs
-- - - erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.validate_cart_settings - (doc, method) -
-No docs
-Table Name: tabBatch
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -batch_id |
- - Data | -- Batch ID - - | -- |
| 2 | -item |
- - Link | -- Item - - | -- - - - -Item - - - - | -
| 3 | -column_break_3 |
- - Column Break | -- - - | -- |
| 4 | -expiry_date |
- - Date | -- Expiry Date - - | -- |
| 5 | -section_break_7 |
- - Section Break | -- - - | -- |
| 6 | -description |
- - Small Text | -- Batch Description - - | -- |
Inherits from frappe.model.document.Document - -
- - - item_has_batch_enabled - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabBin
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 2 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 3 | -reserved_qty |
- - Float | -- Reserved Quantity - - | -- |
| 4 | -actual_qty |
- - Float | -- Actual Quantity - - | -- |
| 5 | -ordered_qty |
- - Float | -- Ordered Quantity - - | -- |
| 6 | -indented_qty |
- - Float | -- Quantity Requested for Purchase - - | -- |
| 7 | -planned_qty |
- - Float | -- Planned Qty - - | -- |
| 8 | -projected_qty |
- - Float | -- Projected Qty - - | -- |
| 9 | -ma_rate |
- - Float | -- Moving Average Rate - - | -- |
| 10 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 11 | -fcfs_rate |
- - Float | -- FCFS Rate - - | -- |
| 12 | -valuation_rate |
- - Float | -- Valuation Rate - - | -- |
| 13 | -stock_value |
- - Float | -- Stock Value - - | -- |
Inherits from frappe.model.document.Document - -
- - - get_first_sle - (self) -
-No docs
-- - - update_qty - (self, args) -
-No docs
-- - - update_stock - (self, args, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_mandatory - (self) -
-No docs
-Table Name: tabDelivery Note
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -delivery_to_section |
- - Section Break | -- Delivery To - - | -
- icon-user- |
-
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -title |
- - Data | -- Title - - | -- |
| 4 | -naming_series |
- - Select | -- Series - - | -
- DN- -DN-RET-- |
-
| 5 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 6 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 7 | -customer_address |
- - Link | -- Billing Address Name - - | -- - - - -Address - - - - | -
| 8 | -address_display |
- - Small Text | -- Billing Address - - | -- |
| 9 | -shipping_address_name |
- - Link | -- Shipping Address - - | -- - - - -Address - - - - | -
| 10 | -shipping_address |
- - Small Text | -- Shipping Address - - | -- |
| 11 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 12 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 13 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 14 | -column_break1 |
- - Column Break | -- - - | -- |
| 15 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Delivery Note - - - - | -
| 16 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 17 | -posting_date |
- - Date | -- Date - - | -- |
| 18 | -po_no |
- - Data | -- Customer's Purchase Order No - - | -- |
| 19 | -po_date |
- - Date | -- Customer's Purchase Order Date - - | -- |
| 20 | -is_return |
- - Check | -- Is Return - - | -- |
| 21 | -return_against |
- - Link | -- Return Against Delivery Note - - | -- - - - -Delivery Note - - - - | -
| 22 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 23 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 24 | -conversion_rate |
- - Float | -
- Exchange Rate
- - Rate at which customer's currency is converted to company's base currency - |
- - |
| 25 | -col_break23 |
- - Column Break | -- - - | -- |
| 26 | -selling_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 27 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 28 | -plc_conversion_rate |
- - Float | -
- Price List Exchange Rate
- - Rate at which Price list currency is converted to company's base currency - |
- - |
| 29 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 30 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 31 | -items |
- - Table | -- Items - - | -- - - - -Delivery Note Item - - - - | -
| 32 | -packing_list |
- - Section Break | -- Packing List - - | -
- icon-suitcase- |
-
| 33 | -packed_items |
- - Table | -- Packed Items - - | -- - - - -Packed Item - - - - | -
| 34 | -product_bundle_help |
- - HTML | -- Product Bundle Help - - | -- |
| 35 | -section_break_31 |
- - Section Break | -- - - | -- |
| 36 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 37 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 38 | -column_break_33 |
- - Column Break | -- - - | -- |
| 39 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 40 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 41 | -taxes_section |
- - Section Break | -- Taxes and Charges - - | -
- icon-money- |
-
| 42 | -taxes_and_charges |
- - Link | -
- Taxes and Charges
- - If you have created a standard template in Sales Taxes and Charges Template, select one and click on the button below. - |
- - - - - -Sales Taxes and Charges Template - - - - | -
| 43 | -column_break_39 |
- - Column Break | -- - - | -- |
| 44 | -shipping_rule |
- - Link | -- Shipping Rule - - | -- - - - -Shipping Rule - - - - | -
| 45 | -section_break_41 |
- - Section Break | -- - - | -- |
| 46 | -taxes |
- - Table | -- Sales Taxes and Charges - - | -- - - - -Sales Taxes and Charges - - - - | -
| 47 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 48 | -section_break_44 |
- - Section Break | -- - - | -- |
| 49 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 50 | -column_break_47 |
- - Column Break | -- - - | -- |
| 51 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 52 | -section_break_49 |
- - Section Break | -- Additional Discount - - | -- |
| 53 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 54 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 55 | -column_break_51 |
- - Column Break | -- - - | -- |
| 56 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 57 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 58 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 59 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 60 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 61 | -base_in_words |
- - Data | -
- In Words (Company Currency)
- - In Words will be visible once you save the Delivery Note. - |
- - |
| 62 | -column_break3 |
- - Column Break | -- - - | -- |
| 63 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 64 | -rounded_total |
- - Currency | -- Rounded Total - - | -
- currency- |
-
| 65 | -in_words |
- - Data | -
- In Words
- - In Words (Export) will be visible once you save the Delivery Note. - |
- - |
| 66 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 67 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 68 | -terms |
- - Text Editor | -- Terms and Conditions Details - - | -- |
| 69 | -transporter_info |
- - Section Break | -- Transporter Info - - | -
- icon-truck- |
-
| 70 | -transporter_name |
- - Data | -- Transporter Name - - | -- |
| 71 | -col_break34 |
- - Column Break | -- - - | -- |
| 72 | -lr_no |
- - Data | -- Vehicle No - - | -- |
| 73 | -lr_date |
- - Date | -- Vehicle Dispatch Date - - | -- |
| 74 | -contact_info |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 75 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 76 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 77 | -col_break21 |
- - Column Break | -- - - | -- |
| 78 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 79 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 80 | -project_name |
- - Link | -
- Project Name
- - Track this Delivery Note against any Project - |
- - - - - -Project - - - - | -
| 81 | -campaign |
- - Link | -- Campaign - - | -- - - - -Campaign - - - - | -
| 82 | -source |
- - Select | -- Source - - | -
- -Existing Customer -Reference -Advertisement -Cold Calling -Exhibition -Supplier Reference -Mass Mailing -Customer's Vendor -Campaign- |
-
| 83 | -column_break5 |
- - Column Break | -- - - | -- |
| 84 | -posting_time |
- - Time | -
- Posting Time
- - Time at which items were delivered from warehouse - |
- - |
| 85 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 86 | -per_billed |
- - Currency | -- % Amount Billed - - | -- |
| 87 | -printing_details |
- - Section Break | -- Printing Details - - | -- |
| 88 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 89 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 90 | -column_break_88 |
- - Column Break | -- - - | -- |
| 91 | -print_without_amount |
- - Check | -- Print Without Amount - - | -- |
| 92 | -section_break_83 |
- - Section Break | -- Status - - | -- |
| 93 | -status |
- - Select | -- Status - - | -
- -Draft -To Bill -Completed -Cancelled -Closed- |
-
| 94 | -per_installed |
- - Percent | -
- % Installed
- - % of materials delivered against this Delivery Note - |
- - |
| 95 | -installation_status |
- - Select | -- Installation Status - - | -- |
| 96 | -column_break_89 |
- - Column Break | -- - - | -- |
| 97 | -to_warehouse |
- - Link | -
- To Warehouse
- - Required only for sample item. - |
- - - - - -Warehouse - - - - | -
| 98 | -excise_page |
- - Data | -- Excise Page Number - - | -- |
| 99 | -instructions |
- - Text | -- Instructions - - | -- |
| 100 | -sales_team_section_break |
- - Section Break | -- Commission - - | -
- icon-group- |
-
| 101 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 102 | -column_break7 |
- - Column Break | -- - - | -- |
| 103 | -commission_rate |
- - Float | -- Commission Rate (%) - - | -- |
| 104 | -total_commission |
- - Currency | -- Total Commission - - | -
- Company:company:default_currency- |
-
| 105 | -section_break1 |
- - Section Break | -- Sales Team - - | -- |
| 106 | -sales_team |
- - Table | -- Sales Team1 - - | -- - - - -Sales Team - - - - | -
Inherits from erpnext.controllers.selling_controller.SellingController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - before_print - (self) -
-No docs
-- - - cancel_packing_slips - (self) -
-Cancel submitted packing slips related to this delivery note
-- - - check_credit_limit - (self) -
-No docs
-- - - check_next_docstatus - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_actual_qty - (self) -
-No docs
-- - - so_required - (self) -
-check in manage account if sales order required or not
-- - - update_billing_status - (self, update_modified=True) -
-No docs
-- - - update_current_stock - (self) -
-No docs
-- - - update_status - (self, status) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_for_items - (self) -
-No docs
-- - - validate_packed_qty - (self) -
-Validate that if packed qty exists, it should be equal to qty
-- - - validate_proj_cust - (self) -
-check for does customer belong to same project as entered..
-- - - validate_warehouse - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-- - - erpnext.stock.doctype.delivery_note.delivery_note.get_invoiced_qty_map - (delivery_note) -
-returns a map: {dndetail: invoicedqty}
-- - - erpnext.stock.doctype.delivery_note.delivery_note.get_list_context - (context=None) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note
-
- - - erpnext.stock.doctype.delivery_note.delivery_note.make_installation_note - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip
-
- - - erpnext.stock.doctype.delivery_note.delivery_note.make_packing_slip - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice
-
- - - erpnext.stock.doctype.delivery_note.delivery_note.make_sales_invoice - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return
-
- - - erpnext.stock.doctype.delivery_note.delivery_note.make_sales_return - (source_name, target_doc=None) -
-No docs
-- - - erpnext.stock.doctype.delivery_note.delivery_note.update_billed_amount_based_on_so - (so_detail, update_modified=True) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status
-
- - - erpnext.stock.doctype.delivery_note.delivery_note.update_delivery_note_status - (docname, status) -
-No docs
-Table Name: tabDelivery Note Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -barcode |
- - Data | -- Barcode - - | -- |
| 2 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -customer_item_code |
- - Data | -- Customer's Item Code - - | -- |
| 6 | -section_break_6 |
- - Section Break | -- Description - - | -- |
| 7 | -description |
- - Text Editor | -- Description - - | -- |
| 8 | -column_break_8 |
- - Column Break | -- - - | -- |
| 9 | -image |
- - Attach | -- Image - - | -- |
| 10 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 11 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 12 | -qty |
- - Float | -- Quantity - - | -- |
| 13 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 14 | -discount_percentage |
- - Float | -- Discount on Price List Rate (%) - - | -- |
| 15 | -col_break2 |
- - Column Break | -- - - | -- |
| 16 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 17 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 18 | -section_break_1 |
- - Section Break | -- - - | -- |
| 19 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 20 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 21 | -col_break3 |
- - Column Break | -- - - | -- |
| 22 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 23 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 24 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 25 | -section_break_25 |
- - Section Break | -- - - | -- |
| 26 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 27 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 28 | -column_break_28 |
- - Column Break | -- - - | -- |
| 29 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 31 | -warehouse_and_reference |
- - Section Break | -- Warehouse and Reference - - | -- |
| 32 | -warehouse |
- - Link | -- From Warehouse - - | -- - - - -Warehouse - - - - | -
| 33 | -target_warehouse |
- - Link | -- Customer Warehouse (Optional) - - | -- - - - -Warehouse - - - - | -
| 34 | -serial_no |
- - Text | -- Serial No - - | -- |
| 35 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 36 | -actual_qty |
- - Float | -- Available Qty at From Warehouse - - | -- |
| 37 | -actual_batch_qty |
- - Float | -- Available Batch Qty at From Warehouse - - | -- |
| 38 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 39 | -brand |
- - Link | -- Brand Name - - | -- - - - -Brand - - - - | -
| 40 | -item_tax_rate |
- - Small Text | -- Item Tax Rate - - | -- |
| 41 | -col_break4 |
- - Column Break | -- - - | -- |
| 42 | -expense_account |
- - Link | -- Expense Account - - | -- - - - -Account - - - - | -
| 43 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 44 | -against_sales_order |
- - Link | -- Against Sales Order - - | -- - - - -Sales Order - - - - | -
| 45 | -against_sales_invoice |
- - Link | -- Against Sales Invoice - - | -- - - - -Sales Invoice - - - - | -
| 46 | -so_detail |
- - Data | -- Against Sales Order Item - - | -- |
| 47 | -si_detail |
- - Data | -- Against Sales Invoice Item - - | -- |
| 48 | -installed_qty |
- - Float | -- Installed Qty - - | -- |
| 49 | -billed_amt |
- - Currency | -- Billed Amt - - | -
- currency- |
-
| 50 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabItem
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -name_and_description_section |
- - Section Break | -- - - | -
- icon-flag- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- ITEM-- |
-
| 3 | -item_code |
- - Data | -- Item Code - - | -- |
| 4 | -variant_of |
- - Link | -
- Variant Of
- - If item is a variant of another item then description, image, pricing, taxes etc will be set from the template unless explicitly specified - |
- - - - - -Item - - - - | -
| 5 | -item_name |
- - Data | -- Item Name - - | -- |
| 6 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 7 | -stock_uom |
- - Link | -- Default Unit of Measure - - | -- - - - -UOM - - - - | -
| 8 | -column_break0 |
- - Column Break | -- - - | -- |
| 9 | -is_stock_item |
- - Check | -- Maintain Stock - - | -- |
| 10 | -disabled |
- - Check | -- Disabled - - | -- |
| 11 | -image |
- - Attach | -- Image - - | -
- image- |
-
| 12 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 13 | -section_break_11 |
- - Section Break | -- Description - - | -- |
| 14 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 15 | -barcode |
- - Data | -- Barcode - - | -- |
| 16 | -description |
- - Text Editor | -- Description - - | -- |
| 17 | -inventory |
- - Section Break | -- Inventory - - | -
- icon-truck- |
-
| 18 | -default_warehouse |
- - Link | -- Default Warehouse - - | -- - - - -Warehouse - - - - | -
| 19 | -end_of_life |
- - Date | -- End of Life - - | -- |
| 20 | -has_batch_no |
- - Check | -- Has Batch No - - | -- |
| 21 | -has_serial_no |
- - Check | -
- Has Serial No
- - Selecting "Yes" will give a unique identity to each entity of this item which can be viewed in the Serial No master. - |
- - |
| 22 | -serial_no_series |
- - Data | -
- Serial Number Series
- - Example: ABCD.##### -If series is set and Serial No is not mentioned in transactions, then automatic serial number will be created based on this series. If you always want to explicitly mention Serial Nos for this item. leave this blank. - |
- - |
| 23 | -is_asset_item |
- - Check | -- Is Fixed Asset Item - - | -- |
| 24 | -column_break1 |
- - Column Break | -- - - | -- |
| 25 | -tolerance |
- - Float | -- Allow over delivery or receipt upto this percent - - | -- |
| 26 | -valuation_method |
- - Select | -- Valuation Method - - | -
- -FIFO -Moving Average- |
-
| 27 | -warranty_period |
- - Data | -- Warranty Period (in days) - - | -- |
| 28 | -net_weight |
- - Float | -- Net Weight - - | -- |
| 29 | -weight_uom |
- - Link | -- Weight UOM - - | -- - - - -UOM - - - - | -
| 30 | -reorder_section |
- - Section Break | -- Auto re-order - - | -
- icon-rss- |
-
| 31 | -re_order_level |
- - Float | -
- Re-order Level
- - Automatically create Material Request if quantity falls below this level - |
- - |
| 32 | -re_order_qty |
- - Float | -- Re-order Qty - - | -- |
| 33 | -apply_warehouse_wise_reorder_level |
- - Check | -- Apply Warehouse-wise Reorder Level - - | -- |
| 34 | -section_break_31 |
- - Section Break | -- Reorder level based on Warehouse - - | -- |
| 35 | -reorder_levels |
- - Table | -
- Reorder level based on Warehouse
- - Will also apply for variants unless overrridden - |
- - - - - -Item Reorder - - - - | -
| 36 | -variants_section |
- - Section Break | -- Variants - - | -- |
| 37 | -has_variants |
- - Check | -
- Has Variants
- - If this item has variants, then it cannot be selected in sales orders etc. - |
- - |
| 38 | -attributes |
- - Table | -- Attributes - - | -- - - - -Item Variant Attribute - - - - | -
| 39 | -purchase_details |
- - Section Break | -- Purchase Details - - | -
- icon-shopping-cart- |
-
| 40 | -is_purchase_item |
- - Check | -- Is Purchase Item - - | -- |
| 41 | -min_order_qty |
- - Float | -- Minimum Order Qty - - | -- |
| 42 | -lead_time_days |
- - Int | -
- Lead Time in days
- - Average time taken by the supplier to deliver - |
- - |
| 43 | -buying_cost_center |
- - Link | -- Default Buying Cost Center - - | -- - - - -Cost Center - - - - | -
| 44 | -expense_account |
- - Link | -- Default Expense Account - - | -- - - - -Account - - - - | -
| 45 | -unit_of_measure_conversion |
- - Column Break | -- Unit of Measure Conversion - - | -- |
| 46 | -uoms |
- - Table | -
- UOMs
- - Will also apply for variants - |
- - - - - -UOM Conversion Detail - - - - | -
| 47 | -last_purchase_rate |
- - Float | -- Last Purchase Rate - - | -- |
| 48 | -supplier_details |
- - Section Break | -- Supplier Details - - | -- |
| 49 | -default_supplier |
- - Link | -- Default Supplier - - | -- - - - -Supplier - - - - | -
| 50 | -delivered_by_supplier |
- - Check | -- Delivered by Supplier (Drop Ship) - - | -- |
| 51 | -manufacturer |
- - Link | -- Manufacturer - - | -- - - - -Manufacturer - - - - | -
| 52 | -manufacturer_part_no |
- - Data | -- Manufacturer Part Number - - | -- |
| 53 | -column_break2 |
- - Column Break | -- Item Code for Suppliers - - | -- |
| 54 | -supplier_items |
- - Table | -- Supplier Items - - | -- - - - -Item Supplier - - - - | -
| 55 | -sales_details |
- - Section Break | -- Sales Details - - | -
- icon-tag- |
-
| 56 | -is_sales_item |
- - Check | -- Is Sales Item - - | -- |
| 57 | -publish_in_hub |
- - Check | -
- Publish in Hub
- - Publish Item to hub.erpnext.com - |
- - |
| 58 | -synced_with_hub |
- - Check | -- Synced With Hub - - | -- |
| 59 | -income_account |
- - Link | -- Default Income Account - - | -- - - - -Account - - - - | -
| 60 | -selling_cost_center |
- - Link | -- Default Selling Cost Center - - | -- - - - -Cost Center - - - - | -
| 61 | -column_break3 |
- - Column Break | -- Customer Item Codes - - | -- |
| 62 | -customer_items |
- - Table | -- Customer Items - - | -- - - - -Item Customer Detail - - - - | -
| 63 | -max_discount |
- - Float | -- Max Discount (%) - - | -- |
| 64 | -item_tax_section_break |
- - Section Break | -- Item Tax - - | -
- icon-money- |
-
| 65 | -taxes |
- - Table | -
- Taxes
- - Will also apply for variants - |
- - - - - -Item Tax - - - - | -
| 66 | -inspection_criteria |
- - Section Break | -- Inspection Criteria - - | -
- icon-search- |
-
| 67 | -inspection_required |
- - Check | -- Inspection Required - - | -- |
| 68 | -quality_parameters |
- - Table | -
- Quality Parameters
- - Will also apply to variants - |
- - - - - -Item Quality Inspection Parameter - - - - | -
| 69 | -manufacturing |
- - Section Break | -- Manufacturing - - | -
- icon-cogs- |
-
| 70 | -is_pro_applicable |
- - Check | -- Allow Production Order - - | -- |
| 71 | -is_sub_contracted_item |
- - Check | -
- Supply Raw Materials for Purchase
- - If subcontracted to a vendor - |
- - |
| 72 | -column_break_74 |
- - Column Break | -- - - | -- |
| 73 | -default_bom |
- - Link | -- Default BOM - - | -- - - - -BOM - - - - | -
| 74 | -customer_code |
- - Data | -- Customer Code - - | -- |
| 75 | -website_section |
- - Section Break | -- Website - - | -
- icon-globe- |
-
| 76 | -show_in_website |
- - Check | -- Show in Website - - | -- |
| 77 | -page_name |
- - Data | -
- Page Name
- - website page link - |
- - |
| 78 | -weightage |
- - Int | -
- Weightage
- - Items with higher weightage will be shown higher - |
- - |
| 79 | -slideshow |
- - Link | -
- Slideshow
- - Show a slideshow at the top of the page - |
- - - - - -Website Slideshow - - - - | -
| 80 | -website_image |
- - Attach | -
- Image
- - Item Image (if not slideshow) - |
- - |
| 81 | -thumbnail |
- - Data | -- Thumbnail - - | -- |
| 82 | -cb72 |
- - Column Break | -- - - | -- |
| 83 | -website_warehouse |
- - Link | -
- Website Warehouse
- - Show "In Stock" or "Not in Stock" based on stock available in this warehouse. - |
- - - - - -Warehouse - - - - | -
| 84 | -website_item_groups |
- - Table | -
- Website Item Groups
- - List this Item in multiple groups on the website. - |
- - - - - -Website Item Group - - - - | -
| 85 | -sb72 |
- - Section Break | -- Website Specifications - - | -- |
| 86 | -copy_from_item_group |
- - Button | -- Copy From Item Group - - | -- |
| 87 | -website_specifications |
- - Table | -- Website Specifications - - | -- - - - -Item Website Specification - - - - | -
| 88 | -web_long_description |
- - Text Editor | -- Website Description - - | -- |
| 89 | -parent_website_route |
- - Read Only | -- Parent Website Route - - | -- |
Inherits from frappe.website.website_generator.WebsiteGenerator - -
- - - add_default_uom_in_conversion_factor_table - (self) -
-No docs
-- - - after_rename - (self, olddn, newdn, merge) -
-No docs
-- - - autoname - (self) -
-No docs
-- - - before_insert - (self) -
-No docs
-- - - before_rename - (self, olddn, newdn, merge=False) -
-No docs
-- - - cant_change - (self) -
-No docs
-- - - check_for_active_boms - (self) -
-No docs
-- - - check_if_sle_exists - (self) -
-No docs
-- - - check_item_tax - (self) -
-Check whether Tax Rate is not entered twice for same Tax Type
-- - - check_warehouse_is_set_for_stock_item - (self) -
-No docs
-- - - copy_specification_from_item_group - (self) -
-No docs
-- - - fill_customer_code - (self) -
-Append all the customer codes and insert into "customer_code" field of item table
-- - - get_context - (self, context) -
-No docs
-- - - make_thumbnail - (self) -
-Make a thumbnail of website_image
- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - onload - (self) -
-No docs
-- - - recalculate_bin_qty - (self, newdn) -
-No docs
-- - - set_attribute_context - (self, context) -
-No docs
-- - - set_disabled_attributes - (self, context) -
-Disable selection options of attribute combinations that do not result in a variant
-- - - set_last_purchase_rate - (self, newdn) -
-No docs
-- - - set_variant_context - (self, context) -
-No docs
-- - - update_item_desc - (self) -
-No docs
-- - - update_item_price - (self) -
-No docs
-- - - update_template_item - (self) -
-Set Show in Website for Template Item if True for its Variant
-- - - update_template_tables - (self) -
-No docs
-- - - update_variants - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_attributes - (self) -
-No docs
-- - - validate_barcode - (self) -
-No docs
-- - - validate_conversion_factor - (self) -
-No docs
-- - - validate_has_variants - (self) -
-No docs
-- - - validate_item_type - (self) -
-No docs
-- - - validate_name_with_item_group - (self) -
-No docs
-- - - validate_reorder_level - (self) -
-No docs
-- - - validate_uom - (self) -
-No docs
-- - - validate_variant_attributes - (self) -
-No docs
-- - - validate_warehouse_for_reorder - (self) -
-No docs
-- - - validate_website_image - (self) -
-Validate if the website image is a public file
-Inherits from frappe.exceptions.ValidationError - -
- - - erpnext.stock.doctype.item.item._msgprint - (msg, verbose) -
-No docs
-- - - erpnext.stock.doctype.item.item.check_stock_uom_with_bin - (item, stock_uom) -
-No docs
-- - - erpnext.stock.doctype.item.item.get_last_purchase_details - (item_code, doc_name=None, conversion_rate=1.0) -
-returns last purchase details in stock uom
-- - - erpnext.stock.doctype.item.item.invalidate_cache_for_item - (doc) -
-No docs
-- - - erpnext.stock.doctype.item.item.validate_cancelled_item - (item_code, docstatus=None, verbose=1) -
-No docs
-- - - erpnext.stock.doctype.item.item.validate_end_of_life - (item_code, end_of_life=None, disabled=None, verbose=1) -
-No docs
-- - - erpnext.stock.doctype.item.item.validate_is_stock_item - (item_code, is_stock_item=None, verbose=1) -
-No docs
-Table Name: tabItem Attribute
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -attribute_name |
- - Data | -- Attribute Name - - | -- |
| 2 | -numeric_values |
- - Check | -- Numeric Values - - | -- |
| 3 | -section_break_4 |
- - Section Break | -- - - | -- |
| 4 | -from_range |
- - Float | -- From Range - - | -- |
| 5 | -increment |
- - Float | -- Increment - - | -- |
| 6 | -column_break_8 |
- - Column Break | -- - - | -- |
| 7 | -to_range |
- - Float | -- To Range - - | -- |
| 8 | -section_break_5 |
- - Section Break | -- - - | -- |
| 9 | -item_attribute_values |
- - Table | -- Item Attribute Values - - | -- - - - -Item Attribute Value - - - - | -
Inherits from frappe.model.document.Document - -
- - - validate - (self) -
-No docs
-- - - validate_attribute_values - (self) -
-No docs
-- - - validate_duplication - (self) -
-No docs
-- - - validate_numeric - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Table Name: tabItem Attribute Value
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -attribute_value |
- - Data | -- Attribute Value - - | -- |
| 2 | -abbr |
- - Data | -
- Abbreviation
- - This will be appended to the Item Code of the variant. For example, if your abbreviation is "SM", and the item code is "T-SHIRT", the item code of the variant will be "T-SHIRT-SM" - |
- - |
Table Name: tabItem Customer Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_name |
- - Link | -- Customer Name - - | -- - - - -Customer - - - - | -
| 2 | -ref_code |
- - Data | -- Ref Code - - | -- |
Table Name: tabItem Price
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -price_list_details |
- - Section Break | -- Price List - - | -
- icon-tags- |
-
| 2 | -price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 3 | -buying |
- - Check | -- Buying - - | -- |
| 4 | -selling |
- - Check | -- Selling - - | -- |
| 5 | -item_details |
- - Section Break | -- - - | -
- icon-tag- |
-
| 6 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 7 | -price_list_rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 8 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 9 | -col_br_1 |
- - Column Break | -- - - | -- |
| 10 | -item_name |
- - Data | -- Item Name - - | -- |
| 11 | -item_description |
- - Text | -- Item Description - - | -- |
| 12 | -section_break_12 |
- - Section Break | -- - - | -- |
| 13 | -bulk_import_help |
- - HTML | -- Bulk Import Help - - | -- |
Inherits from frappe.model.document.Document - -
- - - check_duplicate_item - (self) -
-No docs
-- - - update_item_details - (self) -
-No docs
-- - - update_price_list_details - (self) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_item - (self) -
-No docs
-- - - validate_price_list - (self) -
-No docs
-Inherits from frappe.exceptions.ValidationError - -
Table Name: tabItem Quality Inspection Parameter
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -specification |
- - Data | -- Parameter - - | -- |
| 2 | -value |
- - Data | -- Acceptance Criteria - - | -- |
Table Name: tabItem Reorder
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 2 | -warehouse_reorder_level |
- - Float | -- Re-order Level - - | -- |
| 3 | -warehouse_reorder_qty |
- - Float | -- Re-order Qty - - | -- |
| 4 | -material_request_type |
- - Select | -- Material Request Type - - | -
- Purchase -Transfer- |
-
Table Name: tabItem Supplier
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 2 | -supplier_part_no |
- - Data | -- Supplier Part Number - - | -- |
Table Name: tabItem Tax
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -tax_type |
- - Link | -- Tax - - | -- - - - -Account - - - - | -
| 2 | -tax_rate |
- - Float | -- Tax Rate - - | -- |
Table Name: tabItem Variant
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_attribute |
- - Link | -- Item Attribute - - | -- - - - -Item Attribute - - - - | -
| 2 | -item_attribute_value |
- - Data | -- Item Attribute Value - - | -- |
Table Name: tabItem Variant Attribute
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -attribute |
- - Link | -- Attribute - - | -- - - - -Item Attribute - - - - | -
| 2 | -column_break_2 |
- - Column Break | -- - - | -- |
| 3 | -attribute_value |
- - Data | -- Attribute Value - - | -- |
| 4 | -numeric_values |
- - Check | -- Numeric Values - - | -- |
| 5 | -section_break_4 |
- - Section Break | -- - - | -- |
| 6 | -from_range |
- - Float | -- From Range - - | -- |
| 7 | -increment |
- - Float | -- Increment - - | -- |
| 8 | -column_break_8 |
- - Column Break | -- - - | -- |
| 9 | -to_range |
- - Float | -- To Range - - | -- |
Table Name: tabItem Website Specification
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -label |
- - Data | -- Label - - | -- |
| 2 | -description |
- - Text Editor | -- Description - - | -- |
Table Name: tabLanded Cost Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -description |
- - Text Editor | -- Description - - | -- |
| 3 | -purchase_receipt |
- - Link | -- Purchase Receipt - - | -- - - - -Purchase Receipt - - - - | -
| 4 | -col_break2 |
- - Column Break | -- - - | -- |
| 5 | -qty |
- - Float | -- Qty - - | -- |
| 6 | -rate |
- - Currency | -- Rate - - | -
- Company:company:default_currency- |
-
| 7 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 8 | -applicable_charges |
- - Currency | -- Applicable Charges - - | -
- Company:company:default_currency- |
-
| 9 | -purchase_receipt_item |
- - Data | -- Purchase Receipt Item - - | -- |
Table Name: tabLanded Cost Purchase Receipt
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -purchase_receipt |
- - Link | -- Purchase Receipt - - | -- - - - -Purchase Receipt - - - - | -
| 2 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 3 | -col_break1 |
- - Column Break | -- - - | -- |
| 4 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 5 | -grand_total |
- - Currency | -- Grand Total - - | -- |
Table Name: tabLanded Cost Taxes and Charges
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -description |
- - Text Editor | -- Description - - | -- |
| 2 | -col_break3 |
- - Column Break | -- - - | -- |
| 3 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
Table Name: tabLanded Cost Voucher
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 2 | -purchase_receipts |
- - Table | -- Purchase Receipts - - | -- - - - -Landed Cost Purchase Receipt - - - - | -
| 3 | -get_items_from_purchase_receipts |
- - Button | -- Get Items From Purchase Receipts - - | -- |
| 4 | -items |
- - Table | -- Purchase Receipt Items - - | -- - - - -Landed Cost Item - - - - | -
| 5 | -taxes |
- - Table | -- Taxes and Charges - - | -- - - - -Landed Cost Taxes and Charges - - - - | -
| 6 | -sec_break1 |
- - Section Break | -- - - | -
- Simple- |
-
| 7 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- Company:company:default_currency- |
-
| 8 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Landed Cost Voucher - - - - | -
| 9 | -col_break1 |
- - Column Break | -- - - | -- |
| 10 | -distribute_charges_based_on |
- - Select | -- Distribute Charges Based On - - | -
- -Qty -Amount- |
-
| 11 | -sec_break2 |
- - Section Break | -- - - | -- |
| 12 | -landed_cost_help |
- - HTML | -- Landed Cost Help - - | -- |
Inherits from frappe.model.document.Document - -
- - - check_mandatory - (self) -
-No docs
-- - - get_items_from_purchase_receipts - (self) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - set_applicable_charges_for_item - (self) -
-No docs
-- - - set_total_taxes_and_charges - (self) -
-No docs
-- - - update_landed_cost - (self) -
-No docs
-- - - update_rate_in_serial_no - (self, purchase_receipt) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_purchase_receipts - (self) -
-No docs
-Table Name: tabManufacturer
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -short_name |
- - Data | -
- Short Name
- - Limited to 12 characters - |
- - |
| 2 | -full_name |
- - Data | -- Full Name - - | -- |
| 3 | -website |
- - Data | -- Website - - | -- |
| 4 | -data_6 |
- - Link | -- Country - - | -- - - - -Country - - - - | -
| 5 | -logo |
- - Attach Image | -- Logo - - | -- |
| 6 | -notes |
- - Small Text | -- Notes - - | -- |
Inherits from frappe.model.document.Document - -
Table Name: tabMaterial Request
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -type_section |
- - Section Break | -- - - | -
- icon-pushpin- |
-
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -material_request_type |
- - Select | -- Type - - | -
- Purchase -Material Transfer -Material Issue- |
-
| 4 | -column_break_2 |
- - Column Break | -- - - | -- |
| 5 | -naming_series |
- - Select | -- Series - - | -
- MREQ-- |
-
| 6 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Material Request - - - - | -
| 7 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 8 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 9 | -items |
- - Table | -- Items - - | -- - - - -Material Request Item - - - - | -
| 10 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 11 | -requested_by |
- - Data | -- Requested For - - | -- |
| 12 | -transaction_date |
- - Date | -- Transaction Date - - | -- |
| 13 | -column_break2 |
- - Column Break | -- - - | -- |
| 14 | -status |
- - Select | -- Status - - | -
- -Draft -Submitted -Stopped -Cancelled- |
-
| 15 | -per_ordered |
- - Percent | -- % Ordered - - | -- |
| 16 | -printing_details |
- - Section Break | -- Printing Details - - | -- |
| 17 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 18 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 19 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 20 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 21 | -terms |
- - Text Editor | -- Terms and Conditions Content - - | -- |
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
-Table Name: tabMaterial Request Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -col_break1 |
- - Column Break | -- - - | -- |
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -section_break_4 |
- - Section Break | -- Description - - | -- |
| 5 | -description |
- - Text Editor | -- Description - - | -- |
| 6 | -column_break_6 |
- - Column Break | -- - - | -- |
| 7 | -image |
- - Attach | -- Image - - | -- |
| 8 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 9 | -quantity_and_warehouse |
- - Section Break | -- Quantity and Warehouse - - | -- |
| 10 | -qty |
- - Float | -- Quantity - - | -- |
| 11 | -uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 12 | -warehouse |
- - Link | -- For Warehouse - - | -- - - - -Warehouse - - - - | -
| 13 | -col_break2 |
- - Column Break | -- - - | -- |
| 14 | -schedule_date |
- - Date | -- Required Date - - | -- |
| 15 | -more_info |
- - Section Break | -- More Information - - | -- |
| 16 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 17 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 18 | -lead_time_date |
- - Date | -- Lead Time Date - - | -- |
| 19 | -sales_order_no |
- - Link | -- Sales Order No - - | -- - - - -Sales Order - - - - | -
| 20 | -col_break3 |
- - Column Break | -- - - | -- |
| 21 | -min_order_qty |
- - Float | -- Min Order Qty - - | -- |
| 22 | -projected_qty |
- - Float | -- Projected Qty - - | -- |
| 23 | -ordered_qty |
- - Float | -- Completed Qty - - | -- |
| 24 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabPacked Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -parent_item |
- - Link | -- Parent Item - - | -- - - - -Item - - - - | -
| 2 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 3 | -item_name |
- - Data | -- Item Name - - | -- |
| 4 | -column_break_5 |
- - Column Break | -- - - | -- |
| 5 | -description |
- - Text Editor | -- Description - - | -- |
| 6 | -section_break_6 |
- - Section Break | -- - - | -- |
| 7 | -warehouse |
- - Link | -- From Warehouse - - | -- - - - -Warehouse - - - - | -
| 8 | -target_warehouse |
- - Link | -- To Warehouse (Optional) - - | -- - - - -Warehouse - - - - | -
| 9 | -column_break_9 |
- - Column Break | -- - - | -- |
| 10 | -qty |
- - Float | -- Qty - - | -- |
| 11 | -section_break_9 |
- - Section Break | -- - - | -- |
| 12 | -serial_no |
- - Text | -- Serial No - - | -- |
| 13 | -column_break_11 |
- - Column Break | -- - - | -- |
| 14 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 15 | -section_break_13 |
- - Section Break | -- - - | -- |
| 16 | -actual_qty |
- - Float | -- Actual Qty - - | -- |
| 17 | -projected_qty |
- - Float | -- Projected Qty - - | -- |
| 18 | -column_break_16 |
- - Column Break | -- - - | -- |
| 19 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 20 | -page_break |
- - Check | -- Page Break - - | -- |
| 21 | -prevdoc_doctype |
- - Data | -- Prevdoc DocType - - | -- |
| 22 | -parent_detail_docname |
- - Data | -- Parent Detail docname - - | -- |
Table Name: tabPacking Slip
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -packing_slip_details |
- - Section Break | -- - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -delivery_note |
- - Link | -
- Delivery Note
- - Indicates that the package is a part of this delivery (Only Draft) - |
- - - - - -Delivery Note - - - - | -
| 4 | -column_break1 |
- - Column Break | -- - - | -- |
| 5 | -naming_series |
- - Select | -- Series - - | -
- PS-- |
-
| 6 | -section_break0 |
- - Section Break | -- - - | -- |
| 7 | -column_break2 |
- - Column Break | -- - - | -- |
| 8 | -from_case_no |
- - Data | -
- From Package No.
- - Identification of the package for the delivery (for print) - |
- - |
| 9 | -column_break3 |
- - Column Break | -- - - | -- |
| 10 | -to_case_no |
- - Data | -
- To Package No.
- - If more than one package of the same type (for print) - |
- - |
| 11 | -package_item_details |
- - Section Break | -- - - | -- |
| 12 | -get_items |
- - Button | -- Get Items - - | -- |
| 13 | -items |
- - Table | -- Items - - | -- - - - -Packing Slip Item - - - - | -
| 14 | -package_weight_details |
- - Section Break | -- Package Weight Details - - | -- |
| 15 | -net_weight_pkg |
- - Float | -
- Net Weight
- - The net weight of this package. (calculated automatically as sum of net weight of items) - |
- - |
| 16 | -net_weight_uom |
- - Link | -- Net Weight UOM - - | -- - - - -UOM - - - - | -
| 17 | -column_break4 |
- - Column Break | -- - - | -- |
| 18 | -gross_weight_pkg |
- - Float | -
- Gross Weight
- - The gross weight of the package. Usually net weight + packaging material weight. (for print) - |
- - |
| 19 | -gross_weight_uom |
- - Link | -- Gross Weight UOM - - | -- - - - -UOM - - - - | -
| 20 | -letter_head_details |
- - Section Break | -- Letter Head - - | -- |
| 21 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 22 | -misc_details |
- - Section Break | -- - - | -- |
| 23 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Packing Slip - - - - | -
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) -
-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
-Table Name: tabPacking Slip Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 4 | -description |
- - Text Editor | -- Description - - | -- |
| 5 | -qty |
- - Float | -- Quantity - - | -- |
| 6 | -stock_uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 7 | -net_weight |
- - Float | -- Net Weight - - | -- |
| 8 | -weight_uom |
- - Link | -- Weight UOM - - | -- - - - -UOM - - - - | -
| 9 | -page_break |
- - Check | -- Page Break - - | -- |
| 10 | -dn_detail |
- - Data | -- DN Detail - - | -- |
Table Name: tabPrice List
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -enabled |
- - Check | -- Enabled - - | -- |
| 2 | -sb_1 |
- - Section Break | -- - - | -- |
| 3 | -price_list_name |
- - Data | -- Price List Name - - | -- |
| 4 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 5 | -buying |
- - Check | -- Buying - - | -- |
| 6 | -selling |
- - Check | -- Selling - - | -- |
| 7 | -column_break_3 |
- - Column Break | -- - - | -- |
| 8 | -countries |
- - Table | -- Applicable for Countries - - | -- - - - -Price List Country - - - - | -
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
-Table Name: tabPrice List Country
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
Table Name: tabPurchase Receipt
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -supplier_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -title |
- - Data | -- Title - - | -- |
| 4 | -naming_series |
- - Select | -- Series - - | -
- PREC- -PREC-RET-- |
-
| 5 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 6 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 7 | -address_display |
- - Small Text | -- Address - - | -- |
| 8 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 9 | -contact_mobile |
- - Small Text | -- Mobile No - - | -- |
| 10 | -contact_email |
- - Small Text | -- Contact Email - - | -- |
| 11 | -column_break1 |
- - Column Break | -- - - | -- |
| 12 | -posting_date |
- - Date | -- Date - - | -- |
| 13 | -posting_time |
- - Time | -
- Posting Time
- - Time at which materials were received - |
- - |
| 14 | -is_return |
- - Check | -- Is Return - - | -- |
| 15 | -return_against |
- - Link | -- Return Against Purchase Receipt - - | -- - - - -Purchase Receipt - - - - | -
| 16 | -currency_and_price_list |
- - Section Break | -- Currency and Price List - - | -
- icon-tag- |
-
| 17 | -currency |
- - Link | -- Currency - - | -- - - - -Currency - - - - | -
| 18 | -conversion_rate |
- - Float | -
- Exchange Rate
- - Rate at which supplier's currency is converted to company's base currency - |
- - |
| 19 | -column_break2 |
- - Column Break | -- - - | -- |
| 20 | -buying_price_list |
- - Link | -- Price List - - | -- - - - -Price List - - - - | -
| 21 | -price_list_currency |
- - Link | -- Price List Currency - - | -- - - - -Currency - - - - | -
| 22 | -plc_conversion_rate |
- - Float | -- Price List Exchange Rate - - | -- |
| 23 | -ignore_pricing_rule |
- - Check | -- Ignore Pricing Rule - - | -- |
| 24 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 25 | -items |
- - Table | -- Items - - | -- - - - -Purchase Receipt Item - - - - | -
| 26 | -get_current_stock |
- - Button | -- Get current stock - - | -
- get_current_stock- |
-
| 27 | -section_break0 |
- - Section Break | -- - - | -- |
| 28 | -base_total |
- - Currency | -- Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 29 | -base_net_total |
- - Currency | -- Net Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -column_break_27 |
- - Column Break | -- - - | -- |
| 31 | -total |
- - Currency | -- Total - - | -
- currency- |
-
| 32 | -net_total |
- - Currency | -- Net Total - - | -
- currency- |
-
| 33 | -taxes_section |
- - Section Break | -
-
- - Add / Edit Taxes and Charges - |
-
- icon-money- |
-
| 34 | -taxes_and_charges |
- - Link | -- Taxes and Charges - - | -- - - - -Purchase Taxes and Charges Template - - - - | -
| 35 | -taxes |
- - Table | -- Purchase Taxes and Charges - - | -- - - - -Purchase Taxes and Charges - - - - | -
| 36 | -other_charges_calculation |
- - HTML | -- Taxes and Charges Calculation - - | -- |
| 37 | -totals |
- - Section Break | -- - - | -
- icon-money- |
-
| 38 | -base_taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added (Company Currency) - - | -
- Company:company:default_currency- |
-
| 39 | -base_taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted (Company Currency) - - | -
- Company:company:default_currency- |
-
| 40 | -base_total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges (Company Currency) - - | -
- Company:company:default_currency- |
-
| 41 | -column_break3 |
- - Column Break | -- - - | -- |
| 42 | -taxes_and_charges_added |
- - Currency | -- Taxes and Charges Added - - | -
- currency- |
-
| 43 | -taxes_and_charges_deducted |
- - Currency | -- Taxes and Charges Deducted - - | -
- currency- |
-
| 44 | -total_taxes_and_charges |
- - Currency | -- Total Taxes and Charges - - | -
- currency- |
-
| 45 | -section_break_42 |
- - Section Break | -- Additional Discount - - | -- |
| 46 | -apply_discount_on |
- - Select | -- Apply Additional Discount On - - | -
- -Grand Total -Net Total- |
-
| 47 | -base_discount_amount |
- - Currency | -- Additional Discount Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 48 | -column_break_44 |
- - Column Break | -- - - | -- |
| 49 | -additional_discount_percentage |
- - Float | -- Additional Discount Percentage - - | -- |
| 50 | -discount_amount |
- - Currency | -- Additional Discount Amount - - | -
- currency- |
-
| 51 | -section_break_46 |
- - Section Break | -- - - | -- |
| 52 | -base_grand_total |
- - Currency | -- Grand Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 53 | -base_in_words |
- - Data | -- In Words (Company Currency) - - | -- |
| 54 | -base_rounded_total |
- - Currency | -- Rounded Total (Company Currency) - - | -
- Company:company:default_currency- |
-
| 55 | -column_break_50 |
- - Column Break | -- - - | -- |
| 56 | -grand_total |
- - Currency | -- Grand Total - - | -
- currency- |
-
| 57 | -in_words |
- - Data | -- In Words - - | -- |
| 58 | -terms_section_break |
- - Section Break | -- Terms and Conditions - - | -
- icon-legal- |
-
| 59 | -tc_name |
- - Link | -- Terms - - | -- - - - -Terms and Conditions - - - - | -
| 60 | -terms |
- - Text Editor | -- Terms and Conditions - - | -- |
| 61 | -contact_section |
- - Section Break | -- Contact Details - - | -
- icon-bullhorn- |
-
| 62 | -supplier_address |
- - Link | -- Supplier Address - - | -- - - - -Address - - - - | -
| 63 | -column_break_57 |
- - Column Break | -- - - | -- |
| 64 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 65 | -raw_material_details |
- - Section Break | -- Raw Materials Supplied - - | -
- icon-table- |
-
| 66 | -is_subcontracted |
- - Select | -- Raw Materials Supplied - - | -
- No -Yes- |
-
| 67 | -supplier_warehouse |
- - Link | -- Supplier Warehouse - - | -- - - - -Warehouse - - - - | -
| 68 | -supplied_items |
- - Table | -- Supplied Items - - | -- - - - -Purchase Receipt Item Supplied - - - - | -
| 69 | -bill_no |
- - Data | -- Bill No - - | -- |
| 70 | -bill_date |
- - Date | -- Bill Date - - | -- |
| 71 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 72 | -status |
- - Select | -- Status - - | -
- -Draft -To Bill -Completed -Cancelled -Closed- |
-
| 73 | -rejected_warehouse |
- - Link | -
- Rejected Warehouse
- - Warehouse where you are maintaining stock of rejected items - |
- - - - - -Warehouse - - - - | -
| 74 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Purchase Receipt - - - - | -
| 75 | -range |
- - Data | -- Range - - | -- |
| 76 | -column_break4 |
- - Column Break | -- - - | -- |
| 77 | -per_billed |
- - Percent | -- % Amount Billed - - | -- |
| 78 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 79 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 80 | -printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 81 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 82 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 83 | -other_details |
- - HTML | -- Other Details - - | -- |
| 84 | -instructions |
- - Small Text | -- Instructions - - | -- |
| 85 | -remarks |
- - Small Text | -- Remarks - - | -- |
| 86 | -transporter_info |
- - Section Break | -- Transporter Details - - | -
- icon-truck- |
-
| 87 | -transporter_name |
- - Data | -- Transporter Name - - | -- |
| 88 | -column_break5 |
- - Column Break | -- - - | -- |
| 89 | -lr_no |
- - Data | -- Vehicle Number - - | -- |
| 90 | -lr_date |
- - Date | -- Vehicle Date - - | -- |
Inherits from erpnext.controllers.buying_controller.BuyingController - -
- - - __init__ - (self, arg1, arg2=None) -
-No docs
-- - - bk_flush_supp_wh - (self, sl_entries) -
-No docs
-- - - check_for_stopped_or_closed_status - (self, pc_obj) -
-No docs
-- - - check_next_docstatus - (self) -
-No docs
-- - - get_already_received_qty - (self, po, po_detail) -
-No docs
-- - - get_current_stock - (self) -
-No docs
-- - - get_gl_entries - (self, warehouse_account=None) -
-No docs
-- - - get_po_qty_and_warehouse - (self, po_detail) -
-No docs
-- - - get_rate - (self, arg) -
-No docs
-- - - on_cancel - (self) -
-No docs
-- - - on_submit - (self) -
-No docs
-- - - po_required - (self) -
-No docs
-- - - set_landed_cost_voucher_amount - (self) -
-No docs
-- - - update_billing_status - (self, update_modified=True) -
-No docs
-- - - update_ordered_qty - (self) -
-No docs
-- - - update_status - (self, status) -
-No docs
-- - - update_stock_ledger - (self, allow_negative_stock=False, via_landed_cost_voucher=False) -
-No docs
-- - - validate - (self) -
-No docs
-- - - validate_accepted_rejected_qty - (self) -
-No docs
-- - - validate_inspection - (self) -
-No docs
-- - - validate_purchase_return - (self) -
-No docs
-- - - validate_rejected_warehouse - (self) -
-No docs
-- - - validate_with_previous_doc - (self) -
-No docs
-- - - erpnext.stock.doctype.purchase_receipt.purchase_receipt.get_invoiced_qty_map - (purchase_receipt) -
-returns a map: {prdetail: invoicedqty}
-Public API
- /api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice
-
- - - erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_invoice - (source_name, target_doc=None) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return
-
- - - erpnext.stock.doctype.purchase_receipt.purchase_receipt.make_purchase_return - (source_name, target_doc=None) -
-No docs
-- - - erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_billed_amount_based_on_po - (po_detail, update_modified=True) -
-No docs
-Public API
- /api/method/erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status
-
- - - erpnext.stock.doctype.purchase_receipt.purchase_receipt.update_purchase_receipt_status - (docname, status) -
-No docs
-Table Name: tabPurchase Receipt Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -barcode |
- - Data | -- Barcode - - | -- |
| 2 | -section_break_2 |
- - Section Break | -- - - | -- |
| 3 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 4 | -column_break_2 |
- - Column Break | -- - - | -- |
| 5 | -item_name |
- - Data | -- Item Name - - | -- |
| 6 | -section_break_4 |
- - Section Break | -- Description - - | -- |
| 7 | -description |
- - Text Editor | -- Description - - | -- |
| 8 | -col_break1 |
- - Column Break | -- - - | -- |
| 9 | -image |
- - Attach | -- Image - - | -- |
| 10 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 11 | -received_and_accepted |
- - Section Break | -- Received and Accepted - - | -- |
| 12 | -received_qty |
- - Float | -- Recd Quantity - - | -- |
| 13 | -qty |
- - Float | -- Accepted Quantity - - | -- |
| 14 | -rejected_qty |
- - Float | -- Rejected Quantity - - | -- |
| 15 | -col_break2 |
- - Column Break | -- - - | -- |
| 16 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 17 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 18 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
| 19 | -rate_and_amount |
- - Section Break | -- Rate and Amount - - | -- |
| 20 | -price_list_rate |
- - Currency | -- Price List Rate - - | -
- currency- |
-
| 21 | -discount_percentage |
- - Percent | -- Discount on Price List Rate (%) - - | -- |
| 22 | -col_break3 |
- - Column Break | -- - - | -- |
| 23 | -base_price_list_rate |
- - Currency | -- Price List Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 24 | -sec_break1 |
- - Section Break | -- - - | -- |
| 25 | -rate |
- - Currency | -- Rate - - | -
- currency- |
-
| 26 | -amount |
- - Currency | -- Amount - - | -
- currency- |
-
| 27 | -col_break4 |
- - Column Break | -- - - | -- |
| 28 | -base_rate |
- - Currency | -- Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 29 | -base_amount |
- - Currency | -- Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 30 | -pricing_rule |
- - Link | -- Pricing Rule - - | -- - - - -Pricing Rule - - - - | -
| 31 | -section_break_29 |
- - Section Break | -- - - | -- |
| 32 | -net_rate |
- - Currency | -- Net Rate - - | -
- currency- |
-
| 33 | -net_amount |
- - Currency | -- Net Amount - - | -
- currency- |
-
| 34 | -column_break_32 |
- - Column Break | -- - - | -- |
| 35 | -base_net_rate |
- - Currency | -- Net Rate (Company Currency) - - | -
- Company:company:default_currency- |
-
| 36 | -base_net_amount |
- - Currency | -- Net Amount (Company Currency) - - | -
- Company:company:default_currency- |
-
| 37 | -warehouse_and_reference |
- - Section Break | -- Warehouse and Reference - - | -- |
| 38 | -warehouse |
- - Link | -- Accepted Warehouse - - | -- - - - -Warehouse - - - - | -
| 39 | -rejected_warehouse |
- - Link | -- Rejected Warehouse - - | -- - - - -Warehouse - - - - | -
| 40 | -qa_no |
- - Link | -- Quality Inspection - - | -- - - - -Quality Inspection - - - - | -
| 41 | -column_break_40 |
- - Column Break | -- - - | -- |
| 42 | -prevdoc_docname |
- - Link | -- Purchase Order - - | -- - - - -Purchase Order - - - - | -
| 43 | -schedule_date |
- - Date | -- Required By - - | -- |
| 44 | -stock_qty |
- - Float | -- Qty as per Stock UOM - - | -- |
| 45 | -section_break_45 |
- - Section Break | -- - - | -- |
| 46 | -serial_no |
- - Text | -- Serial No - - | -- |
| 47 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 48 | -column_break_48 |
- - Column Break | -- - - | -- |
| 49 | -rejected_serial_no |
- - Text | -- Rejected Serial No - - | -- |
| 50 | -section_break_50 |
- - Section Break | -- - - | -- |
| 51 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 52 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 53 | -prevdoc_doctype |
- - Data | -- Prevdoc Doctype - - | -- |
| 54 | -prevdoc_detail_docname |
- - Data | -- Purchase Order Item No - - | -- |
| 55 | -col_break5 |
- - Column Break | -- - - | -- |
| 56 | -bom |
- - Link | -- BOM - - | -- - - - -BOM - - - - | -
| 57 | -billed_amt |
- - Currency | -- Billed Amt - - | -- |
| 58 | -landed_cost_voucher_amount |
- - Currency | -- Landed Cost Voucher Amount - - | -- |
| 59 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 60 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 61 | -rm_supp_cost |
- - Currency | -- Raw Materials Supplied Cost - - | -
- Company:company:default_currency- |
-
| 62 | -item_tax_amount |
- - Currency | -- Item Tax Amount - - | -
- Company:company:default_currency- |
-
| 63 | -valuation_rate |
- - Currency | -- Valuation Rate - - | -
- Company:company:default_currency- |
-
| 64 | -item_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 - |
- - |
| 65 | -page_break |
- - Check | -- Page Break - - | -- |
Table Name: tabSerial No
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -details |
- - Section Break | -- - - | -- |
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -serial_no |
- - Data | -- Serial No - - | -- |
| 4 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 5 | -warehouse |
- - Link | -
- Warehouse
- - Warehouse can only be changed via Stock Entry / Delivery Note / Purchase Receipt - |
- - - - - -Warehouse - - - - | -
| 6 | -column_break1 |
- - Column Break | -- - - | -- |
| 7 | -item_name |
- - Data | -- Item Name - - | -- |
| 8 | -description |
- - Text | -- Description - - | -- |
| 9 | -item_group |
- - Link | -- Item Group - - | -- - - - -Item Group - - - - | -
| 10 | -brand |
- - Link | -- Brand - - | -- - - - -Brand - - - - | -
| 11 | -purchase_details |
- - Section Break | -- Purchase / Manufacture Details - - | -- |
| 12 | -column_break2 |
- - Column Break | -- - - | -- |
| 13 | -purchase_document_type |
- - Link | -- Creation Document Type - - | -- - - - -DocType - - - - | -
| 14 | -purchase_document_no |
- - Dynamic Link | -- Creation Document No - - | -
- purchase_document_type- |
-
| 15 | -purchase_date |
- - Date | -- Creation Date - - | -- |
| 16 | -purchase_time |
- - Time | -- Creation Time - - | -- |
| 17 | -purchase_rate |
- - Currency | -- Incoming Rate - - | -
- Company:company:default_currency- |
-
| 18 | -column_break3 |
- - Column Break | -- - - | -- |
| 19 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 20 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 21 | -delivery_details |
- - Section Break | -- Delivery Details - - | -- |
| 22 | -delivery_document_type |
- - Link | -- Delivery Document Type - - | -- - - - -DocType - - - - | -
| 23 | -delivery_document_no |
- - Dynamic Link | -- Delivery Document No - - | -
- delivery_document_type- |
-
| 24 | -delivery_date |
- - Date | -- Delivery Date - - | -- |
| 25 | -delivery_time |
- - Time | -- Delivery Time - - | -- |
| 26 | -is_cancelled |
- - Select | -- Is Cancelled - - | -
- -Yes -No- |
-
| 27 | -column_break5 |
- - Column Break | -- - - | -- |
| 28 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 29 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 30 | -warranty_amc_details |
- - Section Break | -- Warranty / AMC Details - - | -- |
| 31 | -column_break6 |
- - Column Break | -- - - | -- |
| 32 | -maintenance_status |
- - Select | -- Maintenance Status - - | -
- -Under Warranty -Out of Warranty -Under AMC -Out of AMC- |
-
| 33 | -warranty_period |
- - Int | -- Warranty Period (Days) - - | -- |
| 34 | -column_break7 |
- - Column Break | -- - - | -- |
| 35 | -warranty_expiry_date |
- - Date | -- Warranty Expiry Date - - | -- |
| 36 | -amc_expiry_date |
- - Date | -- AMC Expiry Date - - | -- |
| 37 | -more_info |
- - Section Break | -- More Information - - | -- |
| 38 | -serial_no_details |
- - Text Editor | -- Serial No Details - - | -- |
| 39 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
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
-Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
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
-Table Name: tabStock Entry
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -items_section |
- - Section Break | -- - - | -- |
| 2 | -title |
- - Data | -- Title - - | -- |
| 3 | -naming_series |
- - Select | -- Series - - | -
- STE-- |
-
| 4 | -purpose |
- - Select | -- Purpose - - | -
- Material Issue -Material Receipt -Material Transfer -Material Transfer for Manufacture -Manufacture -Repack -Subcontract- |
-
| 5 | -production_order |
- - Link | -- Production Order - - | -- - - - -Production Order - - - - | -
| 6 | -purchase_order |
- - Link | -- Purchase Order - - | -- - - - -Purchase Order - - - - | -
| 7 | -delivery_note_no |
- - Link | -- Delivery Note No - - | -- - - - -Delivery Note - - - - | -
| 8 | -sales_invoice_no |
- - Link | -- Sales Invoice No - - | -- - - - -Sales Invoice - - - - | -
| 9 | -purchase_receipt_no |
- - Link | -- Purchase Receipt No - - | -- - - - -Purchase Receipt - - - - | -
| 10 | -from_bom |
- - Check | -- From BOM - - | -- |
| 11 | -col2 |
- - Column Break | -- - - | -- |
| 12 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 13 | -posting_time |
- - Time | -- Posting Time - - | -- |
| 14 | -sb1 |
- - Section Break | -- - - | -- |
| 15 | -bom_no |
- - Link | -- BOM No - - | -- - - - -BOM - - - - | -
| 16 | -fg_completed_qty |
- - Float | -
- For Quantity
- - As per Stock UOM - |
- - |
| 17 | -cb1 |
- - Column Break | -- - - | -- |
| 18 | -use_multi_level_bom |
- - Check | -
- Use Multi-Level BOM
- - Including items for sub assemblies - |
- - |
| 19 | -get_items |
- - Button | -- Get Items - - | -- |
| 20 | -section_break_12 |
- - Section Break | -- - - | -- |
| 21 | -from_warehouse |
- - Link | -- Default Source Warehouse - - | -- - - - -Warehouse - - - - | -
| 22 | -cb0 |
- - Column Break | -- - - | -- |
| 23 | -to_warehouse |
- - Link | -- Default Target Warehouse - - | -- - - - -Warehouse - - - - | -
| 24 | -sb0 |
- - Section Break | -- - - | -
- Simple- |
-
| 25 | -items |
- - Table | -- Items - - | -- - - - -Stock Entry Detail - - - - | -
| 26 | -get_stock_and_rate |
- - Button | -- Update Rate and Availability - - | -
- get_stock_and_rate- |
-
| 27 | -section_break_19 |
- - Section Break | -- - - | -- |
| 28 | -total_incoming_value |
- - Currency | -- Total Incoming Value - - | -
- Company:company:default_currency- |
-
| 29 | -column_break_22 |
- - Column Break | -- - - | -- |
| 30 | -total_outgoing_value |
- - Currency | -- Total Outgoing Value - - | -
- Company:company:default_currency- |
-
| 31 | -value_difference |
- - Currency | -- Total Value Difference (Out - In) - - | -
- Company:company:default_currency- |
-
| 32 | -difference_account |
- - Link | -- Difference Account - - | -- - - - -Account - - - - | -
| 33 | -additional_costs_section |
- - Section Break | -- Additional Costs - - | -- |
| 34 | -additional_costs |
- - Table | -- Additional Costs - - | -- - - - -Landed Cost Taxes and Charges - - - - | -
| 35 | -total_additional_costs |
- - Currency | -- Total Additional Costs - - | -
- Company:company:default_currency- |
-
| 36 | -contact_section |
- - Section Break | -- Customer or Supplier Details - - | -- |
| 37 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 38 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 39 | -supplier_address |
- - Small Text | -- Supplier Address - - | -- |
| 40 | -column_break_39 |
- - Column Break | -- - - | -- |
| 41 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 42 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 43 | -customer_address |
- - Small Text | -- Customer Address - - | -- |
| 44 | -printing_settings |
- - Section Break | -- Printing Settings - - | -- |
| 45 | -select_print_heading |
- - Link | -- Print Heading - - | -- - - - -Print Heading - - - - | -
| 46 | -letter_head |
- - Link | -- Letter Head - - | -- - - - -Letter Head - - - - | -
| 47 | -more_info |
- - Section Break | -- More Information - - | -- |
| 48 | -project_name |
- - Link | -- Project Name - - | -- - - - -Project - - - - | -
| 49 | -remarks |
- - Text | -- Remarks - - | -- |
| 50 | -col5 |
- - Column Break | -- - - | -- |
| 51 | -total_amount |
- - Currency | -- Total Amount - - | -
- Company:company:default_currency- |
-
| 52 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 53 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 54 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Stock Entry - - - - | -
| 55 | -credit_note |
- - Link | -- Credit Note - - | -- - - - -Journal Entry - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
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
-Table Name: tabStock Entry Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -barcode |
- - Data | -- Barcode - - | -- |
| 2 | -section_break_2 |
- - Section Break | -- - - | -- |
| 3 | -s_warehouse |
- - Link | -- Source Warehouse - - | -- - - - -Warehouse - - - - | -
| 4 | -col_break1 |
- - Column Break | -- - - | -- |
| 5 | -t_warehouse |
- - Link | -- Target Warehouse - - | -- - - - -Warehouse - - - - | -
| 6 | -sec_break1 |
- - Section Break | -- - - | -- |
| 7 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 8 | -col_break2 |
- - Column Break | -- - - | -- |
| 9 | -item_name |
- - Data | -- Item Name - - | -- |
| 10 | -section_break_8 |
- - Section Break | -- Description - - | -- |
| 11 | -description |
- - Text Editor | -- Description - - | -- |
| 12 | -column_break_10 |
- - Column Break | -- - - | -- |
| 13 | -image |
- - Attach | -- Image - - | -- |
| 14 | -image_view |
- - Image | -- Image View - - | -
- image- |
-
| 15 | -quantity_and_rate |
- - Section Break | -- Quantity and Rate - - | -- |
| 16 | -qty |
- - Float | -- Qty - - | -- |
| 17 | -basic_rate |
- - Currency | -- Basic Rate (as per Stock UOM) - - | -
- Company:company:default_currency- |
-
| 18 | -basic_amount |
- - Currency | -- Basic Amount - - | -
- Company:company:default_currency- |
-
| 19 | -additional_cost |
- - Currency | -- Additional Cost - - | -
- Company:company:default_currency- |
-
| 20 | -amount |
- - Currency | -- Amount - - | -
- Company:company:default_currency- |
-
| 21 | -valuation_rate |
- - Currency | -- Valuation Rate - - | -
- Company:company:default_currency- |
-
| 22 | -col_break3 |
- - Column Break | -- - - | -- |
| 23 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 24 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
| 25 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 26 | -transfer_qty |
- - Float | -- Qty as per Stock UOM - - | -- |
| 27 | -serial_no_batch |
- - Section Break | -- Serial No / Batch - - | -- |
| 28 | -serial_no |
- - Text | -- Serial No - - | -- |
| 29 | -col_break4 |
- - Column Break | -- - - | -- |
| 30 | -batch_no |
- - Link | -- Batch No - - | -- - - - -Batch - - - - | -
| 31 | -accounting |
- - Section Break | -- Accounting - - | -- |
| 32 | -expense_account |
- - Link | -- Difference Account - - | -- - - - -Account - - - - | -
| 33 | -col_break5 |
- - Column Break | -- - - | -- |
| 34 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 35 | -more_info |
- - Section Break | -- More Information - - | -- |
| 36 | -actual_qty |
- - Float | -- Actual Qty (at source/target) - - | -- |
| 37 | -bom_no |
- - Link | -
- BOM No
- - BOM No. for a Finished Good Item - |
- - - - - -BOM - - - - | -
| 38 | -col_break6 |
- - Column Break | -- - - | -- |
| 39 | -material_request |
- - Link | -
- Material Request
- - Material Request used to make this Stock Entry - |
- - - - - -Material Request - - - - | -
| 40 | -material_request_item |
- - Link | -- Material Request Item - - | -- - - - -Material Request Item - - - - | -
Table Name: tabStock Ledger Entry
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -serial_no |
- - Text | -- Serial No - - | -- |
| 3 | -batch_no |
- - Data | -- Batch No - - | -- |
| 4 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 5 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 6 | -posting_time |
- - Time | -- Posting Time - - | -- |
| 7 | -voucher_type |
- - Link | -- Voucher Type - - | -- - - - -DocType - - - - | -
| 8 | -voucher_no |
- - Dynamic Link | -- Voucher No - - | -
- voucher_type- |
-
| 9 | -voucher_detail_no |
- - Data | -- Voucher Detail No - - | -- |
| 10 | -actual_qty |
- - Float | -- Actual Quantity - - | -- |
| 11 | -incoming_rate |
- - Currency | -- Incoming Rate - - | -
- Company:company:default_currency- |
-
| 12 | -outgoing_rate |
- - Currency | -- Outgoing Rate - - | -
- Company:company:default_currency- |
-
| 13 | -stock_uom |
- - Link | -- Stock UOM - - | -- - - - -UOM - - - - | -
| 14 | -qty_after_transaction |
- - Float | -- Actual Qty After Transaction - - | -- |
| 15 | -valuation_rate |
- - Currency | -- Valuation Rate - - | -
- Company:company:default_currency- |
-
| 16 | -stock_value |
- - Currency | -- Stock Value - - | -
- Company:company:default_currency- |
-
| 17 | -stock_value_difference |
- - Currency | -- Stock Value Difference - - | -
- Company:company:default_currency- |
-
| 18 | -stock_queue |
- - Text | -- Stock Queue (FIFO) - - | -- |
| 19 | -project |
- - Link | -- Project - - | -- - - - -Project - - - - | -
| 20 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 21 | -fiscal_year |
- - Data | -- Fiscal Year - - | -- |
| 22 | -is_cancelled |
- - Select | -- Is Cancelled - - | -
- -No -Yes- |
-
Inherits from frappe.exceptions.ValidationError - -
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
-Table Name: tabStock Reconciliation
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -posting_date |
- - Date | -- Posting Date - - | -- |
| 2 | -posting_time |
- - Time | -- Posting Time - - | -- |
| 3 | -col1 |
- - Column Break | -- - - | -- |
| 4 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Stock Reconciliation - - - - | -
| 5 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 6 | -sb9 |
- - Section Break | -- - - | -- |
| 7 | -items |
- - Table | -- Items - - | -- - - - -Stock Reconciliation Item - - - - | -
| 8 | -section_break_9 |
- - Section Break | -- - - | -- |
| 9 | -expense_account |
- - Link | -- Difference Account - - | -- - - - -Account - - - - | -
| 10 | -cost_center |
- - Link | -- Cost Center - - | -- - - - -Cost Center - - - - | -
| 11 | -reconciliation_json |
- - Long Text | -- Reconciliation JSON - - | -- |
| 12 | -column_break_13 |
- - Column Break | -- - - | -- |
| 13 | -difference_amount |
- - Currency | -- Difference Amount - - | -- |
| 14 | -fold_15 |
- - Fold | -- - - | -- |
| 15 | -section_break_16 |
- - Section Break | -- - - | -- |
| 16 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
Inherits from frappe.exceptions.ValidationError - -
Inherits from frappe.exceptions.ValidationError - -
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
-Table Name: tabStock Reconciliation Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -warehouse |
- - Link | -- Warehouse - - | -- - - - -Warehouse - - - - | -
| 3 | -section_break_3 |
- - Section Break | -- - - | -- |
| 4 | -qty |
- - Float | -- Quantity - - | -- |
| 5 | -valuation_rate |
- - Currency | -
- Valuation Rate
- - Do not include symbols (ex. $) - |
- - |
| 6 | -column_break_6 |
- - Column Break | -- - - | -- |
| 7 | -current_qty |
- - Float | -
- Current Qty
- - Before reconciliation - |
- - |
| 8 | -current_valuation_rate |
- - Read Only | -
- Current Valuation Rate
- - Before reconciliation - |
- - |
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_naming_by |
- - Select | -- Item Naming By - - | -
- Item Code -Naming Series- |
-
| 2 | -item_group |
- - Link | -- Default Item Group - - | -- - - - -Item Group - - - - | -
| 3 | -stock_uom |
- - Link | -- Default Stock UOM - - | -- - - - -UOM - - - - | -
| 4 | -column_break_4 |
- - Column Break | -- - - | -- |
| 5 | -valuation_method |
- - Select | -- Default Valuation Method - - | -
- FIFO -Moving Average- |
-
| 6 | -tolerance |
- - 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. - |
- - |
| 7 | -section_break_7 |
- - Section Break | -- - - | -- |
| 8 | -auto_insert_price_list_rate_if_missing |
- - Check | -- Auto insert Price List rate if missing - - | -- |
| 9 | -allow_negative_stock |
- - Check | -- Allow Negative Stock - - | -- |
| 10 | -column_break_10 |
- - Column Break | -- - - | -- |
| 11 | -automatically_set_serial_nos_based_on_fifo |
- - Check | -- Automatically Set Serial Nos based on FIFO - - | -- |
| 12 | -auto_material_request |
- - Section Break | -- Auto Material Request - - | -- |
| 13 | -auto_indent |
- - Check | -- Raise Material Request when stock reaches re-order level - - | -- |
| 14 | -reorder_email_notify |
- - Check | -- Notify by Email on creation of automatic Material Request - - | -- |
| 15 | -freeze_stock_entries |
- - Section Break | -- Freeze Stock Entries - - | -- |
| 16 | -stock_frozen_upto |
- - Date | -- Stock Frozen Upto - - | -- |
| 17 | -stock_frozen_upto_days |
- - Int | -- Freeze Stocks Older Than [Days] - - | -- |
| 18 | -stock_auth_role |
- - Link | -- Role Allowed to edit frozen stock - - | -- - - - -Role - - - - | -
Inherits from frappe.model.document.Document - -
Table Name: tabUOM Conversion Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -uom |
- - Link | -- UOM - - | -- - - - -UOM - - - - | -
| 2 | -conversion_factor |
- - Float | -- Conversion Factor - - | -- |
Table Name: tabWarehouse
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -warehouse_detail |
- - Section Break | -- Warehouse Detail - - | -- |
| 2 | -warehouse_name |
- - Data | -- Warehouse Name - - | -- |
| 3 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 4 | -create_account_under |
- - Link | -
- Parent Account
- - Account for the warehouse (Perpetual Inventory) will be created under this Account. - |
- - - - - -Account - - - - | -
| 5 | -disabled |
- - Check | -- Disabled - - | -- |
| 6 | -warehouse_contact_info |
- - Section Break | -
- Warehouse Contact Info
- - For Reference Only. - |
- - |
| 7 | -email_id |
- - Data | -- Email Id - - | -- |
| 8 | -phone_no |
- - Data | -- Phone No - - | -
- Phone- |
-
| 9 | -mobile_no |
- - Data | -- Mobile No - - | -
- Phone- |
-
| 10 | -column_break0 |
- - Column Break | -- - - | -- |
| 11 | -address_line_1 |
- - Data | -- Address Line 1 - - | -- |
| 12 | -address_line_2 |
- - Data | -- Address Line 2 - - | -- |
| 13 | -city |
- - Data | -- City - - | -- |
| 14 | -state |
- - Data | -- State - - | -- |
| 15 | -pin |
- - Int | -- PIN - - | -- |
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
-Table Name: tabIssue
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -subject_section |
- - Section Break | -- Subject - - | -
- icon-flag- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- ISS-- |
-
| 3 | -subject |
- - Data | -- Subject - - | -- |
| 4 | -cb00 |
- - Column Break | -- - - | -- |
| 5 | -status |
- - Select | -- Status - - | -
- Open -Replied -Hold -Closed- |
-
| 6 | -raised_by |
- - Data | -- Raised By (Email) - - | -
- |
-
| 7 | -fold |
- - Fold | -- - - | -- |
| 8 | -section_break_7 |
- - Section Break | -- - - | -- |
| 9 | -description |
- - Text | -- Description - - | -- |
| 10 | -column_break_9 |
- - Column Break | -- - - | -- |
| 11 | -resolution_date |
- - Datetime | -- Resolution Date - - | -- |
| 12 | -first_responded_on |
- - Datetime | -- First Responded On - - | -- |
| 13 | -additional_info |
- - Section Break | -- - - | -
- icon-pushpin- |
-
| 14 | -lead |
- - Link | -- Lead - - | -- - - - -Lead - - - - | -
| 15 | -contact |
- - Link | -- Contact - - | -- - - - -Contact - - - - | -
| 16 | -column_break_16 |
- - Column Break | -- - - | -- |
| 17 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 18 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 19 | -section_break_19 |
- - Section Break | -- - - | -- |
| 20 | -resolution_details |
- - Small Text | -- Resolution Details - - | -- |
| 21 | -column_break1 |
- - Column Break | -- - - | -- |
| 22 | -opening_date |
- - Date | -- Opening Date - - | -- |
| 23 | -opening_time |
- - Time | -- Opening Time - - | -- |
| 24 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 25 | -content_type |
- - Data | -- Content Type - - | -- |
| 26 | -attachment |
- - Attach | -- Attachment - - | -- |
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
-Table Name: tabMaintenance Schedule
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_details |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 3 | -column_break0 |
- - Column Break | -- - - | -- |
| 4 | -status |
- - Select | -- Status - - | -
- -Draft -Submitted -Cancelled- |
-
| 5 | -transaction_date |
- - Date | -- Transaction Date - - | -- |
| 6 | -items_section |
- - Section Break | -- - - | -
- icon-shopping-cart- |
-
| 7 | -items |
- - Table | -- Items - - | -- - - - -Maintenance Schedule Item - - - - | -
| 8 | -schedule |
- - Section Break | -- Schedule - - | -
- icon-time- |
-
| 9 | -generate_schedule |
- - Button | -- Generate Schedule - - | -- |
| 10 | -schedules |
- - Table | -- Schedules - - | -- - - - -Maintenance Schedule Detail - - - - | -
| 11 | -contact_info |
- - Section Break | -- Contact Info - - | -- |
| 12 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 13 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 14 | -contact_mobile |
- - Data | -- Mobile No - - | -- |
| 15 | -contact_email |
- - Data | -- Contact Email - - | -- |
| 16 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 17 | -column_break_17 |
- - Column Break | -- - - | -- |
| 18 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 19 | -address_display |
- - Small Text | -- Address - - | -- |
| 20 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 21 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 22 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 23 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Maintenance Schedule - - - - | -
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
-Table Name: tabMaintenance Schedule Detail
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -scheduled_date |
- - Date | -- Scheduled Date - - | -- |
| 4 | -actual_date |
- - Date | -- Actual Date - - | -- |
| 5 | -sales_person |
- - Link | -- Sales Person - - | -- - - - -Sales Person - - - - | -
| 6 | -serial_no |
- - Small Text | -- Serial No - - | -- |
Table Name: tabMaintenance Schedule Item
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -description |
- - Data | -- Description - - | -- |
| 4 | -schedule_details |
- - Section Break | -- - - | -- |
| 5 | -start_date |
- - Date | -- Start Date - - | -- |
| 6 | -end_date |
- - Date | -- End Date - - | -- |
| 7 | -periodicity |
- - Select | -- Periodicity - - | -
- -Weekly -Monthly -Quarterly -Half Yearly -Yearly -Random- |
-
| 8 | -no_of_visits |
- - Int | -- No of Visits - - | -- |
| 9 | -sales_person |
- - Link | -- Sales Person - - | -- - - - -Sales Person - - - - | -
| 10 | -reference |
- - Section Break | -- Reference - - | -- |
| 11 | -serial_no |
- - Small Text | -- Serial No - - | -- |
| 12 | -prevdoc_docname |
- - Data | -- Against Docname - - | -- |
Table Name: tabMaintenance Visit
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_details |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -column_break0 |
- - Column Break | -- - - | -- |
| 3 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 4 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 5 | -address_display |
- - Small Text | -- Address - - | -- |
| 6 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 7 | -contact_mobile |
- - Data | -- Mobile No - - | -- |
| 8 | -contact_email |
- - Data | -- Contact Email - - | -- |
| 9 | -column_break1 |
- - Column Break | -- - - | -- |
| 10 | -mntc_date |
- - Date | -- Maintenance Date - - | -- |
| 11 | -mntc_time |
- - Time | -- Maintenance Time - - | -- |
| 12 | -maintenance_details |
- - Section Break | -- - - | -
- icon-wrench- |
-
| 13 | -completion_status |
- - Select | -- Completion Status - - | -
- -Partially Completed -Fully Completed- |
-
| 14 | -column_break_14 |
- - Column Break | -- - - | -- |
| 15 | -maintenance_type |
- - Select | -- Maintenance Type - - | -
- -Scheduled -Unscheduled -Breakdown- |
-
| 16 | -section_break0 |
- - Section Break | -- - - | -
- icon-wrench- |
-
| 17 | -purposes |
- - Table | -- Purposes - - | -- - - - -Maintenance Visit Purpose - - - - | -
| 18 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 19 | -customer_feedback |
- - Small Text | -- Customer Feedback - - | -- |
| 20 | -col_break3 |
- - Column Break | -- - - | -- |
| 21 | -status |
- - Data | -- Status - - | -
- -Draft -Cancelled -Submitted- |
-
| 22 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Maintenance Visit - - - - | -
| 23 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 24 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 25 | -contact_info_section |
- - Section Break | -- Contact Info - - | -
- icon-bullhorn- |
-
| 26 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 27 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 28 | -col_break4 |
- - Column Break | -- - - | -- |
| 29 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 30 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
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
-Table Name: tabMaintenance Visit Purpose
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 2 | -item_name |
- - Data | -- Item Name - - | -- |
| 3 | -serial_no |
- - Small Text | -- Serial No - - | -- |
| 4 | -description |
- - Text Editor | -- Description - - | -- |
| 5 | -work_details |
- - Section Break | -- - - | -- |
| 6 | -service_person |
- - Link | -- Sales Person - - | -- - - - -Sales Person - - - - | -
| 7 | -work_done |
- - Small Text | -- Work Done - - | -- |
| 8 | -prevdoc_doctype |
- - Link | -- Document Type - - | -- - - - -DocType - - - - | -
| 9 | -prevdoc_docname |
- - Dynamic Link | -- Against Document No - - | -
- prevdoc_doctype- |
-
| 10 | -prevdoc_detail_docname |
- - Data | -- Against Document Detail No - - | -- |
Table Name: tabWarranty Claim
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -customer_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -naming_series |
- - Select | -- Series - - | -
- CI-- |
-
| 3 | -status |
- - Select | -- Status - - | -
- -Open -Closed -Work In Progress -Cancelled- |
-
| 4 | -complaint_date |
- - Date | -- Issue Date - - | -- |
| 5 | -column_break0 |
- - Column Break | -- - - | -- |
| 6 | -serial_no |
- - Link | -- Serial No - - | -- - - - -Serial No - - - - | -
| 7 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 8 | -customer_address |
- - Link | -- Customer Address - - | -- - - - -Address - - - - | -
| 9 | -contact_person |
- - Link | -- Contact Person - - | -- - - - -Contact - - - - | -
| 10 | -issue_details |
- - Section Break | -- - - | -
- icon-ticket- |
-
| 11 | -complaint |
- - Small Text | -- Issue - - | -- |
| 12 | -item_code |
- - Link | -- Item Code - - | -- - - - -Item - - - - | -
| 13 | -column_break1 |
- - Column Break | -- - - | -- |
| 14 | -item_name |
- - Data | -- Item Name - - | -- |
| 15 | -description |
- - Small Text | -- Description - - | -- |
| 16 | -warranty_amc_status |
- - Select | -- Warranty / AMC Status - - | -
- -Under Warranty -Out of Warranty -Under AMC -Out of AMC- |
-
| 17 | -warranty_expiry_date |
- - Date | -- Warranty Expiry Date - - | -- |
| 18 | -amc_expiry_date |
- - Date | -- AMC Expiry Date - - | -- |
| 19 | -resolution_section |
- - Section Break | -
- Resolution
- - To assign this issue, use the "Assign" button in the sidebar. - |
-
- icon-thumbs-up- |
-
| 20 | -resolution_date |
- - Datetime | -- Resolution Date - - | -- |
| 21 | -resolved_by |
- - Link | -- Resolved By - - | -- - - - -User - - - - | -
| 22 | -resolution_details |
- - Text | -- Resolution Details - - | -- |
| 23 | -contact_info |
- - Section Break | -- Contact Info - - | -
- icon-bullhorn- |
-
| 24 | -col_break3 |
- - Column Break | -- - - | -- |
| 25 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 26 | -customer_group |
- - Link | -- Customer Group - - | -- - - - -Customer Group - - - - | -
| 27 | -territory |
- - Link | -- Territory - - | -- - - - -Territory - - - - | -
| 28 | -contact_display |
- - Small Text | -- Contact - - | -- |
| 29 | -contact_mobile |
- - Data | -- Mobile No - - | -- |
| 30 | -contact_email |
- - Data | -- Contact Email - - | -- |
| 31 | -col_break4 |
- - Column Break | -- - - | -- |
| 32 | -service_address |
- - Small Text | -
- Service Address
- - If different than customer address - |
- - |
| 33 | -address_display |
- - Small Text | -- Address - - | -- |
| 34 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 35 | -col_break5 |
- - Column Break | -- - - | -- |
| 36 | -company |
- - Link | -- Company - - | -- - - - -Company - - - - | -
| 37 | -fiscal_year |
- - Link | -- Fiscal Year - - | -- - - - -Fiscal Year - - - - | -
| 38 | -col_break6 |
- - Column Break | -- - - | -- |
| 39 | -complaint_raised_by |
- - Data | -- Raised By - - | -- |
| 40 | -from_company |
- - Data | -- From Company - - | -- |
| 41 | -amended_from |
- - Link | -- Amended From - - | -- - - - -Warranty Claim - - - - | -
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
-Table Name: tabAddress
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -address_details |
- - Section Break | -- - - | -
- icon-map-marker- |
-
| 2 | -address_title |
- - Data | -
- Address Title
- - Name of person or organization that this address belongs to. - |
- - |
| 3 | -address_type |
- - Select | -- Address Type - - | -
- Billing -Shipping -Office -Personal -Plant -Postal -Shop -Subsidiary -Warehouse -Other- |
-
| 4 | -address_line1 |
- - Data | -- Address Line 1 - - | -- |
| 5 | -address_line2 |
- - Data | -- Address Line 2 - - | -- |
| 6 | -city |
- - Data | -- City/Town - - | -- |
| 7 | -state |
- - Data | -- State - - | -- |
| 8 | -pincode |
- - Data | -- Postal Code - - | -- |
| 9 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
| 10 | -column_break0 |
- - Column Break | -- - - | -- |
| 11 | -email_id |
- - Data | -- Email Id - - | -- |
| 12 | -phone |
- - Data | -- Phone - - | -- |
| 13 | -fax |
- - Data | -- Fax - - | -- |
| 14 | -is_primary_address |
- - Check | -- Preferred Billing Address - - | -- |
| 15 | -is_shipping_address |
- - Check | -- Preferred Shipping Address - - | -- |
| 16 | -linked_with |
- - Section Break | -- Reference - - | -
- icon-pushpin- |
-
| 17 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 18 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 19 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 20 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 21 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 22 | -column_break_22 |
- - Column Break | -- - - | -- |
| 23 | -lead |
- - Link | -- Lead - - | -- - - - -Lead - - - - | -
| 24 | -lead_name |
- - Data | -- Lead Name - - | -- |
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
-Table Name: tabAddress Template
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -country |
- - Link | -- Country - - | -- - - - -Country - - - - | -
| 2 | -is_default |
- - Check | -
- Is Default
- - This format is used if country specific format is not found - |
- - |
| 3 | -template |
- - Code | -
- Template
- - Default Template-Uses Jinja Templating and all the fields of Address (including Custom Fields if any) will be available -
- |
- - |
Inherits from frappe.model.document.Document - -
- - - on_trash - (self) -
-No docs
-- - - on_update - (self) -
-No docs
-- - - validate - (self) -
-No docs
-Table Name: tabContact
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -contact_section |
- - Section Break | -- - - | -
- icon-user- |
-
| 2 | -first_name |
- - Data | -- First Name - - | -- |
| 3 | -last_name |
- - Data | -- Last Name - - | -- |
| 4 | -email_id |
- - Data | -- Email Id - - | -
- |
-
| 5 | -cb00 |
- - Column Break | -- - - | -- |
| 6 | -status |
- - Select | -- Status - - | -
- Passive -Open -Replied- |
-
| 7 | -phone |
- - Data | -- Phone - - | -- |
| 8 | -contact_details |
- - Section Break | -- Reference - - | -
- icon-pushpin- |
-
| 9 | -user |
- - Link | -- User Id - - | -- - - - -User - - - - | -
| 10 | -customer |
- - Link | -- Customer - - | -- - - - -Customer - - - - | -
| 11 | -customer_name |
- - Data | -- Customer Name - - | -- |
| 12 | -column_break1 |
- - Column Break | -- - - | -- |
| 13 | -supplier |
- - Link | -- Supplier - - | -- - - - -Supplier - - - - | -
| 14 | -supplier_name |
- - Data | -- Supplier Name - - | -- |
| 15 | -sales_partner |
- - Link | -- Sales Partner - - | -- - - - -Sales Partner - - - - | -
| 16 | -is_primary_contact |
- - Check | -- Is Primary Contact - - | -- |
| 17 | -more_info |
- - Section Break | -- More Information - - | -
- icon-file-text- |
-
| 18 | -mobile_no |
- - Data | -- Mobile No - - | -- |
| 19 | -department |
- - Data | -
- Department
- - Enter department to which this Contact belongs - |
- - |
| 20 | -designation |
- - Data | -
- Designation
- - Enter designation of this Contact - |
- - |
| 21 | -unsubscribed |
- - Check | -- Unsubscribed - - | -- |
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
-| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -select_doctype |
- - Select | -
- Select DocType
- - Type of document to rename. - |
- - |
| 2 | -file_to_rename |
- - Attach | -
- File to Rename
- - Attach .csv file with two columns, one for the old name and one for the new name - |
- - |
| 3 | -rename_log |
- - HTML | -- Rename Log - - | -- |
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
-Table Name: tabSMS Log
| Sr | -Fieldname | -Type | -Label | -Options | -
|---|---|---|---|---|
| 1 | -sender_name |
- - Data | -- Sender Name - - | -- |
| 2 | -sent_on |
- - Date | -- Sent On - - | -- |
| 3 | -column_break0 |
- - Column Break | -- - - | -- |
| 4 | -message |
- - Small Text | -- Message - - | -- |
| 5 | -sec_break1 |
- - Section Break | -- - - | -
- Simple- |
-
| 6 | -no_of_requested_sms |
- - Int | -- No of Requested SMS - - | -- |
| 7 | -requested_numbers |
- - Small Text | -- Requested Numbers - - | -- |
| 8 | -column_break1 |
- - Column Break | -- - - | -- |
| 9 | -no_of_sent_sms |
- - Int | -- No of Sent SMS - - | -- |
| 10 | -sent_to |
- - Small Text | -- Sent To - - | -- |
Inherits from frappe.model.document.Document - -