PunchOutOrderMessageHeader

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
operationAllowed restriction of xs:NMTOKEN required
quoteStatus restriction of xs:NMTOKEN final optional

Used By

Source

<xs:element name="PunchOutOrderMessageHeader">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="SourcingStatus" minOccurs="0"/>
      <xs:element ref="Total"/>
      <xs:element ref="ShipTo" minOccurs="0"/>
      <xs:element ref="Shipping" minOccurs="0"/>
      <xs:element ref="Tax" minOccurs="0"/>
      <xs:element ref="SupplierOrderInfo" minOccurs="0"/>
    </xs:sequence>
    <xs:attribute name="operationAllowed" use="required">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="edit"/>
          <xs:enumeration value="create"/>
          <xs:enumeration value="inspect"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="quoteStatus" default="final">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="final"/>
          <xs:enumeration value="pending"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample