{
  "entity" : "POS.POSCreditNote",
  "table" : "POSCreditNote",
  "module" : "pos-app",
  "ar" : "إشعار دائن نقاط البيع",
  "arPlural" : "إشعار دائن نقاط البيع",
  "en" : "POS Credit Note",
  "enPlural" : "POS Credit Notes",
  "page" : "https://dm.namasoft.com/modules/pos-app/POS.POSCreditNote.html",
  "fields" : [ {
    "id" : "amount",
    "column" : "amount",
    "ar" : " المبلغ",
    "en" : " Amount",
    "type" : "Decimal"
  }, {
    "id" : "code",
    "column" : "code",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "colorCode",
    "column" : "colorCode",
    "ar" : "كود اللون",
    "en" : "Color Code",
    "type" : "Text"
  }, {
    "id" : "comitBefore",
    "column" : "comitBefore",
    "type" : "Boolean"
  }, {
    "id" : "creationDate",
    "column" : "creationDate",
    "ar" : "تاريخ الإنشاء",
    "en" : "Creation Date",
    "type" : "DateAndTime"
  }, {
    "id" : "customer",
    "column" : "customer_id",
    "ar" : "العميل",
    "en" : "Customer",
    "type" : "Reference",
    "refTo" : "POS.POSCustomer",
    "refPath" : "/modules/pos-app/POS.POSCustomer.html"
  }, {
    "id" : "deactivated",
    "column" : "deactivated",
    "type" : "Boolean"
  }, {
    "id" : "genericDims.analysisSet.code",
    "column" : "analysisSetCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.analysisSet.id",
    "column" : "analysisSetId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.branch.code",
    "column" : "branchCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.branch.id",
    "column" : "branchId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.department.code",
    "column" : "departmentCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.department.id",
    "column" : "departmentId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.legalEntity.code",
    "column" : "legalEntityCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.legalEntity.id",
    "column" : "legalEntityId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "genericDims.sector.code",
    "column" : "sectorCode",
    "ar" : "الكود",
    "en" : "Code",
    "type" : "Text"
  }, {
    "id" : "genericDims.sector.id",
    "column" : "sectorId",
    "ar" : "المعرف",
    "en" : "Id",
    "type" : "ID"
  }, {
    "id" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "imgDownloadLink",
    "column" : "imgDownloadLink",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "id" : "name1",
    "column" : "name1",
    "ar" : "الاسم العربي",
    "en" : "Name1",
    "type" : "Text"
  }, {
    "id" : "name2",
    "column" : "name2",
    "ar" : "الاسم الإنجليزي",
    "en" : "Name2",
    "type" : "Text"
  }, {
    "id" : "posCurrency",
    "column" : "posCurrency_id",
    "type" : "Reference",
    "refTo" : "POS.POSCurrency",
    "refPath" : "/modules/pos-app/POS.POSCurrency.html"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "remaining",
    "column" : "remaining",
    "ar" : "المتبقي",
    "en" : "Remaining",
    "type" : "Decimal"
  }, {
    "id" : "returnId",
    "column" : "returnId",
    "type" : "ID"
  }, {
    "id" : "selected",
    "column" : "selected",
    "ar" : "اختيار",
    "en" : "Selected",
    "type" : "Boolean"
  }, {
    "id" : "sent",
    "column" : "sent",
    "type" : "Boolean"
  }, {
    "id" : "shiftCode",
    "column" : "shiftCode",
    "ar" : "كود الوردية",
    "en" : "Shift Code",
    "type" : "Text"
  }, {
    "id" : "writeFailures",
    "column" : "writeFailures",
    "type" : "Integer"
  } ],
  "details" : [ {
    "id" : "details",
    "table" : "POSCreditNoteLine",
    "joinColumn" : "creditNote_id",
    "ar" : "تفاصيل مبلغ الإشعار",
    "en" : "Amount Details",
    "fields" : [ {
      "id" : "details.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "details.invoiceCode",
      "column" : "invoiceCode",
      "ar" : "كود الفاتورة",
      "en" : "Invoice Code",
      "type" : "Text"
    }, {
      "id" : "details.invoiceId",
      "column" : "invoiceId",
      "ar" : "Invoice Id",
      "en" : "Invoice Id",
      "type" : "ID"
    }, {
      "id" : "details.invoiceType",
      "column" : "invoiceType",
      "ar" : "نوع الفاتورة",
      "en" : "Invoice Type",
      "type" : "Text"
    }, {
      "id" : "details.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "details.note",
      "column" : "creditNote_id",
      "ar" : "ملحوظه",
      "en" : "Note",
      "type" : "Reference",
      "refTo" : "POS.POSCreditNote",
      "refPath" : "/modules/pos-app/POS.POSCreditNote.html"
    }, {
      "id" : "details.registerCode",
      "column" : "registerCode",
      "ar" : "كود الماكينة",
      "en" : "Register Code",
      "type" : "Text"
    }, {
      "id" : "details.value",
      "column" : "value",
      "ar" : "القيمة",
      "en" : "Value",
      "type" : "Decimal"
    } ]
  } ]
}