2
0
mirror of https://github.com/frappe/books.git synced 2024-11-10 15:50:56 +00:00
books/schemas/app/inventory/StockMovementItem.json
2023-02-21 15:21:46 +05:30

98 lines
1.8 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": "transferQty",
"label": "Qty as per Stock UOM",
"fieldtype": "Float",
"required": true
},
{
"fieldname": "quantity",
"label": "Quantity",
"fieldtype": "Float",
"required": true,
"default": 1
},
{
"fieldname": "stockUOM",
"label": "Stock UOM",
"fieldtype": "Data",
"readOnly": true
},
{
"fieldname": "uom",
"label": "UOM",
"fieldtype": "Link",
"target": "UOM"
},
{
"fieldname": "UOMConversionFactor",
"label": "Conversion Factor",
"fieldtype": "Float",
"required": "true"
},
{
"fieldname": "rate",
"label": "Rate",
"fieldtype": "Currency",
"required": true
},
{
"fieldname": "amount",
"label": "Amount",
"fieldtype": "Currency",
"readOnly": true
}
],
"tableFields": [
"item",
"fromLocation",
"toLocation",
"stockUOM",
"uom",
"UOMConversionFactor",
"transferQty",
"quantity",
"rate"
],
"keywordFields": ["item"],
"quickEditFields": [
"item",
"fromLocation",
"toLocation",
"stockUOM",
"uom",
"UOMConversionFactor",
"transferQty",
"quantity",
"rate",
"amount"
]
}