Skip to content
ERPNext Data Model
Esc
navigateopen⌘Jpreview
On this page

Masters

Buying masters — 5 entities with their key fields and relationships.

Reference data with an independent lifecycle: created once, referenced many times.

5 entities in Buying.

Supplier

Represents a person or organization that provides goods or services to the company.

Naming: Naming Series · 72 fields · 32 inbound refs

Key fields

Field Type Req Label
naming_series Select Series
supplier_name Data yes Supplier Name
supplier_type Select yes Supplier Type
disabled Check Disabled

Relationships

Field Type References Req
country Link Country (fw)
default_bank_account Link Bank Account
default_currency Link Currency (fw)
default_price_list Link Price List
gender Link Gender (fw)
language Link Language (fw)
payment_terms Link Payment Terms Template
represents_company Link Company
supplier_group Link Supplier Group
supplier_primary_address Link Address (fw)
supplier_primary_contact Link Contact (fw)
tax_category Link Tax Category
tax_withholding_category Link Tax Withholding Category
tax_withholding_group Link Tax Withholding Group
accounts Table Party Account
companies Table Allowed To Transact With
customer_numbers Table Customer Number At Supplier
portal_users Table Portal User

Supplier Scorecard

Defines the criteria, variables, standings, and evaluation period used to assess one Supplier.

Naming: field supplier · 21 fields · 1 inbound ref

Key fields

Field Type Req Label
status Data Status
period Select yes Evaluation Period
weighting_function Small Text yes Weighting Function

Relationships

Field Type References Req
employee Link Employee
supplier Link Supplier
criteria Table Supplier Scorecard Scoring Criteria yes
standings Table Supplier Scorecard Scoring Standing yes

Supplier Scorecard Criteria

Defines a weighted scoring criterion and formula used when evaluating supplier performance.

Naming: field criteria_name · 4 fields · 1 inbound ref

Key fields

Field Type Req Label
criteria_name Data yes Criteria Name
max_score Float yes Max Score
formula Small Text yes Criteria Formula

Relationships

No outgoing relationships.

Supplier Scorecard Standing

Maps a score range to a supplier standing and can warn, block purchasing documents, or trigger notifications for that range.

Naming: field standing_name · 12 fields · 1 inbound ref

Relationships

Field Type References Req
employee_link Link Employee

Supplier Scorecard Variable

Defines a named value that supplier-scorecard formulas can use, including built-in shipment and receipt measures or a custom data path.

Naming: field variable_label · 6 fields · 1 inbound ref

Key fields

Field Type Req Label
variable_label Data yes Variable Name
param_name Data yes Parameter Name
path Data yes Path

Relationships

No outgoing relationships.

Was this page helpful?