{
  "entity" : "CPATask",
  "table" : "CPATask",
  "module" : "ecpa",
  "ar" : "مهمة مشروع",
  "arPlural" : "مهام مشروع",
  "en" : "Task",
  "enPlural" : "Tasks",
  "page" : "https://dm.namasoft.com/modules/ecpa/CPATask.html",
  "fields" : [ {
    "id" : "actualCost",
    "column" : "actualCost",
    "ar" : "التكلفة",
    "en" : "Actual Cost",
    "type" : "Decimal"
  }, {
    "id" : "actualResponsible",
    "column" : "actualResponsible_id",
    "ar" : "المسئول",
    "en" : "Responsible",
    "type" : "Reference",
    "refTo" : "Employee",
    "refPath" : "/modules/basic/Employee.html"
  }, {
    "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" : "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" : "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" : "cpaProject",
    "column" : "cpaProject_id",
    "ar" : "مشروع",
    "en" : "Project",
    "type" : "Reference",
    "refTo" : "CPAProject",
    "refPath" : "/modules/ecpa/CPAProject.html"
  }, {
    "id" : "cpaProjectType",
    "column" : "cpaProjectType_id",
    "ar" : "نوع المشروع",
    "en" : "Project Type",
    "type" : "Reference",
    "refTo" : "CPAProjectType",
    "refPath" : "/modules/ecpa/CPAProjectType.html"
  }, {
    "id" : "cpaTaskType",
    "column" : "cpaTaskType_id",
    "ar" : "نوع المهمة",
    "en" : "Task Type",
    "type" : "Reference",
    "refTo" : "CPATaskType",
    "refPath" : "/modules/ecpa/CPATaskType.html"
  }, {
    "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" : "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" : "discipline",
    "column" : "discipline_id",
    "ar" : "التخصص",
    "en" : "Discipline",
    "type" : "Reference",
    "refTo" : "CPADiscipline",
    "refPath" : "/modules/ecpa/CPADiscipline.html"
  }, {
    "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" : "empIDs",
    "column" : "empIDs",
    "type" : "BigText"
  }, {
    "id" : "endIn",
    "column" : "endIn",
    "ar" : "ينتهى",
    "en" : "End In",
    "type" : "Date"
  }, {
    "id" : "entitySystemEntryId",
    "column" : "entitySystemEntry_id",
    "type" : "ID"
  }, {
    "id" : "entityType",
    "column" : "entityType",
    "ar" : "النوع",
    "en" : "Entity Type",
    "type" : "EntityType"
  }, {
    "id" : "finishedPercent",
    "column" : "finishedPercent",
    "ar" : "نسبة التنفيذ",
    "en" : "% OF Finished",
    "type" : "Decimal"
  }, {
    "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" : "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" : "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" : "lastChangeVersion",
    "column" : "lastChangeVersion",
    "type" : "Integer"
  }, {
    "id" : "lastModifyTransactionId",
    "column" : "LastModifyTransactionId",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "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" : "milestone",
    "column" : "milestone_id",
    "ar" : "المرحلة",
    "en" : "Milestone",
    "type" : "Reference",
    "refTo" : "CPAProjectMileStone",
    "refPath" : "/modules/ecpa/CPAProjectMileStone.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" : "plannedCost",
    "column" : "plannedCost",
    "ar" : "التكلفة",
    "en" : "Planned Cost",
    "type" : "Decimal"
  }, {
    "id" : "plannedEndIn",
    "column" : "plannedEndIn",
    "ar" : "تاريخ النهاية",
    "en" : "Planned end in",
    "type" : "Date"
  }, {
    "id" : "plannedStartFrom",
    "column" : "plannedStartFrom",
    "ar" : "تاريخ البداية",
    "en" : "Planned start date",
    "type" : "Date"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "priority",
    "column" : "priority",
    "ar" : "الأولوية",
    "en" : "Priority",
    "type" : "Integer"
  }, {
    "id" : "projectSubType",
    "column" : "projectSubType_id",
    "ar" : "نوع المشروع الفرعى",
    "en" : "Proj Sub Type",
    "type" : "Reference",
    "refTo" : "CPAProjectSubType",
    "refPath" : "/modules/ecpa/CPAProjectSubType.html"
  }, {
    "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" : "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" : "salesQuotation",
    "column" : "salesQuotation_id",
    "ar" : "عرض السعر",
    "en" : "Sales Quotation",
    "type" : "Reference",
    "refTo" : "CPASalesQuotation",
    "refPath" : "/modules/ecpa/CPASalesQuotation.html"
  }, {
    "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" : "startFrom",
    "column" : "startFrom",
    "ar" : "يبدأ",
    "en" : "Start From",
    "type" : "Date"
  }, {
    "id" : "systemGeneratedCodePrefix",
    "column" : "systemGeneratedCodePrefix",
    "ar" : "System Generated Code Prefix",
    "en" : "System Generated Code Prefix",
    "type" : "Text"
  }, {
    "id" : "taskPeriod.uom",
    "column" : "taskPeriodUom",
    "ar" : "الوحدة",
    "en" : "Unit",
    "type" : "Enum",
    "enum" : "TimePeriodType"
  }, {
    "id" : "taskPeriod.value",
    "column" : "taskPeriodValue",
    "ar" : "القيمة",
    "en" : "Value",
    "type" : "Decimal"
  }, {
    "id" : "taskStatus",
    "column" : "taskStatus",
    "ar" : "الحالة",
    "en" : "Task Status",
    "type" : "Enum",
    "enum" : "CPATaskStatus"
  }, {
    "id" : "totalActualTime",
    "column" : "totalActualTime",
    "ar" : "إجمالي الوقت الفعلي",
    "en" : "Total Actual Time",
    "type" : "Decimal"
  }, {
    "id" : "totalPlannedTime",
    "column" : "totalPlannedTime",
    "ar" : "إجمالي الوقت المخطط بالساعة",
    "en" : "Total Planned Time",
    "type" : "Decimal"
  }, {
    "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" : "usertaskStatus",
    "column" : "usertaskStatus",
    "type" : "Enum",
    "enum" : "CPATaskStatus"
  }, {
    "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" : "executers",
    "table" : "CPATaskLine",
    "joinColumn" : "cPATask_id",
    "ar" : "المنفذين",
    "en" : "Executers",
    "fields" : [ {
      "id" : "executers.actualCost",
      "column" : "actualCost",
      "ar" : "التكلفة | الفعلية",
      "en" : "Cost | Actual",
      "type" : "Decimal"
    }, {
      "id" : "executers.actualTimeInHours",
      "column" : "actualTimeInHours",
      "ar" : "الوقت بالساعات | فعلي",
      "en" : "Time In Hours | Actual",
      "type" : "Decimal"
    }, {
      "id" : "executers.empRate",
      "column" : "empRate",
      "ar" : "أجر الساعة",
      "en" : "Employee Rate",
      "type" : "Decimal"
    }, {
      "id" : "executers.employee",
      "column" : "employee_id",
      "ar" : "الموظف",
      "en" : "Employee",
      "type" : "Reference",
      "refTo" : "Employee",
      "refPath" : "/modules/basic/Employee.html"
    }, {
      "id" : "executers.finishedPercent",
      "column" : "finishedPercent",
      "ar" : "نسبة التنفيذ",
      "en" : "% OF Finished",
      "type" : "Decimal"
    }, {
      "id" : "executers.fromDate",
      "column" : "fromDate",
      "ar" : "من تاريخ",
      "en" : "From Date",
      "type" : "Date"
    }, {
      "id" : "executers.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "executers.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "executers.maxValuePerDay",
      "column" : "maxValuePerDay",
      "ar" : "أقصى عدد ساعات لليوم الواحد",
      "en" : "Max Value Per Day",
      "type" : "Decimal"
    }, {
      "id" : "executers.maxValuePerMonth",
      "column" : "maxValuePerMonth",
      "ar" : "أقصى عدد ساعات شهري",
      "en" : "Max Value Per Month",
      "type" : "Decimal"
    }, {
      "id" : "executers.n1",
      "column" : "n1",
      "ar" : "رقم 1",
      "en" : "Number 1",
      "type" : "Decimal"
    }, {
      "id" : "executers.n2",
      "column" : "n2",
      "ar" : "رقم 2",
      "en" : "Number 2",
      "type" : "Decimal"
    }, {
      "id" : "executers.n3",
      "column" : "n3",
      "ar" : "رقم 3",
      "en" : "Number 3",
      "type" : "Decimal"
    }, {
      "id" : "executers.n4",
      "column" : "n4",
      "ar" : "رقم 4",
      "en" : "Number 4",
      "type" : "Decimal"
    }, {
      "id" : "executers.n5",
      "column" : "n5",
      "ar" : "رقم 5",
      "en" : "Number 5",
      "type" : "Decimal"
    }, {
      "id" : "executers.plannedCost",
      "column" : "plannedCost",
      "ar" : "التكلفة | المخططة",
      "en" : "Cost | Planned",
      "type" : "Decimal"
    }, {
      "id" : "executers.plannedEndIn",
      "column" : "plannedEndIn",
      "ar" : "تاريخ النهاية",
      "en" : "Planned end in",
      "type" : "Date"
    }, {
      "id" : "executers.plannedStartFrom",
      "column" : "plannedStartFrom",
      "ar" : "تاريخ البداية",
      "en" : "Planned start date",
      "type" : "Date"
    }, {
      "id" : "executers.plannedTimeInHours",
      "column" : "plannedTimeInHours",
      "ar" : "الوقت بالساعات | مخطط",
      "en" : "Time In Hours | Planned",
      "type" : "Decimal"
    }, {
      "id" : "executers.registeredTimeInHours",
      "column" : "registeredTimeInHours",
      "ar" : "الوقت بالساعات | الوقت المسجل",
      "en" : "Time In Hours| Registered Time In Hours",
      "type" : "Decimal"
    }, {
      "id" : "executers.toDate",
      "column" : "toDate",
      "ar" : "إلى تاريخ",
      "en" : "To Date",
      "type" : "Date"
    }, {
      "id" : "executers.workDone",
      "column" : "workDone",
      "ar" : "إنتهى من العمل",
      "en" : "Work Done",
      "type" : "Boolean"
    } ]
  } ]
}