{
  "ObjectFields": [
    {
      "Name": "BizTransactionTypeName",
      "Type": "string",
      "Label": "BizTransaction Type*",
      "Required": true,
      "ValidRegEx": "",
      "PostData": false,
      "PicklistJSON": "BulkLeaveBizType",
      "Multiple": false,
      "LinkId": "BizTransactionTypeId",
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Biz Transaction Type",
      "Width": 295,
      "AddNew": false,
      "MaxLength": 10,
      "DefaultValue": ""
    },
    {
      "Name": "BizTransactionTypeId",
      "Type": "number",
      "Required": false,
      "ValidRegEx": "",
      "PostData": true,
      "DefaultValue": -1,
      "Width": 100
    },
    {
      "Name": "MMHeadNumber",
      "Type": "string",
      "Required": false,
      "Label": "AccountVoucher.no",
      "ValidRegEx": "",
      "DefaultValue": "",
      "LinkId": "MMHeadId",
      "PicklistJSON": "MMHead",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Select Document",
      "LabelWidth": 150,
      "Width": 276,
      "AddNew": true,
      "MaxLength": 13,
      "PicklistCriteria": "LotBiz"
    },
    {
      "Name": "MMHeadId",
      "Type": "number",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": -1
    },
    {
      "Name": "ItemName",
      "Type": "number",
      "Label": "Activity.Item",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "PlaceHolder": "Item Name",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "ItemId",
      "Type": "number",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": -1
    },
    {
      "Name": "SKUId",
      "Type": "number",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": -1
    },
    {
      "Name": "StoreId",
      "Type": "number",
      "Required": false,
      "ValidRegEx": "",
      "DefaultValue": -1
    },
    {
      "Name": "SKUName",
      "Type": "number",
      "Label": "SKU",
      "PlaceHolder": "SKU Name",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "TotalQuantity",
      "Type": "number",
      "Label": "LotDetail.ItemQuantity",
      "PlaceHolder": "Item Quantity",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "Width": 180
    },
    {
      "Name": "LotQuantity",
      "Type": "number",
      "Label": "LotDetail.LotQuantity",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "Width": 180
    },
    {
      "Name": "BalanceQuantity",
      "Type": "number",
      "Label": "LotDetail.BalanceQuantity",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "Width": 180
    },
    {
      "Name": "UOMCode",
      "Type": "number",
      "Label": "UOM",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "PackDetail",
      "Type": "number",
      "Label": "LotDetail.PackDetail",
      "Required": false,
      "PostData": true,
      "Width": 180,
      "ValidRegEx": "",
      "DefaultValue": 0
    },
    {
      "Name": "UniqueBatch",
      "Type": "number",
      "Label": "LotDetail.UniqueBatch",
      "Required": false,
      "PostData": true,
      "Width": 180,
      "ValidRegEx": "",
      "DefaultValue": 0
    },
    {
      "Name": "EnterSeperately",
      "Type": "number",
      "Label": "LotDetail.EnterSeperately",
      "Required": false,
      "PostData": true,
      "Width": 180,
      "ValidRegEx": "",
      "DefaultValue": 0
    },
    {
      "Name": "LotTypeName",
      "Type": "string",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "PicklistJSON": "lottype",
      "LinkId": "LotTypeId",
      "Multiple": false,
      "PicklistTitle": "Name",
      "PlaceHolder": "Enter Lot Type",
      "Label": "LotType.Lottype",
      "IsFirstField": true,
      "Width": 180,
      "AddNew": true,
      "MaxLength": 35
    },
    {
      "Name": "LotTypeId",
      "Type": "number",
      "Required": true,
      "ValidRegEx": "",
      "DefaultValue": 0,
      "Width": 200,
      "MaxLength": 10
    },
    {
      "Name": "Size",
      "Type": "number",
      "Label": "BizTransactionKey.Size",
      "PlaceHolder": "Size",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "Prefix",
      "Type": "String",
      "Label": "LotType.Prefix",
      "PlaceHolder": "Prefix",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "Suffix",
      "Type": "String",
      "Label": "LotType.Suffix",
      "PlaceHolder": "Suffix",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "FromNumber",
      "Type": "number",
      "Label": "LotDetail.FromNumber",
      "PlaceHolder": "From Number",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "IsGoodQuantity",
      "Type": "number",
      "Label": "PayConfiguration.AccountPosting",
      "Required": false,
      "PostData": false,
      "DefaultValue": 0,
      "Placeholder": "",
      "LabelWidth": 225
    },
    {
      "Name": "IsRejectedQuantity",
      "Type": "number",
      "Label": "PayConfiguration.AccountPosting",
      "Required": false,
      "PostData": false,
      "DefaultValue": 0,
      "Placeholder": "",
      "LabelWidth": 225
    },
    {
      "Name": "IsReworkQuantity",
      "Type": "number",
      "Label": "PayConfiguration.AccountPosting",
      "Required": false,
      "PostData": false,
      "DefaultValue": 0,
      "Placeholder": "",
      "LabelWidth": 225
    },
    {
      "Name": "IsOtherQuantity",
      "Type": "number",
      "Label": "PayConfiguration.AccountPosting",
      "Required": false,
      "PostData": false,
      "DefaultValue": 0,
      "Placeholder": "",
      "LabelWidth": 225
    },
    {
      "Name": "IsPackingDetails",
      "Type": "number",
      "Label": "LotDetail.PackDetail",
      "Required": false,
      "PostData": false,
      "DefaultValue": 0,
      "Placeholder": "",
      "LabelWidth": 225
    },
    {
      "Name": "ToNumber",
      "Type": "number",
      "Label": "LotDetail.ToNumber",
      "Required": true,
      "PostData": true,
      "ValidRegEx": "",
      "DefaultValue": "",
      "Width": 180
    },
    {
      "Name": "OverWrite",
      "Type": "string",
      "Label": "LotDetail.Overwrite",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "LabelWidth": 115,
      "Width": 200
    },
    {
      "Name": "IsExpiryTracking",
      "Type": "number",
      "Label": "",
      "Required": false,
      "PostData": false,
      "ValidRegEx": "",
      "DefaultValue": 1,
      "Width": 180,
      "LabelWidth": 225
    },
    {
      "Name": "MMLotDetailArray",
      "Type": "Grid",
      "SLNOField": "LotDetailSlNo",
      "Width": 1000,
      "Required": false,
      "Grid": [
        {
          "Label": "#",
          "value": "LotDetailSlNo",
          "Type": "SNo",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 50,
          "DefaultValue": 1,
          "IsVisible": true,
          "SNo": 1
        },
        {
          "Label": "",
          "value": "BizTransactionTypeId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "width": 200,
          "ValidRegEx": "",
          "DefaultValue": -1,
          "IsVisible": false,
          "SNo": 2
        },
          {
          "Label": "",
          "value": "LotId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": -1,
          "IsVisible": false,
          "SNo": 3
        },
        {
          "Label": "LotDetail.Lot",
          "value": "LotLotNumber",
          "Type": "Picklist",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 215,
          "DefaultValue": "",
          "IsVisible": true,
          "PicklistDetail": {
            "PicklistUrl": "MMLot",
            "PicklistDisplayText": "LotPicklistNumber",
            "PicklistSearchFields": "LotNumber",
            "Multiple": false,
            "AddNew": true,
            "LinkId": "LotId,LotLotNumber",
            "PlaceHolder": "Select Lot",
            "PicklistSelection": "LotPicklistId",
            "PicklistTitle": "LotPicklistNumber",
            "Required": false,
            "Label": "",
            "Width": 180,
            "MaxLength": 20,
            "ColumnWidth": "580",
            "ColumnType": "string",
            "PicklistCriteria": "LotTypeId"
          },
          "SNo": 4
        },
        
        
        {
          "Label": "Common.Remark",
          "value": "Remarks",
          "Type": "String",
          "width": 240,
          "Required": false,
          "PostData": true,
          "Placeholder": "Enter Remarks",
          "ValidRegEx": "",
          "DefaultValue": "",
          "IsVisible": true,
          "SNo": 5
        },
        {
          "Label": "ItemMaster.Quantity",
          "value": "LotDetailQuantity",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 200,
          "Placeholder": "Enter Quantityy",
          "DefaultValue": 1,
          "IsVisible": true,
          "SNo": 6
        },
        
        
      
        {
          "Label": "Good Qty",
          "value": "LotDetailGoodQuantity",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsGoodQuantity",
          "DependendFieldValue": 0,
          "DefaultValue": 0,
          "MaxLength": 18,
          "Mask": "0000000000000.0000",
          "width": 200,
          "SNo": 7
        },
        {
          "Label": "Rej Qty",
          "value": "LotDetailRejectedQuantity",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsRejectedQuantity",
          "DependendFieldValue": 0,
          "MaxLength": 18,
          "Mask": "0000000000000.0000",
          "DefaultValue": 0,
          "width": 200,
          "SNo": 8
        },
        {
          "Label": "Rew Qty",
          "value": "LotDetailReworkQuantity",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsReworkQuantity",
          "DependendFieldValue": 0,
          "MaxLength": 18,
          "Mask": "0000000000000.0000",
          "DefaultValue": 0,
          "width": 200,
          "SNo": 9
        },
        {
          "Label": "Oth Qty",
          "value": "LotDetailOtherQuantity",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsOtherQuantity",
          "DependendFieldValue": 0,
          "MaxLength": 18,
          "Mask": "0000000000000.0000",
          "DefaultValue": 0,
          "width": 200,
          "SNo": 10
        },
                  {
          "Label": "",
          "value": "PackId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": -1,
          "IsVisible": false,
          "SNo": 11
        },
        {
          "Label": "Pack",
          "value": "PackName",
          "Type": "Picklist",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 215,
          "DefaultValue": "",
          "IsVisible": true,
          "DependendFieldName": "IsPackingDetails",
          "DependendFieldValue": 0,
          "PicklistDetail": {
            "PicklistUrl": "Pack",
            "PicklistDisplayText": "Code,Name",
            "PicklistSearchFields": "Name",
            "Multiple": false,
            "AddNew": true,
            "LinkId": "PackId,PackName",
            "PlaceHolder": "Select Pack",
            "PicklistSelection": "Id",
            "PicklistTitle": "Name",
            "Required": false,
            "Label": "",
            "Width": 180,
            "MaxLength": 20,
            "ColumnWidth": "350,400",
            "ColumnType": "string,string"
          },
          "SNo": 12
        },
        {
          "Label": "No Of Pack",
          "value": "LotDetailPackQuantity",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsPackingDetails",
          "DependendFieldValue": 0,
          "MaxLength": 18,
          "Mask": "0000000000000.0000",
          "DefaultValue": 1,
          "width": 200,
          "SNo": 13
        },
         {
          "Label": "Month",
          "value": "LotDetailExpiryMonth",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsExpiryTracking",
          "DependendFieldValue": 0,
          "DefaultValue": 12,
          "Placeholder": "Enter Month",
          "MaxLength": 2,
          "width": 200,
          "SNo": 14
        },
         {
          "Label": "Year",
          "value": "LotDetailExpiryYear",
          "Type": "Number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsExpiryTracking",
          "DependendFieldValue": 0,
          "DefaultValue": 9999,
          "Placeholder": "Enter Year",
          "MaxLength": 4,
          "width": 200,
          "SNo": 15
        },
         {
          "Label": "Exp.Date",
          "value": "LotDetailExpiryDate",
          "Type": "date",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "IsVisible": true,
          "DependendFieldName": "IsExpiryTracking",
          "DependendFieldValue": 0,
          "DefaultValue": "today",
          "width": 200,
          "SNo": 16
        },
        {
          "Label": "ItemMaster.MRPRate",
          "value": "LotMRPRate",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 120,
          "Placeholder": "Enter Quantity",
          "DefaultValue": 0,
          "IsVisible": true,
          "SNo": 17
        },
         {
          "Label": "",
          "value": "Update",
          "Type": "button",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 120,
          "DefaultValue": 0,
          "IsVisible": true,
          "SNo": 18
        },
        {
          "Label": "",
          "value": "LotHiddenQuantity",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": "0",
          "IsVisible": false,
          "SNo": 19
        },
        {
          "Label": "",
          "value": "LotRowwise",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": "0",
          "IsVisible": false,
          "SNo": 21
        },
        {
          "Label": "",
          "value": "FromNoLot",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": "0",
          "IsVisible": false,
          "SNo": 22
        }
      ]
    },
     {
      "Name": "MMAllLotDetailArray",
      "IsAddrowRequired": false,
      "IsDeleterowRequired": false,
      "Type": "Grid",
      "CheckBoxField": "LotDetailallCheckBox",
      "IsCheckBoxRequired": true,
      "SLNOField": "LotDetailallSlNo",
      "isStore": true,
      "Required": false,
      "ValidRegEx": "",
      "Grid": [
        {
          "Label": "EventType.Active",
          "value": "LotDetailallCheckBox",
          "Type": "CheckBox",
          "Required": false,
          "ValidRegEx": "",
          "PostData": true,
          "IsVisible": true,
          "width": 60,
          "DefaultValue": 1,
          "SNo": 1
        },
        {
          "Label": "#",
          "value": "LotDetailallSlNo",
          "Type": "SNo",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 50,
          "DefaultValue": 1,
          "IsVisible": true,
          "SNo": 2
        },
          {
          "Label": "LOT",
          "value": "LotPicklistNumber",
          "Type": "readonly",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 200,
          "Placeholder": "Enter LOT",
          "DefaultValue": "",
          "IsVisible": true,
          "SNo": 3
        },
        {
          "Label": "ItemMaster.Quantity",
          "value": "GoodQuantity",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "width": 200,
          "Placeholder": "Enter Quantity",
          "DefaultValue": 1,
          "IsVisible": true,
          "SNo": 4
        },

        {
          "Label": "",
          "value": "LotPicklistId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": -1,
          "IsVisible": false,
          "SNo": 5
        },
        {
          "Label": "",
          "value": "LotPicklistPackId",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": -1,
          "IsVisible": false,
          "SNo": 6
        },
        {
          "Label": "",
          "value": "LotPicklistPackName",
          "Type": "string",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": "",
          "IsVisible": false,
          "SNo": 7
        },
        {
          "Label": "",
          "value": "LotDetailPicklistPackQuantity",
          "Type": "number",
          "Required": false,
          "PostData": true,
          "ValidRegEx": "",
          "DefaultValue": 1,
          "IsVisible": false,
          "SNo": 8
        }
      ]
    }
  ]
}