AccountPriorityDate

This function evaluates to the priority date of the Account, on the specified Object, having the specified name.

Description

This function returns the priority date of the Account, on the specified object, having the specified name.

Type

DATETIME

Arguments

Type

Meaning

1

OBJECT

The Object

2

STRING

The Account name

Evaluation

The Object’s accounts are examined.

If an Account exists with the specified name its priority date is returned.

Comments

Priority dates are a property of Accounts.

It’s an error if either the Object doesn’t have an Account with the specified name or the Account doesn’t have a priority date.

 
AccountPriorityDate (%"Reservoir1", "NaturalFlowAcct")
 
@"February 23, 1902"