Definition Type: ComplexType
Name: PurchaseOrderType
Namespace: http://www.openapplications.org/oagis/9
Containing Schema: PurchaseOrder.xsd
Abstract
Documentation:
The schema type for PurchaseOrder. MAKE ALL CHANGES TO ORDER, NOT PO! PurchaseOrder's base abstract type, Order, is shared between PurchaseOrder and SalesOrder. SalesOrder is essentially an extension of PurchaseOrder, but in order to use the local-global design pattern, each of PO and SO needs to instantiate its own Header and Line elements.To do this, we factored out the PO content models, instantiated both PO and SO from Order.
Collapse XSD Schema Diagram:
Drilldown into PurchaseOrderLine in schema purchaseorder_xsd Drilldown into PurchaseOrderHeader in schema purchaseorder_xsdXSD Diagram of PurchaseOrderType in schema purchaseorder_xsd (Open Applications Group (OAGIS))
Collapse XSD Schema Code:
<xsd:complexType name="PurchaseOrderType">
    <xsd:annotation>
        <xsd:documentation source="http://www.openapplications.org/oagis/9">The schema type for PurchaseOrder. MAKE ALL CHANGES TO ORDER, NOT PO! PurchaseOrder's  base abstract type, Order, is shared between PurchaseOrder and SalesOrder. SalesOrder is essentially an extension of PurchaseOrder, but in order to use the local-global design pattern, each of PO and SO needs to instantiate its own Header and Line elements.To do this, we factored out the PO content models, instantiated both PO and SO from Order.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element ref="PurchaseOrderHeader" minOccurs="0" />
        <xsd:element ref="PurchaseOrderLine" minOccurs="0" maxOccurs="unbounded" />
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
PurchaseOrderHeader nsA:PurchaseOrderHeader 0 (1)
PurchaseOrderLine nsA:PurchaseOrderLine 0 unbounded
Collapse Derivation Tree:
Collapse References:
nsA:PurchaseOrder