<xs:complexType name="AmountPerQuantity">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the cost or price of something represented as a value per a number of units. The price of eggs for example would be 1.29 per 1 dozen.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Amount" type="Amount">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the Amount. In the example, 1.29 is carried as the value of Amount and the currency would be USD, in the case of purchasing a dozen eggs in with US Dollars.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FunctionalAmout" type="Amount" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the currency in which the business operates in. In the example, if the business sold eggs in the US and was based in Canada. The functional Amount would reflect the Canadan dollar. Hence the value of Functional Amount maybe 2.10 and the currency would be CAD for Canadian Dollars.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PerQuantity" type="Quantity">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the PerQuantity side of this Amount. In the example above 1 would be carried as the value of PerQuantity with the uom attribute being dozen.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
|