ContractRequestHeader

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
agreementDate optional
contractID required
createDate optional
effectiveDate required
expirationDate optional
operation restriction of xs:NMTOKEN new optional
type restriction of xs:NMTOKEN value optional
xml:lang union of(xs:language, restriction of xs:string) required
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.

Used By

Element ContractRequest

Source

<xs:element name="ContractRequestHeader">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="LegalEntity"/>
      <xs:element ref="OrganizationID"/>
      <xs:element ref="OrganizationalUnit" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="PaymentTerm" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="QuoteRequestReference" minOccurs="0"/>
      <xs:element ref="MaxAmount" minOccurs="0"/>
      <xs:element ref="MinAmount" minOccurs="0"/>
      <xs:element ref="MaxReleaseAmount" minOccurs="0"/>
      <xs:element ref="MinReleaseAmount" minOccurs="0"/>
      <xs:element ref="Contact" minOccurs="0" maxOccurs="unbounded"/>
      <xs:element ref="Comments" minOccurs="0"/>
      <xs:element ref="DocumentInfo" minOccurs="0"/>
      <xs:element ref="ParentContractInfo" minOccurs="0"/>
      <xs:element ref="TermsOfDelivery" minOccurs="0"/>
      <xs:element ref="Extrinsic" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="contractID" use="required"/>
    <xs:attribute name="type" default="value">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="value"/>
          <xs:enumeration value="quantity"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="createDate"/>
    <xs:attribute name="agreementDate"/>
    <xs:attribute name="effectiveDate" use="required"/>
    <xs:attribute name="expirationDate"/>
    <xs:attribute ref="xml:lang" use="required"/>
    <xs:attribute name="operation" default="new">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="new"/>
          <xs:enumeration value="delete"/>
          <xs:enumeration value="update"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

Sample