2022-10-05 14:37:17 +00:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
},
|
2023-02-15 09:07:38 +00:00
|
|
|
{
|
2023-02-21 08:54:35 +00:00
|
|
|
"fieldname": "transferUnit",
|
|
|
|
"label": "Transfer Unit",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "UOM",
|
|
|
|
"placeholder": "Unit"
|
2023-02-15 09:07:38 +00:00
|
|
|
},
|
2022-10-05 14:37:17 +00:00
|
|
|
{
|
2023-02-21 08:54:35 +00:00
|
|
|
"fieldname": "transferQuantity",
|
|
|
|
"label": "Qty. in Transfer Unit",
|
2022-10-05 14:37:17 +00:00
|
|
|
"fieldtype": "Float",
|
2023-02-21 09:18:55 +00:00
|
|
|
"default": 1,
|
2023-02-21 08:54:35 +00:00
|
|
|
"required": true
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
2023-02-13 15:09:12 +00:00
|
|
|
{
|
2023-02-21 08:54:35 +00:00
|
|
|
"fieldname": "unit",
|
|
|
|
"label": "Stock Unit",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "UOM",
|
|
|
|
"default": "Unit",
|
|
|
|
"placeholder": "Unit",
|
2023-02-13 15:09:12 +00:00
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
2023-02-21 08:54:35 +00:00
|
|
|
"fieldname": "quantity",
|
|
|
|
"label": "Qty. in Stock Unit",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"required": true,
|
|
|
|
"default": 1
|
2023-02-13 15:09:12 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-21 08:54:35 +00:00
|
|
|
"fieldname": "unitConversionFactor",
|
2023-02-13 15:09:12 +00:00
|
|
|
"label": "Conversion Factor",
|
|
|
|
"fieldtype": "Float",
|
2023-02-21 09:18:55 +00:00
|
|
|
"required": true,
|
|
|
|
"default": 1
|
2023-02-13 15:09:12 +00:00
|
|
|
},
|
2022-10-05 14:37:17 +00:00
|
|
|
{
|
|
|
|
"fieldname": "rate",
|
|
|
|
"label": "Rate",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true
|
|
|
|
}
|
|
|
|
],
|
2023-02-21 08:54:35 +00:00
|
|
|
"tableFields": ["item", "fromLocation", "toLocation", "quantity", "rate"],
|
2022-10-05 14:37:17 +00:00
|
|
|
"keywordFields": ["item"],
|
|
|
|
"quickEditFields": [
|
|
|
|
"item",
|
|
|
|
"fromLocation",
|
|
|
|
"toLocation",
|
2023-02-21 08:54:35 +00:00
|
|
|
"transferUnit",
|
|
|
|
"transferQuantity",
|
|
|
|
"unit",
|
2023-02-15 09:07:38 +00:00
|
|
|
"quantity",
|
2023-02-21 08:54:35 +00:00
|
|
|
"unitConversionFactor",
|
2022-10-05 14:37:17 +00:00
|
|
|
"rate",
|
|
|
|
"amount"
|
|
|
|
]
|
|
|
|
}
|