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