2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 19:39:07 +00:00
books/schemas/app/inventory/StockMovementItem.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

105 lines
2.1 KiB
JSON
Raw Normal View History

{
"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": "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
},
{
2023-02-28 06:01:04 +00:00
"fieldname": "batch",
"label": "Batch",
"fieldtype": "Link",
2023-02-28 06:01:04 +00:00
"target": "Batch",
"create": true
},
{
"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
}
],
"tableFields": ["item", "fromLocation", "toLocation", "quantity", "rate"],
2023-02-17 05:10:38 +00:00
"keywordFields": ["item"],
"quickEditFields": [
"item",
"fromLocation",
"toLocation",
"transferQuantity",
"transferUnit",
2023-02-28 06:01:04 +00:00
"batch",
"quantity",
"unit",
"unitConversionFactor",
"rate",
"amount"
]
}