DestinationsFromObjectReleaseType

This function evaluates to the list of Destinations which represent outflows from an Object of a specified Release Type.

Description

This function returns a list of unique names of Destination Type of Supplies which represent outflows from a specified Object, and which have the indicated Release Type.

Type

LIST {STRING}

Arguments

Type

Meaning

1

OBJECT

The Object.

2

STRING

Release Type name or "NONE" or "ALL"

Evaluation

The set of Accounts on the Object are examined. The outflow Supplies on those Accounts which link a different downstream Object and which have the indicated Release Type are considered. The names of the Destination Types of those Supplies are added to the returned list -- but any given Destination Type name will appear on the list only once.

If the Release Type argument is "NONE," then only Supplies having the default (unassigned) Release Type are considered.

If the Release Type argument is "ALL," then that attribute is ignored when considering Supplies.

Comments

Destination Type and Release Types are properties of Supplies. The returned list can include the default ("NONE") Destination Type. Supplies which represent "internal flows" between two Accounts on the Object are not considered.

 
DestinationsFromObjectReleaseType(%"Big Reservior", "Account Fill")
 
{"FarmerA", "City2"}