<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/Common.xml">
    <edmx:Include Alias="Common" Namespace="com.sap.vocabularies.Common.v1"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
    <edmx:Include Alias="Core" Namespace="Org.OData.Core.V1"/>
  </edmx:Reference>
  <edmx:DataServices>
    <Schema Namespace="ExpenseRecordService" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityContainer Name="EntityContainer">
        <EntitySet Name="ExpenseRecordEntries" EntityType="ExpenseRecordService.ExpenseRecordEntries">
          <NavigationPropertyBinding Path="userId" Target="Users"/>
          <NavigationPropertyBinding Path="approverId" Target="Users"/>
          <NavigationPropertyBinding Path="policy" Target="Policies"/>
          <NavigationPropertyBinding Path="travelRequestEntries" Target="TravelRequestEntries"/>
          <NavigationPropertyBinding Path="expenses" Target="ExpenseRecordExpenses"/>
        </EntitySet>
        <EntitySet Name="ExpenseRecordExpenses" EntityType="ExpenseRecordService.ExpenseRecordExpenses">
          <NavigationPropertyBinding Path="expenseRecordExpenses" Target="ExpenseRecordEntries"/>
          <NavigationPropertyBinding Path="expenseType" Target="ExpenseTypes"/>
        </EntitySet>
        <EntitySet Name="TravelRequestEntries" EntityType="ExpenseRecordService.TravelRequestEntries">
          <NavigationPropertyBinding Path="userId" Target="Users"/>
          <NavigationPropertyBinding Path="approverId" Target="Users"/>
          <NavigationPropertyBinding Path="policy" Target="Policies"/>
          <NavigationPropertyBinding Path="travelRequestExpenses" Target="TravelRequestExpenses"/>
        </EntitySet>
        <EntitySet Name="EmployeeApproverMappings" EntityType="ExpenseRecordService.EmployeeApproverMappings">
          <NavigationPropertyBinding Path="employeeId" Target="Users"/>
          <NavigationPropertyBinding Path="approverId" Target="Users"/>
        </EntitySet>
        <EntitySet Name="Policies" EntityType="ExpenseRecordService.Policies"/>
        <EntitySet Name="Users" EntityType="ExpenseRecordService.Users">
          <NavigationPropertyBinding Path="dependents" Target="UserDependents"/>
        </EntitySet>
        <EntitySet Name="UserRoleMappings" EntityType="ExpenseRecordService.UserRoleMappings"/>
        <EntitySet Name="Roles" EntityType="ExpenseRecordService.Roles"/>
        <EntitySet Name="PolicyRules" EntityType="ExpenseRecordService.PolicyRules">
          <NavigationPropertyBinding Path="applicability" Target="Applicability"/>
        </EntitySet>
        <EntitySet Name="PolicyRulePolicies" EntityType="ExpenseRecordService.PolicyRulePolicies">
          <NavigationPropertyBinding Path="policy_id" Target="Policies"/>
          <NavigationPropertyBinding Path="rule_id" Target="PolicyRules"/>
        </EntitySet>
        <EntitySet Name="Applicability" EntityType="ExpenseRecordService.Applicability"/>
        <EntitySet Name="PolicyConditions" EntityType="ExpenseRecordService.PolicyConditions"/>
        <EntitySet Name="AuditRules" EntityType="ExpenseRecordService.AuditRules">
          <NavigationPropertyBinding Path="policies" Target="Policies"/>
        </EntitySet>
        <EntitySet Name="AuditConditions" EntityType="ExpenseRecordService.AuditConditions">
          <NavigationPropertyBinding Path="audit_rule" Target="AuditRules"/>
        </EntitySet>
        <EntitySet Name="WorkflowSteps" EntityType="ExpenseRecordService.WorkflowSteps">
          <NavigationPropertyBinding Path="escalation_rule" Target="PolicyRules"/>
        </EntitySet>
        <EntitySet Name="ExpenseRecordFields" EntityType="ExpenseRecordService.ExpenseRecordFields"/>
        <EntitySet Name="ExpenseTypesExpense" EntityType="ExpenseRecordService.ExpenseTypesExpense"/>
        <EntitySet Name="ExpenseTypes" EntityType="ExpenseRecordService.ExpenseTypes"/>
        <EntitySet Name="SegmentTypes" EntityType="ExpenseRecordService.SegmentTypes"/>
        <EntitySet Name="TravelRequestExpenses" EntityType="ExpenseRecordService.TravelRequestExpenses">
          <NavigationPropertyBinding Path="travelRequestEntries" Target="TravelRequestEntries"/>
          <NavigationPropertyBinding Path="expenseType" Target="SegmentTypes"/>
          <NavigationPropertyBinding Path="assigned_tmc" Target="Users"/>
          <NavigationPropertyBinding Path="assigned_ca_admin" Target="Users"/>
        </EntitySet>
        <EntitySet Name="ExpenseRecordWorkflow" EntityType="ExpenseRecordService.ExpenseRecordWorkflow">
          <NavigationPropertyBinding Path="expenseRecord" Target="ExpenseRecordEntries"/>
          <NavigationPropertyBinding Path="employee" Target="Users"/>
          <NavigationPropertyBinding Path="policy" Target="ExpensePolicies"/>
          <NavigationPropertyBinding Path="approver" Target="Users"/>
        </EntitySet>
        <EntitySet Name="ExpenseEmployeeApproverMappings" EntityType="ExpenseRecordService.ExpenseEmployeeApproverMappings">
          <NavigationPropertyBinding Path="user" Target="Users"/>
          <NavigationPropertyBinding Path="policy" Target="ExpensePolicies"/>
          <NavigationPropertyBinding Path="approver" Target="Users"/>
        </EntitySet>
        <EntitySet Name="PerDayAllowance" EntityType="ExpenseRecordService.PerDayAllowance">
          <NavigationPropertyBinding Path="policy" Target="ExpensePolicies"/>
        </EntitySet>
        <EntitySet Name="FuelAllowance" EntityType="ExpenseRecordService.FuelAllowance">
          <NavigationPropertyBinding Path="policy" Target="ExpensePolicies"/>
        </EntitySet>
        <EntitySet Name="ExpensePolicies" EntityType="ExpenseRecordService.ExpensePolicies"/>
        <EntitySet Name="RequestGroupPolicyMapping" EntityType="ExpenseRecordService.RequestGroupPolicyMapping">
          <NavigationPropertyBinding Path="policy" Target="Policies"/>
        </EntitySet>
        <EntitySet Name="ExpenseGroupPolicyMapping" EntityType="ExpenseRecordService.ExpenseGroupPolicyMapping">
          <NavigationPropertyBinding Path="policy" Target="Policies"/>
        </EntitySet>
        <EntitySet Name="Cities" EntityType="ExpenseRecordService.Cities"/>
        <EntitySet Name="AllCities" EntityType="ExpenseRecordService.AllCities"/>
        <EntitySet Name="ExtendedWorkflowApprovers" EntityType="ExpenseRecordService.ExtendedWorkflowApprovers">
          <NavigationPropertyBinding Path="user" Target="Users"/>
        </EntitySet>
        <EntitySet Name="UserDependents" EntityType="ExpenseRecordService.UserDependents">
          <NavigationPropertyBinding Path="user" Target="Users"/>
        </EntitySet>
        <ActionImport Name="createFromTravelRequest" Action="ExpenseRecordService.createFromTravelRequest"/>
        <ActionImport Name="saveExpenseRecord" Action="ExpenseRecordService.saveExpenseRecord"/>
        <ActionImport Name="updateExpenseRecord" Action="ExpenseRecordService.updateExpenseRecord"/>
        <ActionImport Name="saveOrUpdateExpenseRecordExpenses" Action="ExpenseRecordService.saveOrUpdateExpenseRecordExpenses"/>
        <ActionImport Name="saveOrUpdateExpenseRecordEntries" Action="ExpenseRecordService.saveOrUpdateExpenseRecordEntries"/>
        <ActionImport Name="processExpenseRecordApproval" Action="ExpenseRecordService.processExpenseRecordApproval"/>
        <ActionImport Name="checkApproverHierarchy" Action="ExpenseRecordService.checkApproverHierarchy"/>
        <ActionImport Name="updateRequiredFields" Action="ExpenseRecordService.updateRequiredFields"/>
        <ActionImport Name="approveExpenseRecord" Action="ExpenseRecordService.approveExpenseRecord"/>
        <ActionImport Name="getFuelRateByDistance" Action="ExpenseRecordService.getFuelRateByDistance"/>
        <ActionImport Name="getPerDayAllowanceRate" Action="ExpenseRecordService.getPerDayAllowanceRate"/>
        <ActionImport Name="checkDuplicateExpenseRecord" Action="ExpenseRecordService.checkDuplicateExpenseRecord"/>
      </EntityContainer>
      <EntityType Name="ExpenseRecordEntries">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="reject_comments" Type="Edm.String"/>
        <Property Name="reply_comments" Type="Edm.String"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="status" Type="Edm.String" MaxLength="50" DefaultValue="Pending"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <NavigationProperty Name="userId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="userId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="userId_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="approverId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="approverId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="approverId_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.Policies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="warnings" Type="Edm.String" MaxLength="1000"/>
        <Property Name="isEscalated" Type="Edm.Boolean"/>
        <NavigationProperty Name="travelRequestEntries" Type="ExpenseRecordService.TravelRequestEntries">
          <ReferentialConstraint Property="travelRequestEntries_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="travelRequestEntries_ID" Type="Edm.Guid"/>
        <Property Name="sap_sent" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="sap_sent_date" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="sap_batch_id" Type="Edm.String" MaxLength="100"/>
        <NavigationProperty Name="expenses" Type="Collection(ExpenseRecordService.ExpenseRecordExpenses)" Partner="expenseRecordExpenses">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <Property Name="downloaded" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="downloaded_at" Type="Edm.DateTimeOffset"/>
      </EntityType>
      <EntityType Name="ExpenseRecordExpenses">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="expenseRecordExpenses" Type="ExpenseRecordService.ExpenseRecordEntries" Partner="expenses">
          <ReferentialConstraint Property="expenseRecordExpenses_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="expenseRecordExpenses_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="expenseType" Type="ExpenseRecordService.ExpenseTypes">
          <ReferentialConstraint Property="expenseType_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="expenseType_ID" Type="Edm.Guid"/>
        <Property Name="estimated_amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="actual_amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="comments" Type="Edm.String" MaxLength="500"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="file_path" Type="Edm.String" MaxLength="2000"/>
        <Property Name="Itemization" Type="Edm.String"/>
      </EntityType>
      <EntityType Name="TravelRequestEntries">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="reply_comments" Type="Edm.String"/>
        <Property Name="reject_comments" Type="Edm.String"/>
        <Property Name="comments" Type="Edm.String"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="status" Type="Edm.String" MaxLength="50" DefaultValue="Pending"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <NavigationProperty Name="userId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="userId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="userId_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="approverId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="approverId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="approverId_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.Policies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="warnings" Type="Edm.String" MaxLength="1000"/>
        <Property Name="isEscalated" Type="Edm.Boolean"/>
        <Property Name="file_path" Type="Edm.String" MaxLength="2000"/>
        <Property Name="castatus" Type="Edm.String" MaxLength="50"/>
        <Property Name="sap_sent" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="sap_sent_date" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="sap_batch_id" Type="Edm.String" MaxLength="100"/>
        <NavigationProperty Name="travelRequestExpenses" Type="Collection(ExpenseRecordService.TravelRequestExpenses)" Partner="travelRequestEntries"/>
      </EntityType>
      <EntityType Name="EmployeeApproverMappings">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="employeeId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="employeeId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="employeeId_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="approverId" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="approverId_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="approverId_ID" Type="Edm.Guid"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="Policies">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="isInternationalPolicy" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="approvers_ID" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="Users">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="username" Type="Edm.String" MaxLength="100" Nullable="false"/>
        <Property Name="password" Type="Edm.String" MaxLength="100" Nullable="false"/>
        <Property Name="firstName" Type="Edm.String" MaxLength="32"/>
        <Property Name="middleName" Type="Edm.String" MaxLength="32"/>
        <Property Name="lastName" Type="Edm.String" MaxLength="32"/>
        <Property Name="employeeId" Type="Edm.String" MaxLength="48"/>
        <Property Name="position" Type="Edm.String" MaxLength="100"/>
        <Property Name="managerId" Type="Edm.String" MaxLength="100"/>
        <Property Name="managerName" Type="Edm.String" MaxLength="100"/>
        <Property Name="email" Type="Edm.String" MaxLength="255"/>
        <Property Name="passportNumber" Type="Edm.String" MaxLength="100"/>
        <Property Name="passportExpiryDate" Type="Edm.Date"/>
        <Property Name="aadharNumber" Type="Edm.String" MaxLength="100"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="is_active" Type="Edm.Boolean" DefaultValue="true"/>
        <Property Name="isTestUser" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="expenseUser" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="expenseApprover" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="requestUser" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="requestApprover" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="autoApproval" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="oneLevelApproval" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="mustChangePassword" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="passwordResetToken" Type="Edm.String" MaxLength="255"/>
        <Property Name="passwordResetExpiry" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="cashAdvanceAccountCode" Type="Edm.String" MaxLength="20"/>
        <Property Name="vendorId" Type="Edm.String" MaxLength="20"/>
        <Property Name="sbuId_ID" Type="Edm.Guid"/>
        <Property Name="costCenterId_ID" Type="Edm.Guid"/>
        <Property Name="departmentId_ID" Type="Edm.Guid"/>
        <Property Name="divisionId_ID" Type="Edm.Guid"/>
        <Property Name="designationId_ID" Type="Edm.Guid"/>
        <Property Name="gradeId_ID" Type="Edm.Guid"/>
        <Property Name="companyId_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel1_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel2_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel3_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel4_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel5_ID" Type="Edm.Guid"/>
        <Property Name="orgLevel6_ID" Type="Edm.Guid"/>
        <Property Name="ledgerId_ID" Type="Edm.Guid"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
        <Property Name="currencyId_ID" Type="Edm.Guid"/>
        <Property Name="countryId_ID" Type="Edm.Int32"/>
        <Property Name="endDate" Type="Edm.Date"/>
        <NavigationProperty Name="dependents" Type="Collection(ExpenseRecordService.UserDependents)" Partner="user">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
      </EntityType>
      <EntityType Name="UserRoleMappings">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="userId" Type="Edm.Guid"/>
        <Property Name="roleId" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="Roles">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100" Nullable="false"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="PolicyRules">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="applicability" Type="ExpenseRecordService.Applicability">
          <ReferentialConstraint Property="applicability_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="applicability_ID" Type="Edm.Guid"/>
        <Property Name="stop_type" Type="Edm.String" MaxLength="20"/>
        <Property Name="requires_escalation" Type="Edm.Boolean"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
      </EntityType>
      <EntityType Name="PolicyRulePolicies">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="policy_id" Type="ExpenseRecordService.Policies">
          <ReferentialConstraint Property="policy_id_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_id_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="rule_id" Type="ExpenseRecordService.PolicyRules">
          <ReferentialConstraint Property="rule_id_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="rule_id_ID" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="Applicability">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="is_global" Type="Edm.Boolean"/>
        <Property Name="expense_category_id" Type="Edm.Guid"/>
        <Property Name="expense_type_id" Type="Edm.Guid"/>
        <Property Name="cost_centers" Type="Edm.String"/>
        <Property Name="departments" Type="Edm.String"/>
        <Property Name="sbus" Type="Edm.String"/>
        <Property Name="designations" Type="Edm.String"/>
        <Property Name="grades" Type="Edm.String"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="PolicyConditions">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="policy_rule_id" Type="Edm.Guid"/>
        <Property Name="field_name" Type="Edm.String" MaxLength="50"/>
        <Property Name="operator" Type="Edm.String" MaxLength="10"/>
        <Property Name="value" Type="Edm.String" MaxLength="50"/>
        <Property Name="requires_escalation" Type="Edm.Boolean"/>
        <Property Name="logical_operator" Type="Edm.String" MaxLength="10"/>
        <Property Name="sequence" Type="Edm.Int32"/>
        <Property Name="group_id" Type="Edm.Int32"/>
        <Property Name="external_source" Type="Edm.String" MaxLength="200"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="AuditRules">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="rule_type" Type="Edm.String" MaxLength="50"/>
        <Property Name="applies_to_all_policies" Type="Edm.Boolean"/>
        <NavigationProperty Name="policies" Type="Collection(ExpenseRecordService.Policies)"/>
        <Property Name="policies_ID" Type="Edm.Guid"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="AuditConditions">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="audit_rule" Type="ExpenseRecordService.AuditRules">
          <ReferentialConstraint Property="audit_rule_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="audit_rule_ID" Type="Edm.Guid"/>
        <Property Name="condition_key" Type="Edm.String" MaxLength="50"/>
        <Property Name="operator" Type="Edm.String" MaxLength="10"/>
        <Property Name="threshold_value" Type="Edm.String" MaxLength="50"/>
        <Property Name="logical_operator" Type="Edm.String" MaxLength="10"/>
      </EntityType>
      <EntityType Name="WorkflowSteps">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workflow_ID" Type="Edm.Guid"/>
        <Property Name="step_number" Type="Edm.Int32"/>
        <Property Name="approver_level" Type="Edm.String" MaxLength="50"/>
        <NavigationProperty Name="escalation_rule" Type="ExpenseRecordService.PolicyRules">
          <ReferentialConstraint Property="escalation_rule_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="escalation_rule_ID" Type="Edm.Guid"/>
        <Property Name="requires_comment" Type="Edm.Boolean"/>
      </EntityType>
      <EntityType Name="ExpenseRecordFields">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="required_fields" Type="Edm.String" MaxLength="4000"/>
        <Property Name="required_field_options" Type="Edm.String" MaxLength="4000"/>
        <Property Name="core_fields" Type="Edm.String" MaxLength="4000"/>
        <Property Name="core_field_options" Type="Edm.String" MaxLength="4000"/>
      </EntityType>
      <EntityType Name="ExpenseTypesExpense">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="requires_escalation" Type="Edm.Boolean"/>
        <Property Name="required_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_field_options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="category_ID" Type="Edm.Guid"/>
        <Property Name="code" Type="Edm.String" MaxLength="100"/>
      </EntityType>
      <EntityType Name="ExpenseTypes">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="requires_escalation" Type="Edm.Boolean"/>
        <Property Name="required_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_field_options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="code" Type="Edm.String" MaxLength="100"/>
        <Property Name="isNonTravelPolicy" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="isIntracityPolicy" Type="Edm.Boolean" DefaultValue="false"/>
      </EntityType>
      <EntityType Name="SegmentTypes">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="requires_escalation" Type="Edm.Boolean"/>
        <Property Name="required_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_fields" Type="Edm.String" MaxLength="5000"/>
        <Property Name="core_field_options" Type="Edm.String" MaxLength="5000"/>
        <Property Name="code" Type="Edm.String" MaxLength="100"/>
      </EntityType>
      <EntityType Name="TravelRequestExpenses">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="travelRequestEntries" Type="ExpenseRecordService.TravelRequestEntries" Partner="travelRequestExpenses">
          <ReferentialConstraint Property="travelRequestEntries_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="travelRequestEntries_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="expenseType" Type="ExpenseRecordService.SegmentTypes">
          <ReferentialConstraint Property="expenseType_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="expenseType_ID" Type="Edm.Guid"/>
        <Property Name="estimated_amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="file_path" Type="Edm.String" MaxLength="2000"/>
        <NavigationProperty Name="assigned_tmc" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="assigned_tmc_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="assigned_tmc_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="assigned_ca_admin" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="assigned_ca_admin_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="assigned_ca_admin_ID" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="ExpenseRecordWorkflow">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="expenseRecord" Type="ExpenseRecordService.ExpenseRecordEntries">
          <ReferentialConstraint Property="expenseRecord_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="expenseRecord_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="employee" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="employee_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="employee_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.ExpensePolicies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="approver" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="approver_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="approver_ID" Type="Edm.Guid"/>
        <Property Name="approverLevel_ID" Type="Edm.Guid"/>
        <Property Name="order" Type="Edm.Int32"/>
        <Property Name="status" Type="Edm.String" MaxLength="50" DefaultValue="Pending"/>
        <Property Name="isCompleted" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="isEscalated" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="isWorkflow" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="ExpenseEmployeeApproverMappings">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="user" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="user_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="user_ID" Type="Edm.Guid"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.ExpensePolicies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="approverLevel_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="approver" Type="ExpenseRecordService.Users">
          <ReferentialConstraint Property="approver_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="approver_ID" Type="Edm.Guid"/>
        <Property Name="order" Type="Edm.Int32"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="PerDayAllowance">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="PerDayAllowanceName" Type="Edm.String"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.ExpensePolicies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="FuelAllowance">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="FuelAllowanceName" Type="Edm.String"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.ExpensePolicies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="currency_ID" Type="Edm.Guid"/>
        <Property Name="vehicleType" Type="Edm.String"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="ExpensePolicies">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="isInternationalPolicy" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="isNonTravelPolicy" Type="Edm.Boolean" DefaultValue="false"/>
        <Property Name="isIntracityPolicy" Type="Edm.Boolean" DefaultValue="false"/>
      </EntityType>
      <EntityType Name="RequestGroupPolicyMapping">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.Policies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="ExpenseGroupPolicyMapping">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="policy" Type="ExpenseRecordService.Policies">
          <ReferentialConstraint Property="policy_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="group_ID" Type="Edm.Guid"/>
      </EntityType>
      <EntityType Name="Cities">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Int32" Nullable="false"/>
        <Property Name="city" Type="Edm.String" MaxLength="255"/>
        <Property Name="name" Type="Edm.String" MaxLength="255"/>
        <Property Name="countryCode" Type="Edm.String" MaxLength="10"/>
        <Property Name="country_ID" Type="Edm.Int32"/>
      </EntityType>
      <EntityType Name="AllCities">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="255"/>
        <Property Name="countryCode" Type="Edm.String" MaxLength="255"/>
        <Property Name="country" Type="Edm.String" MaxLength="255"/>
      </EntityType>
      <EntityType Name="ExtendedWorkflowApprovers">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="module" Type="Edm.String" MaxLength="50" Nullable="false"/>
        <NavigationProperty Name="user" Type="ExpenseRecordService.Users" Nullable="false">
          <ReferentialConstraint Property="user_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="user_ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="displayName" Type="Edm.String" MaxLength="100"/>
        <Property Name="order" Type="Edm.Int32" Nullable="false"/>
        <Property Name="isActive" Type="Edm.Boolean" DefaultValue="true"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
      </EntityType>
      <EntityType Name="UserDependents">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <NavigationProperty Name="user" Type="ExpenseRecordService.Users" Partner="dependents">
          <ReferentialConstraint Property="user_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="user_ID" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" MaxLength="255"/>
        <Property Name="relation" Type="Edm.String" MaxLength="50"/>
        <Property Name="passportNumber" Type="Edm.String" MaxLength="100"/>
        <Property Name="passportExpiryDate" Type="Edm.Date"/>
        <Property Name="aadharNumber" Type="Edm.String" MaxLength="100"/>
      </EntityType>
      <ComplexType Name="ExpenseRecordInputType">
        <Property Name="ID" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" MaxLength="100"/>
        <Property Name="description" Type="Edm.String" MaxLength="255"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="comments" Type="Edm.String"/>
        <Property Name="reject_comments" Type="Edm.String"/>
        <Property Name="reply_comments" Type="Edm.String" MaxLength="255"/>
        <Property Name="start_date" Type="Edm.Date"/>
        <Property Name="end_date" Type="Edm.Date"/>
        <Property Name="status" Type="Edm.String" MaxLength="50"/>
        <Property Name="created_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="updated_at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="userId_ID" Type="Edm.Guid"/>
        <Property Name="approverId_ID" Type="Edm.Guid"/>
        <Property Name="policy_ID" Type="Edm.Guid"/>
        <Property Name="travelRequest_ID" Type="Edm.Guid"/>
        <Property Name="warnings" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="recall" Type="Edm.String" MaxLength="10"/>
        <Property Name="isSubmit" Type="Edm.Boolean"/>
      </ComplexType>
      <ComplexType Name="SaveExpenseResponse">
        <Property Name="ID" Type="Edm.Guid"/>
        <Property Name="file_path" Type="Edm.String" MaxLength="255"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="warnings" Type="Collection(Edm.String)" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="SaveExpenseInput">
        <Property Name="ID" Type="Edm.Guid"/>
        <Property Name="expenseRecord_ID" Type="Edm.Guid"/>
        <Property Name="expenseType_ID" Type="Edm.Guid"/>
        <Property Name="estimated_amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="actual_amount" Type="Edm.Decimal" Precision="15" Scale="2"/>
        <Property Name="details" Type="Edm.String"/>
        <Property Name="comments" Type="Edm.String" MaxLength="500"/>
        <Property Name="new_files" Type="Collection(Edm.String)" MaxLength="255" Nullable="false"/>
        <Property Name="removed_files" Type="Collection(Edm.String)" MaxLength="255" Nullable="false"/>
        <Property Name="files" Type="Collection(ExpenseRecordService.SaveExpenseInput_files)" Nullable="false"/>
        <Property Name="Itemization" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="SaveExpenseInput_files">
        <Property Name="name" Type="Edm.String" MaxLength="255"/>
        <Property Name="type" Type="Edm.String"/>
        <Property Name="content" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="return_ExpenseRecordService_getFuelRateByDistance">
        <Property Name="currency_ID" Type="Edm.Guid"/>
        <Property Name="calculated_amount" Type="Edm.Decimal" Precision="10" Scale="2"/>
      </ComplexType>
      <ComplexType Name="return_ExpenseRecordService_getPerDayAllowanceRate">
        <Property Name="included_days" Type="Edm.Int32"/>
        <Property Name="total_amount" Type="Edm.Decimal" Precision="10" Scale="2"/>
        <Property Name="currency_ID" Type="Edm.Guid"/>
      </ComplexType>
      <ComplexType Name="return_ExpenseRecordService_checkDuplicateExpenseRecord">
        <Property Name="isDuplicate" Type="Edm.Boolean"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="existingRecordID" Type="Edm.Guid"/>
      </ComplexType>
      <Action Name="createFromTravelRequest" IsBound="false">
        <Parameter Name="travelRequestID" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Action Name="saveExpenseRecord" IsBound="false">
        <Parameter Name="data" Type="ExpenseRecordService.ExpenseRecordInputType"/>
        <ReturnType Type="ExpenseRecordService.ExpenseRecordInputType"/>
      </Action>
      <Action Name="updateExpenseRecord" IsBound="false">
        <Parameter Name="data" Type="ExpenseRecordService.ExpenseRecordInputType"/>
        <ReturnType Type="ExpenseRecordService.ExpenseRecordInputType"/>
      </Action>
      <Action Name="saveOrUpdateExpenseRecordExpenses" IsBound="false">
        <Parameter Name="data" Type="ExpenseRecordService.SaveExpenseInput"/>
        <ReturnType Type="ExpenseRecordService.SaveExpenseResponse"/>
      </Action>
      <Action Name="saveOrUpdateExpenseRecordEntries" IsBound="false">
        <Parameter Name="data" Type="ExpenseRecordService.ExpenseRecordInputType"/>
        <ReturnType Type="ExpenseRecordService.ExpenseRecordInputType"/>
      </Action>
      <Action Name="processExpenseRecordApproval" IsBound="false">
        <Parameter Name="expenseRecord_ID" Type="Edm.Guid"/>
        <Parameter Name="status" Type="Edm.String"/>
        <Parameter Name="reject_comments" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Action Name="checkApproverHierarchy" IsBound="false">
        <Parameter Name="requestId" Type="Edm.Guid"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Action Name="updateRequiredFields" IsBound="false">
        <Parameter Name="id" Type="Edm.String"/>
        <Parameter Name="required_fields" Type="Edm.String"/>
        <Parameter Name="required_field_options" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Action Name="approveExpenseRecord" IsBound="false">
        <Parameter Name="expenseRecord_ID" Type="Edm.Guid"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Action Name="getFuelRateByDistance" IsBound="false">
        <Parameter Name="policy_ID" Type="Edm.Guid"/>
        <Parameter Name="distance" Type="Edm.Int32"/>
        <Parameter Name="vehicleType" Type="Edm.String"/>
        <ReturnType Type="ExpenseRecordService.return_ExpenseRecordService_getFuelRateByDistance"/>
      </Action>
      <Action Name="getPerDayAllowanceRate" IsBound="false">
        <Parameter Name="policy_ID" Type="Edm.Guid"/>
        <Parameter Name="location_ID" Type="Edm.String"/>
        <Parameter Name="arrival_datetime" Type="Edm.DateTimeOffset" Precision="7"/>
        <Parameter Name="departure_datetime" Type="Edm.DateTimeOffset" Precision="7"/>
        <ReturnType Type="ExpenseRecordService.return_ExpenseRecordService_getPerDayAllowanceRate"/>
      </Action>
      <Action Name="checkDuplicateExpenseRecord" IsBound="false">
        <Parameter Name="policy_ID" Type="Edm.Guid"/>
        <Parameter Name="start_date" Type="Edm.Date"/>
        <Parameter Name="end_date" Type="Edm.Date"/>
        <Parameter Name="userId" Type="Edm.Guid"/>
        <ReturnType Type="ExpenseRecordService.return_ExpenseRecordService_checkDuplicateExpenseRecord"/>
      </Action>
      <Annotations Target="ExpenseRecordService.ExpenseRecordEntries/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseRecordExpenses/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.TravelRequestEntries/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.EmployeeApproverMappings/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.Policies/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.Users/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.UserRoleMappings/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.Roles/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.PolicyRules/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.PolicyRulePolicies/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.Applicability/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.PolicyConditions/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.AuditRules/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.AuditConditions/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.WorkflowSteps/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseRecordFields/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseTypesExpense/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseTypes/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.SegmentTypes/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.TravelRequestExpenses/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseRecordWorkflow/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseEmployeeApproverMappings/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.PerDayAllowance/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.FuelAllowance/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpensePolicies/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.RequestGroupPolicyMapping/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExpenseGroupPolicyMapping/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.AllCities/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.ExtendedWorkflowApprovers/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="ExpenseRecordService.UserDependents/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>