Gets or sets the purpose code for this order.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public virtual CicaOrderPurposeCode OrderPurposeCode { get; set; }
Visual Basic (Declaration)
Public Overridable Property OrderPurposeCode As CicaOrderPurposeCode
Visual C++
public:
virtual property CicaOrderPurposeCode OrderPurposeCode {
	CicaOrderPurposeCode get ();
	void set (CicaOrderPurposeCode value);
}

Property Value

The purpose code for this order indicating if this is a new order, an update to a previously sent order, or the voiding of a previously sent order. The default value is Invalid.

Remarks

If this property is set to UpdateOrder or VoidOrder, the OrderRevision property should be set and the OrderNumber property should be set to the order number for the order that is being updated or voided.

The OrderPurposeCodeSpecified property indicates whether or not this property will be included in the serialized class or generated document. The OrderPurposeCodeSpecified property is automatically set to true when this property is set.

See Also