{
    "ObjectFields": [
        {
            "Name": "AccountPostingDetailArray",
            "Type": "string",
            "Label": "CashDiscount.CashDiscountArray",
            "PostData": true,
            "SLNOField": "CashDiscountDetailSlNo",
            "Required": true,
            "Tooltip": "",
            "Placeholder": "",
            "IsDeleterowRequired": true,
            "IsAddrowRequired": true,
            "IsFieldRequired": false,
            "Grid": [
                {
                    "Label": "",
                    "value": "AccountId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 1
                },
                {
                    "Label": "ACCOUNT NAME",
                    "value": "AccountName",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 2,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "CostCenterId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 3
                },
                {
                    "Label": "ACCOUNT NAME",
                    "value": "CostCenterName",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "SNo": 4,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "BizDimensionValueSetId",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 5
                },
                {
                    "Label": "",
                    "value": "L1Id",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 6
                },
                {
                    "Label": "L1NAME",
                    "value": "L1Name",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 7,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "L2Id",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 8
                },
                {
                    "Label": "L2NAME",
                    "value": "L2Name",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 9,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "L3Id",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 10
                },
                {
                    "Label": "L3NAME",
                    "value": "L3Name",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 11,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "L4Id",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 12
                },
                {
                    "Label": "L4NAME",
                    "value": "L4Name",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 13,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "L5Id",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": -1,
                    "SNo": 14
                },
                {
                    "Label": "L5NAME",
                    "value": "L5Name",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 15,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "DetailType",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "SNo": 16,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "",
                    "value": "Amount",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "SNo": 17,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "Enter Days",
                    "width": 200
                },
                {
                    "Label": "CREDIT",
                    "value": "CreditAmount",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 18,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "CREDIT",
                    "width": 200
                },
                {
                    "Label": "DEBIT",
                    "value": "DebitAmount",
                    "Type": "readonly",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "SNo": 19,
                    "MaxLength": 4,
                    "DefaultValue": 0,
                    "Placeholder": "DEBIT",
                    "width": 200
                },
                {
                    "Label": "Bill Allocation",
                    "value": "ActionButtons",
                    "Type": "MultiButton",
                    "Required": false,
                    "SNo": 20,
                    "PostData": false,
                    "IsVisible": true,
                    "width": 220,
                    "Buttons": [
                        {
                            "label": "Auto",
                            "action": "Auto",
                            "color": "primary",
                            "DisabledField": "IsAutoDisable",
                            "DisabledValue": "1"
                        },
                        {
                            "label": "Manual",
                            "action": "Manual",
                            "color": "success",
                            "DisabledField": "IsManualDisable",
                            "DisabledValue": "1"
                        },
                        {
                            "label": "TDS",
                            "action": "TDS",
                            "color": "danger",
                            "DisabledField": "IsTDSDisable",
                            "DisabledValue": "1"
                        }
                    ]
                },
                 {
                    "Label": "",
                    "value": "VoucherBillAllocationArray",
                    "Type": "Array",
                    "PostData": true,
                    "Required": false,
                    "IsVisible": false,
                    "Expansion": false,
                    "DefaultValue": 0,
                    "width": 150,
                    "SNo": 21,
                    "MaxLength": 6
                },
                {
                    "Label": "",
                    "value": "IsTDSDisable",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 1,
                    "SNo": 22
                },
                {
                    "Label": "",
                    "value": "IsManualDisable",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 1,
                    "SNo": 23
                },
                {
                    "Label": "",
                    "value": "IsAutoDisable",
                    "Type": "number",
                    "Required": false,
                    "ValidRegEx": "",
                    "IsVisible": false,
                    "DefaultValue": 1,
                    "SNo": 24
                }
            ]
        }
    ]
}
