﻿<?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>AccountingBookDefinition</NounName>
    <NounType>Master Data</NounType>
    <Version>2.10.1</Version>
    <IDXPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]</IDXPath>
    <IDAccountingEntityXPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]/@accountingEntity</IDAccountingEntityXPath>
    <DisplayIDXPath>/*/DataArea/AccountingBookDefinition[1]/DisplayID</DisplayIDXPath>
    <AccountingEntityXPath>/*/DataArea[1]/*/AccountingEntityID</AccountingEntityXPath>
    <LocationXPath>/*/DataArea[1]/*/LocationID[1]</LocationXPath>
    <DescriptionXPath>/*/DataArea/AccountingBookDefinition[1]/Name | /*/DataArea/AccountingBookDefinition[1]/Name/@languageID</DescriptionXPath>
    <RevisionXPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]/following-sibling::RevisionID</RevisionXPath>
    <VariationXPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]/@variationID</VariationXPath>
    <StatusXPath>/*/DataArea/AccountingBookDefinition[1]/Status[1]/Code[1]</StatusXPath>
    <DocumentDateTimeXPath>/*/DataArea/AccountingBookDefinition[1]/DocumentDateTime[1]</DocumentDateTimeXPath>
    <SupportedVerbs>
      <SupportedVerb>Acknowledge</SupportedVerb>
      <SupportedVerb>Get</SupportedVerb>
      <SupportedVerb>Process</SupportedVerb>
      <SupportedVerb>Show</SupportedVerb>
      <SupportedVerb>Sync</SupportedVerb>
    </SupportedVerbs>
  </Noun>
  <Relation type="MasterData">
    <ToNoun>AccountingChart</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Chart used for this Book</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/AccountingBookDefinition/AccountingChartReference/ID</FromNounPath>
      <ToNounPath>/*/DataArea/AccountingChart/IDs[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>FinancialCalendar</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Calendar used for this Book</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/AccountingBookDefinition/FinancialCalendarReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/FinancialCalendar/FinancialCalendarID[1]/ID</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>AccountingBookDefinition</ToNoun>
    <Priority>10        </Priority>
    <RelationLabel>Budget Book for this Book</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/AccountingBookDefinition/BudgetBookDefinitionReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
  <Relation type="MasterData">
    <ToNoun>AccountingBookDefinition</ToNoun>
    <Priority>20        </Priority>
    <RelationLabel>Summary Book for this Book</RelationLabel>
    <RelationPaths>
      <FromNounPath>/*/DataArea/AccountingBookDefinition/SummaryBook/AccountingBookDefinitionReference/DocumentID/ID</FromNounPath>
      <ToNounPath>/*/DataArea/AccountingBookDefinition[1]/DocumentID[1]/ID[not (@schemeName)]</ToNounPath>
    </RelationPaths>
  </Relation>
</NounMetadata>