PreviousNext
Help > Output Classes > LoadPlan Class > LoadPlan Class Properties > CalculationError Property
CalculationError Property

Applies To

WebService.LoadPlan

Description

Gets the error codes of the calculation.

Syntax

Property CalculationError As WebService.LoadPlan.CalculationErrorEnum

Remarks

 

Value

Description

Enumeration

2

(Internal use)

LockeyNotFound

1

Everything is OK. The calculation was successful without any errors.

NoErrors

0

The list of cargoes in the shipment is empty. Check the CargoCollection member of the shipment has at least one cargo defined.

EmptyCargoList

-2

(Internal use)

CargoWidthLongerThanLength

-3

Some cargoes have 0 at their Qty members.

CargoHasZeroLoadCount

-4

Some cargoes are bigger than the container sizes.

CargoIsTooBig

-6

The sizes of containers in the shipment are incorrect.

InvalidContainerSize

-7

Some cargoes have 0 at their SetRatio members.

CargoHasZeroSetCount

-8

The sizes of cargoes in the shipment are incorrect,

InvalidCargoSize

-9

Some cargoes have incorrect orientations. Check the Orientation member of a cargo has at least one direction.

InvalidCargoOrientations

-20

The list of container in the shipment is empty. Check the ContainerCollection member of the shipment has at least one container defined.

EmptyContainerList

It contains a constant value means several error types. The following are typical values.

Data Type

WebService.LoadPlan.CalculationErrorEnum