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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "quantity",
|
|
|
|
"label": "Quantity",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"required": true,
|
|
|
|
"default": 1
|
|
|
|
},
|
2023-02-13 15:09:12 +00:00
|
|
|
{
|
|
|
|
"fieldname": "transferQty",
|
|
|
|
"label": "Qty as per UOM",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "stockUOM",
|
|
|
|
"label": "Stock UOM",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "UOMs",
|
|
|
|
"label": "UOMs",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "UOMConversionFactor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "UOMConversionFactor",
|
|
|
|
"label": "Conversion Factor",
|
|
|
|
"fieldtype": "Float",
|
|
|
|
"required": "true"
|
|
|
|
},
|
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-13 15:09:12 +00:00
|
|
|
"tableFields": [
|
|
|
|
"item",
|
|
|
|
"fromLocation",
|
|
|
|
"toLocation",
|
|
|
|
"stockUOM",
|
|
|
|
"UOMs",
|
|
|
|
"UOMConversionFactor",
|
|
|
|
"quantity",
|
|
|
|
"transferQty",
|
|
|
|
"rate"
|
|
|
|
],
|
2022-10-05 14:37:17 +00:00
|
|
|
"keywordFields": ["item"],
|
|
|
|
"quickEditFields": [
|
|
|
|
"item",
|
|
|
|
"fromLocation",
|
|
|
|
"toLocation",
|
2023-02-13 15:09:12 +00:00
|
|
|
"stockUOM",
|
|
|
|
"UOMs",
|
|
|
|
"UOMConversionFactor",
|
2022-10-05 14:37:17 +00:00
|
|
|
"quantity",
|
2023-02-13 15:09:12 +00:00
|
|
|
"transferQty",
|
2022-10-05 14:37:17 +00:00
|
|
|
"rate",
|
|
|
|
"amount"
|
|
|
|
]
|
|
|
|
}
|