feat: add field Purchase Order Item in SCO Service Item

This commit is contained in:
s-aga-r 2023-11-23 13:39:49 +05:30
parent 745e3bfb73
commit 45d5cff47d

View File

@ -1,131 +1,141 @@
{ {
"actions": [], "actions": [],
"autoname": "hash", "autoname": "hash",
"creation": "2022-04-01 19:23:05.728354", "creation": "2022-04-01 19:23:05.728354",
"doctype": "DocType", "doctype": "DocType",
"editable_grid": 1, "editable_grid": 1,
"engine": "InnoDB", "engine": "InnoDB",
"field_order": [ "field_order": [
"item_code", "item_code",
"column_break_2", "column_break_2",
"item_name", "item_name",
"section_break_4", "section_break_4",
"qty", "qty",
"column_break_6", "column_break_6",
"rate", "rate",
"column_break_8", "column_break_8",
"amount", "amount",
"section_break_10", "section_break_10",
"fg_item", "fg_item",
"column_break_12", "column_break_12",
"fg_item_qty" "fg_item_qty",
], "purchase_order_item"
"fields": [ ],
{ "fields": [
"bold": 1, {
"columns": 2, "bold": 1,
"fieldname": "item_code", "columns": 2,
"fieldtype": "Link", "fieldname": "item_code",
"in_list_view": 1, "fieldtype": "Link",
"label": "Item Code", "in_list_view": 1,
"options": "Item", "label": "Item Code",
"reqd": 1, "options": "Item",
"search_index": 1 "reqd": 1,
}, "search_index": 1
{ },
"fetch_from": "item_code.item_name", {
"fieldname": "item_name", "fetch_from": "item_code.item_name",
"fieldtype": "Data", "fieldname": "item_name",
"in_global_search": 1, "fieldtype": "Data",
"in_list_view": 1, "in_global_search": 1,
"label": "Item Name", "in_list_view": 1,
"print_hide": 1, "label": "Item Name",
"reqd": 1 "print_hide": 1,
}, "reqd": 1
{ },
"bold": 1, {
"columns": 1, "bold": 1,
"fieldname": "qty", "columns": 1,
"fieldtype": "Float", "fieldname": "qty",
"in_list_view": 1, "fieldtype": "Float",
"label": "Quantity", "in_list_view": 1,
"print_width": "60px", "label": "Quantity",
"reqd": 1, "print_width": "60px",
"width": "60px" "reqd": 1,
}, "width": "60px"
{ },
"bold": 1, {
"columns": 2, "bold": 1,
"fetch_from": "item_code.standard_rate", "columns": 2,
"fetch_if_empty": 1, "fetch_from": "item_code.standard_rate",
"fieldname": "rate", "fetch_if_empty": 1,
"fieldtype": "Currency", "fieldname": "rate",
"in_list_view": 1, "fieldtype": "Currency",
"label": "Rate", "in_list_view": 1,
"options": "currency", "label": "Rate",
"reqd": 1 "options": "currency",
}, "reqd": 1
{ },
"columns": 2, {
"fieldname": "amount", "columns": 2,
"fieldtype": "Currency", "fieldname": "amount",
"in_list_view": 1, "fieldtype": "Currency",
"label": "Amount", "in_list_view": 1,
"options": "currency", "label": "Amount",
"read_only": 1, "options": "currency",
"reqd": 1 "read_only": 1,
}, "reqd": 1
{ },
"fieldname": "fg_item", {
"fieldtype": "Link", "fieldname": "fg_item",
"label": "Finished Good Item", "fieldtype": "Link",
"options": "Item", "label": "Finished Good Item",
"reqd": 1 "options": "Item",
}, "reqd": 1
{ },
"default": "1", {
"fieldname": "fg_item_qty", "default": "1",
"fieldtype": "Float", "fieldname": "fg_item_qty",
"label": "Finished Good Item Quantity", "fieldtype": "Float",
"reqd": 1 "label": "Finished Good Item Quantity",
}, "reqd": 1
{ },
"fieldname": "column_break_2", {
"fieldtype": "Column Break" "fieldname": "column_break_2",
}, "fieldtype": "Column Break"
{ },
"fieldname": "section_break_4", {
"fieldtype": "Section Break" "fieldname": "section_break_4",
}, "fieldtype": "Section Break"
{ },
"fieldname": "column_break_6", {
"fieldtype": "Column Break" "fieldname": "column_break_6",
}, "fieldtype": "Column Break"
{ },
"fieldname": "column_break_8", {
"fieldtype": "Column Break" "fieldname": "column_break_8",
}, "fieldtype": "Column Break"
{ },
"fieldname": "section_break_10", {
"fieldtype": "Section Break" "fieldname": "section_break_10",
}, "fieldtype": "Section Break"
{ },
"fieldname": "column_break_12", {
"fieldtype": "Column Break" "fieldname": "column_break_12",
} "fieldtype": "Column Break"
], },
"istable": 1, {
"links": [], "fieldname": "purchase_order_item",
"modified": "2022-04-07 11:43:43.094867", "fieldtype": "Data",
"modified_by": "Administrator", "hidden": 1,
"module": "Subcontracting", "label": "Purchase Order Item",
"name": "Subcontracting Order Service Item", "no_copy": 1,
"naming_rule": "Random", "read_only": 1,
"owner": "Administrator", "search_index": 1
"permissions": [], }
"quick_entry": 1, ],
"search_fields": "item_name", "istable": 1,
"sort_field": "modified", "links": [],
"sort_order": "DESC", "modified": "2023-11-23 17:05:04.561948",
"states": [] "modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Order Service Item",
"naming_rule": "Random",
"owner": "Administrator",
"permissions": [],
"quick_entry": 1,
"search_fields": "item_name",
"sort_field": "modified",
"sort_order": "DESC",
"states": []
} }