{
  "formId": "gateentry",
  "entity": "GateEntry",
  "title": "Gate Entry",
  "idField": "GateEntryId",

  "capabilities": {
    "attachment": true,
    "print": true
  },

  "pages": [
    {
      "pageId": "Header",
      "pageName": "Gate Entry",
      "sections": [
        {
          "sectionId": "GeneralInfo",
          "sectionName": "General Information",
          "layout": { "columns": 12 },
          "fields": [
            { "fieldId": "GateEntryId", "type": "number", "DefaultValue": 0, "PostData": true, "IsVisible": false },

            {
              "fieldId": "BIZTransactionTypeName",
              "label": "GateEntry.BizTransactionType",
              "PicklistJSON": "ActionBizType",
              "PicklistTitle": "Name",
              "PicklistCriteria": "GateEntryBizTransaction",
              "LinkId": "BizTransactionTypeId",
              "Required": true,
              "layout": { "colSpan": 4 }
            },
            { "fieldId": "BizTransactionTypeId", "type": "number", "DefaultValue": -1, "PostData": true, "IsVisible": false },

            {
              "fieldId": "AssignedStoreName",
              "label": "GateEntry.Store",
              "PicklistJSON": "StoreName",
              "PicklistTitle": "Name",
              "LinkId": "AssignedStoreId",
              "Required": true,
              "layout": { "colSpan": 4 }
            },
            { "fieldId": "AssignedStoreId", "type": "number", "DefaultValue": -1, "PostData": true, "IsVisible": false },

            {
              "fieldId": "PartyName",
              "label": "GateEntry.Party",
              "PicklistJSON": "PartyName",
              "PicklistTitle": "Name",
              "LinkId": "PartyId",
              "Required": true,
              "layout": { "colSpan": 4 }
            },
            { "fieldId": "PartyId", "type": "number", "DefaultValue": -1, "PostData": true, "IsVisible": false },

            { "fieldId": "GateEntryDate", "label": "GateEntry.Date", "type": "date", "Required": true, "layout": { "colSpan": 4 } },
            { "fieldId": "GateEntryReferenceNumber", "label": "GateEntry.ReferenceNumber", "type": "text", "layout": { "colSpan": 4 } },
            { "fieldId": "GateEntryLRNumber", "label": "GateEntry.LRNumber", "type": "text", "layout": { "colSpan": 4 } },
            { "fieldId": "GateEntryLRDate", "label": "GateEntry.LRDate", "type": "date", "layout": { "colSpan": 4 } },

            { "fieldId": "GateEntryRemarks", "label": "GateEntry.Remarks", "type": "textarea", "layout": { "colSpan": 12 } }
          ]
        }
      ]
    }
  ],

  "api": {
    "save": "Inventory.GateEntry.Save",
    "update": "Inventory.GateEntry.Save",
    "delete": "Inventory.GateEntry.Delete",
    "get": "Inventory.GateEntry.Get"
  }
}
