{
  "ash" : {
    "generateResource" : "Y"
  },
  "attributes" : [
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "comment",
      "externalType" : "char",
      "name" : "comment",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "createDate",
      "externalType" : "datetime",
      "name" : "createDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "dueDate",
      "externalType" : "datetime",
      "isDateValueFloating" : "1",
      "name" : "dueDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "_rowid",
      "externalType" : "longlong",
      "internalInfo" : {
        "_nameInObjectStore" : "estimateID"
      },
      "isIndexed" : "Y",
      "name" : "estimateID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "estimateNumber",
      "externalType" : "char",
      "name" : "estimateNumber",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "estimatePDFID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "estimatePDFID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "estimateURLRefID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "estimateURLRefID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "modifyDate",
      "externalType" : "datetime",
      "name" : "modifyDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "name",
      "externalType" : "char",
      "name" : "name",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "opportunityID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "opportunityID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "sendToContactID",
      "externalType" : "longlong",
      "internalInfo" : {
        "_nameInObjectStore" : "sentToContactID"
      },
      "isIndexed" : "Y",
      "name" : "sendToContactID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "sendToCustom",
      "externalType" : "char",
      "internalInfo" : {
        "_nameInObjectStore" : "sentToCustom"
      },
      "name" : "sendToCustom",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "sendToOrgID",
      "externalType" : "longlong",
      "internalInfo" : {
        "_nameInObjectStore" : "sentToOrgID"
      },
      "isIndexed" : "Y",
      "name" : "sendToOrgID",
      "record" : {
        "allowsRecord" : "N",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "sentDate",
      "externalType" : "datetime",
      "name" : "sentDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "tax1",
      "defaultValue" : "0",
      "externalType" : "longlong",
      "name" : "tax1",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDecimalNumber",
      "valueType" : "f"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "tax1Name",
      "externalType" : "char",
      "name" : "tax1Name",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "tax2",
      "defaultValue" : "0",
      "externalType" : "longlong",
      "name" : "tax2",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDecimalNumber",
      "valueType" : "f"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "tax2Name",
      "externalType" : "char",
      "name" : "tax2Name",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : "0"
    },
    {
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "termsID",
      "externalType" : "longlong",
      "isIndexed" : "Y",
      "name" : "termsID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "l"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "useCompoundSecondaryTax",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "useCompoundSecondaryTax",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "useTax1",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "useTax1",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "useTax2",
      "defaultValue" : "0",
      "externalType" : "int",
      "name" : "useTax2",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "allowsNull" : "N",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "cachedTotal",
      "defaultValue" : "0",
      "externalType" : "longlong",
      "name" : "cachedTotal",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDecimalNumber",
      "valueType" : "f"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionUserID",
      "externalType" : "int",
      "isIndexed" : "Y",
      "name" : "deletionUserID",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSNumber",
      "valueType" : "i"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionDate",
      "externalType" : "datetime",
      "isIndexed" : "Y",
      "name" : "deletionDate",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSDate"
    },
    {
      "addedInModelVersion" : 0,
      "allowsNull" : "Y",
      "ash" : {
        "includeInResource" : "Y"
      },
      "columnName" : "deletionIdentifier",
      "externalType" : "char",
      "isIndexed" : "Y",
      "name" : "deletionIdentifier",
      "record" : {
        "allowsRecord" : "Y",
        "isInternal" : "N",
        "isUpdatable" : "Y"
      },
      "valueClassName" : "NSString",
      "width" : 255
    }
  ],
  "className" : "GWEstimate",
  "classProperties" : [
    "comment",
    "createDate",
    "dueDate",
    "estimateID",
    "estimateNumber",
    "estimatePDFID",
    "estimateURLRefID",
    "modifyDate",
    "name",
    "opportunityID",
    "sendToContactID",
    "sendToCustom",
    "sendToOrgID",
    "sentDate",
    "tax1",
    "tax1Name",
    "tax2",
    "tax2Name",
    "termsID",
    "useCompoundSecondaryTax",
    "useTax1",
    "useTax2",
    "cachedTotal",
    "deletionUserID",
    "deletionDate",
    "deletionIdentifier",
    "connectorMaps",
    "estimatePDF",
    "estimateURL",
    "lineItems",
    "opportunity",
    "sendToContact",
    "sendToOrg",
    "terms"
  ],
  "domain" : "Opportunities",
  "externalName" : "Estimate",
  "fetchSpecificationDictionary" : {

  },
  "fullTextSearchIndices" : [
    {
      "attributeNames" : [
        "name"
      ],
      "name" : "name"
    }
  ],
  "isDatabasePreference" : false,
  "isTrashable" : true,
  "name" : "Estimate",
  "primaryKeyAttributes" : [
    "estimateID"
  ],
  "record" : {
    "allowsRecord" : "Y",
    "isDirectlyUpdatable" : "Y"
  },
  "relationships" : [
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "ConnectorMap",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "estimateID",
          "sourceAttribute" : "estimateID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "connectorMaps",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "deleteRule" : "EODeleteRuleCascade",
      "destination" : "FileStorage",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "fileStorageID",
          "sourceAttribute" : "estimatePDFID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "estimatePDF",
      "ownsDestination" : "Y",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "URLReference",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "urlRefID",
          "sourceAttribute" : "estimateURLRefID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "estimateURL",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "LineItem",
      "isToMany" : "Y",
      "joins" : [
        {
          "destinationAttribute" : "estimateID",
          "sourceAttribute" : "estimateID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "lineItems",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Opportunity",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "opportunityID",
          "sourceAttribute" : "opportunityID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "opportunity",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Contact",
      "internalInfo" : {
        "_nameInObjectStore" : "sentToContact"
      },
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "contactID",
          "sourceAttribute" : "sendToContactID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "sendToContact",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "Organization",
      "internalInfo" : {
        "_nameInObjectStore" : "sentToOrg"
      },
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "organizationID",
          "sourceAttribute" : "sendToOrgID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "sendToOrg",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N",
        "recordName" : "sendToCompany"
      }
    },
    {
      "ash" : {
        "includeInResource" : "Y"
      },
      "destination" : "LargeData",
      "isToMany" : "N",
      "joins" : [
        {
          "destinationAttribute" : "largeDataID",
          "sourceAttribute" : "termsID"
        }
      ],
      "joinSemantic" : "EOInnerJoin",
      "name" : "terms",
      "record" : {
        "allowsRecord" : "Y",
        "isEmbedded" : "N",
        "isInternal" : "N",
        "propagatesUpdates" : "N"
      }
    }
  ],
  "supportedPlatforms" : "MCPSupportedPlatformsAll",
  "supportsPermissions" : false,
  "uniqueIdentifier" : "33"
}