{
  "entity" : "CRMLead",
  "table" : "CRMLead",
  "module" : "crm",
  "ar" : "خيط بيع",
  "arPlural" : " خيط بيع",
  "en" : "CRM Lead",
  "enPlural" : " CRM Lead",
  "page" : "https://dm.namasoft.com/modules/crm/CRMLead.html",
  "fields" : [ {
    "id" : "activityType",
    "column" : "activityType_id",
    "ar" : "نوع النشاط للفرع",
    "en" : "Activity Type",
    "type" : "Reference",
    "refTo" : "CRMActivityType",
    "refPath" : "/modules/crm/CRMActivityType.html"
  }, {
    "id" : "altCode",
    "column" : "altCode",
    "ar" : "الكود الإنجليزي",
    "en" : "English Code",
    "type" : "Text"
  }, {
    "id" : "analysisSet",
    "column" : "analysisSet_id",
    "ar" : "المجموعة التحليلية",
    "en" : "Analysis set",
    "type" : "Reference",
    "refTo" : "AnalysisSet",
    "refPath" : "/modules/basic/AnalysisSet.html"
  }, {
    "id" : "analysisSetId",
    "column" : "analysisSet_id",
    "type" : "ID"
  }, {
    "id" : "area",
    "column" : "area",
    "ar" : "المساحة",
    "en" : "Area",
    "type" : "Text"
  }, {
    "id" : "attachment",
    "column" : "attachment_id",
    "ar" : "مرفق",
    "en" : "Attachment",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "attachment1",
    "column" : "attachment1_id",
    "ar" : "مرفق 1",
    "en" : "Attachment 1",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "attachment2",
    "column" : "attachment2_id",
    "ar" : "مرفق 2",
    "en" : "Attachment 2",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "attachment3",
    "column" : "attachment3_id",
    "ar" : "مرفق 3",
    "en" : "Attachment 3",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "attachment4",
    "column" : "attachment4_id",
    "ar" : "مرفق 4",
    "en" : "Attachment 4",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "attachment5",
    "column" : "attachment5_id",
    "ar" : "مرفق 5",
    "en" : "Attachment 5",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "branch",
    "column" : "branch_id",
    "ar" : "الفرع",
    "en" : "Branch",
    "type" : "Reference",
    "refTo" : "Branch",
    "refPath" : "/modules/basic/Branch.html"
  }, {
    "id" : "branchId",
    "column" : "branch_id",
    "ar" : "Branch ID",
    "en" : "Branch ID",
    "type" : "ID"
  }, {
    "id" : "budget",
    "column" : "budget",
    "ar" : "الميزانية",
    "en" : "Budget",
    "type" : "Text"
  }, {
    "id" : "campaign",
    "column" : "campaign_id",
    "ar" : "الحملة",
    "en" : "Campaign",
    "type" : "Reference",
    "refTo" : "CRMCampaign",
    "refPath" : "/modules/crm/CRMCampaign.html"
  }, {
    "id" : "code",
    "column" : "code",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "colorCode",
    "column" : "colorCode",
    "ar" : "كود اللون",
    "en" : "Color Code",
    "type" : "Color"
  }, {
    "id" : "commitedBefore",
    "column" : "commitedBefore",
    "ar" : "تم الحفظ مسبقا",
    "en" : "Commited Before",
    "type" : "Boolean"
  }, {
    "id" : "contactsGroup",
    "column" : "contactsGroup_id",
    "ar" : "مجموعة تكويد جهات الاتصال المنشأة",
    "en" : "Group Of  Encoding Contacts Created",
    "type" : "Reference",
    "refTo" : "MasterGroup",
    "refPath" : "/modules/basic/MasterGroup.html"
  }, {
    "id" : "convertedToCustomer",
    "column" : "convertedToCustomer",
    "ar" : "تم تحويلة إلي عميل",
    "en" : "Converted To Customer",
    "type" : "Boolean"
  }, {
    "id" : "convertedToPotential",
    "column" : "convertedToPotential",
    "ar" : "تم تحويلة إلي فرصة",
    "en" : "Converted To Potential",
    "type" : "Boolean"
  }, {
    "id" : "createTransactionId",
    "column" : "createTransactionId",
    "type" : "Text"
  }, {
    "id" : "creationDate",
    "column" : "creationDate",
    "ar" : "تاريخ الإنشاء",
    "en" : "Creation Date",
    "type" : "DateAndTime"
  }, {
    "id" : "currentApprovalCase",
    "column" : "currentApprovalCase_id",
    "type" : "",
    "refTo" : "ApprovalCase",
    "refPath" : "/modules/system-tables/ApprovalCase.html"
  }, {
    "id" : "currentVersion",
    "column" : "currentVersion",
    "ar" : "النسخة الحالية",
    "en" : "Current Version",
    "type" : "Integer"
  }, {
    "id" : "customViewName",
    "column" : "customViewName",
    "type" : "Text"
  }, {
    "id" : "customer",
    "column" : "customer_id",
    "ar" : "العميل",
    "en" : "Customer",
    "type" : "Reference",
    "refTo" : "Customer",
    "refPath" : "/modules/basic/Customer.html"
  }, {
    "id" : "customerClassification",
    "column" : "customerClassification",
    "ar" : "تصنيف العميل",
    "en" : "Customer Classification",
    "type" : "Text"
  }, {
    "id" : "date1",
    "column" : "date1",
    "ar" : "تـــاريخ 1",
    "en" : "Date 1",
    "type" : "Date"
  }, {
    "id" : "date2",
    "column" : "date2",
    "ar" : "تـــاريخ 2",
    "en" : "Date 2",
    "type" : "Date"
  }, {
    "id" : "date3",
    "column" : "date3",
    "ar" : "تاريخ 3",
    "en" : "Date3",
    "type" : "Date"
  }, {
    "id" : "date4",
    "column" : "date4",
    "ar" : "تاريخ 4",
    "en" : "Date4",
    "type" : "Date"
  }, {
    "id" : "date5",
    "column" : "date5",
    "ar" : "تاريخ 5",
    "en" : "Date5",
    "type" : "Date"
  }, {
    "id" : "department",
    "column" : "department_id",
    "ar" : "الإدارة",
    "en" : "Department",
    "type" : "Reference",
    "refTo" : "Department",
    "refPath" : "/modules/basic/Department.html"
  }, {
    "id" : "departmentId",
    "column" : "department_id",
    "type" : "ID"
  }, {
    "id" : "description1",
    "column" : "description1",
    "ar" : "الوصف 1",
    "en" : "description1",
    "type" : "Text"
  }, {
    "id" : "description2",
    "column" : "description2",
    "ar" : "الوصف 2",
    "en" : "description2",
    "type" : "Text"
  }, {
    "id" : "description3",
    "column" : "description3",
    "ar" : "الوصف 3",
    "en" : "description3",
    "type" : "Text"
  }, {
    "id" : "description4",
    "column" : "description4",
    "ar" : "الوصف 4",
    "en" : "description4",
    "type" : "Text"
  }, {
    "id" : "description5",
    "column" : "description5",
    "ar" : "الوصف 5",
    "en" : "description5",
    "type" : "Text"
  }, {
    "id" : "docCategory",
    "column" : "docCategory_id",
    "ar" : " تصنيف سجل",
    "en" : " Record Category",
    "type" : "Reference",
    "refTo" : "DocCategory",
    "refPath" : "/modules/basic/DocCategory.html"
  }, {
    "id" : "documentFileStatus",
    "column" : "documentFileStatus",
    "ar" : "حالة المستند",
    "en" : "Document File Status",
    "type" : "Enum",
    "enum" : "DocumentFileStatus"
  }, {
    "id" : "draftCreated",
    "column" : "draftCreated",
    "ar" : "تم إنشاء مسودة",
    "en" : "Draft Created",
    "type" : "Boolean"
  }, {
    "id" : "draftXML",
    "column" : "draftXML",
    "type" : "BigText"
  }, {
    "id" : "editedBy",
    "column" : "editedBy_id",
    "ar" : "بواسطة",
    "en" : "Edited By",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "entitySystemEntryId",
    "column" : "entitySystemEntry_id",
    "type" : "ID"
  }, {
    "id" : "entityType",
    "column" : "entityType",
    "ar" : "النوع",
    "en" : "Entity Type",
    "type" : "EntityType"
  }, {
    "id" : "firstAuthor",
    "column" : "firstAuthor_id",
    "ar" : "منشئ السجل",
    "en" : "First Author",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "firstAuthorId",
    "column" : "firstAuthor_id",
    "type" : "ID"
  }, {
    "id" : "generateContacts",
    "column" : "generateContacts",
    "ar" : "إنشاء جهة اتصال لكل سطر",
    "en" : "Create Contact For Every Line",
    "type" : "Boolean"
  }, {
    "id" : "generatedByLine",
    "column" : "generatedByLine",
    "ar" : "كود سطر الإنشاء",
    "en" : "generated By Line",
    "type" : "Text"
  }, {
    "id" : "generatedDocsCount",
    "column" : "generatedDocsCount",
    "type" : "Integer"
  }, {
    "id" : "generatedFrom",
    "columns" : [ "generatedFromActualCode", " generatedFromCode", " generatedFromEntityType", " generatedFromId" ],
    "ar" : "تم إنشاؤه من",
    "en" : "Generated From",
    "type" : "Genericreference"
  }, {
    "id" : "generatedObject",
    "columns" : [ "generatedObjectActualCode", " generatedObjectCode", " generatedObjectEntityType", " generatedObjectId" ],
    "ar" : "السجل المنشأ",
    "en" : "Generated Record",
    "type" : "Genericreference"
  }, {
    "id" : "generationType",
    "column" : "generationType",
    "ar" : "نوع الإنشاء",
    "en" : "Generation Type",
    "type" : "Enum",
    "enum" : "GenerationType"
  }, {
    "id" : "group",
    "column" : "group_id",
    "ar" : "المجموعة",
    "en" : "Group",
    "type" : "Reference",
    "refTo" : "MasterGroup",
    "refPath" : "/modules/basic/MasterGroup.html"
  }, {
    "id" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "indexInParent",
    "column" : "indexInParent",
    "type" : "Integer"
  }, {
    "id" : "industry",
    "column" : "industry_id",
    "ar" : "المجال",
    "en" : "Industry",
    "type" : "Reference",
    "refTo" : "CRMIndustry",
    "refPath" : "/modules/crm/CRMIndustry.html"
  }, {
    "id" : "info.address.address1",
    "column" : "infoAddressAddress1",
    "ar" : "عنوان 1",
    "en" : "Address 1",
    "type" : "Text"
  }, {
    "id" : "info.address.address2",
    "column" : "infoAddressAddress2",
    "ar" : "رقم المبني",
    "en" : "Building Number",
    "type" : "Text"
  }, {
    "id" : "info.address.area",
    "column" : "infoAddressArea",
    "ar" : "المنطقة",
    "en" : "Area",
    "type" : "Text"
  }, {
    "id" : "info.address.buildingNumber",
    "column" : "infoAddressBuildingNumber",
    "ar" : "رقم المبني",
    "en" : "Building Number",
    "type" : "Text"
  }, {
    "id" : "info.address.city",
    "column" : "infoAddressCity",
    "ar" : "المدينة",
    "en" : "City",
    "type" : "Text"
  }, {
    "id" : "info.address.country",
    "column" : "infoAddressCountry",
    "ar" : "الدولة",
    "en" : "Country",
    "type" : "Text"
  }, {
    "id" : "info.address.countryCode",
    "column" : "infoAddressCountryCode",
    "ar" : "كود الدولة",
    "en" : "Country Code",
    "type" : "Text"
  }, {
    "id" : "info.address.district",
    "column" : "infoAddressDistrict",
    "ar" : "الحي",
    "en" : "District",
    "type" : "Text"
  }, {
    "id" : "info.address.landPlotNumber",
    "column" : "infoAddressLandPlotNumber",
    "ar" : "رقم تعريفي للأرض",
    "en" : "Land Plot Number",
    "type" : "Text"
  }, {
    "id" : "info.address.mapLocation",
    "column" : "infoAddressMapLocation",
    "ar" : "الموقع على الخريطة",
    "en" : "Map Location",
    "type" : "LatLng"
  }, {
    "id" : "info.address.postalCode",
    "column" : "infoAddressPostalCode",
    "ar" : "الكود البريدي",
    "en" : "Postal Code",
    "type" : "Text"
  }, {
    "id" : "info.address.region",
    "column" : "infoAddressRegion_id",
    "ar" : "موقع جغرافي",
    "en" : "Address region",
    "type" : "Reference",
    "refTo" : "AddressRegion",
    "refPath" : "/modules/basic/AddressRegion.html"
  }, {
    "id" : "info.address.state",
    "column" : "infoAddressState",
    "ar" : "المحافظة",
    "en" : "State",
    "type" : "Text"
  }, {
    "id" : "info.address.street",
    "column" : "infoAddressStreet",
    "ar" : " شارع",
    "en" : " Street",
    "type" : "Text"
  }, {
    "id" : "info.email",
    "column" : "infoEmail",
    "ar" : "إيميل",
    "en" : "E-mail",
    "type" : "Email"
  }, {
    "id" : "info.faxNumber",
    "column" : "infoFaxNumber",
    "ar" : "الفاكس",
    "en" : "Fax",
    "type" : "PhoneNumber"
  }, {
    "id" : "info.mobile",
    "column" : "infoMobile",
    "ar" : "الموبايل",
    "en" : "Mobile",
    "type" : "PhoneNumber"
  }, {
    "id" : "info.telephone1",
    "column" : "infoTelephone1",
    "ar" : "تليفون 1",
    "en" : "Phone 1",
    "type" : "PhoneNumber"
  }, {
    "id" : "info.telephone2",
    "column" : "infoTelephone2",
    "ar" : "تليفون 2",
    "en" : "Phone 2",
    "type" : "PhoneNumber"
  }, {
    "id" : "info.website",
    "column" : "infoWebsite",
    "ar" : "موقع الكتروني",
    "en" : "Website",
    "type" : "Text"
  }, {
    "id" : "internalSource",
    "columns" : [ "internalSourceActualCode", " internalSourceCode", " internalSourceEntityType", " internalSourceId" ],
    "ar" : "المصدر الداخلي",
    "en" : "Internal Souorce",
    "type" : "Genericreference"
  }, {
    "id" : "lastChangeVersion",
    "column" : "lastChangeVersion",
    "type" : "Integer"
  }, {
    "id" : "lastModifyTransactionId",
    "column" : "LastModifyTransactionId",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "id" : "leadClassification",
    "column" : "leadClassification_id",
    "ar" : "تصنيف العميل المرتقب",
    "en" : "Lead Classification",
    "type" : "Reference",
    "refTo" : "CRMLeadClassification",
    "refPath" : "/modules/crm/CRMLeadClassification.html"
  }, {
    "id" : "leadLegalEntity",
    "column" : "leadLegalEntity",
    "ar" : "الشركة",
    "en" : "Legal Entity",
    "type" : "Text"
  }, {
    "id" : "leadRejectionReason",
    "column" : "leadRejectionReason_id",
    "ar" : "سبب الرفض",
    "en" : "Rejection Reason",
    "type" : "Reference",
    "refTo" : "CRMRejectionReason",
    "refPath" : "/modules/crm/CRMRejectionReason.html"
  }, {
    "id" : "leadSource",
    "column" : "leadSource",
    "ar" : "مصدر الخيط",
    "en" : "Lead Source",
    "type" : "Enum",
    "enum" : "LeadSource"
  }, {
    "id" : "leadType",
    "column" : "leadType",
    "ar" : "نوع الخيط",
    "en" : "Lead Type",
    "type" : "Enum",
    "enum" : "CRMLeadType"
  }, {
    "id" : "legalEntity",
    "column" : "legalEntity_id",
    "ar" : "الشركة",
    "en" : "Legal Entity",
    "type" : "Reference",
    "refTo" : "LegalEntity",
    "refPath" : "/modules/basic/LegalEntity.html"
  }, {
    "id" : "legalEntityId",
    "column" : "legalEntity_id",
    "type" : "ID"
  }, {
    "id" : "lockVersion",
    "column" : "lockVersion",
    "type" : "Integer"
  }, {
    "id" : "mainFile",
    "column" : "mainFile_id",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "money.amount",
    "column" : "moneyAmount",
    "ar" : " المبلغ",
    "en" : " Amount",
    "type" : "Decimal"
  }, {
    "id" : "money.currency",
    "column" : "moneyCurrency_id",
    "ar" : "العملة",
    "en" : "Currency",
    "type" : "Reference",
    "refTo" : "Currency",
    "refPath" : "/modules/basic/Currency.html"
  }, {
    "id" : "n1",
    "column" : "n1",
    "ar" : "رقم 1",
    "en" : "Number 1",
    "type" : "Decimal"
  }, {
    "id" : "n2",
    "column" : "n2",
    "ar" : "رقم 2",
    "en" : "Number 2",
    "type" : "Decimal"
  }, {
    "id" : "n3",
    "column" : "n3",
    "ar" : "رقم 3",
    "en" : "Number 3",
    "type" : "Decimal"
  }, {
    "id" : "n4",
    "column" : "n4",
    "ar" : "رقم 4",
    "en" : "Number 4",
    "type" : "Decimal"
  }, {
    "id" : "n5",
    "column" : "n5",
    "ar" : "رقم 5",
    "en" : "Number 5",
    "type" : "Decimal"
  }, {
    "id" : "name1",
    "column" : "name1",
    "ar" : "الاسم العربي",
    "en" : "Name1",
    "type" : "Text"
  }, {
    "id" : "name2",
    "column" : "name2",
    "ar" : "الاسم الإنجليزي",
    "en" : "Name2",
    "type" : "Text"
  }, {
    "id" : "parentCode",
    "column" : "parentCode",
    "type" : "Text"
  }, {
    "id" : "plannedReCallDate",
    "column" : "plannedReCallDate",
    "ar" : "التاريخ المخطط لمعاودة الإتصال",
    "en" : "Planned Re Call Date",
    "type" : "Date"
  }, {
    "id" : "platform",
    "column" : "platform",
    "ar" : "المنصة",
    "en" : "Platform",
    "type" : "Enum",
    "enum" : "CRMPlatform"
  }, {
    "id" : "potential",
    "column" : "potential_id",
    "ar" : "الفرصة",
    "en" : "potential",
    "type" : "Reference",
    "refTo" : "CRMPotential",
    "refPath" : "/modules/crm/CRMPotential.html"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "probability",
    "column" : "probability",
    "ar" : "الإحتمالية (%)",
    "en" : "Probability(%)",
    "type" : "Decimal"
  }, {
    "id" : "project",
    "columns" : [ "projectActualCode", " projectCode", " projectEntityType", " projectId" ],
    "ar" : "المشروع",
    "en" : "Project",
    "type" : "Genericreference"
  }, {
    "id" : "ref1",
    "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
    "ar" : "مرجع 1",
    "en" : "Reference 1",
    "type" : "Genericreference"
  }, {
    "id" : "ref2",
    "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
    "ar" : "مرجع 2",
    "en" : "Reference 2",
    "type" : "Genericreference"
  }, {
    "id" : "ref3",
    "columns" : [ "ref3ActualCode", " ref3Code", " ref3EntityType", " ref3Id" ],
    "ar" : "مرجع 3",
    "en" : "Reference 3",
    "type" : "Genericreference"
  }, {
    "id" : "ref4",
    "columns" : [ "ref4ActualCode", " ref4Code", " ref4EntityType", " ref4Id" ],
    "ar" : "مرجع 4",
    "en" : "Reference 4",
    "type" : "Genericreference"
  }, {
    "id" : "ref5",
    "columns" : [ "ref5ActualCode", " ref5Code", " ref5EntityType", " ref5Id" ],
    "ar" : "مرجع 5",
    "en" : "Reference 5",
    "type" : "Genericreference"
  }, {
    "id" : "remarks",
    "column" : "remark",
    "ar" : "ملاحظات",
    "en" : "Description",
    "type" : "BigText"
  }, {
    "id" : "responsibleEmployee",
    "column" : "responsibleEmployee_id",
    "ar" : "الموظف المسئول",
    "en" : "Responsible Employee",
    "type" : "Reference",
    "refTo" : "Employee",
    "refPath" : "/modules/basic/Employee.html"
  }, {
    "id" : "reviseLevel",
    "column" : "reviseLevel",
    "ar" : "مستوى المراجعة",
    "en" : "Revise Level",
    "type" : "Enum",
    "enum" : "ReviseLevel"
  }, {
    "id" : "revised",
    "column" : "primitiveValue",
    "ar" : "تمت المراجعة",
    "en" : "Revised",
    "type" : "Boolean"
  }, {
    "id" : "revisedBy",
    "column" : "revisedBy_id",
    "type" : "Reference",
    "refTo" : "NaMaUser",
    "refPath" : "/modules/system-tables/NaMaUser.html"
  }, {
    "id" : "salesMan",
    "column" : "salesMan_id",
    "ar" : "مندوب المبيعات",
    "en" : "Salesman",
    "type" : "Reference",
    "refTo" : "Employee",
    "refPath" : "/modules/basic/Employee.html"
  }, {
    "id" : "salesManager",
    "column" : "salesManager_id",
    "ar" : "مدير المبيعات",
    "en" : "Sales Manager",
    "type" : "Reference",
    "refTo" : "Employee",
    "refPath" : "/modules/basic/Employee.html"
  }, {
    "id" : "salesStage",
    "column" : "salesStage",
    "ar" : "مرحلة البيع",
    "en" : "Sales Stage",
    "type" : "Enum",
    "enum" : "CRMSalesStage"
  }, {
    "id" : "sector",
    "column" : "sector_id",
    "ar" : "القطاع",
    "en" : "Sector",
    "type" : "Reference",
    "refTo" : "Sector",
    "refPath" : "/modules/basic/Sector.html"
  }, {
    "id" : "sectorId",
    "column" : "sector_id",
    "type" : "ID"
  }, {
    "id" : "status",
    "column" : "status",
    "ar" : "الحالة",
    "en" : "Status",
    "type" : "Enum",
    "enum" : "CRMLeadStatus"
  }, {
    "id" : "systemGeneratedCodePrefix",
    "column" : "systemGeneratedCodePrefix",
    "ar" : "System Generated Code Prefix",
    "en" : "System Generated Code Prefix",
    "type" : "Text"
  }, {
    "id" : "t1",
    "column" : "t1",
    "type" : "Time"
  }, {
    "id" : "t2",
    "column" : "t2",
    "type" : "Time"
  }, {
    "id" : "t3",
    "column" : "t3",
    "type" : "Time"
  }, {
    "id" : "t4",
    "column" : "t4",
    "type" : "Time"
  }, {
    "id" : "t5",
    "column" : "t5",
    "type" : "Time"
  }, {
    "id" : "theMediator",
    "column" : "theMediator_id",
    "ar" : "الوسيط",
    "en" : "the Mediator",
    "type" : "Reference",
    "refTo" : "CRMMediator",
    "refPath" : "/modules/crm/CRMMediator.html"
  }, {
    "id" : "updateCapability",
    "column" : "updateCapability_id",
    "ar" : "صلاحية التعديل",
    "en" : "Update Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "updateCapabilityId",
    "column" : "updateCapability_id",
    "type" : "ID"
  }, {
    "id" : "usageCapability",
    "column" : "usageCapability_id",
    "ar" : "صلاحية الاستخدام",
    "en" : "Usage Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "usageCapabilityId",
    "column" : "usageCapability_id",
    "type" : "ID"
  }, {
    "id" : "viewCapability",
    "column" : "viewCapability_id",
    "ar" : "صلاحية المطالعة",
    "en" : "View Capability",
    "type" : "Reference",
    "refTo" : "SecurityCapability",
    "refPath" : "/modules/basic/SecurityCapability.html"
  }, {
    "id" : "viewCapabilityId",
    "column" : "viewCapability_id",
    "type" : "ID"
  } ],
  "details" : [ {
    "id" : "assignedTo",
    "table" : "CRMLeadEmpLine",
    "joinColumn" : "cRMLead_id",
    "ar" : "مسند إلي",
    "en" : "Assigned To",
    "fields" : [ {
      "id" : "assignedTo.date1",
      "column" : "date1",
      "ar" : "تـــاريخ 1",
      "en" : "Date 1",
      "type" : "Date"
    }, {
      "id" : "assignedTo.date2",
      "column" : "date2",
      "ar" : "تـــاريخ 2",
      "en" : "Date 2",
      "type" : "Date"
    }, {
      "id" : "assignedTo.date3",
      "column" : "date3",
      "ar" : "تاريخ 3",
      "en" : "Date3",
      "type" : "Date"
    }, {
      "id" : "assignedTo.date4",
      "column" : "date4",
      "ar" : "تاريخ 4",
      "en" : "Date4",
      "type" : "Date"
    }, {
      "id" : "assignedTo.date5",
      "column" : "date5",
      "ar" : "تاريخ 5",
      "en" : "Date5",
      "type" : "Date"
    }, {
      "id" : "assignedTo.employee",
      "column" : "employee_id",
      "ar" : "الموظف",
      "en" : "Employee",
      "type" : "Reference",
      "refTo" : "Employee",
      "refPath" : "/modules/basic/Employee.html"
    }, {
      "id" : "assignedTo.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "assignedTo.lineColor",
      "column" : "lineColor",
      "ar" : "Line Color",
      "en" : "Line Color",
      "type" : "Color"
    }, {
      "id" : "assignedTo.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "assignedTo.n1",
      "column" : "n1",
      "ar" : "رقم 1",
      "en" : "Number 1",
      "type" : "Decimal"
    }, {
      "id" : "assignedTo.n2",
      "column" : "n2",
      "ar" : "رقم 2",
      "en" : "Number 2",
      "type" : "Decimal"
    }, {
      "id" : "assignedTo.n3",
      "column" : "n3",
      "ar" : "رقم 3",
      "en" : "Number 3",
      "type" : "Decimal"
    }, {
      "id" : "assignedTo.n4",
      "column" : "n4",
      "ar" : "رقم 4",
      "en" : "Number 4",
      "type" : "Decimal"
    }, {
      "id" : "assignedTo.n5",
      "column" : "n5",
      "ar" : "رقم 5",
      "en" : "Number 5",
      "type" : "Decimal"
    }, {
      "id" : "assignedTo.ref1",
      "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
      "ar" : "مرجع 1",
      "en" : "Reference 1",
      "type" : "Genericreference"
    }, {
      "id" : "assignedTo.ref2",
      "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
      "ar" : "مرجع 2",
      "en" : "Reference 2",
      "type" : "Genericreference"
    }, {
      "id" : "assignedTo.ref3",
      "columns" : [ "ref3ActualCode", " ref3Code", " ref3EntityType", " ref3Id" ],
      "ar" : "مرجع 3",
      "en" : "Reference 3",
      "type" : "Genericreference"
    }, {
      "id" : "assignedTo.ref4",
      "columns" : [ "ref4ActualCode", " ref4Code", " ref4EntityType", " ref4Id" ],
      "ar" : "مرجع 4",
      "en" : "Reference 4",
      "type" : "Genericreference"
    }, {
      "id" : "assignedTo.ref5",
      "columns" : [ "ref5ActualCode", " ref5Code", " ref5EntityType", " ref5Id" ],
      "ar" : "مرجع 5",
      "en" : "Reference 5",
      "type" : "Genericreference"
    }, {
      "id" : "assignedTo.remarks",
      "column" : "remarks",
      "ar" : "ملاحظات",
      "en" : "Description",
      "type" : "BigText"
    }, {
      "id" : "assignedTo.t1",
      "column" : "t1",
      "type" : "Time"
    }, {
      "id" : "assignedTo.t2",
      "column" : "t2",
      "type" : "Time"
    }, {
      "id" : "assignedTo.t3",
      "column" : "t3",
      "type" : "Time"
    }, {
      "id" : "assignedTo.t4",
      "column" : "t4",
      "type" : "Time"
    }, {
      "id" : "assignedTo.t5",
      "column" : "t5",
      "type" : "Time"
    }, {
      "id" : "assignedTo.text1",
      "column" : "text1",
      "ar" : "نــــص 1",
      "en" : "Text 1",
      "type" : "Text"
    }, {
      "id" : "assignedTo.text2",
      "column" : "text2",
      "ar" : "نـــــص 2",
      "en" : "Text 2",
      "type" : "Text"
    }, {
      "id" : "assignedTo.text3",
      "column" : "text3",
      "ar" : "نص 3",
      "en" : "text3",
      "type" : "Text"
    }, {
      "id" : "assignedTo.text4",
      "column" : "text4",
      "ar" : "نص 4",
      "en" : "text4",
      "type" : "Text"
    }, {
      "id" : "assignedTo.text5",
      "column" : "text5",
      "ar" : "نص 5",
      "en" : "text5",
      "type" : "Text"
    } ]
  }, {
    "id" : "contacts",
    "table" : "CRMLeadContactInfo",
    "joinColumn" : "cRMLead_id",
    "ar" : "جهات الاتصال",
    "en" : "Contacts",
    "fields" : [ {
      "id" : "contacts.address",
      "column" : "address",
      "ar" : "العنوان",
      "en" : "Address",
      "type" : "Text"
    }, {
      "id" : "contacts.contactCode",
      "column" : "contactCode",
      "ar" : "كود جهة الاتصال",
      "en" : "Contact Code",
      "type" : "Text"
    }, {
      "id" : "contacts.contactName",
      "column" : "contactName",
      "ar" : "الإسم",
      "en" : "Name",
      "type" : "Text"
    }, {
      "id" : "contacts.contactTitle",
      "column" : "contactTitle",
      "ar" : "اللقب",
      "en" : "Title",
      "type" : "Enum",
      "enum" : "ContactTitle"
    }, {
      "id" : "contacts.contactsGroup",
      "column" : "contactsGroup_id",
      "ar" : "مجموعة تكويد جهات الاتصال المنشأة",
      "en" : "Group Of  Encoding Contacts Created",
      "type" : "Reference",
      "refTo" : "MasterGroup",
      "refPath" : "/modules/basic/MasterGroup.html"
    }, {
      "id" : "contacts.email",
      "column" : "email",
      "ar" : "الإيميل",
      "en" : "Email",
      "type" : "Email"
    }, {
      "id" : "contacts.faxNumber",
      "column" : "faxNumber",
      "ar" : "الفاكس",
      "en" : "Fax",
      "type" : "PhoneNumber"
    }, {
      "id" : "contacts.generatedContact",
      "column" : "generatedContact_id",
      "ar" : "جهة الاتصال",
      "en" : "Contact",
      "type" : "Reference",
      "refTo" : "Contact",
      "refPath" : "/modules/basic/Contact.html"
    }, {
      "id" : "contacts.generatedContactId",
      "column" : "generatedContactId",
      "type" : "ID"
    }, {
      "id" : "contacts.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "contacts.jobDescription",
      "column" : "jobDescription",
      "ar" : "الوظيفة",
      "en" : "Job Title",
      "type" : "Text"
    }, {
      "id" : "contacts.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "contacts.mobile",
      "column" : "mobile",
      "ar" : "الموبايل",
      "en" : "Mobile",
      "type" : "PhoneNumber"
    }, {
      "id" : "contacts.phone",
      "column" : "phone",
      "ar" : "التليفون",
      "en" : "Phone",
      "type" : "PhoneNumber"
    } ]
  }, {
    "id" : "products",
    "table" : "CRMLeadProducts",
    "joinColumn" : "cRMLead_id",
    "ar" : "المنتجات",
    "en" : "Products",
    "fields" : [ {
      "id" : "products.competitorCompany",
      "column" : "competitorCompany_id",
      "ar" : "الشركة المنافسة",
      "en" : "Competitor Company",
      "type" : "Reference",
      "refTo" : "CRMCompetitor",
      "refPath" : "/modules/crm/CRMCompetitor.html"
    }, {
      "id" : "products.competitorItem",
      "column" : "competitorItem_id",
      "ar" : "صنف الشركة المنافسة",
      "en" : "Competitor Company Item",
      "type" : "Reference",
      "refTo" : "CRMCompetitorItem",
      "refPath" : "/modules/crm/CRMCompetitorItem.html"
    }, {
      "id" : "products.date1",
      "column" : "date1",
      "ar" : "تـــاريخ 1",
      "en" : "Date 1",
      "type" : "Date"
    }, {
      "id" : "products.date2",
      "column" : "date2",
      "ar" : "تـــاريخ 2",
      "en" : "Date 2",
      "type" : "Date"
    }, {
      "id" : "products.date3",
      "column" : "date3",
      "ar" : "تاريخ 3",
      "en" : "Date3",
      "type" : "Date"
    }, {
      "id" : "products.date4",
      "column" : "date4",
      "ar" : "تاريخ 4",
      "en" : "Date4",
      "type" : "Date"
    }, {
      "id" : "products.date5",
      "column" : "date5",
      "ar" : "تاريخ 5",
      "en" : "Date5",
      "type" : "Date"
    }, {
      "id" : "products.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "products.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "products.machine",
      "column" : "machine_id",
      "ar" : "الالة",
      "en" : "machine",
      "type" : "Reference",
      "refTo" : "MnMachine",
      "refPath" : "/modules/crm-maintenance/MnMachine.html"
    }, {
      "id" : "products.n1",
      "column" : "n1",
      "ar" : "رقم 1",
      "en" : "Number 1",
      "type" : "Decimal"
    }, {
      "id" : "products.n2",
      "column" : "n2",
      "ar" : "رقم 2",
      "en" : "Number 2",
      "type" : "Decimal"
    }, {
      "id" : "products.n3",
      "column" : "n3",
      "ar" : "رقم 3",
      "en" : "Number 3",
      "type" : "Decimal"
    }, {
      "id" : "products.n4",
      "column" : "n4",
      "ar" : "رقم 4",
      "en" : "Number 4",
      "type" : "Decimal"
    }, {
      "id" : "products.n5",
      "column" : "n5",
      "ar" : "رقم 5",
      "en" : "Number 5",
      "type" : "Decimal"
    }, {
      "id" : "products.product",
      "columns" : [ "productActualCode", " productCode", " productEntityType", " productId" ],
      "ar" : "المنتج",
      "en" : "Product",
      "type" : "Genericreference"
    }, {
      "id" : "products.ref1",
      "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
      "ar" : "مرجع 1",
      "en" : "Reference 1",
      "type" : "Genericreference"
    }, {
      "id" : "products.ref2",
      "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
      "ar" : "مرجع 2",
      "en" : "Reference 2",
      "type" : "Genericreference"
    }, {
      "id" : "products.remarks",
      "column" : "remarks",
      "ar" : "ملاحظات",
      "en" : "Description",
      "type" : "BigText"
    }, {
      "id" : "products.selectedProduct",
      "column" : "selectedProduct",
      "ar" : "المنتج المختار",
      "en" : "Selected Product",
      "type" : "Boolean"
    }, {
      "id" : "products.t1",
      "column" : "t1",
      "type" : "Time"
    }, {
      "id" : "products.t2",
      "column" : "t2",
      "type" : "Time"
    }, {
      "id" : "products.t3",
      "column" : "t3",
      "type" : "Time"
    }, {
      "id" : "products.t4",
      "column" : "t4",
      "type" : "Time"
    }, {
      "id" : "products.t5",
      "column" : "t5",
      "type" : "Time"
    }, {
      "id" : "products.text1",
      "column" : "text1",
      "ar" : "نــــص 1",
      "en" : "Text 1",
      "type" : "Text"
    }, {
      "id" : "products.text2",
      "column" : "text2",
      "ar" : "نـــــص 2",
      "en" : "Text 2",
      "type" : "Text"
    }, {
      "id" : "products.text3",
      "column" : "text3",
      "ar" : "نص 3",
      "en" : "text3",
      "type" : "Text"
    }, {
      "id" : "products.text4",
      "column" : "text4",
      "ar" : "نص 4",
      "en" : "text4",
      "type" : "Text"
    }, {
      "id" : "products.text5",
      "column" : "text5",
      "ar" : "نص 5",
      "en" : "text5",
      "type" : "Text"
    } ]
  } ]
}