AccountNamesFromObjReleaseDestination and AccountNamesFromObjReleaseDestinationIntra

This function evaluates to the list of names of Accounts on the specified Object having outflow Supplies of the given ReleaseType and Destination.

Description

This function returns a list of names of Accounts on a specified Object where the attributes of the outflow Supplies of the Accounts match the given ReleaseType and Destination. The list is sorted in ascending Account priority date order; Accounts which don’t have a priority date are at the end of the list, sorted in ascending name order.

Type

LIST {STRING}

Arguments

Type

Meaning

1

OBJECT

The Object.

2

STRING

ReleaseType name or "NONE" or "ALL"

3

STRING

Destination name or "NONE" or "ALL"

Evaluation

The set of Accounts on the Object are examined. The outflow Supplies on those Accounts are then examined. The names of the Accounts which have Supplies which

(1) link a different downstream Object, and

(2) have the indicated ReleaseType, and

(3) have the indicated Destination

are added to the returned list.

If the ReleaseType argument or the Destination argument is "NONE," then only Supplies having the default (unassigned) attribute of that type are considered.

If the ReleaseType argument or the Destination argument is "ALL," then that Supply attribute is ignored.

The list is sorted as described above.

The “Intra” version of the function will only look at transfer supplies that are within the object.

Comments

ReleaseTypes and Destinations are properties of Supplies; priority dates are properties of Accounts.

 
AccountNamesFromObjReleaseDestination (%"Heron Reservior",
"Account Fill", "Albiquiu")
 
{"DownstreamAcct1", "NaturalFlowAccount"}