{
  "entity" : "FRMSalesInvoice",
  "table" : "FRMSalesInvoice",
  "module" : "frm",
  "ar" : "فاتورة مبيعات خدمة",
  "arPlural" : "فواتير مبيعات خدمات",
  "en" : "FRM Sales Invoice",
  "enPlural" : "FRM Sales Invoices",
  "page" : "https://dm.namasoft.com/modules/frm/FRMSalesInvoice.html",
  "fields" : [ {
    "id" : "actualDateSailing",
    "column" : "actualDateSailing",
    "ar" : "تاريخ الإبحار الفعلي",
    "en" : "Actual Date Sailing",
    "type" : "Date"
  }, {
    "id" : "allowEditingHdrTaxInDetails",
    "column" : "allowEditingHdrTaxInDetails",
    "ar" : "السماح بتعديل ضريبة الفاتورة في السطر",
    "en" : "Allow Editing Header Tax In Details",
    "type" : "Boolean"
  }, {
    "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" : "attachment",
    "column" : "attachment_id",
    "ar" : "مرفق",
    "en" : "Attachment",
    "type" : "Binary",
    "refTo" : "LargeData",
    "refPath" : "/modules/system-tables/LargeData.html"
  }, {
    "id" : "billOfLadings",
    "column" : "billOfLadings",
    "ar" : "أرقام البوالص",
    "en" : "Bills of Lading",
    "type" : "BigText"
  }, {
    "id" : "book",
    "column" : "book_id",
    "ar" : "الدفتر",
    "en" : "Book",
    "type" : "Reference",
    "refTo" : "DocumentBook",
    "refPath" : "/modules/basic/DocumentBook.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" : "cancelledBy",
    "column" : "cancelledBy_id",
    "ar" : "ألغي بواسطة",
    "en" : "Cancelled By",
    "type" : "Reference",
    "refTo" : "DocumentCancelDocument",
    "refPath" : "/modules/basic/DocumentCancelDocument.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" : "containerNumbers",
    "column" : "containerNumbers",
    "ar" : "أرقام الحاويات",
    "en" : "Containers Numbers",
    "type" : "BigText"
  }, {
    "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" : "dimensionsHistoryXml",
    "column" : "dimensionsHistoryXml",
    "type" : "BigText"
  }, {
    "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" : "fiscalPeriod",
    "column" : "fiscalPeriod_id",
    "ar" : "الفترة",
    "en" : "Fiscal Period",
    "type" : "Reference",
    "refTo" : "FiscalPeriod",
    "refPath" : "/modules/basic/FiscalPeriod.html"
  }, {
    "id" : "fiscalYear",
    "column" : "fiscalYear_id",
    "ar" : "السنة المالية",
    "en" : "Fiscal Year",
    "type" : "Reference",
    "refTo" : "FiscalYear",
    "refPath" : "/modules/basic/FiscalYear.html"
  }, {
    "id" : "fromDoc",
    "columns" : [ "fromDoc_ActualCode", " fromDoc_Code", " fromDoc_type", " fromDoc_id" ],
    "ar" : "بناءا على",
    "en" : "From Document",
    "type" : "Genericreference"
  }, {
    "id" : "fromDocsCount",
    "column" : "fromDocsCount",
    "ar" : "عدد سندات بناء على",
    "en" : "From Docs Count",
    "type" : "Integer"
  }, {
    "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" : "id",
    "column" : "id",
    "type" : "ID"
  }, {
    "id" : "indexInParent",
    "column" : "indexInParent",
    "type" : "Integer"
  }, {
    "id" : "issueDate",
    "column" : "issueDate",
    "ar" : "تاريخ التحرير",
    "en" : "Issue Date",
    "type" : "Date"
  }, {
    "id" : "lastChangeVersion",
    "column" : "lastChangeVersion",
    "type" : "Integer"
  }, {
    "id" : "lastModifyTransactionId",
    "column" : "LastModifyTransactionId",
    "type" : "Text"
  }, {
    "id" : "lastUpdateDate",
    "column" : "lastUpdateDate",
    "ar" : "تاريخ اخر تحديث",
    "en" : "Last update Date",
    "type" : "DateAndTime"
  }, {
    "id" : "ledgerTransReqId",
    "column" : "ledgerTransReqId",
    "type" : "ID"
  }, {
    "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" : "manualRef1",
    "column" : "manualRef1",
    "ar" : "رقم المستند اليدوي",
    "en" : "Manual Ref1",
    "type" : "Text"
  }, {
    "id" : "modifiableTax",
    "column" : "modifiableTax",
    "ar" : "يمكن تعديل الضريبة",
    "en" : "Modifiable Tax",
    "type" : "Boolean"
  }, {
    "id" : "money.afterDiscount1",
    "column" : "afterDiscount1",
    "ar" : "صافي بعد الخصم 1",
    "en" : "Net after Discount 1",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount2",
    "column" : "afterDiscount2",
    "ar" : "صافي بعد الخصم 2",
    "en" : "Net after Discount 2",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount3",
    "column" : "afterDiscount3",
    "ar" : "صافي بعد الخصم 3",
    "en" : "Net after Discount 3",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount4",
    "column" : "afterDiscount4",
    "ar" : "صافي بعد الخصم 4",
    "en" : "Net after Discount 4",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount5",
    "column" : "afterDiscount5",
    "ar" : "صافي بعد الخصم 5",
    "en" : "Net after Discount 5",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount6",
    "column" : "afterDiscount6",
    "ar" : "صافي بعد الخصم 6",
    "en" : "Net after Discount 6",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount7",
    "column" : "afterDiscount7",
    "ar" : "صافي بعد الخصم 7",
    "en" : "Net after Discount 7",
    "type" : "Decimal"
  }, {
    "id" : "money.afterDiscount8",
    "column" : "afterDiscount8",
    "ar" : "صافي بعد الخصم 8",
    "en" : "Net after Discount 8",
    "type" : "Decimal"
  }, {
    "id" : "money.afterHTaxValue",
    "column" : "afterHTaxValue",
    "ar" : "بعد ضريبة الفاتورة",
    "en" : "After Tax Value",
    "type" : "Decimal"
  }, {
    "id" : "money.afterTaxValue",
    "column" : "afterTaxValue",
    "ar" : "القيمة بعد الضريبة",
    "en" : "After Tax Value",
    "type" : "Decimal"
  }, {
    "id" : "money.cashAmount",
    "column" : "cashAmount",
    "ar" : "المدفوع نقدا",
    "en" : "Paid",
    "type" : "Decimal"
  }, {
    "id" : "money.currency",
    "column" : "currency_id",
    "ar" : "العملة",
    "en" : "Currency",
    "type" : "Reference",
    "refTo" : "Currency",
    "refPath" : "/modules/basic/Currency.html"
  }, {
    "id" : "money.currencyRate",
    "column" : "currencyRate",
    "ar" : "المعدل",
    "en" : "Currency Rate",
    "type" : "Decimal"
  }, {
    "id" : "money.discount1Total",
    "column" : "discount1Total",
    "ar" : "إجمالي الخصم",
    "en" : "Discount Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount2Total",
    "column" : "discount2Total",
    "ar" : "إجمالي خصم 2",
    "en" : "Discount 1 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount3Total",
    "column" : "discount3Total",
    "ar" : "إجمالي خصم 3",
    "en" : "Discount 2 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount4Total",
    "column" : "discount4Total",
    "ar" : "إجمالي خصم 4",
    "en" : "Discount 3 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount5Total",
    "column" : "discount5Total",
    "ar" : "إجمالي خصم 5",
    "en" : "Discount 4 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount6Total",
    "column" : "discount6Total",
    "ar" : "إجمالي خصم 6",
    "en" : "Discount 5 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount7Total",
    "column" : "discount7Total",
    "ar" : "إجمالي خصم 7",
    "en" : "Discount 6 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.discount8Total",
    "column" : "discount8Total",
    "ar" : "إجمالي خصم 8",
    "en" : "Discount 7 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.headerDiscount.afterValue",
    "column" : "hdrDiscountAfterValue",
    "type" : "Decimal"
  }, {
    "id" : "money.headerDiscount.maxNormalPercent",
    "column" : "hdrDiscountMaxNormalPercent",
    "type" : "Decimal"
  }, {
    "id" : "money.headerDiscount.percentage",
    "column" : "hdrDiscountPercentage",
    "ar" : "النسبة",
    "en" : "Percentage",
    "type" : "Decimal"
  }, {
    "id" : "money.headerDiscount.value",
    "column" : "hdrDiscountValue",
    "ar" : "القيمة",
    "en" : "Value",
    "type" : "Decimal"
  }, {
    "id" : "money.localCurrency",
    "column" : "localCurrency_id",
    "ar" : " العملة",
    "en" : "Local Currency",
    "type" : "Reference",
    "refTo" : "Currency",
    "refPath" : "/modules/basic/Currency.html"
  }, {
    "id" : "money.netValue",
    "column" : "netValue",
    "ar" : "الصافي",
    "en" : "Net value",
    "type" : "Decimal"
  }, {
    "id" : "money.paidCash",
    "column" : "paidCash",
    "ar" : "النقدية المدفوعة",
    "en" : "Paid Cash",
    "type" : "Decimal"
  }, {
    "id" : "money.remaining",
    "column" : "remaining",
    "ar" : "المتبقي",
    "en" : "Remaining",
    "type" : "Decimal"
  }, {
    "id" : "money.remainingCash",
    "column" : "remainingCash",
    "ar" : "النقديه المتبقيه",
    "en" : "Remaining Cash",
    "type" : "Decimal"
  }, {
    "id" : "money.service1Fees",
    "column" : "service1Fees",
    "ar" : "مصاريف خدمة 1",
    "en" : "Service Fees 1",
    "type" : "Decimal"
  }, {
    "id" : "money.service2Fees",
    "column" : "service2Fees",
    "ar" : "مصاريف خدمة 2",
    "en" : "Service Fees 2",
    "type" : "Decimal"
  }, {
    "id" : "money.service3Fees",
    "column" : "service3Fees",
    "ar" : "مصاريف خدمة 3",
    "en" : "Service Fees 3",
    "type" : "Decimal"
  }, {
    "id" : "money.service4Fees",
    "column" : "service4Fees",
    "ar" : "مصاريف خدمة 4",
    "en" : "Service Fees 4",
    "type" : "Decimal"
  }, {
    "id" : "money.tax1Total",
    "column" : "tax1Total",
    "ar" : "إجمالي ضريبة مبيعات 1",
    "en" : "Tax 1 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.tax2Total",
    "column" : "tax2Total",
    "ar" : "إجمالي ضريبة مبيعات 2",
    "en" : "Tax 2 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.tax3Per",
    "column" : "tax3Per",
    "ar" : "ضريبة 3 %",
    "en" : "Invoice Tax 3",
    "type" : "Decimal"
  }, {
    "id" : "money.tax3Total",
    "column" : "tax3Total",
    "ar" : "إجمالي ضريبة 3",
    "en" : "Tax 3 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.tax4Per",
    "column" : "tax4Per",
    "ar" : "ضريبة الفاتورة 4 %",
    "en" : "Invoice Tax 4",
    "type" : "Decimal"
  }, {
    "id" : "money.tax4Total",
    "column" : "tax4Total",
    "ar" : "إجمالي ضريبة 4",
    "en" : "Tax 4 Total",
    "type" : "Decimal"
  }, {
    "id" : "money.total",
    "column" : "total",
    "ar" : "الإجمالي",
    "en" : "Total",
    "type" : "Decimal"
  }, {
    "id" : "money.totalPaid",
    "column" : "totalPaid",
    "ar" : "إجمالي المدفوع",
    "en" : "Total paid",
    "type" : "Decimal"
  }, {
    "id" : "money.totalPaymentMethods",
    "column" : "totalPaymentMethods",
    "ar" : "إجمالى طرق الدفع الأخرى",
    "en" : "Other Payments Total",
    "type" : "Decimal"
  }, {
    "id" : "money.vouchersPayments",
    "column" : "vouchersPayments",
    "ar" : "إجمالي المدفوع من السندات",
    "en" : "Total of Vouchers Payments",
    "type" : "Decimal"
  }, {
    "id" : "n1",
    "column" : "n1",
    "ar" : "رقم 1",
    "en" : "Number 1",
    "type" : "Decimal"
  }, {
    "id" : "n10",
    "column" : "n10",
    "ar" : "رقم 10",
    "en" : "Number 10",
    "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" : "n6",
    "column" : "n6",
    "ar" : "رقم 6",
    "en" : "Number 6",
    "type" : "Decimal"
  }, {
    "id" : "n7",
    "column" : "n7",
    "ar" : "رقم 7",
    "en" : "Number 7",
    "type" : "Decimal"
  }, {
    "id" : "n8",
    "column" : "n8",
    "ar" : "رقم 8",
    "en" : "Number 8",
    "type" : "Decimal"
  }, {
    "id" : "n9",
    "column" : "n9",
    "ar" : "رقم 9",
    "en" : "Number 9",
    "type" : "Decimal"
  }, {
    "id" : "openShift",
    "column" : "openShift_id",
    "ar" : "فتح وردية",
    "en" : "Open Shift",
    "type" : "Reference",
    "refTo" : "CSHOpenShift",
    "refPath" : "/modules/accounting-cashier/CSHOpenShift.html"
  }, {
    "id" : "operationOrder",
    "column" : "operationOrder_id",
    "ar" : "أمر التشغيل",
    "en" : "Operation Order",
    "type" : "Reference",
    "refTo" : "FRMOperationOrder",
    "refPath" : "/modules/frm/FRMOperationOrder.html"
  }, {
    "id" : "parentCode",
    "column" : "parentCode",
    "type" : "Text"
  }, {
    "id" : "preventUsage",
    "column" : "preventUsage",
    "ar" : "منع الاستعمال",
    "en" : "Prevent Usage",
    "type" : "Boolean"
  }, {
    "id" : "preventUseAsFromDoc",
    "column" : "preventUseAsFromDoc",
    "type" : "Boolean"
  }, {
    "id" : "printCount",
    "column" : "printCount",
    "ar" : "عدد مرات الطباعة",
    "en" : "Print Count",
    "type" : "Integer"
  }, {
    "id" : "purged",
    "column" : "purged",
    "ar" : "Purged",
    "en" : "Purged",
    "type" : "Boolean"
  }, {
    "id" : "rbook",
    "column" : "rbook_id",
    "ar" : "دفتر الايصالات",
    "en" : "Receipt Book",
    "type" : "Reference",
    "refTo" : "ReceiptBook",
    "refPath" : "/modules/basic/ReceiptBook.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" : "rpaper",
    "column" : "rpaper_id",
    "ar" : "الايصال",
    "en" : "Receipt Paper",
    "type" : "Reference",
    "refTo" : "ReceiptPaper",
    "refPath" : "/modules/basic/ReceiptPaper.html"
  }, {
    "id" : "salesMan",
    "column" : "salesMan_id",
    "ar" : "مندوب المبيعات",
    "en" : "Salesman",
    "type" : "Reference",
    "refTo" : "Employee",
    "refPath" : "/modules/basic/Employee.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" : "serviceProvider",
    "columns" : [ "serviceProviderActualCode", " serviceProviderCode", " serviceProviderEntityType", " serviceProviderId" ],
    "ar" : "مقدم الخدمة",
    "en" : "Service Provider",
    "type" : "Genericreference"
  }, {
    "id" : "subsidiary",
    "columns" : [ "subsidiaryActualCode", " subsidiaryCode", " subsidiaryEntityType", " subsidiaryId" ],
    "ar" : "الذمة",
    "en" : "Subsidiary",
    "type" : "Genericreference"
  }, {
    "id" : "taxAuthoritySysFields.submissionUUID",
    "column" : "submissionUUID",
    "ar" : "معرف مرحلة الارسال",
    "en" : "Submission ID",
    "type" : "Text"
  }, {
    "id" : "taxAuthoritySysFields.taxAuthEntityStatusType",
    "column" : "taxAuthEntityStatusType",
    "ar" : "حالة المستند بالنسبة لمصلحة الضرائب",
    "en" : "Tax Authority Document Type",
    "type" : "Enum",
    "enum" : "TaxAuthorityEntityStatusType"
  }, {
    "id" : "taxAuthoritySysFields.taxAuthUUID",
    "column" : "taxAuthUUID",
    "ar" : "معرف المستند داخل مصلحة الضرائب",
    "en" : "Tax Authority Document View ID",
    "type" : "Text"
  }, {
    "id" : "taxAuthoritySysFields.temporaryId",
    "column" : "temporaryId",
    "ar" : "معرف لمطالعة المستند بدون تسجيل دخول",
    "en" : "Tax Authority Not Registered Person Document View ID",
    "type" : "Text"
  }, {
    "id" : "taxPlan",
    "column" : "taxPlan_id",
    "ar" : " سياسة الضريبة",
    "en" : " Tax Plan",
    "type" : "Reference",
    "refTo" : "TaxPlan",
    "refPath" : "/modules/basic/TaxPlan.html"
  }, {
    "id" : "taxable",
    "column" : "taxable",
    "ar" : "خاضع للضريبة",
    "en" : "Taxable",
    "type" : "Boolean"
  }, {
    "id" : "term",
    "column" : "term_id",
    "ar" : "توجيه المستند",
    "en" : "Term",
    "type" : "Reference",
    "refTo" : "DocumentTerm",
    "refPath" : "/modules/basic/DocumentTerm.html"
  }, {
    "id" : "termConfigXml",
    "column" : "termConfigXml",
    "type" : "BigText"
  }, {
    "id" : "totalOfCurrency1",
    "column" : "totalOfCurrency1",
    "ar" : "إجمالي العملة 1",
    "en" : "Total Of Currency 1",
    "type" : "Decimal"
  }, {
    "id" : "totalOfCurrency2",
    "column" : "totalOfCurrency2",
    "ar" : "إجمالي العملة 2",
    "en" : "Total Of Currency 2",
    "type" : "Decimal"
  }, {
    "id" : "totalOfCurrency3",
    "column" : "totalOfCurrency3",
    "ar" : "إجمالي العملة 3",
    "en" : "Total Of Currency 3",
    "type" : "Decimal"
  }, {
    "id" : "totalOfCurrency4",
    "column" : "totalOfCurrency4",
    "ar" : "إجمالي العملة 4",
    "en" : "Total Of Currency 4",
    "type" : "Decimal"
  }, {
    "id" : "totalOfCurrency5",
    "column" : "totalOfCurrency5",
    "ar" : "إجمالي العملة 5",
    "en" : "Total Of Currency 5",
    "type" : "Decimal"
  }, {
    "id" : "totalOfLocalCurrency",
    "column" : "totalOfLocalCurrency",
    "ar" : "إجمالي الفاتورة بالعملة المحلية",
    "en" : "Total Of Invoice In Local Currency",
    "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" : "valueDate",
    "column" : "valueDate",
    "ar" : "التاريخ الفعلي",
    "en" : "Value Date",
    "type" : "Date"
  }, {
    "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" : "billDetails",
    "table" : "FRMInvoicedBillOfLadingLine",
    "joinColumn" : "fRMSalesInvoice_id",
    "fields" : [ {
      "id" : "billDetails.billOfLadingCode",
      "column" : "billOfLadingCode_id",
      "ar" : "كود بوليصة الشحن",
      "en" : "BL Code",
      "type" : "Reference",
      "refTo" : "FRMBillOfLading",
      "refPath" : "/modules/frm/FRMBillOfLading.html"
    }, {
      "id" : "billDetails.billOfLadingNumber",
      "column" : "billOfLadingNumber",
      "ar" : "رقم بوليصة شحن",
      "en" : "BL No",
      "type" : "Text"
    }, {
      "id" : "billDetails.containerNumber",
      "column" : "containerNumber",
      "ar" : "رقم الحاوية",
      "en" : "Container No",
      "type" : "Text"
    }, {
      "id" : "billDetails.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "billDetails.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "billDetails.selected",
      "column" : "selected",
      "ar" : "اختيار",
      "en" : "Selected",
      "type" : "Boolean"
    } ]
  }, {
    "id" : "details",
    "table" : "FRMSalesInvoiceLine",
    "joinColumn" : "fRMSalesInvoice_id",
    "ar" : "التفاصيل",
    "en" : "Details",
    "fields" : [ {
      "id" : "details.attachment",
      "column" : "attachment_id",
      "ar" : "مرفق",
      "en" : "Attachment",
      "type" : "Binary",
      "refTo" : "LargeData",
      "refPath" : "/modules/system-tables/LargeData.html"
    }, {
      "id" : "details.committedBefore",
      "column" : "committedBefore",
      "type" : "Boolean"
    }, {
      "id" : "details.commodity",
      "column" : "commodity_id",
      "ar" : "السلعة",
      "en" : "Commodity",
      "type" : "Reference",
      "refTo" : "FRMCommodity",
      "refPath" : "/modules/frm/FRMCommodity.html"
    }, {
      "id" : "details.container",
      "column" : "container_id",
      "ar" : "الحاوية",
      "en" : "Container",
      "type" : "Reference",
      "refTo" : "FRMContainer",
      "refPath" : "/modules/frm/FRMContainer.html"
    }, {
      "id" : "details.cost",
      "column" : "cost",
      "ar" : "التكلفة",
      "en" : "Cost",
      "type" : "Decimal"
    }, {
      "id" : "details.currency",
      "column" : "currency_id",
      "ar" : "العملة",
      "en" : "Currency",
      "type" : "Reference",
      "refTo" : "Currency",
      "refPath" : "/modules/basic/Currency.html"
    }, {
      "id" : "details.diff",
      "column" : "diff",
      "ar" : "الفرق",
      "en" : "Difference",
      "type" : "Decimal"
    }, {
      "id" : "details.firstAuthor",
      "column" : "firstAuthor_id",
      "ar" : "منشئ السجل",
      "en" : "First Author",
      "type" : "Reference",
      "refTo" : "NaMaUser",
      "refPath" : "/modules/system-tables/NaMaUser.html"
    }, {
      "id" : "details.frmServiceItem",
      "column" : "frmServiceItem_id",
      "ar" : "بند الخدمة",
      "en" : "Service Item",
      "type" : "Reference",
      "refTo" : "FRMServiceItem",
      "refPath" : "/modules/frm/FRMServiceItem.html"
    }, {
      "id" : "details.gateInPort",
      "column" : "gateInPort_id",
      "ar" : "ميناء الدخول",
      "en" : "Gate In Port",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "details.gateOutPort",
      "column" : "gateOutPort_id",
      "ar" : "ميناء الخروج",
      "en" : "Gate Out Port",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "details.genericDimensions.analysisSet",
      "column" : "analysisSet_id",
      "ar" : "المجموعة التحليلية",
      "en" : "Analysis set",
      "type" : "Reference",
      "refTo" : "AnalysisSet",
      "refPath" : "/modules/basic/AnalysisSet.html"
    }, {
      "id" : "details.genericDimensions.branch",
      "column" : "branch_id",
      "ar" : "الفرع",
      "en" : "Branch",
      "type" : "Reference",
      "refTo" : "Branch",
      "refPath" : "/modules/basic/Branch.html"
    }, {
      "id" : "details.genericDimensions.department",
      "column" : "department_id",
      "ar" : "الإدارة",
      "en" : "Department",
      "type" : "Reference",
      "refTo" : "Department",
      "refPath" : "/modules/basic/Department.html"
    }, {
      "id" : "details.genericDimensions.legalEntity",
      "column" : "legalEntity_id",
      "ar" : "الشركة",
      "en" : "Legal Entity",
      "type" : "Reference",
      "refTo" : "LegalEntity",
      "refPath" : "/modules/basic/LegalEntity.html"
    }, {
      "id" : "details.genericDimensions.sector",
      "column" : "sector_id",
      "ar" : "القطاع",
      "en" : "Sector",
      "type" : "Reference",
      "refTo" : "Sector",
      "refPath" : "/modules/basic/Sector.html"
    }, {
      "id" : "details.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "details.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "details.loadingPoint",
      "column" : "loadingPoint_id",
      "ar" : "نقطه التحميل",
      "en" : "Loading Point",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "details.portOfDischarge",
      "column" : "portOfDischarge_id",
      "ar" : "ميناء التفريغ",
      "en" : "Port of Discharge",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "details.portOfLoading",
      "column" : "portOfLoading_id",
      "ar" : "ميناء التحميل",
      "en" : "Port of Loading",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "details.price.custom",
      "column" : "custom",
      "ar" : "مخصص",
      "en" : "Custom",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount1.afterValue",
      "column" : "dis1AfterValue",
      "ar" : "خصم 1 | صافي",
      "en" : "Discount 1 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount1.maxNormalPercent",
      "column" : "dis1MaxNormalPercent",
      "ar" : "خصم 1 | النسبة العادية",
      "en" : "Discount 1 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount1.percentage",
      "column" : "dis1Percentage",
      "ar" : "خصم 1 | %",
      "en" : "Discount 1 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount1.value",
      "column" : "dis1Value",
      "ar" : "خصم 1 | قيمة",
      "en" : "Discount 1 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount2.afterValue",
      "column" : "dis2AfterValue",
      "ar" : "خصم 2 | صافي",
      "en" : "Discount 2 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount2.maxNormalPercent",
      "column" : "dis2MaxNormalPercent",
      "ar" : "خصم 2 | النسبة العادية",
      "en" : "Discount 2 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount2.percentage",
      "column" : "dis2Percentage",
      "ar" : "خصم 2 | %",
      "en" : "Discount 2 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount2.value",
      "column" : "dis2Value",
      "ar" : "خصم 2 | قيمة",
      "en" : "Discount 2 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount3.afterValue",
      "column" : "dis3AfterValue",
      "ar" : "خصم 3 | صافي",
      "en" : "Discount 3 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount3.maxNormalPercent",
      "column" : "dis3MaxNormalPercent",
      "ar" : "خصم 3 | النسبة العادية",
      "en" : "Discount 3 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount3.percentage",
      "column" : "dis3Percentage",
      "ar" : "خصم 3 | %",
      "en" : "Discount 3 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount3.value",
      "column" : "dis3Value",
      "ar" : "خصم 3 | قيمة",
      "en" : "Discount 3 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount4.afterValue",
      "column" : "dis4AfterValue",
      "ar" : "خصم 4 | صافي",
      "en" : "Discount 4 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount4.maxNormalPercent",
      "column" : "dis4MaxNormalPercent",
      "ar" : "خصم 4 | النسبة العادية",
      "en" : "Discount 4 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount4.percentage",
      "column" : "dis4Percentage",
      "ar" : "خصم 4 | %",
      "en" : "Discount 4 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount4.value",
      "column" : "dis4Value",
      "ar" : "خصم 4 | قيمة",
      "en" : "Discount 4 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount5.afterValue",
      "column" : "dis5AfterValue",
      "ar" : "خصم 5 | صافي",
      "en" : "Discount 5 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount5.maxNormalPercent",
      "column" : "dis5MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount5.percentage",
      "column" : "dis5Percentage",
      "ar" : "خصم 5 | %",
      "en" : "Discount 5 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount5.value",
      "column" : "dis5Value",
      "ar" : "خصم 5 | قيمة",
      "en" : "Discount 5 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount6.afterValue",
      "column" : "dis6AfterValue",
      "ar" : "خصم 6 | صافي",
      "en" : "Discount 6 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount6.maxNormalPercent",
      "column" : "dis6MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount6.percentage",
      "column" : "dis6Percentage",
      "ar" : "خصم 6 | %",
      "en" : "Discount 6 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount6.value",
      "column" : "dis6Value",
      "ar" : "خصم 6 | قيمة",
      "en" : "Discount 6 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount7.afterValue",
      "column" : "dis7AfterValue",
      "ar" : "خصم 7 | صافي",
      "en" : "Discount 7 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount7.maxNormalPercent",
      "column" : "dis7MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount7.percentage",
      "column" : "dis7Percentage",
      "ar" : "خصم 7 | %",
      "en" : "Discount 7 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount7.value",
      "column" : "dis7Value",
      "ar" : "خصم 7 | قيمة",
      "en" : "Discount 7 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount8.afterValue",
      "column" : "dis8AfterValue",
      "ar" : "خصم 8 | صافي",
      "en" : "Discount 8 | After value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount8.maxNormalPercent",
      "column" : "dis8MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount8.percentage",
      "column" : "dis8Percentage",
      "ar" : "خصم 8 | %",
      "en" : "Discount 8 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.discount8.value",
      "column" : "dis8Value",
      "ar" : "خصم 8 | قيمة",
      "en" : "Discount 8 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.headerDicount.afterValue",
      "column" : "hdrAfterValue",
      "type" : "Decimal"
    }, {
      "id" : "details.price.headerDicount.maxNormalPercent",
      "column" : "hdrMaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "details.price.headerDicount.percentage",
      "column" : "hdrPercentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "details.price.headerDicount.value",
      "column" : "hdrValue",
      "ar" : "القيمة",
      "en" : "Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.netValue",
      "column" : "netValue",
      "ar" : "الصافي",
      "en" : "Net value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.price",
      "column" : "price",
      "ar" : "الأسعار | السعر الكلي",
      "en" : "Prices | total price",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax1.afterValue",
      "column" : "tax1AfterValue",
      "ar" : "ضريبة مبيعات | الصافي",
      "en" : "Tax | After Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax1.maxNormalPercent",
      "column" : "tax1MaxNormalPercent",
      "ar" : "ضريبة مبيعات | %",
      "en" : "Item Tax | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax1.percentage",
      "column" : "tax1Percentage",
      "ar" : "قيمة إضافية 1",
      "en" : "Tax 1",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax1.value",
      "column" : "tax1Value",
      "ar" : "ضريبة مبيعات | القيمة",
      "en" : "Tax value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax2.afterValue",
      "column" : "tax2AfterValue",
      "ar" : "ضريبة مبيعات 2 | الصافي",
      "en" : "Tax 2 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax2.maxNormalPercent",
      "column" : "tax2MaxNormalPercent",
      "ar" : "ضريبة مبيعات 2 | %",
      "en" : "Tax 2 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax2.percentage",
      "column" : "tax2Percentage",
      "ar" : "قيمة إضافية 2",
      "en" : "Tax 2",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax2.value",
      "column" : "tax2Value",
      "ar" : "ضريبة مبيعات 2 | القيمة",
      "en" : "Tax 2 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax3.afterValue",
      "column" : "tax3AfterValue",
      "ar" : "ضريبة 3 | الصافي",
      "en" : "Tax 3 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax3.maxNormalPercent",
      "column" : "tax3MaxNormalPercent",
      "ar" : "ضريبة 3 | %",
      "en" : "Tax 3 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax3.percentage",
      "column" : "tax3Percentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax3.value",
      "column" : "tax3Value",
      "ar" : "ضريبة 3 | القيمة",
      "en" : "Tax 3 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax4.afterValue",
      "column" : "tax4AfterValue",
      "ar" : "ضريبة 4 | الصافي",
      "en" : "Tax 4 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax4.maxNormalPercent",
      "column" : "tax4MaxNormalPercent",
      "ar" : "ضريبة 4 | %",
      "en" : "Tax 4 | %",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax4.percentage",
      "column" : "tax4Percentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "details.price.tax4.value",
      "column" : "tax4Value",
      "ar" : "ضريبة 4 | القيمة",
      "en" : "Tax 4 | Value",
      "type" : "Decimal"
    }, {
      "id" : "details.price.totalCashShare",
      "column" : "totalCashShare",
      "type" : "Decimal"
    }, {
      "id" : "details.price.totalPaymentMethodShare",
      "column" : "totalPaymentMethodShare",
      "type" : "Decimal"
    }, {
      "id" : "details.price.unitPrice",
      "column" : "unitPrice",
      "ar" : "سعر الوحدة",
      "en" : "Prices | Unit price",
      "type" : "Decimal"
    }, {
      "id" : "details.quantity",
      "column" : "quantity",
      "ar" : "الكمية",
      "en" : "Quantity",
      "type" : "Decimal"
    }, {
      "id" : "details.rate",
      "column" : "rate",
      "ar" : "المعدل",
      "en" : "Rate",
      "type" : "Decimal"
    }, {
      "id" : "details.ref1",
      "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
      "ar" : "مرجع 1",
      "en" : "Reference 1",
      "type" : "Genericreference"
    }, {
      "id" : "details.ref2",
      "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
      "ar" : "مرجع 2",
      "en" : "Reference 2",
      "type" : "Genericreference"
    }, {
      "id" : "details.remarks",
      "column" : "remarks",
      "ar" : " ملاحظات",
      "en" : " Description",
      "type" : "BigText"
    }, {
      "id" : "details.salesMan",
      "column" : "salesMan_id",
      "ar" : "مندوب المبيعات",
      "en" : "Salesman",
      "type" : "Reference",
      "refTo" : "Employee",
      "refPath" : "/modules/basic/Employee.html"
    }, {
      "id" : "details.serviceProvider",
      "columns" : [ "serviceProviderActualCode", " serviceProviderCode", " serviceProviderEntityType", " serviceProviderId" ],
      "ar" : "مقدم الخدمة",
      "en" : "Service Provider",
      "type" : "Genericreference"
    }, {
      "id" : "details.sourceLineId",
      "column" : "sourceLineId",
      "ar" : "معرف سطر المصدر",
      "en" : "Source Line Id",
      "type" : "ID"
    }, {
      "id" : "details.subsidiary",
      "columns" : [ "subsidiaryActualCode", " subsidiaryCode", " subsidiaryEntityType", " subsidiaryId" ],
      "ar" : "الذمة",
      "en" : "Subsidiary",
      "type" : "Genericreference"
    } ]
  }, {
    "id" : "einvoiceDetails",
    "table" : "FRMEInvoiceSalesInvoiceLine",
    "joinColumn" : "fRMSalesInvoice_id",
    "ar" : "بنود الفاتورة الإلكترونية",
    "en" : "E Invoice Details",
    "fields" : [ {
      "id" : "einvoiceDetails.attachment",
      "column" : "attachment_id",
      "ar" : "مرفق",
      "en" : "Attachment",
      "type" : "Binary",
      "refTo" : "LargeData",
      "refPath" : "/modules/system-tables/LargeData.html"
    }, {
      "id" : "einvoiceDetails.committedBefore",
      "column" : "committedBefore",
      "type" : "Boolean"
    }, {
      "id" : "einvoiceDetails.commodity",
      "column" : "commodity_id",
      "ar" : "السلعة",
      "en" : "Commodity",
      "type" : "Reference",
      "refTo" : "FRMCommodity",
      "refPath" : "/modules/frm/FRMCommodity.html"
    }, {
      "id" : "einvoiceDetails.container",
      "column" : "container_id",
      "ar" : "الحاوية",
      "en" : "Container",
      "type" : "Reference",
      "refTo" : "FRMContainer",
      "refPath" : "/modules/frm/FRMContainer.html"
    }, {
      "id" : "einvoiceDetails.cost",
      "column" : "cost",
      "ar" : "التكلفة",
      "en" : "Cost",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.currency",
      "column" : "currency_id",
      "ar" : "العملة",
      "en" : "Currency",
      "type" : "Reference",
      "refTo" : "Currency",
      "refPath" : "/modules/basic/Currency.html"
    }, {
      "id" : "einvoiceDetails.diff",
      "column" : "diff",
      "ar" : "الفرق",
      "en" : "Difference",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.firstAuthor",
      "column" : "firstAuthor_id",
      "ar" : "منشئ السجل",
      "en" : "First Author",
      "type" : "Reference",
      "refTo" : "NaMaUser",
      "refPath" : "/modules/system-tables/NaMaUser.html"
    }, {
      "id" : "einvoiceDetails.frmServiceItem",
      "column" : "frmServiceItem_id",
      "ar" : "بند الخدمة",
      "en" : "Service Item",
      "type" : "Reference",
      "refTo" : "FRMServiceItem",
      "refPath" : "/modules/frm/FRMServiceItem.html"
    }, {
      "id" : "einvoiceDetails.gateInPort",
      "column" : "gateInPort_id",
      "ar" : "ميناء الدخول",
      "en" : "Gate In Port",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "einvoiceDetails.gateOutPort",
      "column" : "gateOutPort_id",
      "ar" : "ميناء الخروج",
      "en" : "Gate Out Port",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "einvoiceDetails.genericDimensions.analysisSet",
      "column" : "analysisSet_id",
      "ar" : "المجموعة التحليلية",
      "en" : "Analysis set",
      "type" : "Reference",
      "refTo" : "AnalysisSet",
      "refPath" : "/modules/basic/AnalysisSet.html"
    }, {
      "id" : "einvoiceDetails.genericDimensions.branch",
      "column" : "branch_id",
      "ar" : "الفرع",
      "en" : "Branch",
      "type" : "Reference",
      "refTo" : "Branch",
      "refPath" : "/modules/basic/Branch.html"
    }, {
      "id" : "einvoiceDetails.genericDimensions.department",
      "column" : "department_id",
      "ar" : "الإدارة",
      "en" : "Department",
      "type" : "Reference",
      "refTo" : "Department",
      "refPath" : "/modules/basic/Department.html"
    }, {
      "id" : "einvoiceDetails.genericDimensions.legalEntity",
      "column" : "legalEntity_id",
      "ar" : "الشركة",
      "en" : "Legal Entity",
      "type" : "Reference",
      "refTo" : "LegalEntity",
      "refPath" : "/modules/basic/LegalEntity.html"
    }, {
      "id" : "einvoiceDetails.genericDimensions.sector",
      "column" : "sector_id",
      "ar" : "القطاع",
      "en" : "Sector",
      "type" : "Reference",
      "refTo" : "Sector",
      "refPath" : "/modules/basic/Sector.html"
    }, {
      "id" : "einvoiceDetails.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "einvoiceDetails.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "einvoiceDetails.loadingPoint",
      "column" : "loadingPoint_id",
      "ar" : "نقطه التحميل",
      "en" : "Loading Point",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "einvoiceDetails.portOfDischarge",
      "column" : "portOfDischarge_id",
      "ar" : "ميناء التفريغ",
      "en" : "Port of Discharge",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "einvoiceDetails.portOfLoading",
      "column" : "portOfLoading_id",
      "ar" : "ميناء التحميل",
      "en" : "Port of Loading",
      "type" : "Reference",
      "refTo" : "ShippingPort",
      "refPath" : "/modules/frm/ShippingPort.html"
    }, {
      "id" : "einvoiceDetails.price.custom",
      "column" : "custom",
      "ar" : "مخصص",
      "en" : "Custom",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount1.afterValue",
      "column" : "dis1AfterValue",
      "ar" : "خصم 1 | صافي",
      "en" : "Discount 1 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount1.maxNormalPercent",
      "column" : "dis1MaxNormalPercent",
      "ar" : "خصم 1 | النسبة العادية",
      "en" : "Discount 1 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount1.percentage",
      "column" : "dis1Percentage",
      "ar" : "خصم 1 | %",
      "en" : "Discount 1 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount1.value",
      "column" : "dis1Value",
      "ar" : "خصم 1 | قيمة",
      "en" : "Discount 1 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount2.afterValue",
      "column" : "dis2AfterValue",
      "ar" : "خصم 2 | صافي",
      "en" : "Discount 2 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount2.maxNormalPercent",
      "column" : "dis2MaxNormalPercent",
      "ar" : "خصم 2 | النسبة العادية",
      "en" : "Discount 2 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount2.percentage",
      "column" : "dis2Percentage",
      "ar" : "خصم 2 | %",
      "en" : "Discount 2 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount2.value",
      "column" : "dis2Value",
      "ar" : "خصم 2 | قيمة",
      "en" : "Discount 2 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount3.afterValue",
      "column" : "dis3AfterValue",
      "ar" : "خصم 3 | صافي",
      "en" : "Discount 3 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount3.maxNormalPercent",
      "column" : "dis3MaxNormalPercent",
      "ar" : "خصم 3 | النسبة العادية",
      "en" : "Discount 3 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount3.percentage",
      "column" : "dis3Percentage",
      "ar" : "خصم 3 | %",
      "en" : "Discount 3 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount3.value",
      "column" : "dis3Value",
      "ar" : "خصم 3 | قيمة",
      "en" : "Discount 3 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount4.afterValue",
      "column" : "dis4AfterValue",
      "ar" : "خصم 4 | صافي",
      "en" : "Discount 4 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount4.maxNormalPercent",
      "column" : "dis4MaxNormalPercent",
      "ar" : "خصم 4 | النسبة العادية",
      "en" : "Discount 4 | Normal Percent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount4.percentage",
      "column" : "dis4Percentage",
      "ar" : "خصم 4 | %",
      "en" : "Discount 4 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount4.value",
      "column" : "dis4Value",
      "ar" : "خصم 4 | قيمة",
      "en" : "Discount 4 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount5.afterValue",
      "column" : "dis5AfterValue",
      "ar" : "خصم 5 | صافي",
      "en" : "Discount 5 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount5.maxNormalPercent",
      "column" : "dis5MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount5.percentage",
      "column" : "dis5Percentage",
      "ar" : "خصم 5 | %",
      "en" : "Discount 5 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount5.value",
      "column" : "dis5Value",
      "ar" : "خصم 5 | قيمة",
      "en" : "Discount 5 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount6.afterValue",
      "column" : "dis6AfterValue",
      "ar" : "خصم 6 | صافي",
      "en" : "Discount 6 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount6.maxNormalPercent",
      "column" : "dis6MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount6.percentage",
      "column" : "dis6Percentage",
      "ar" : "خصم 6 | %",
      "en" : "Discount 6 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount6.value",
      "column" : "dis6Value",
      "ar" : "خصم 6 | قيمة",
      "en" : "Discount 6 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount7.afterValue",
      "column" : "dis7AfterValue",
      "ar" : "خصم 7 | صافي",
      "en" : "Discount 7 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount7.maxNormalPercent",
      "column" : "dis7MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount7.percentage",
      "column" : "dis7Percentage",
      "ar" : "خصم 7 | %",
      "en" : "Discount 7 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount7.value",
      "column" : "dis7Value",
      "ar" : "خصم 7 | قيمة",
      "en" : "Discount 7 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount8.afterValue",
      "column" : "dis8AfterValue",
      "ar" : "خصم 8 | صافي",
      "en" : "Discount 8 | After value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount8.maxNormalPercent",
      "column" : "dis8MaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount8.percentage",
      "column" : "dis8Percentage",
      "ar" : "خصم 8 | %",
      "en" : "Discount 8 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.discount8.value",
      "column" : "dis8Value",
      "ar" : "خصم 8 | قيمة",
      "en" : "Discount 8 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.headerDicount.afterValue",
      "column" : "hdrAfterValue",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.headerDicount.maxNormalPercent",
      "column" : "hdrMaxNormalPercent",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.headerDicount.percentage",
      "column" : "hdrPercentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.headerDicount.value",
      "column" : "hdrValue",
      "ar" : "القيمة",
      "en" : "Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.netValue",
      "column" : "netValue",
      "ar" : "الصافي",
      "en" : "Net value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.price",
      "column" : "price",
      "ar" : "الأسعار | السعر الكلي",
      "en" : "Prices | total price",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax1.afterValue",
      "column" : "tax1AfterValue",
      "ar" : "ضريبة مبيعات | الصافي",
      "en" : "Tax | After Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax1.maxNormalPercent",
      "column" : "tax1MaxNormalPercent",
      "ar" : "ضريبة مبيعات | %",
      "en" : "Item Tax | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax1.percentage",
      "column" : "tax1Percentage",
      "ar" : "قيمة إضافية 1",
      "en" : "Tax 1",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax1.value",
      "column" : "tax1Value",
      "ar" : "ضريبة مبيعات | القيمة",
      "en" : "Tax value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax2.afterValue",
      "column" : "tax2AfterValue",
      "ar" : "ضريبة مبيعات 2 | الصافي",
      "en" : "Tax 2 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax2.maxNormalPercent",
      "column" : "tax2MaxNormalPercent",
      "ar" : "ضريبة مبيعات 2 | %",
      "en" : "Tax 2 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax2.percentage",
      "column" : "tax2Percentage",
      "ar" : "قيمة إضافية 2",
      "en" : "Tax 2",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax2.value",
      "column" : "tax2Value",
      "ar" : "ضريبة مبيعات 2 | القيمة",
      "en" : "Tax 2 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax3.afterValue",
      "column" : "tax3AfterValue",
      "ar" : "ضريبة 3 | الصافي",
      "en" : "Tax 3 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax3.maxNormalPercent",
      "column" : "tax3MaxNormalPercent",
      "ar" : "ضريبة 3 | %",
      "en" : "Tax 3 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax3.percentage",
      "column" : "tax3Percentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax3.value",
      "column" : "tax3Value",
      "ar" : "ضريبة 3 | القيمة",
      "en" : "Tax 3 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax4.afterValue",
      "column" : "tax4AfterValue",
      "ar" : "ضريبة 4 | الصافي",
      "en" : "Tax 4 | After Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax4.maxNormalPercent",
      "column" : "tax4MaxNormalPercent",
      "ar" : "ضريبة 4 | %",
      "en" : "Tax 4 | %",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax4.percentage",
      "column" : "tax4Percentage",
      "ar" : "النسبة",
      "en" : "Percentage",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.tax4.value",
      "column" : "tax4Value",
      "ar" : "ضريبة 4 | القيمة",
      "en" : "Tax 4 | Value",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.totalCashShare",
      "column" : "totalCashShare",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.totalPaymentMethodShare",
      "column" : "totalPaymentMethodShare",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.price.unitPrice",
      "column" : "unitPrice",
      "ar" : "سعر الوحدة",
      "en" : "Prices | Unit price",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.quantity",
      "column" : "quantity",
      "ar" : "الكمية",
      "en" : "Quantity",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.rate",
      "column" : "rate",
      "ar" : "المعدل",
      "en" : "Rate",
      "type" : "Decimal"
    }, {
      "id" : "einvoiceDetails.ref1",
      "columns" : [ "ref1ActualCode", " ref1Code", " ref1EntityType", " ref1Id" ],
      "ar" : "مرجع 1",
      "en" : "Reference 1",
      "type" : "Genericreference"
    }, {
      "id" : "einvoiceDetails.ref2",
      "columns" : [ "ref2ActualCode", " ref2Code", " ref2EntityType", " ref2Id" ],
      "ar" : "مرجع 2",
      "en" : "Reference 2",
      "type" : "Genericreference"
    }, {
      "id" : "einvoiceDetails.remarks",
      "column" : "remarks",
      "ar" : "ملاحظات",
      "en" : "Description",
      "type" : "BigText"
    }, {
      "id" : "einvoiceDetails.salesMan",
      "column" : "salesMan_id",
      "ar" : "مندوب المبيعات",
      "en" : "Salesman",
      "type" : "Reference",
      "refTo" : "Employee",
      "refPath" : "/modules/basic/Employee.html"
    }, {
      "id" : "einvoiceDetails.serviceProvider",
      "columns" : [ "serviceProviderActualCode", " serviceProviderCode", " serviceProviderEntityType", " serviceProviderId" ],
      "ar" : "مقدم الخدمة",
      "en" : "Service Provider",
      "type" : "Genericreference"
    }, {
      "id" : "einvoiceDetails.sourceLineId",
      "column" : "sourceLineId",
      "ar" : "معرف سطر المصدر",
      "en" : "Source Line Id",
      "type" : "ID"
    }, {
      "id" : "einvoiceDetails.subsidiary",
      "columns" : [ "subsidiaryActualCode", " subsidiaryCode", " subsidiaryEntityType", " subsidiaryId" ],
      "ar" : "الذمة",
      "en" : "Subsidiary",
      "type" : "Genericreference"
    } ]
  }, {
    "id" : "externalPaymentLines",
    "table" : "FRMSalesInvExternalPayment",
    "joinColumn" : "fRMSalesInvoice_id",
    "ar" : "السداد بسندات خارجية",
    "en" : "External Payment Lines",
    "fields" : [ {
      "id" : "externalPaymentLines.b1",
      "column" : "b1",
      "ar" : "Boolean 1",
      "en" : "Boolean 1",
      "type" : "Boolean"
    }, {
      "id" : "externalPaymentLines.b2",
      "column" : "b2",
      "ar" : "Boolean 2",
      "en" : "Boolean 2",
      "type" : "Boolean"
    }, {
      "id" : "externalPaymentLines.date1",
      "column" : "date1",
      "ar" : "تـــاريخ 1",
      "en" : "Date 1",
      "type" : "Date"
    }, {
      "id" : "externalPaymentLines.date2",
      "column" : "date2",
      "ar" : "تـــاريخ 2",
      "en" : "Date 2",
      "type" : "Date"
    }, {
      "id" : "externalPaymentLines.doNotAffectRemaining",
      "column" : "doNotAffectRemaining",
      "ar" : "عدم التأثير على المتبقي",
      "en" : "Do Not Affect Remaining",
      "type" : "Boolean"
    }, {
      "id" : "externalPaymentLines.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "externalPaymentLines.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "externalPaymentLines.n1",
      "column" : "n1",
      "ar" : "رقم 1",
      "en" : "Number 1",
      "type" : "Decimal"
    }, {
      "id" : "externalPaymentLines.n2",
      "column" : "n2",
      "ar" : "رقم 2",
      "en" : "Number 2",
      "type" : "Decimal"
    }, {
      "id" : "externalPaymentLines.n3",
      "column" : "n3",
      "ar" : "رقم 3",
      "en" : "Number 3",
      "type" : "Decimal"
    }, {
      "id" : "externalPaymentLines.n4",
      "column" : "n4",
      "ar" : "رقم 4",
      "en" : "Number 4",
      "type" : "Decimal"
    }, {
      "id" : "externalPaymentLines.n5",
      "column" : "n5",
      "ar" : "رقم 5",
      "en" : "Number 5",
      "type" : "Decimal"
    }, {
      "id" : "externalPaymentLines.paymentDate",
      "column" : "paymentDate",
      "ar" : "تاريخ الدفع",
      "en" : "Payment Date",
      "type" : "Date"
    }, {
      "id" : "externalPaymentLines.paymentDocument",
      "columns" : [ "paymentDocumentActualCode", " paymentDocumentCode", " paymentDocumentEntityType", " paymentDocumentId" ],
      "ar" : "مستند الدفع",
      "en" : "Document",
      "type" : "Genericreference"
    }, {
      "id" : "externalPaymentLines.paymentValue",
      "column" : "paymentValue",
      "ar" : "المبلغ",
      "en" : "Payment Value",
      "type" : "Decimal"
    } ]
  }, {
    "id" : "paymentLines",
    "table" : "FRMSalesInvoicePaymentLine",
    "joinColumn" : "fRMSalesInvoice_id",
    "ar" : "الســداد",
    "en" : "Payment Lines",
    "fields" : [ {
      "id" : "paymentLines.afterFeesValue",
      "column" : "afterFeesValue",
      "ar" : "المبلغ بعد الرسوم",
      "en" : "Value After Fees",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.authorizationNumber",
      "column" : "authorizationNumber",
      "ar" : "رقم العملية",
      "en" : "Authorization Number",
      "type" : "Text"
    }, {
      "id" : "paymentLines.date1",
      "column" : "date1",
      "ar" : "تـــاريخ 1",
      "en" : "Date 1",
      "type" : "Date"
    }, {
      "id" : "paymentLines.date2",
      "column" : "date2",
      "ar" : "تـــاريخ 2",
      "en" : "Date 2",
      "type" : "Date"
    }, {
      "id" : "paymentLines.discountCoupon",
      "column" : "discountCoupon_id",
      "ar" : "قسيمة شراء",
      "en" : "Discount Coupon",
      "type" : "Reference",
      "refTo" : "DiscountCoupon",
      "refPath" : "/modules/supplychain-sales/DiscountCoupon.html"
    }, {
      "id" : "paymentLines.doNotAffectRemaining",
      "column" : "doNotAffectRemaining",
      "ar" : "عدم التأثير على المتبقي",
      "en" : "Do Not Affect Remaining",
      "type" : "Boolean"
    }, {
      "id" : "paymentLines.feesTaxValue",
      "column" : "feesTaxValue",
      "ar" : "قيمة ضريبة الرسوم",
      "en" : "Fees Tax Value",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.feesValue",
      "column" : "feesValue",
      "ar" : "قيمة الرسوم",
      "en" : "Fees Value",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.id",
      "column" : "id",
      "type" : "ID"
    }, {
      "id" : "paymentLines.issuer",
      "column" : "issuer",
      "ar" : "جهة الإصدار",
      "en" : "Issuer",
      "type" : "Text"
    }, {
      "id" : "paymentLines.lineNumber",
      "column" : "lineNumber",
      "type" : "Integer"
    }, {
      "id" : "paymentLines.n1",
      "column" : "n1",
      "ar" : "رقم 1",
      "en" : "Number 1",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.n2",
      "column" : "n2",
      "ar" : "رقم 2",
      "en" : "Number 2",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.paidCash",
      "column" : "paidCash",
      "ar" : "النقدية المدفوعة",
      "en" : "Paid Cash",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.paymentMethod",
      "column" : "paymentMethod_id",
      "ar" : "طريقة الدفع",
      "en" : " Payment Method",
      "type" : "Reference",
      "refTo" : "PaymentMethod",
      "refPath" : "/modules/basic/PaymentMethod.html"
    }, {
      "id" : "paymentLines.paymentTransactionType",
      "column" : "paymentTransactionType",
      "ar" : "نوع العملية",
      "en" : "Transaction Type",
      "type" : "Text"
    }, {
      "id" : "paymentLines.paymentValue",
      "column" : "paymentValue",
      "ar" : "المبلغ",
      "en" : "Payment Value",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.pgwProperties.authCode",
      "column" : "authCode",
      "ar" : "Auth Code / Txn Id",
      "en" : "Auth Code / Txn Id",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.cardType",
      "column" : "cardType",
      "ar" : "Card Type",
      "en" : "Card Type",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.de55Response",
      "column" : "de55Response",
      "ar" : "De55 Response",
      "en" : "De55 Response",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.ecrRefNum",
      "column" : "ecrRefNum",
      "ar" : "ECR Ref Number / Local Reference Number",
      "en" : "ECR Ref Number / Local Reference Number",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.failureMessage",
      "column" : "failureMessage",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.maskedCardNumber",
      "column" : "maskedCardNumber",
      "ar" : "Masked Card Number",
      "en" : "Masked Card Number",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.merchantId",
      "column" : "merchantId",
      "ar" : "Merchant Id",
      "en" : "Merchant Id",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.paidFromTerminal",
      "column" : "paidFromTerminal",
      "ar" : "مدفوعة بواسطة ال Terminal",
      "en" : "Paid From Terminal",
      "type" : "Boolean"
    }, {
      "id" : "paymentLines.pgwProperties.panNum",
      "column" : "panNum",
      "ar" : "PAN Number / ApprovalCode",
      "en" : "PAN Number / ApprovalCode",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.respCode",
      "column" : "respCode",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.schemeId",
      "column" : "schemeId",
      "ar" : "Scheme Id / Card Scheme Name",
      "en" : "Scheme Id / Card Scheme Name",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.stanNum",
      "column" : "stanNum",
      "ar" : "STAN Number / rrNumber",
      "en" : "STAN Number / rrNumber",
      "type" : "Text"
    }, {
      "id" : "paymentLines.pgwProperties.terminalId",
      "column" : "terminalId",
      "ar" : "Terminal Id / Device Serial No",
      "en" : "Terminal Id / Device Serial No",
      "type" : "Text"
    }, {
      "id" : "paymentLines.remainingCash",
      "column" : "remainingCash",
      "ar" : "النقديه المتبقيه",
      "en" : "Remaining Cash",
      "type" : "Decimal"
    }, {
      "id" : "paymentLines.text1",
      "column" : "text1",
      "ar" : "نــــص 1",
      "en" : "Text 1",
      "type" : "Text"
    }, {
      "id" : "paymentLines.text2",
      "column" : "text2",
      "ar" : "نـــــص 2",
      "en" : "Text 2",
      "type" : "Text"
    } ]
  } ]
}