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,
|
2023-02-21 05:34:35 +00:00
|
|
|
"readOnly": true,
|
|
|
|
"section": "Default"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-21 05:34:35 +00:00
|
|
|
"fieldname": "numberSeries",
|
|
|
|
"label": "Number Series",
|
|
|
|
"fieldtype": "Link",
|
|
|
|
"target": "NumberSeries",
|
|
|
|
"create": true,
|
|
|
|
"required": true,
|
|
|
|
"default": "SMOV-",
|
|
|
|
"section": "Default"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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,
|
2023-02-21 05:34:35 +00:00
|
|
|
"section": "Default"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-21 05:34:35 +00:00
|
|
|
"fieldname": "date",
|
|
|
|
"label": "Date",
|
|
|
|
"fieldtype": "Datetime",
|
|
|
|
"required": true,
|
|
|
|
"section": "Default"
|
2022-10-05 14:37:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "items",
|
|
|
|
"label": "Items",
|
|
|
|
"fieldtype": "Table",
|
|
|
|
"target": "StockMovementItem",
|
2023-02-21 05:34:35 +00:00
|
|
|
"required": true,
|
2023-02-21 10:40:06 +00:00
|
|
|
"edit": true,
|
2023-02-21 05:34:35 +00:00
|
|
|
"section": "Items"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"fieldname": "amount",
|
|
|
|
"label": "Total Amount",
|
|
|
|
"fieldtype": "Currency",
|
|
|
|
"readOnly": true,
|
|
|
|
"section": "Items"
|
2022-10-05 14:37:17 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"quickEditFields": [
|
|
|
|
"numberSeries",
|
|
|
|
"date",
|
|
|
|
"movementType",
|
|
|
|
"amount",
|
|
|
|
"items"
|
|
|
|
],
|
|
|
|
"keywordFields": ["name", "movementType"]
|
|
|
|
}
|