﻿<?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.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Noun>
    <NounName>InspectionOrder</NounName>
    <NounType>Transactional</NounType>
    <Version>2.10.0</Version>
    <IDXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]</IDXPath>
    <IDAccountingEntityXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]/@accountingEntity</IDAccountingEntityXPath>
    <IDLocationXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]/@location</IDLocationXPath>
    <DisplayIDXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DisplayID</DisplayIDXPath>
    <AccountingEntityXPath>/*/DataArea[1]/*/AccountingEntityID</AccountingEntityXPath>
    <LocationXPath>/*/DataArea[1]/*/LocationID[1]</LocationXPath>
    <DescriptionXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/Description | /*/DataArea/InspectionOrder/InspectionOrderHeader/Description/@languageID</DescriptionXPath>
    <RevisionXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]/following-sibling::RevisionID</RevisionXPath>
    <VariationXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]/@variationID</VariationXPath>
    <StatusXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/Status Code</StatusXPath>
    <DocumentDateTimeXPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentDateTime</DocumentDateTimeXPath>
    <SupportedVerbs>
      <SupportedVerb>Acknowledge</SupportedVerb>
      <SupportedVerb>Get</SupportedVerb>
      <SupportedVerb>Process</SupportedVerb>
      <SupportedVerb>Show</SupportedVerb>
      <SupportedVerb>Sync</SupportedVerb>
    </SupportedVerbs>
  </Noun>
  <Relation type="Transactional">
    <ToNoun>PurchaseOrder</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/PurchaseOrderReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/PurchaseOrder/PurchaseOrderHeader/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="Transactional">
    <ToNoun>ProductionOrder</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ProductionOrderReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ProductionOrder/ProductionOrderHeader/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="Transactional">
    <ToNoun>SalesOrder</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/SalesOrderReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/SalesOrder/SalesOrderHeader/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="Transactional">
    <ToNoun>InspectionOrder</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/InspectDeliveryReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>SupplierPartyMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/SupplierParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/SupplierPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ShipFromPartyMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ShipFromParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ShipFromPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ShipFromParty/Location/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ShipFromParty/Location/LogisticsLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>CustomerPartyMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/CustomerParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/CustomerPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/CustomerParty/Location/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ShipToPartyMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ShipToParty/PartyIDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ShipToPartyMaster[1]/PartyIDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ShipToParty/Location/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ItemMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/Item/ItemID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ItemMaster[1]/ItemMasterHeader/ItemID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>ItemMaster</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/Item/Packaging/ID</FromNounPath>
      <ToNounPath>/*/DataArea/ItemMaster[1]/ItemMasterHeader/ItemID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/WarehouseLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Person</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ResponsiblePersonReference/IDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Person/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Person</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/ProducedByPersonReference/IDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Person/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/SourceLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderHeader/MaterialLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>FinancialCalendar</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/CreationPeriod/FinancialCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/FinancialCalendar/FinancialCalendarID[1]/ID</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>FinancialCalendar</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/CompletionPeriod/FinancialCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/FinancialCalendar/FinancialCalendarID[1]/ID</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>FinancialCalendar</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/InspectionOrderTaskLine/ActualStartPeriod/FinancialCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/FinancialCalendar/FinancialCalendarID[1]/ID</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>FinancialCalendar</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/InspectionOrderTaskLine/ActualCompletionPeriod/FinancialCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/FinancialCalendar/FinancialCalendarID[1]/ID</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Location</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/InspectionOrderTaskLine/TestLocation/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Location/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>Person</ToNoun>
    <RelationPaths>
      <FromNounPath>/*/DataArea/InspectionOrder/InspectionOrderTask/InspectionOrderTaskLine/TestPersonReference/IDs/ID</FromNounPath>
      <ToNounPath>/*/DataArea/Person/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
</NounMetadata>