2022-10-05 14:37:17 +00:00
|
|
|
{
|
|
|
|
"name": "StockMovement",
|
|
|
|
"label": "Stock Movement",
|
|
|
|
"naming": "numberSeries",
|
|
|
|
"isSingle": false,
|
|
|
|
"isChild": false,
|
|
|
|
"isSubmittable": true,
|
|
|
|
"fields": [
|
|
|
|
{
|
|
|
|
"label": "Stock Movement No.",
|
|
|
|
"fieldname": "name",
|
|
|
|
"fieldtype": "Data",
|
|
|
|
"required": true,
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "date",
|
2022-10-06 08:50:13 +00:00
|
|
|
"label": "Date",
|
2022-10-05 14:37:17 +00:00
|
|
|
"fieldtype": "Datetime",
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "movementType",
|
|
|
|
"label": "Movement Type",
|
|
|
|
"fieldtype": "Select",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "MaterialIssue",
|
|
|
|
"label": "Material Issue"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "MaterialReceipt",
|
|
|
|
"label": "Material Receipt"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "MaterialTransfer",
|
|
|
|
"label": "Material Transfer"
|
2023-01-31 08:06:03 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Manufacture",
|
|
|
|
"label": "Manufacture"
|
2022-10-05 14:37:17 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"required": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"default": "SMOV-"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
2022-11-03 10:53:34 +00:00
|
|
|
"label": "Total Amount",
|
2022-10-05 14:37:17 +00:00
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "items",
|
|
|
|
"label": "Items",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "StockMovementItem",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"quickEditFields": [
|
|
|
|
"numberSeries",
|
|
|
|
"date",
|
|
|
|
"movementType",
|
|
|
|
"amount",
|
|
|
|
"items"
|
|
|
|
],
|
|
|
|
"keywordFields": ["name", "movementType"]
|
|
|
|
}
|