Compartir a través de


PdsComdPricingRun::findEffective Method

Finds the PdsComdPricingRun record that is effective for a given date and cost basis.

Syntax

server public static PdsComdPricingRun findEffective(
    PdsRunEffective _effective, 
   [PdsCostBasisType _costBasis, 
    InventSiteId _siteId])

Run On

Server

Parameters

Return Value

Type: PdsComdPricingRun Table
An effective PdsComdPricingRun record for the specified date and cost basis type; otherwise, an empty record.

Remarks

This method will find the PdsComdPricingRun record that is effective on the specified date.A pricing run is effective on a specific date when the given effective date is in the inclusive range of the effective through expiry dates of the run.If the cost basis type is specified, only a specific record is guaranteed because a run for a specific cost basis may not have overlapping effective and expiry dates. If the cost basis is empty, this method returns the first effective run that is found for any cost basis.

See Also

Reference

PdsComdPricingRun Table