﻿<?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.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Noun>
    <NounName>CarrierParty</NounName>
    <NounType>Master Data</NounType>
    <Version>trunk</Version>
    <IDXPath>/*/DataArea/CarrierParty/PartyIDs[1]/ID[not (@schemeName)]</IDXPath>
    <IDAccountingEntityXPath>/*/DataArea/CarrierParty/PartyIDs[1]/ID[not (@schemeName)]/@accountingEntity</IDAccountingEntityXPath>
    <DisplayIDXPath>/*/DataArea/CarrierParty/PartyDisplayID</DisplayIDXPath>
    <AccountingEntityXPath>/*/DataArea[1]/*/AccountingEntityID</AccountingEntityXPath>
    <LocationXPath>/*/DataArea[1]/*/LocationID[1]</LocationXPath>
    <DescriptionXPath>/*/DataArea/CarrierParty/Name|/*/DataArea/CarrierParty/Name/@languageID</DescriptionXPath>
    <VariationXPath>/*/DataArea/CarrierParty/PartyIDs[1]/ID[not (@schemeName)]/@variationID</VariationXPath>
    <StatusXPath />
    <DocumentDateTimeXPath />
    <SupportedVerbs>
      <SupportedVerb>Acknowledge</SupportedVerb>
      <SupportedVerb>Get</SupportedVerb>
      <SupportedVerb>Process</SupportedVerb>
      <SupportedVerb>Show</SupportedVerb>
      <SupportedVerb>Sync</SupportedVerb>
    </SupportedVerbs>
  </Noun>
  <Relation type="MasterData">
    <ToNoun>CarrierParty</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/CarrierParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/CarrierParty/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Only logistic location wihtout location? Not needed sinc ethis is just an address of the customer</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/CarrierParty/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Carrier Contact</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/CarrierParty/Contact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
</NounMetadata>