CustVendAgingPeriodScaleTmp::calcFromAgingPeriodDefinition Method

Generates continuous scale of dates based on specified parameters.

Syntax

client server public static CustVendAgingPeriodScaleTmp calcFromAgingPeriodDefinition(CustVendReportName _agingPeriodDefinition, [TransDate _zeroDate])

Run On

Called

Parameters

Return Value

Type: CustVendAgingPeriodScaleTmp Table
The CustVendAgingPeriodScaleTmp buffer with distribution of dates in buckets: 1-1 mapping which date goes to which bucket.

Remarks

  • If aging period definition doesn't contain Unlimited buckets for beginning and end of time then only subset of dates required in Aging period definition would be mapped to bucket numbers. It means that dateNull and dateMax will not be present in the scale.

  • Numbering of buckets doesn't change depending from Direction. Only dates themselves may change, but bucket with earliest date always gets number 1.///

See Also

Reference

CustVendAgingPeriodScaleTmp Table