Select to view content in your preferred language

Having trouble accessing the ALStop.OrderSequenceNumber or the

1722
1
08-17-2010 12:41 PM
by Anonymous User
Not applicable
Original User: dp3lw

ArcLogistics 9.3.1

I'm getting catastrophic failure when I try to use the OrderSequenceNumber or the AssociatedObject of the ALStop class. See attachments

Any ideas would be appreciated.
0 Kudos
1 Reply
by Anonymous User
Not applicable
Original User: jwickstrom

Hello Larry,

My guess is you need to check the stop type before accessing this property or casting the value to IALOrder.  Something like:

pALStop2 = pALStops.get_Item(k) as IALStop;

if (pALStop2.StopType != esriALStopType.esriStopOrder)
  continue;

(from the CheckTripRequests.sln sample)

Jeff
0 Kudos