﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<NounMetadata xmlns="http://schema.infor.com/InforOAGIS/2" xsi:schemaLocation="http://schema.infor.com/InforOAGIS/2 ./NounMetadata.xsd" version="2.10.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Noun>
    <NounName>ConstrainedResource</NounName>
    <NounType>Master Data</NounType>
    <Version>2.10.1</Version>
    <IDXPath>/*/DataArea/ConstrainedResource/ResourceID[1]/ID[not (@schemeName)]</IDXPath>
    <IDAccountingEntityXPath>/*/DataArea/ConstrainedResource/ResourceID[1]/ID[not (@schemeName)]/@accountingEntity</IDAccountingEntityXPath>
    <DisplayIDXPath>/*/DataArea/ConstrainedResource/ResourceID[1]/ID[not (@schemeName)]</DisplayIDXPath>
    <AccountingEntityXPath>/*/DataArea[1]/*/AccountingEntityID</AccountingEntityXPath>
    <LocationXPath>/*/DataArea[1]/*/LocationID[1]</LocationXPath>
    <DescriptionXPath>/*/DataArea/ConstrainedResource/Name</DescriptionXPath>
    <VariationXPath>/*/DataArea/ConstrainedResource/ResourceID[1]/ID[not (@schemeName)]/@variationID</VariationXPath>
    <StatusXPath>/*/DataArea/ConstrainedResource/Status/Code</StatusXPath>
    <DocumentDateTimeXPath />
    <SupportedVerbs>
      <SupportedVerb>Acknowledge</SupportedVerb>
      <SupportedVerb>Get</SupportedVerb>
      <SupportedVerb>Process</SupportedVerb>
      <SupportedVerb>Show</SupportedVerb>
      <SupportedVerb>Sync</SupportedVerb>
    </SupportedVerbs>
  </Noun>
  <Relation type="MasterData">
    <ToNoun>ConstrainedResource</ToNoun>
    <Priority>40        </Priority>
    <RelationLabel>Check with Pat</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/ConstrainedResource/ResourceReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ConstrainedResource/ResourceID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="Transactional">
    <ToNoun>Calendar</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Calendar linked to Constrained Resource</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/ConstrainedResource/FreeCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Calendar/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Location of the constrained resource</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/ConstrainedResource/Location/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>20        </Priority>
    <RelationLabel>Logistic location of the constrained resource</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/ConstrainedResource/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
</NounMetadata>