Show / Hide Table of Contents

Cap


General System Function

The Cap function returns the Location's total capacity. Use Cap to prepare an Entity batch to fill a Location.

Syntax

Cap (<location>)

Syntax Example

Group Cap(Loc1)

Parameters

<location>

The Location's name to examine. If this component is multi-unit Location, Cap returns the the entire Location capacity. For example, if each unit of a five-unit Location has a capacity of five, Cap returns twenty-five. This component can also be an individual unit's name in a multi-unit Location.

Parameters Example

The following example displays the total capacity of the Truck Location when an Entity enters the Bar Storage Rack Location.

Display Cap(Truck)

Cap Example 1


Cap Example 2


Cap Example 3

In This Article
Back to top Generated by DocFX