{
	"ObjectFields": [
		{
			"Name": "PartyProductId",
			"Type": "number",
			"Required": true,
			"ValidRegEx": "",
			"PostData": true,
			"DefaultValue": 0
		},
        {
			"Name": "PartyId",
			"Type": "number",
			"Required": true,
			"ValidRegEx": "",
			"PostData": true,
			"DefaultValue": 0
		},
		{
			"Name": "PartyName",
			"Type": "string",
			"Label": "Party*",
			"Required": true,
			"ValidRegEx": "",
			"PostData": false,
			"DefaultValue": "",
			"LinkId": "PartyId",
			"PicklistJSON": "PartyName",
			"Multiple": false,
			"PicklistTitle": "Name",
			"PlaceHolder": "Select Party",
			"LabelWidth": 132,
			"Width": 300,
			"AddNew": false,
			"IsFirstField": true,
			"isKeyField": true
		},
        {
			"Name": "PartyBranchId",
			"Type": "number",
			"Required": true,
			"ValidRegEx": "",
			"PostData": true,
			"DefaultValue": 0
		},
		{
			"Name": "PartyBranchName",
			"Type": "string",
			"Label": "Location*",
			"Required": true,
			"ValidRegEx": "",
			"PostData": false,
			"DefaultValue": "",
			"LinkId": "PartyBranchId",
			"PicklistJSON": "PartyBranchName",
			"Multiple": false,
			"PicklistTitle": "Name",
			"PlaceHolder": "Select Location",
			"LabelWidth": 132,
			"Width": 300,
			"AddNew": false,
			"isKeyField": true
		},
        {
            "Name": "PartyProductArray",
            "Type": "string",
            "Label": "Party Product",
            "PostData": true,
            "SLNOField": "PartyProductSlNo",
            "Required": true,
            "Grid": [
                 {
                    "Label": "#",
                    "value": "PartyProductSlNo",
                    "width": 50,
                    "Type": "SNo",
                    "IsVisible": true,
                    "SNo": 1,
                    "sticky": false,
                    "left": 0
                },
                 {
                    "value": "ItemId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "SNo": 2,
                    "ValidRegEx": "",
                    "DefaultValue": -1
                },
                {
                    "Label": "Item Code",
                    "value": "PartyProductItemCode",
                    "width": 250,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": false,
                    "PicklistDetail": {
                        "PicklistUrl": "itemname",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Code",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select Code",
                        "LinkId": "ItemId,PartyProductItemCode",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Code",
                        "Label": "Item Code*",
                        "Width":100,
                        "ColumnWidth": "100",
                        "ColumnType": "number"
                    },
                    "IsVisible": true,
                    "SNo": 3
                },
                  {
                    "value": "ItemId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "SNo": 4,
                    "ValidRegEx": "",
                    "DefaultValue": -1
                },
                {
                    "Label": "Item Name",
                    "value": "PartyProductItemName",
                    "width": 250,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "itemname",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select Name",
                        "LinkId": "ItemId,PartyProductItemName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "Item Name*",
                        "Width":100,
                        "ColumnWidth": "100",
                        "ColumnType": "number"
                    },
                    "IsVisible": true,
                    "SNo": 5
                },
                {
                    "Label": "Coverage Status",
                    "value": "PartyProductServiceCoverageStatus",
                    "width": 200,
                    "Type": "ComboBox",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 6,
                    "sticky": false,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Comprehensive"
                        },
                        {
                            "key": 1,
                            "value": "Non-Comprehensive"
                        },
                        {
                            "key": 2,
                            "value": "Free"
                        },
                        {
                            "key": 3,
                            "value": "Labour Only"
                        },
                         {
                            "key": 4,
                            "value": "MFR.Contract"
                        },
                        {
                            "key": 5,
                            "value": "Warranty"
                        },
                        {
                            "key": 6,
                            "value": "Not Covered"
                        },
                        {
                            "key": 7,
                            "value": "SalesReturn"
                        }
                    ]
                },
                {
                    "Label": "ProductLevel",
                    "value": "ProductLevel",
                    "width": 200,
                    "Type": "ComboBox",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 7,
                    "sticky": false,
                    "PickLists": [
                        {
                            "key": 0,
                            "value": "Summary"
                        },
                        {
                            "key": 1,
                            "value": "Serial No"
                        },
                        {
                            "key": 2,
                            "value": "Component"
                        }
                    ]
                },
                {
                    "Label": "Quantity",
                    "value": "PartyProductQuantity",
                    "Type": "number",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 8,
                    "MaxLength":9,
                    "PlaceHolder": "Quantity"
                },
                {
                    "Label": "Manufacturer Slno",
                    "value": "PartyProductManufacturerSlNo",
                    "Type": "string",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 9,
                    "MaxLength":35,
                    "PlaceHolder": "ManufacturerSlno",
                    "PostData": true
                },
                {
                    "value": "SupplierId",
                    "Type": "number",
                    "Required": false,
                    "IsVisible": false,
                    "SNo": 10,
                    "ValidRegEx": "",
                    "DefaultValue": -1,
                    "PostData": true
                },
                {
                    "Label": "Supplier",
                    "value": "SupplierName",
                    "width": 250,
                    "Type": "Picklist",
                    "sticky": false,
                    "Required": true,
                    "PostData": true,
                    "PicklistDetail": {
                        "PicklistUrl": "PartyName",
                        "PicklistDisplayText": "Code,Name",
                        "PicklistSearchFields": "Code,Name",
                        "Multiple": false,
                        "DefaultValue": "",
                        "AddNew": false,
                        "PlaceHolder": "Select Supplier",
                        "LinkId": "SupplierId,SupplierName",
                        "PicklistSelection": "Id",
                        "PicklistTitle": "Name",
                        "Label": "Supplier",
                        "Width":100,
                        "ColumnWidth": "100",
                        "ColumnType": "number"
                    },
                    "IsVisible": true,
                    "SNo": 11
                },
                {
                    "value": "PartyProductSupplierWarrantyFromDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Supplier From Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 12,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "value": "PartyProductSupplierWarrantyToDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Supplier To Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 13,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "Label": "Invoice Number",
                    "value": "PartyProductInvoiceNumber",
                    "Type": "string",
                    "Required": true,
                    "ValidRegEx": "",
                    "IsVisible": true,
                    "DefaultValue": 0,
                    "SNo": 14,
                    "MaxLength":21,
                    "PlaceHolder": "InvoiceNumber",
                    "PostData": true
                },
                {
                    "value": "PartyProductInvoiceDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "InvoiceDate",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 15,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "value": "PartyProductInstallationDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Installation Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 16,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "value": "PartyProductSalesWarrantyFromDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Sales Warranty From Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 17,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "value": "PartyProductSalesWarrantyToDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Sales Warranty To Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 18,
                    "Placeholder": "",
                    "IsVisible": true
                },
                
                {
                    "value": "PartyProductLabourExpiryDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Labour Expiry Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 19,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "value": "PartyProductPartsExpiryDate",
                    "Type": "Date",
                    "Required": true,
                    "Label": "Part Expiry Date",
                    "DefaultValue": "today",
                    "width": 188,
                    "SNo": 20,
                    "Placeholder": "",
                    "IsVisible": true
                },
                {
                    "Value": "PartyProductParticulars",
                    "Type": "textarea",
                    "Required": true,
                    "Placeholder": "Enter Particulars",
                    "ValidRegEx": "",
                    "MaxLength": 200,
                    "PostData": true,
                    "Width": 300,
                    "DefaultValue": "",
                    "Label": "Particulars",
                    "SNo": 27,
                    "IsVisible":"true"
                }




            ]
        }

    ]
}