mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
113 lines
2.2 KiB
JSON
113 lines
2.2 KiB
JSON
{
|
|
"name": "StockTransferItem",
|
|
"label": "Stock Transfer Item",
|
|
"isAbstract": true,
|
|
"isChild": true,
|
|
"fields": [
|
|
{
|
|
"fieldname": "item",
|
|
"label": "Item",
|
|
"fieldtype": "Link",
|
|
"target": "Item",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "location",
|
|
"fieldtype": "Link",
|
|
"target": "Location",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "transferUnit",
|
|
"label": "Transfer Unit",
|
|
"fieldtype": "Link",
|
|
"target": "UOM",
|
|
"default": "Unit",
|
|
"placeholder": "Unit"
|
|
},
|
|
{
|
|
"fieldname": "transferQuantity",
|
|
"label": "Qty. in Transfer Unit",
|
|
"fieldtype": "Float",
|
|
"default": 1,
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "unit",
|
|
"label": "Stock Unit",
|
|
"fieldtype": "Link",
|
|
"target": "UOM",
|
|
"default": "Unit",
|
|
"placeholder": "Unit",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "batch",
|
|
"label": "Batch",
|
|
"fieldtype": "Link",
|
|
"target": "Batch"
|
|
},
|
|
{
|
|
"fieldname": "serialNumber",
|
|
"label": "Serial Number",
|
|
"fieldtype": "Text"
|
|
},
|
|
{
|
|
"fieldname": "quantity",
|
|
"label": "Quantity",
|
|
"fieldtype": "Float",
|
|
"required": true,
|
|
"default": 1
|
|
},
|
|
{
|
|
"fieldname": "unitConversionFactor",
|
|
"label": "Conversion Factor",
|
|
"fieldtype": "Float",
|
|
"required": true,
|
|
"default": 1
|
|
},
|
|
{
|
|
"fieldname": "rate",
|
|
"label": "Rate",
|
|
"fieldtype": "Currency",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "amount",
|
|
"label": "Amount",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "description",
|
|
"label": "Description",
|
|
"placeholder": "Item Description",
|
|
"fieldtype": "Text"
|
|
},
|
|
{
|
|
"fieldname": "hsnCode",
|
|
"label": "HSN/SAC",
|
|
"fieldtype": "Int",
|
|
"placeholder": "HSN/SAC Code"
|
|
}
|
|
],
|
|
"tableFields": ["item", "location", "quantity", "rate", "amount"],
|
|
"quickEditFields": [
|
|
"item",
|
|
|
|
"transferQuantity",
|
|
"transferUnit",
|
|
"batch",
|
|
"serialNumber",
|
|
"quantity",
|
|
"unit",
|
|
"unitConversionFactor",
|
|
|
|
"description",
|
|
"hsnCode",
|
|
"location",
|
|
"rate",
|
|
"amount"
|
|
]
|
|
}
|