BOD versions in HCL Commerce

In order for the Transaction server to be able to differentiate between different levels of client libraries, which may have different versions of the HCL Commerce nouns, the versionID attribute of the OAGIS BusinessObjectDocumentType is populated with the HCL Commerce version associated with the noun.

This versionID attribute is for IBM use only, for HCL Commerce BODs. If you want to specify your own custom version identification system, you can make use of the releaseID attribute of the BOD.

Every Noun XSD file contains a constant value, that corresponds to the HCL Commerce version-release-modification-fixpack convention:
	<element name="NounNameBODVersion" type="string" fixed="6.0.0.4">
		<annotation>
			<documentation>
			Version of the noun. This value is set as the versionID attribute in the corresponding BODs.
			</documentation>
		</annotation>
	</element>
This value will change in any of the following cases:
  • The noun changes.
  • A data type the noun depends on changes.
In the client library, the constant is read from the XSD, and set in the BOD. The resulting BOD will look like the following sample:
<_mbr:ChangePerson xmlns:_mbr="http://www.ibm.com/xmlns/prod/commerce/9/member" xmlns:_wcf="http://www.ibm.com/xmlns/prod/commerce/9/foundation" xmlns:oa="http://www.openapplications.org/oagis/9" versionID="6.0.0.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Note: The template code generated when you Create a HCL Commerce service module will set the versionID in the BOD for you.