{
    "rest": true,
    "allowMapping": true,
    "type": "itemreceipt",
    "id": "itemreceipt",
    "criteria": "transaction",
    "select": "",
    "where": "WHERE type = 'ItemRcpt' AND voided = 'F'",
    "inner": "",
    "ignore": [
        "class", "department"
    ],
    "mapping": {
        "title": "tranId",
        "entity": "entity",
        "exchangerate": "exchangeRate",
        "memo": "memo",
        "trandate": "tranDate",
        "location": "location",
        "class": "class",
        "department": "department",
        "subsidiary": "subsidiary"
    },
    "dependencies": {
        "pricelevel": {
            "name": "Price Levels",
            "model": "PriceLevel",
            "path": "/src/Domain/PriceLevels/Data/criteria.json"
        },
        "classification": {
            "name": "Classification",
            "model": "Classification",
            "path": "/src/Domain/Classifications/Data/criteria.json"
        },
        "department": {
            "name": "Department",
            "model": "Department",
            "path": "/src/Domain/Departments/Data/criteria.json"
        },
        "noninventoryitem": {
            "name": "Non-Inventory Items",
            "model": "NonInventoryItem",
            "path": "/src/Domain/NonInventoryItems/Data/criteria.json"
        },
        "subtotalitem": {
            "name": "Subtotal Items",
            "model": "Subtotal",
            "path": "/src/Domain/Subtotals/Data/criteria.json"
        },
        "markupitem": {
            "name": "Mark Up Items",
            "model": "MarkUp",
            "path": "/src/Domain/MarkUps/Data/criteria.json"
        },
        "descriptionitem": {
            "name": "Description Items",
            "model": "DescriptionItem",
            "path": "/src/Domain/DescriptionItems/Data/criteria.json"
        },
        "othercharge": {
            "name": "OtherCharge Charge Items",
            "model": "Subtotal",
            "path": "/src/Domain/OtherCharges/Data/criteria.json"
        },
        "discountitem": {
            "name": "Discount Items",
            "model": "DiscountItem",
            "path": "/src/Domain/DiscountItems/Data/criteria.json"
        },
        "discountitem": {
            "name": "Discount Items",
            "model": "DiscountItem",
            "path": "/src/Domain/DiscountItems/Data/criteria.json"
        },
        "serviceitem": {
            "name": "Service Items",
            "model": "ServiceItem",
            "path": "/src/Domain/ServiceItems/Data/criteria.json"
        },
        "inventoryitem": {
            "name": "Inventory Items",
            "model": "InventoryItem",
            "path": "/src/Domain/InventoryItems/Data/criteria.json"
        },
        "estimateline": {
            "name": "Transaction Lines",
            "model": "TransactionLine",
            "path": "/src/Domain/TransactionLines/Data/criteria.json",
            "where": "WHERE transaction.type = 'ItemRcpt'"
        },
        "pricegroup": {
            "name": "Pricing Group",
            "model": "PricingGroup",
            "path": "/src/Domain/PricingGroups/Data/criteria.json"
        }
    }
}
