mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
2c0540bfd5
- add basic inventory schemas - add basic inventory models - patch stockmovement number series
87 lines
1.8 KiB
JSON
87 lines
1.8 KiB
JSON
{
|
|
"name": "StockLedgerEntry",
|
|
"label": "Stock Ledger Entry",
|
|
"isSingle": false,
|
|
"isChild": false,
|
|
"naming": "autoincrement",
|
|
"fields": [
|
|
{
|
|
"fieldname": "date",
|
|
"label": "Date",
|
|
"fieldtype": "Datetime",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "item",
|
|
"label": "Item",
|
|
"fieldtype": "Link",
|
|
"target": "Item",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "rate",
|
|
"label": "Rate",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "quantity",
|
|
"label": "Quantity",
|
|
"fieldtype": "Float",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "fromLocation",
|
|
"label": "From Location",
|
|
"fieldtype": "Link",
|
|
"target": "Location",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "toLocation",
|
|
"label": "To Location",
|
|
"fieldtype": "Link",
|
|
"target": "Location",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "referenceDetailName",
|
|
"label": "Ref. Detail Name",
|
|
"fieldtype": "DynamicLink",
|
|
"references": "referenceDetailType",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "referenceDetailType",
|
|
"label": "Ref. Detail Type",
|
|
"fieldtype": "Data",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "referenceName",
|
|
"label": "Ref. Name",
|
|
"fieldtype": "DynamicLink",
|
|
"references": "referenceType",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "referenceType",
|
|
"label": "Ref. Type",
|
|
"fieldtype": "Data",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "stockValue",
|
|
"label": "Stock Value",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
},
|
|
{
|
|
"fieldname": "stockValueDifference",
|
|
"label": "Stock Value Difference",
|
|
"fieldtype": "Currency",
|
|
"readOnly": true
|
|
}
|
|
]
|
|
}
|