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

Transactions

Subcontracting transactions — 3 entities with their key fields and relationships.

Submittable documents with a docstatus lifecycle. Once submitted they are immutable and post ledger entries; corrections are amendments or returns.

3 entities in Subcontracting.

Subcontracting Inward Order

Tracks work performed for a customer using customer-provided materials, from production through delivery or return.

Transaction Submittable

Naming: Naming Series · 31 fields · 3 inbound refs

Key fields

Field Type Req Label
title Data Title
naming_series Select yes Series
customer_name Data yes Customer Name
transaction_date Date yes Date
status Select yes Status
per_delivered Percent % Delivered
per_produced Percent % Produced
per_process_loss Percent % Process Loss
per_returned Percent % Returned
per_raw_material_returned Percent % Raw Material Returned
per_raw_material_received Percent % Raw Material Received

Relationships

Field Type References Req
amended_from Link Subcontracting Inward Order
company Link Company yes
currency Link Currency (fw)
customer Link Customer yes
customer_warehouse Link Warehouse yes
sales_order Link Sales Order yes
set_delivery_warehouse Link Warehouse
items Table Subcontracting Inward Order Item yes
received_items Table Subcontracting Inward Order Received Item
secondary_items Table Subcontracting Inward Order Secondary Item
service_items Table Subcontracting Inward Order Service Item yes

Subcontracting Order

Tracks finished goods ordered from a job worker together with the raw materials the company supplies for production.

Transaction Submittable

Naming: Naming Series · 57 fields · 4 inbound refs

Key fields

Field Type Req Label
title Data Title
naming_series Select yes Series
supplier_name Data yes Job Worker Name
transaction_date Date yes Date
status Select yes Status
per_received Percent % Received

Relationships

Field Type References Req
amended_from Link Subcontracting Order
billing_address Link Address (fw)
company Link Company yes
contact_person Link Contact (fw)
cost_center Link Cost Center
letter_head Link Letter Head (fw)
project Link Project
purchase_order Link Purchase Order yes
select_print_heading Link Print Heading (fw)
set_reserve_warehouse Link Warehouse
set_warehouse Link Warehouse
shipping_address Link Address (fw)
supplier Link Supplier yes
supplier_address Link Address (fw)
supplier_currency Link Currency (fw)
supplier_warehouse Link Warehouse yes
additional_costs Table Landed Cost Taxes and Charges
items Table Subcontracting Order Item yes
service_items Table Subcontracting Order Service Item yes
supplied_items Table Subcontracting Order Supplied Item

Subcontracting Receipt

Records finished goods received from a job worker and the supplied raw materials consumed, returned, or remaining.

Transaction Submittable

Naming: Naming Series · 80 fields · 3 inbound refs

Key fields

Field Type Req Label
title Data Title
naming_series Select yes Series
supplier_name Data Job Worker Name
posting_date Date yes Date
posting_time Time yes Posting Time
status Select yes Status
per_returned Percent % Returned

Relationships

Field Type References Req
amended_from Link Subcontracting Receipt
auto_repeat Link Auto Repeat (fw)
billing_address Link Address (fw)
company Link Company yes
contact_person Link Contact (fw)
cost_center Link Cost Center
letter_head Link Letter Head (fw)
project Link Project
rejected_warehouse Link Warehouse
represents_company Link Company
return_against Link Subcontracting Receipt
select_print_heading Link Print Heading (fw)
set_warehouse Link Warehouse
shipping_address Link Address (fw)
supplier Link Supplier yes
supplier_address Link Address (fw)
supplier_warehouse Link Warehouse
additional_costs Table Landed Cost Taxes and Charges
items Table Subcontracting Receipt Item yes
supplied_items Table Subcontracting Receipt Supplied Item

Was this page helpful?