<?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://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml">
    <edmx:Include Alias="Capabilities" Namespace="Org.OData.Capabilities.V1"/>
  </edmx:Reference>
  <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:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/HTML5.xml">
    <edmx:Include Alias="HTML5" Namespace="com.sap.vocabularies.HTML5.v1"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml">
    <edmx:Include Alias="UI" Namespace="com.sap.vocabularies.UI.v1"/>
  </edmx:Reference>
  <edmx:DataServices>
    <Schema Namespace="DadosMestresService" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <Annotation Term="Core.Links">
        <Collection>
          <Record>
            <PropertyValue Property="rel" String="author"/>
            <PropertyValue Property="href" String="https://cap.cloud.sap"/>
          </Record>
        </Collection>
      </Annotation>
      <EntityContainer Name="EntityContainer">
        <EntitySet Name="Tipos" EntityType="DadosMestresService.Tipos">
          <NavigationPropertyBinding Path="historico" Target="Historico"/>
          <NavigationPropertyBinding Path="module" Target="ModuloVH"/>
          <NavigationPropertyBinding Path="transactions" Target="Transacoes"/>
          <NavigationPropertyBinding Path="texts" Target="Tipos_texts"/>
          <NavigationPropertyBinding Path="localized" Target="Tipos_texts"/>
          <NavigationPropertyBinding Path="SiblingEntity" Target="Tipos"/>
        </EntitySet>
        <EntitySet Name="Historico" EntityType="DadosMestresService.Historico"/>
        <EntitySet Name="ModuloVH" EntityType="DadosMestresService.ModuloVH"/>
        <EntitySet Name="Transacoes" EntityType="DadosMestresService.Transacoes">
          <NavigationPropertyBinding Path="masterDataType" Target="Tipos"/>
          <NavigationPropertyBinding Path="texts" Target="Transacoes_texts"/>
          <NavigationPropertyBinding Path="localized" Target="Transacoes_texts"/>
          <NavigationPropertyBinding Path="SiblingEntity" Target="Transacoes"/>
        </EntitySet>
        <EntitySet Name="TipoTransacaoVH" EntityType="DadosMestresService.TipoTransacaoVH"/>
        <EntitySet Name="Transacoes_texts" EntityType="DadosMestresService.Transacoes_texts"/>
        <EntitySet Name="Tipos_texts" EntityType="DadosMestresService.Tipos_texts"/>
        <FunctionImport Name="traducoes" Function="DadosMestresService.traducoes"/>
        <ActionImport Name="gravarTraducoes" Action="DadosMestresService.gravarTraducoes"/>
      </EntityContainer>
      <EntityType Name="Tipos">
        <Key>
          <PropertyRef Name="ID"/>
          <PropertyRef Name="IsActiveEntity"/>
        </Key>
        <NavigationProperty Name="historico" Type="Collection(DadosMestresService.Historico)"/>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="code" Type="Edm.String" MaxLength="30"/>
        <Property Name="name" Type="Edm.String" MaxLength="120"/>
        <NavigationProperty Name="module" Type="DadosMestresService.ModuloVH">
          <ReferentialConstraint Property="module_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="module_ID" Type="Edm.Guid"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
        <Property Name="origin" Type="Edm.String" MaxLength="20" DefaultValue="manual"/>
        <Property Name="active" Type="Edm.Boolean" DefaultValue="true"/>
        <NavigationProperty Name="transactions" Type="Collection(DadosMestresService.Transacoes)" Partner="masterDataType">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <NavigationProperty Name="texts" Type="Collection(DadosMestresService.Tipos_texts)">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <NavigationProperty Name="localized" Type="DadosMestresService.Tipos_texts">
          <ReferentialConstraint Property="ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="nTransacoes" Type="Edm.Int32"/>
        <Property Name="emUso" Type="Edm.String"/>
        <Property Name="IsActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="true"/>
        <Property Name="HasActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
        <Property Name="HasDraftEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
        <NavigationProperty Name="DraftAdministrativeData" Type="DadosMestresService.DraftAdministrativeData" ContainsTarget="true"/>
        <NavigationProperty Name="SiblingEntity" Type="DadosMestresService.Tipos"/>
        <Property Name="DraftMessages" Type="Collection(DadosMestresService.DRAFT_DraftAdministrativeData_DraftMessage)" Nullable="true"/>
      </EntityType>
      <EntityType Name="Historico">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="rootKey" Type="Edm.Guid"/>
        <Property Name="rootEntity" Type="Edm.String" MaxLength="60"/>
        <Property Name="projectId" Type="Edm.Guid"/>
        <Property Name="at" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="action" Type="Edm.String" MaxLength="20"/>
        <Property Name="objeto" Type="Edm.String" MaxLength="120"/>
        <Property Name="field" Type="Edm.String" MaxLength="80"/>
        <Property Name="oldValue" Type="Edm.String" MaxLength="2000"/>
        <Property Name="newValue" Type="Edm.String" MaxLength="2000"/>
        <Property Name="reason" Type="Edm.String" MaxLength="500"/>
        <Property Name="campoTexto" Type="Edm.String"/>
        <Property Name="acaoTexto" Type="Edm.String"/>
      </EntityType>
      <EntityType Name="ModuloVH">
        <Key>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="code" Type="Edm.String" MaxLength="10"/>
        <Property Name="name" Type="Edm.String" MaxLength="80"/>
        <Property Name="active" Type="Edm.Boolean" DefaultValue="true"/>
      </EntityType>
      <EntityType Name="Transacoes">
        <Key>
          <PropertyRef Name="ID"/>
          <PropertyRef Name="IsActiveEntity"/>
        </Key>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="createdBy" Type="Edm.String" MaxLength="255"/>
        <Property Name="modifiedAt" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="modifiedBy" Type="Edm.String" MaxLength="255"/>
        <NavigationProperty Name="masterDataType" Type="DadosMestresService.Tipos" Partner="transactions">
          <ReferentialConstraint Property="masterDataType_ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="masterDataType_ID" Type="Edm.Guid"/>
        <Property Name="code" Type="Edm.String" MaxLength="30"/>
        <Property Name="type" Type="Edm.String" MaxLength="20" DefaultValue="transacao"/>
        <Property Name="name" Type="Edm.String" MaxLength="160"/>
        <Property Name="sapSystemLink" Type="Edm.String" MaxLength="500"/>
        <Property Name="order" Type="Edm.Int32" DefaultValue="0"/>
        <NavigationProperty Name="texts" Type="Collection(DadosMestresService.Transacoes_texts)">
          <OnDelete Action="Cascade"/>
        </NavigationProperty>
        <NavigationProperty Name="localized" Type="DadosMestresService.Transacoes_texts">
          <ReferentialConstraint Property="ID" ReferencedProperty="ID"/>
        </NavigationProperty>
        <Property Name="IsActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="true"/>
        <Property Name="HasActiveEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
        <Property Name="HasDraftEntity" Type="Edm.Boolean" Nullable="false" DefaultValue="false"/>
        <NavigationProperty Name="DraftAdministrativeData" Type="DadosMestresService.DraftAdministrativeData" ContainsTarget="true"/>
        <NavigationProperty Name="SiblingEntity" Type="DadosMestresService.Transacoes"/>
        <Property Name="DraftMessages" Type="Collection(DadosMestresService.DRAFT_DraftAdministrativeData_DraftMessage)" Nullable="true"/>
      </EntityType>
      <EntityType Name="TipoTransacaoVH">
        <Key>
          <PropertyRef Name="code"/>
        </Key>
        <Property Name="code" Type="Edm.String" MaxLength="20" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="60"/>
      </EntityType>
      <EntityType Name="DraftAdministrativeData">
        <Key>
          <PropertyRef Name="DraftUUID"/>
        </Key>
        <Property Name="DraftUUID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="CreationDateTime" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="CreatedByUser" Type="Edm.String" MaxLength="256"/>
        <Property Name="DraftIsCreatedByMe" Type="Edm.Boolean"/>
        <Property Name="LastChangeDateTime" Type="Edm.DateTimeOffset" Precision="7"/>
        <Property Name="LastChangedByUser" Type="Edm.String" MaxLength="256"/>
        <Property Name="InProcessByUser" Type="Edm.String" MaxLength="256"/>
        <Property Name="DraftIsProcessedByMe" Type="Edm.Boolean"/>
      </EntityType>
      <EntityType Name="Transacoes_texts">
        <Key>
          <PropertyRef Name="locale"/>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="locale" Type="Edm.String" MaxLength="14" Nullable="false"/>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="160"/>
      </EntityType>
      <EntityType Name="Tipos_texts">
        <Key>
          <PropertyRef Name="locale"/>
          <PropertyRef Name="ID"/>
        </Key>
        <Property Name="locale" Type="Edm.String" MaxLength="14" Nullable="false"/>
        <Property Name="ID" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" MaxLength="120"/>
        <Property Name="description" Type="Edm.String" MaxLength="500"/>
      </EntityType>
      <ComplexType Name="DRAFT_DraftAdministrativeData_DraftMessage">
        <Property Name="code" Type="Edm.String"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="target" Type="Edm.String"/>
        <Property Name="additionalTargets" Type="Collection(Edm.String)" Nullable="true"/>
        <Property Name="transition" Type="Edm.Boolean"/>
        <Property Name="numericSeverity" Type="Edm.Byte"/>
        <Property Name="longtextUrl" Type="Edm.String"/>
      </ComplexType>
      <Action Name="draftPrepare" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="DadosMestresService.Tipos"/>
        <Parameter Name="SideEffectsQualifier" Type="Edm.String"/>
        <ReturnType Type="DadosMestresService.Tipos"/>
      </Action>
      <Action Name="draftPrepare" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="DadosMestresService.Transacoes"/>
        <Parameter Name="SideEffectsQualifier" Type="Edm.String"/>
        <ReturnType Type="DadosMestresService.Transacoes"/>
      </Action>
      <Action Name="draftActivate" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="DadosMestresService.Tipos"/>
        <ReturnType Type="DadosMestresService.Tipos"/>
      </Action>
      <Action Name="draftEdit" IsBound="true" EntitySetPath="in">
        <Parameter Name="in" Type="DadosMestresService.Tipos"/>
        <Parameter Name="PreserveChanges" Type="Edm.Boolean"/>
        <ReturnType Type="DadosMestresService.Tipos"/>
      </Action>
      <Function Name="traducoes" IsBound="false" IsComposable="false">
        <Parameter Name="id" Type="Edm.Guid"/>
        <Parameter Name="tipo" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Function>
      <Action Name="gravarTraducoes" IsBound="false">
        <Parameter Name="id" Type="Edm.Guid"/>
        <Parameter Name="tipo" Type="Edm.String"/>
        <Parameter Name="linhas" Type="Edm.String"/>
        <ReturnType Type="Edm.String"/>
      </Action>
      <Annotations Target="DadosMestresService.EntityContainer">
        <Annotation Term="Common.AddressViaNavigationPath" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos">
        <Annotation Term="UI.HeaderInfo">
          <Record Type="UI.HeaderInfoType">
            <PropertyValue Property="TypeName" String="Master data type"/>
            <PropertyValue Property="TypeNamePlural" String="Master data types"/>
            <PropertyValue Property="Title">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="name"/>
              </Record>
            </PropertyValue>
            <PropertyValue Property="Description">
              <Record Type="UI.DataField">
                <PropertyValue Property="Value" Path="code"/>
              </Record>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.SelectionFields">
          <Collection>
            <PropertyPath>code</PropertyPath>
            <PropertyPath>name</PropertyPath>
            <PropertyPath>module_ID</PropertyPath>
            <PropertyPath>origin</PropertyPath>
            <PropertyPath>active</PropertyPath>
          </Collection>
        </Annotation>
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="code"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.LineItem">
          <Collection>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="code"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="name"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="module_ID"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="7rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="nTransacoes"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="7rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="origin"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="7rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="active"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="5rem"/>
                </Record>
              </Annotation>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="UI.Facets">
          <Collection>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Geral"/>
              <PropertyValue Property="Label" String="General data"/>
              <PropertyValue Property="Target" AnnotationPath="@UI.FieldGroup#Geral"/>
            </Record>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Transacoes"/>
              <PropertyValue Property="Label" String="Transactions and apps"/>
              <PropertyValue Property="Target" AnnotationPath="transactions/@UI.LineItem"/>
            </Record>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Registro"/>
              <PropertyValue Property="Label" String="Record"/>
              <PropertyValue Property="Target" AnnotationPath="@UI.FieldGroup#Registro"/>
            </Record>
            <Record Type="UI.ReferenceFacet">
              <PropertyValue Property="ID" String="Historico"/>
              <PropertyValue Property="Label" String="Change history"/>
              <PropertyValue Property="Target" AnnotationPath="historico/@UI.PresentationVariant"/>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="UI.FieldGroup" Qualifier="Geral">
          <Record Type="UI.FieldGroupType">
            <PropertyValue Property="Data">
              <Collection>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="code"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="name"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="module_ID"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="description"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="origin"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="active"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="emUso"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.FieldGroup" Qualifier="Registro">
          <Record Type="UI.FieldGroupType">
            <PropertyValue Property="Data">
              <Collection>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="createdBy"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="createdAt"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="modifiedBy"/>
                </Record>
                <Record Type="UI.DataField">
                  <PropertyValue Property="Value" Path="modifiedAt"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.SideEffects" Qualifier="alwaysFetchMessages">
          <Record Type="Common.SideEffectsType">
            <PropertyValue Property="SourceEntities">
              <Collection>
                <NavigationPropertyPath></NavigationPropertyPath>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="TargetProperties">
              <Collection>
                <String>DraftMessages</String>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.Messages" Path="DraftMessages"/>
      </Annotations>
      <Annotations Target="DadosMestresService.EntityContainer/Tipos">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="code"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.SortRestrictions">
          <Record Type="Capabilities.SortRestrictionsType">
            <PropertyValue Property="NonSortableProperties">
              <Collection>
                <PropertyPath>nTransacoes</PropertyPath>
                <PropertyPath>emUso</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.FilterRestrictions">
          <Record Type="Capabilities.FilterRestrictionsType">
            <PropertyValue Property="NonFilterableProperties">
              <Collection>
                <PropertyPath>nTransacoes</PropertyPath>
                <PropertyPath>emUso</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.DraftRoot">
          <Record Type="Common.DraftRootType">
            <PropertyValue Property="ActivationAction" String="DadosMestresService.draftActivate"/>
            <PropertyValue Property="EditAction" String="DadosMestresService.draftEdit"/>
            <PropertyValue Property="PreparationAction" String="DadosMestresService.draftPrepare"/>
          </Record>
        </Annotation>
        <Annotation Term="Common.SideEffects" Qualifier="alwaysFetchMessages">
          <Record Type="Common.SideEffectsType">
            <PropertyValue Property="SourceEntities">
              <Collection>
                <NavigationPropertyPath></NavigationPropertyPath>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="TargetProperties">
              <Collection>
                <String>DraftMessages</String>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/code">
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
        <Annotation Term="Common.Label" String="Code"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/name">
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
        <Annotation Term="Common.Label" String="Name"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/module">
        <Annotation Term="Common.Label" String="Module"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/module_ID">
        <Annotation Term="Common.Text" Path="module/code">
          <Annotation Term="UI.TextArrangement" EnumMember="UI.TextArrangementType/TextOnly"/>
        </Annotation>
        <Annotation Term="Common.ValueList">
          <Record Type="Common.ValueListType">
            <PropertyValue Property="CollectionPath" String="ModuloVH"/>
            <PropertyValue Property="Parameters">
              <Collection>
                <Record Type="Common.ValueListParameterInOut">
                  <PropertyValue Property="LocalDataProperty" PropertyPath="module_ID"/>
                  <PropertyValue Property="ValueListProperty" String="ID"/>
                </Record>
                <Record Type="Common.ValueListParameterDisplayOnly">
                  <PropertyValue Property="ValueListProperty" String="code"/>
                </Record>
                <Record Type="Common.ValueListParameterDisplayOnly">
                  <PropertyValue Property="ValueListProperty" String="name"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.Label" String="Module"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/description">
        <Annotation Term="UI.MultiLineText" Bool="true"/>
        <Annotation Term="Common.Label" String="Description"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/origin">
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/ReadOnly"/>
        <Annotation Term="Common.Label" String="Source"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/active">
        <Annotation Term="Common.Label" String="Active"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/nTransacoes">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Transactions"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/emUso">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="In use"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/IsActiveEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/HasActiveEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/HasDraftEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/DraftAdministrativeData">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos/DraftMessages">
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="at"/>
                  <PropertyValue Property="Descending" Bool="true"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.LineItem">
          <Collection>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="at"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="createdBy"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="acaoTexto"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="objeto"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="campoTexto"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="oldValue"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="newValue"/>
            </Record>
          </Collection>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.EntityContainer/Historico">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="at"/>
                  <PropertyValue Property="Descending" Bool="true"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.SortRestrictions">
          <Record Type="Capabilities.SortRestrictionsType">
            <PropertyValue Property="NonSortableProperties">
              <Collection>
                <PropertyPath>acaoTexto</PropertyPath>
                <PropertyPath>campoTexto</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.FilterRestrictions">
          <Record Type="Capabilities.FilterRestrictionsType">
            <PropertyValue Property="NonFilterableProperties">
              <Collection>
                <PropertyPath>acaoTexto</PropertyPath>
                <PropertyPath>campoTexto</PropertyPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record Type="Capabilities.DeleteRestrictionsType">
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record Type="Capabilities.InsertRestrictionsType">
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record Type="Capabilities.UpdateRestrictionsType">
            <PropertyValue Property="Updatable" Bool="false"/>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/rootKey">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/rootEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/projectId">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/at">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="When"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Who"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/action">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/objeto">
        <Annotation Term="Common.Label" String="Object"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/field">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/oldValue">
        <Annotation Term="Common.Label" String="Old value"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/newValue">
        <Annotation Term="Common.Label" String="New value"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/reason">
        <Annotation Term="Common.Label" String="Reason"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/campoTexto">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Field"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Historico/acaoTexto">
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Action"/>
      </Annotations>
      <Annotations Target="DadosMestresService.EntityContainer/ModuloVH">
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record Type="Capabilities.DeleteRestrictionsType">
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record Type="Capabilities.InsertRestrictionsType">
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record Type="Capabilities.UpdateRestrictionsType">
            <PropertyValue Property="Updatable" Bool="false"/>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.ModuloVH/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.ModuloVH/code">
        <Annotation Term="Common.Label" String="Code"/>
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
      </Annotations>
      <Annotations Target="DadosMestresService.ModuloVH/name">
        <Annotation Term="Common.Label" String="Name"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="order"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="UI.LineItem">
          <Collection>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="order"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="5rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="code"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="10rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="type"/>
              <Annotation Term="HTML5.CssDefaults">
                <Record Type="HTML5.CssDefaultsType">
                  <PropertyValue Property="width" String="11rem"/>
                </Record>
              </Annotation>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="name"/>
            </Record>
            <Record Type="UI.DataField">
              <PropertyValue Property="Value" Path="sapSystemLink"/>
            </Record>
          </Collection>
        </Annotation>
        <Annotation Term="Common.SideEffects" Qualifier="alwaysFetchMessages">
          <Record Type="Common.SideEffectsType">
            <PropertyValue Property="SourceEntities">
              <Collection>
                <NavigationPropertyPath></NavigationPropertyPath>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="TargetProperties">
              <Collection>
                <String>DraftMessages</String>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.Messages" Path="DraftMessages"/>
      </Annotations>
      <Annotations Target="DadosMestresService.EntityContainer/Transacoes">
        <Annotation Term="UI.PresentationVariant">
          <Record Type="UI.PresentationVariantType">
            <PropertyValue Property="SortOrder">
              <Collection>
                <Record Type="Common.SortOrderType">
                  <PropertyValue Property="Property" PropertyPath="order"/>
                </Record>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="Visualizations">
              <Collection>
                <AnnotationPath>@UI.LineItem</AnnotationPath>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.DraftNode">
          <Record Type="Common.DraftNodeType">
            <PropertyValue Property="PreparationAction" String="DadosMestresService.draftPrepare"/>
          </Record>
        </Annotation>
        <Annotation Term="Common.SideEffects" Qualifier="alwaysFetchMessages">
          <Record Type="Common.SideEffectsType">
            <PropertyValue Property="SourceEntities">
              <Collection>
                <NavigationPropertyPath></NavigationPropertyPath>
              </Collection>
            </PropertyValue>
            <PropertyValue Property="TargetProperties">
              <Collection>
                <String>DraftMessages</String>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/createdAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Created On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/createdBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Immutable" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Created By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/modifiedAt">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Common.Label" String="Changed On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/modifiedBy">
        <Annotation Term="UI.HiddenFilter" Bool="true"/>
        <Annotation Term="UI.ExcludeFromNavigationContext" Bool="true"/>
        <Annotation Term="Core.Computed" Bool="true"/>
        <Annotation Term="Core.Description" String="User's unique ID"/>
        <Annotation Term="Common.Label" String="Changed By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/masterDataType">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/masterDataType_ID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/code">
        <Annotation Term="Common.FieldControl" EnumMember="Common.FieldControlType/Mandatory"/>
        <Annotation Term="Common.Label" String="Transaction / app"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/type">
        <Annotation Term="Common.ValueListWithFixedValues" Bool="true"/>
        <Annotation Term="Common.ValueList">
          <Record Type="Common.ValueListType">
            <PropertyValue Property="CollectionPath" String="TipoTransacaoVH"/>
            <PropertyValue Property="Parameters">
              <Collection>
                <Record Type="Common.ValueListParameterInOut">
                  <PropertyValue Property="LocalDataProperty" PropertyPath="type"/>
                  <PropertyValue Property="ValueListProperty" String="code"/>
                </Record>
                <Record Type="Common.ValueListParameterDisplayOnly">
                  <PropertyValue Property="ValueListProperty" String="name"/>
                </Record>
              </Collection>
            </PropertyValue>
          </Record>
        </Annotation>
        <Annotation Term="Common.Label" String="Type"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/name">
        <Annotation Term="Common.Label" String="Name"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/sapSystemLink">
        <Annotation Term="Common.Label" String="Link in SAP"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/order">
        <Annotation Term="Common.Label" String="Order"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/IsActiveEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/HasActiveEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/HasDraftEntity">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/DraftAdministrativeData">
        <Annotation Term="UI.Hidden" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes/DraftMessages">
        <Annotation Term="Core.Computed" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.EntityContainer/TipoTransacaoVH">
        <Annotation Term="Capabilities.DeleteRestrictions">
          <Record Type="Capabilities.DeleteRestrictionsType">
            <PropertyValue Property="Deletable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.InsertRestrictions">
          <Record Type="Capabilities.InsertRestrictionsType">
            <PropertyValue Property="Insertable" Bool="false"/>
          </Record>
        </Annotation>
        <Annotation Term="Capabilities.UpdateRestrictions">
          <Record Type="Capabilities.UpdateRestrictionsType">
            <PropertyValue Property="Updatable" Bool="false"/>
          </Record>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.TipoTransacaoVH/code">
        <Annotation Term="Common.Text" Path="name"/>
        <Annotation Term="Common.Label" String="Code"/>
      </Annotations>
      <Annotations Target="DadosMestresService.TipoTransacaoVH/name">
        <Annotation Term="Common.Label" String="Name"/>
      </Annotations>
      <Annotations Target="DadosMestresService.traducoes(Edm.Guid,Edm.String)/id">
        <Annotation Term="Core.OptionalParameter">
          <Record Type="Core.OptionalParameterType"/>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.traducoes(Edm.Guid,Edm.String)/tipo">
        <Annotation Term="Core.OptionalParameter">
          <Record Type="Core.OptionalParameterType"/>
        </Annotation>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData">
        <Annotation Term="Common.Label" String="Draft Administrative Data"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/DraftUUID">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Common.Label" String="Draft (Technical ID)"/>
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/CreationDateTime">
        <Annotation Term="Common.Label" String="Draft Created On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/CreatedByUser">
        <Annotation Term="Common.Label" String="Draft Created By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/DraftIsCreatedByMe">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Common.Label" String="Draft Created By Me"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/LastChangeDateTime">
        <Annotation Term="Common.Label" String="Draft Last Changed On"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/LastChangedByUser">
        <Annotation Term="Common.Label" String="Draft Last Changed By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/InProcessByUser">
        <Annotation Term="Common.Label" String="Draft In Process By"/>
      </Annotations>
      <Annotations Target="DadosMestresService.DraftAdministrativeData/DraftIsProcessedByMe">
        <Annotation Term="UI.Hidden" Bool="true"/>
        <Annotation Term="Common.Label" String="Draft In Process By Me"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes_texts/locale">
        <Annotation Term="Common.Label" String="Language Code"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Transacoes_texts/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos_texts/locale">
        <Annotation Term="Common.Label" String="Language Code"/>
      </Annotations>
      <Annotations Target="DadosMestresService.Tipos_texts/ID">
        <Annotation Term="Core.ComputedDefaultValue" Bool="true"/>
      </Annotations>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>