{
  "entity" : "DiscountSysLine",
  "table" : "DiscountSysLine",
  "module" : "system-tables",
  "page" : "https://dm.namasoft.com/modules/system-tables/DiscountSysLine.html",
  "fields" : [ {
    "id" : "affectOnCost",
    "column" : "affectOnCost",
    "ar" : "فعال",
    "en" : "Active",
    "type" : "Boolean"
  }, {
    "id" : "applyType",
    "column" : "applyType",
    "ar" : "يحتسب من",
    "en" : "Calc. From",
    "type" : "Enum",
    "enum" : "ApplyType"
  }, {
    "id" : "brand",
    "column" : "brand_id",
    "ar" : "الماركة",
    "en" : "Item Brand",
    "type" : "Reference",
    "refTo" : "ItemBrand",
    "refPath" : "/modules/supplychain/ItemBrand.html"
  }, {
    "id" : "category1",
    "column" : "category1_id",
    "ar" : "فئة الصنف1",
    "en" : "Item Category1",
    "type" : "Reference",
    "refTo" : "ItemCategory",
    "refPath" : "/modules/supplychain/ItemCategory.html"
  }, {
    "id" : "category2",
    "column" : "category2_id",
    "ar" : "فئة الصنف2",
    "en" : "Item Category2",
    "type" : "Reference",
    "refTo" : "ItemCategory",
    "refPath" : "/modules/supplychain/ItemCategory.html"
  }, {
    "id" : "category3",
    "column" : "category3_id",
    "ar" : "فئة الصنف3",
    "en" : "Item Category3",
    "type" : "Reference",
    "refTo" : "ItemCategory",
    "refPath" : "/modules/supplychain/ItemCategory.html"
  }, {
    "id" : "category4",
    "column" : "category4_id",
    "ar" : "فئة الصنف4",
    "en" : "Item Category4",
    "type" : "Reference",
    "refTo" : "ItemCategory",
    "refPath" : "/modules/supplychain/ItemCategory.html"
  }, {
    "id" : "category5",
    "column" : "category5_id",
    "ar" : "فئة الصنف5",
    "en" : "Item Category5",
    "type" : "Reference",
    "refTo" : "ItemCategory",
    "refPath" : "/modules/supplychain/ItemCategory.html"
  }, {
    "id" : "dimensions.analysisSet",
    "column" : "dimensionsAnalysisSet_id",
    "ar" : "المجموعة التحليلية",
    "en" : "Analysis set",
    "type" : "Reference",
    "refTo" : "AnalysisSet",
    "refPath" : "/modules/basic/AnalysisSet.html"
  }, {
    "id" : "dimensions.branch",
    "column" : "dimensionsBranch_id",
    "ar" : "الفرع",
    "en" : "Branch",
    "type" : "Reference",
    "refTo" : "Branch",
    "refPath" : "/modules/basic/Branch.html"
  }, {
    "id" : "dimensions.department",
    "column" : "dimensionsDepartment_id",
    "ar" : "الإدارة",
    "en" : "Department",
    "type" : "Reference",
    "refTo" : "Department",
    "refPath" : "/modules/basic/Department.html"
  }, {
    "id" : "dimensions.legalEntity",
    "column" : "dimensionsLegalEntity_id",
    "ar" : "الشركة",
    "en" : "Legal Entity",
    "type" : "Reference",
    "refTo" : "LegalEntity",
    "refPath" : "/modules/basic/LegalEntity.html"
  }, {
    "id" : "dimensions.sector",
    "column" : "dimensionsSector_id",
    "ar" : "القطاع",
    "en" : "Sector",
    "type" : "Reference",
    "refTo" : "Sector",
    "refPath" : "/modules/basic/Sector.html"
  }, {
    "id" : "discountLocation",
    "column" : "discountLocation",
    "ar" : "وقت حساب التخفيض في الفاتورة",
    "en" : "Invoice discount apply on",
    "type" : "Enum",
    "enum" : "DiscountLocation"
  }, {
    "id" : "discountValue",
    "column" : "discountValue",
    "ar" : "قيمة الخصم",
    "en" : "Discount Value",
    "type" : "Decimal"
  }, {
    "id" : "fromDate",
    "column" : "fromDate",
    "ar" : "من تاريخ",
    "en" : "From Date",
    "type" : "Date"
  }, {
    "id" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "invoiceId",
    "column" : "invoiceId",
    "ar" : "Invoice Id",
    "en" : "Invoice Id",
    "type" : "ID"
  }, {
    "id" : "item",
    "column" : "item_id",
    "ar" : "الصنف",
    "en" : "Item",
    "type" : "Reference",
    "refTo" : "InvItem",
    "refPath" : "/modules/supplychain/InvItem.html"
  }, {
    "id" : "lineNumber",
    "column" : "lineNumber",
    "ar" : "رقم السطر",
    "en" : "Line Number",
    "type" : "Integer"
  }, {
    "id" : "maximumValue",
    "column" : "maximumValue",
    "ar" : "القيمة | إلى",
    "en" : "Value | To",
    "type" : "Decimal"
  }, {
    "id" : "minValue",
    "column" : "minValue",
    "ar" : "القيمة | من",
    "en" : "Value | From",
    "type" : "Decimal"
  }, {
    "id" : "priority",
    "column" : "priority",
    "ar" : "الأولوية",
    "en" : "Priority",
    "type" : "Long"
  }, {
    "id" : "refId",
    "column" : "refId",
    "type" : "ID"
  }, {
    "id" : "refType",
    "column" : "refType",
    "type" : "EntityType"
  }, {
    "id" : "stopOtherDiscounts",
    "column" : "stopOtherDiscounts",
    "ar" : "إيقاف التخفبضات الأخرى",
    "en" : "stop other discounts",
    "type" : "Boolean"
  }, {
    "id" : "supplier",
    "column" : "supplier_id",
    "ar" : "مورد",
    "en" : " Supplier",
    "type" : "Reference",
    "refTo" : "Supplier",
    "refPath" : "/modules/basic/Supplier.html"
  }, {
    "id" : "toDate",
    "column" : "toDate",
    "ar" : "إلى تاريخ",
    "en" : "To Date",
    "type" : "Date"
  }, {
    "id" : "valueOrPercent",
    "column" : "valueOrPercent",
    "ar" : "الخصم | النوع",
    "en" : "Discount | Type",
    "type" : "Enum",
    "enum" : "DiscountType"
  } ]
}