mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
68 lines
1.4 KiB
JSON
68 lines
1.4 KiB
JSON
{
|
|
"name": "StockMovementItem",
|
|
"label": "Stock Movement Item",
|
|
"naming": "random",
|
|
"isChild": true,
|
|
"fields": [
|
|
{
|
|
"fieldname": "item",
|
|
"label": "Item",
|
|
"fieldtype": "Link",
|
|
"target": "Item",
|
|
"create": true,
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "fromLocation",
|
|
"label": "From",
|
|
"fieldtype": "Link",
|
|
"target": "Location",
|
|
"create": true
|
|
},
|
|
{
|
|
"fieldname": "toLocation",
|
|
"label": "To",
|
|
"fieldtype": "Link",
|
|
"target": "Location",
|
|
"create": true
|
|
},
|
|
{
|
|
"fieldname": "batchNumber",
|
|
"label": "Batch No",
|
|
"fieldtype": "Link",
|
|
"target": "BatchNumber",
|
|
"create": true
|
|
},
|
|
{
|
|
"fieldname": "quantity",
|
|
"label": "Quantity",
|
|
"fieldtype": "Float",
|
|
"required": true,
|
|
"default": 1
|
|
},
|
|
{
|
|
"fieldname": "rate",
|
|
"label": "Rate",
|
|
"fieldtype": "Currency",
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "amount",
|
|
"label": "Amount",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
}
|
|
],
|
|
"tableFields": ["item", "fromLocation", "toLocation", "batchNumber", "quantity", "rate"],
|
|
"keywordFields": ["item", "batchNumber"],
|
|
"quickEditFields": [
|
|
"item",
|
|
"fromLocation",
|
|
"toLocation",
|
|
"batchNumber",
|
|
"quantity",
|
|
"rate",
|
|
"amount"
|
|
]
|
|
}
|