Hi,
Really hope someone can help me with this as I am pretty new to it all.
I need to sort a collection cdtAssignment() by a datetime element (dtAssignmentMadeDate) in ascending order. I have included the structure of this below.
Any help would be greatly appreciated
Really hope someone can help me with this as I am pretty new to it all.
I need to sort a collection cdtAssignment() by a datetime element (dtAssignmentMadeDate) in ascending order. I have included the structure of this below.
Any help would be greatly appreciated
HTML:
<s:complexType name="ArrayOfCdtAssignment">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="tAssignment" type="s1:cdtAssignment" />
</s:sequence>
</s:complexType>
<s:complexType name="cdtAssignment">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="sAssignmentHeader" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="sMOI" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="tLocationAddr" type="s1:cdtAddress" />
<s:element minOccurs="0" maxOccurs="unbounded" name="tLocationPhone" type="s1:cdtPhone" />
<s:element minOccurs="0" maxOccurs="1" name="sStatus" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="dtAssignmentDate" type="s:dateTime" />
<s:element minOccurs="1" maxOccurs="1" name="dtAssignmentMadeDate" type="s:dateTime" />
<s:element minOccurs="0" maxOccurs="1" name="tAdjuster" type="s1:cdtAdjuster" />
<s:element minOccurs="0" maxOccurs="1" name="sSLA" type="s:string" />
<s:element minOccurs="0" maxOccurs="unbounded" name="sDirections" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="sArrivalWindow" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="sDuration" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="sAssignmentType" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="sLocationName" type="s:string" />
<s:element minOccurs="1" maxOccurs="1" name="iSortIndex" type="s:int" />
</s:sequence>
</s:complexType>
Last edited by a moderator: