OEC Application Programming Interface

OrderDraft.GetInvalidParts Method 

Checks order draft validity.

public virtual OrderParts GetInvalidParts();

Return Value

Set of parts that are invalid

Remarks

This method checks whether order draft properties are filled correctly and draft is ready to send. Object properties, such as Account and Contract needs to be assigned, Quantity should be non-zero positive; Side and Type should be set to valid values; Price and Price2 must be assigned only if given order type requires price(s).

See Also

OrderDraft Class | OEC.API Namespace