PdsComdPricingRun::lookupPreviousRun Method
Generates a lookup for a previous run of a specified PdsComdPricingRun record.
Syntax
client public static void lookupPreviousRun(FormStringControl _control, PdsComdPricingRun _run)
Run On
Client
Parameters
- _control
Type: FormStringControl Class
A Form control for which this lookup should be displayed.
- _run
Type: PdsComdPricingRun Table
The PdsComdPricingRun record in which the previous run must be set.
Remarks
This method provides a lookup for pricing runs that display the following fields: PricingRunId, RunEffective, and RunExpiry. The lookup is sorted in order by the RunEffective date of the pricing runs so that the most recent runs are displayed first in descending order. Only the runs in the same cost basis type as the specified pricing run are displayed.The specified pricing run is not included in the lookup.