{
    "ObjectFields": [
        {
            "Name": "MaterialAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "MaterialAccountCode",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Code",
            "Label": "Common.code",
            "Width": 400,
            "PlaceHolder": "Enter Material Account Code",
            "IsFirstField": true,
            "LinkId": "MaterialAccountId",
            "PicklistJSON": "MaterialAccount",
            "AddNew": true,
            "Required": true,
            "MaxLength": 10,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": "",
            "isKeyField": true
        },
        {
            "Name": "MaterialAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "Common.name",
            "Width": 400,
            "PlaceHolder": "Enter Material Account Name",
            "LinkId": "MaterialAccountId",
            "PicklistJSON": "MaterialAccount",
            "AddNew": true,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "MaterialAccountIsTransactionTypeBased",
            "Type": "string",
            "Label": "MaterialAccount.IsTransactionTypeBased",
            "Required": true,
            "ValidRegEx": "",
            "LabelWidth": 300,
            "PostData": false,
            "DefaultValue": 1,
            "Width": 400
        },
        {
            "Name": "StockAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "StockAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.Stockaccount",
            "Width": 400,
            "PlaceHolder": "Select Stock Account Name",
            "LinkId": "StockAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "ConsumptionAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "ConsumptionAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.Consumption",
            "Width": 400,
            "PlaceHolder": "Select Consumption Account Name",
            "LinkId": "ConsumptionAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "CostOfGoodsAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "CostOfGoodsAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.CostofGoods",
            "Width": 400,
            "PlaceHolder": "Select Goods Account Name",
            "LinkId": "CostOfGoodsAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "WipAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "WipAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.WipAccount",
            "Width": 400,
            "PlaceHolder": "Select Wip Account",
            "LinkId": "WipAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "WipStockAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "WipStockAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.WipStockAccount",
            "Width": 400,
            "PlaceHolder": "Select Wip Stock Account",
            "LinkId": "WipStockAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "CogmAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "CogmAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.CogmAccount",
            "Width": 400,
            "PlaceHolder": "Select COGM Account",
            "LinkId": "CogmAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "MaxLength": 50,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": ""
        },
        {
            "Name": "MaterialAccountCreatedOn",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "/Date(1710426600000)/"
        },
        {
            "Name": "MaterialAccountModifiedOn",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "/Date(1710426600000)/"
        },
        {
            "Name": "MaterialAccountModifiedByName",
            "Type": "string",
            "Required": false,
            "PostData": true,
            "ValidRegEx": "",
            "DefaultValue": "ADMIN"
        },
        {
            "Name": "MaterialAccountVersion",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "DefaultValue": 1,
            "PostData": "true"
        },
        {
            "Name": "PaymentTermStatus",
            "Type": "number",
            "PostData": "true",
            "ValidRegEx": "",
            "DefaultValue": 0,
            "Width": 200,
            "MaxLength": 20
        },
        {
            "Name": "MaterialAccountDetailArray",
            "Type": "string",
            "Label": "material account",
            "PostData": true,
            "SLNOField": "MaterialAccountDetailSlNo",
            "Required": true,
            "Grid": [
                {
                    "Label": "#",
                    "value": "MaterialAccountDetailSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": false,
                    "SNo": 1,
                    "sticky": false,
                    "left": 0,
                    "PostData": true
                },
                {
                    "Label": "TransactionType.TransactionType",
                    "value": "TransactionTypeName",
                    "Type": "Readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 2,
                    "MaxLength": 4,
                    "PostData": true,
                    "width": 320
                },
                {
                    "Label": "AssetType.Nature",
                    "value": "TransactionTypeType",
                    "width": 230,
                    "ReadOnly": true,
                    "sticky": false,
                    "Type": "combobox",
                    "SNo": 3,
                    "DefaultValue": 0,
                    "PostData": true,
                    "IsVisible": true,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Transfer"
                        },
                        {
                            "key": 1,
                            "value": "Sales"
                        },
                        {
                            "key": 2,
                            "value": "Purchase"
                        },
                        {
                            "key": 3,
                            "value": "Sales Return"
                        },
                        {
                            "key": 4,
                            "value": "Purchase Return"
                        },
                        {
                            "key": 5,
                            "value": "Others"
                        },
                        {
                            "key": 6,
                            "value": "Jobwork"
                        },
                        {
                            "key": 7,
                            "value": "Jobwork return"
                        },
                        {
                            "key": 8,
                            "value": "Subcontract"
                        },
                        {
                            "key": 9,
                            "value": "Subcontract return"
                        }
                    ]
                },
                {
                    "value": [
                        "SalesAccountName",
                        "SalesAccountName",
                        "PurchaseAccountName",
                        "SalesReturnAccountName",
                        "PurchaseReturnAccountName",
                        "SalesAccountName",
                        "SalesAccountName",
                        "SalesReturnAccountName",
                        "PurchaseAccountName",
                        "PurchaseReturnAccountName"
                    ],
                    "width": 390,
                    "left": 0,
                    "Type": "FieldBasedPicklist",
                    "Required": true,
                    "sticky": false,
                    "PlaceHolder": "Select The Account Name",
                    "DefaultValue": "",
                    "DependendField": "TransactionTypeType",
                    "DependentDefaultValue": 0,
                    "IsVisible": true,
                    "PostData": true,
                    "Label": "Party.AccountLinkName",
                    "SNo": 4,
                    "PicklistDetail": [
                        {
                            "PicklistUrl": "Account",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "DefaultValue": "",
                            "AddNew": false,
                            "PlaceHolder": "Select Account Name",
                            "LinkId": "SalesAccountId,SalesAccountName",
                            "LinkValue": "Id,Name",
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "Label": "Party.AccountLinkName",
                            "Width": 100,
                            "ColumnWidth": "250,480",
                            "ColumnType": "string,string"
                        },
                        {
                            "PicklistUrl": "Account",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "DefaultValue": "",
                            "AddNew": false,
                            "PlaceHolder": "Select Sales Return A/c Account",
                            "LinkId": "SalesReturnAccountId,SalesReturnAccountName",
                            "LinkValue": "Id,Name",
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "Label": "MaterialAccount.SalesReturn",
                            "Width": 100,
                            "ColumnWidth": "250,480",
                            "ColumnType": "string,string"
                        },
                        {
                            "PicklistUrl": "Account",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "DefaultValue": "",
                            "AddNew": false,
                            "PlaceHolder": "Select Purchase A/c Account",
                            "LinkId": "PurchaseAccountId,PurchaseAccountName",
                            "LinkValue": "Id,Name",
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "Label": "MaterialAccount.PurchaseAc",
                            "Width": 100,
                            "ColumnWidth": "250,480",
                            "ColumnType": "string,string"
                        },
                        {
                            "PicklistUrl": "Account",
                            "PicklistDisplayText": "Code,Name",
                            "PicklistSearchFields": "Code,Name",
                            "Multiple": false,
                            "DefaultValue": "",
                            "AddNew": false,
                            "PlaceHolder": "Select Purchase Return A/c Account",
                            "LinkId": "PurchaseReturnAccountId,PurchaseReturnAccountName",
                            "LinkValue": "Id,Name",
                            "PicklistSelection": "Id",
                            "PicklistTitle": "Name",
                            "Label": "MaterialAccount.PurchaseReturnAc",
                            "Width": 100,
                            "ColumnWidth": "250,480",
                            "ColumnType": "string,string"
                        }
                    ]
                },
                {
                    "value": "SalesAccountId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "ValidRegEx": "",
                    "DefaultValue": 0,
                    "PostData": true
                },
                {
                    "value": "SalesReturnAccountId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "ValidRegEx": "",
                    "DefaultValue": 0,
                    "PostData": true
                },
                {
                    "value": "PurchaseAccountId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "ValidRegEx": "",
                    "DefaultValue": 0,
                    "PostData": true
                },
                {
                    "value": "PurchaseReturnAccountId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "ValidRegEx": "",
                    "DefaultValue": 0,
                    "PostData": true
                },
                {
                    "value": "CostCenterId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "SNo": 5,
                    "ValidRegEx": "",
                    "DefaultValue": -1,
                    "PostData": true
                },
                {
                    "Label": "Employee.CostCenterName",
                    "value": "CostCenterName",
                    "width": 250,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": false,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "CostCenter",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": true,
                        "PlaceHolder": "Select Cost Center",
                        "LinkId": "CostCenterId,CostCenterName",
                        "LinkValue": "Id,Code,Name",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "Employee.CostCenterName",
                        "Width": 100,
                        "MaxLength": 20,
                        "ColumnWidth": "250,480",
                        "ColumnType": "string,string"
                    },
                    "IsVisible": true,
                    "SNo": 6
                }
            ]
        },
        {
            "Name": "SalesAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": 0
        },
        {
            "Name": "SalesAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "Party.AccountLinkName",
            "Width": 400,
            "PlaceHolder": "Select Sales A/c Account",
            "LinkId": "SalesAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": ""
        },
        {
            "Name": "PurchaseAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": 0
        },
        {
            "Name": "PurchaseAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.PurchaseAc",
            "Width": 400,
            "PlaceHolder": "Select Purchase A/c Account",
            "LinkId": "PurchaseAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": ""
        },
        {
            "Name": "SalesReturnAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": 0
        },
        {
            "Name": "SalesReturnAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.SalesReturn",
            "Width": 400,
            "PlaceHolder": "Select Sales Return A/c Account",
            "LinkId": "SalesReturnAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": ""
        },
        {
            "Name": "PurchaseReturnAccountId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": 0
        },
        {
            "Name": "PurchaseReturnAccountName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "MaterialAccount.PurchaseReturnAc",
            "Width": 400,
            "PlaceHolder": "Select Purchase Return A/c Account",
            "LinkId": "PurchaseReturnAccountId",
            "PicklistJSON": "Account",
            "AddNew": false,
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": ""
        },
        {
            "Name": "CostCenterId",
            "Type": "number",
            "Required": false,
            "ValidRegEx": "",
            "PostData": true,
            "DefaultValue": 0
        },
        {
            "Name": "CostCenterName",
            "Type": "string",
            "Multiple": false,
            "PicklistTitle": "Name",
            "Label": "Employee.CostCenterName",
            "Width": 400,
            "PlaceHolder": "Select Cost Center",
            "LinkId": "CostCenterId",
            "PicklistJSON": "costcentre",
            "AddNew": false,
            "Required": true,
            "ValidRegEx": "",
            "PostData": false,
            "DefaultValue": ""
        }
    ]
}