﻿<?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.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Noun>
    <NounName>PayFromPartyMaster</NounName>
    <NounType>Master Data</NounType>
    <Version>2.10.2</Version>
    <IDXPath>/*/DataArea/PayFromPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</IDXPath>
    <IDAccountingEntityXPath>/*/DataArea/PayFromPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]/@accountingEntity</IDAccountingEntityXPath>
    <DisplayIDXPath>/*/DataArea/PayFromPartyMaster[1]/PartyDisplayID</DisplayIDXPath>
    <AccountingEntityXPath>/*/DataArea[1]/*/AccountingEntityID</AccountingEntityXPath>
    <LocationXPath>/*/DataArea[1]/*/LocationID[1]</LocationXPath>
    <DescriptionXPath>/*/DataArea/PayFromPartyMaster[1]/Name | /*/DataArea/PayFromPartyMaster[1]/Name/@languagID</DescriptionXPath>
    <VariationXPath>/*/DataArea/PayFromPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]/@variationID</VariationXPath>
    <StatusXPath>/*/DataArea/PayFromPartyMaster[1]/Status/Code</StatusXPath>
    <DocumentDateTimeXPath>/*/DataArea/PayFromPartyMaster[1]/Status/TimePeriod/StartDateTime</DocumentDateTimeXPath>
    <SupportedVerbs>
      <SupportedVerb>Acknowledge</SupportedVerb>
      <SupportedVerb>Get</SupportedVerb>
      <SupportedVerb>Process</SupportedVerb>
      <SupportedVerb>Show</SupportedVerb>
      <SupportedVerb>Sync</SupportedVerb>
    </SupportedVerbs>
  </Noun>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Pay From Party's location</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/Location/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Not needed here - not an internal location</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Pay From Party's Contact</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/Contact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Not needed here - not an internal location</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/FinancialParty/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Pay from Party's Financial Contact</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/FinancialParty/Contact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>BillToPartyMaster</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Bill To Party for the Pay From Party</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/BillToParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/BillToPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Not needed here - not an internal location</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/BillToParty/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>20        </Priority>
    <RelationLabel>Bill To Party's contact for the Pay From Party</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/BillToParty/Contact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Bill To Party's Planner contact for Pay From Party</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/BillToParty/PlannerContact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ContactMaster</ToNoun>
    <Priority>30        </Priority>
    <RelationLabel>Bill To Party's Buyer Contact for Pay From Party</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/PayFromPartyMaster/BillToParty/BuyerContact/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ContactMaster[1]/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
</NounMetadata>