{ "name": "InventorySettings", "label": "Inventory Settings", "isSingle": true, "isChild": false, "fields": [ { "fieldname": "valuationMethod", "label": "Valuation Method", "fieldtype": "Select", "options": [ { "value": "FIFO", "label": "FIFO" }, { "value": "MovingAverage", "label": "Moving Average" } ], "default": "FIFO", "required": true, "section": "Default" }, { "fieldname": "defaultLocation", "label": "Default Location", "fieldtype": "Link", "target": "Location", "create": true, "section": "Default" }, { "fieldname": "stockInHand", "label": "Stock In Hand Acc.", "fieldtype": "Link", "target": "Account", "section": "Accounts" }, { "fieldname": "stockReceivedButNotBilled", "label": "Stock Received But Not Billed Acc.", "fieldtype": "Link", "target": "Account", "section": "Accounts" }, { "fieldname": "costOfGoodsSold", "label": "Cost Of Goods Sold Acc.", "fieldtype": "Link", "target": "Account", "section": "Accounts" }, { "fieldname": "enableBarcodes", "label": "Enable Barcodes", "fieldtype": "Check", "section": "Feature Flags" }, { "fieldname": "enableBatches", "label": "Enable Batches", "fieldtype": "Check", "section": "Feature Flags" }, { "fieldname": "enableUomConversions", "label": "Enable UOM Conversion", "fieldtype": "Check", "section": "Feature Flags" } ] }