Compartir a través de


CustVendAgingPeriodScaleTmp::calcFromStartDateAndInterval Method

Generates continuous scale of dates based on specified parameters

Syntax

client server public static CustVendAgingPeriodScaleTmp calcFromStartDateAndInterval(
    PositiveDays _interval, 
    TransDate _zeroDate, 
    DayMonth _period, 
    ForwardBackwardPrinting _direction, 
    int _bucketsNum)

Run On

Called

Parameters

  • _bucketsNum
    Type: int
    Amount of buckets on the time scale

Return Value

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

Remarks

1) Always contains 2 buckets for beginning of time and end of time. They are not continuous, start with dateNull and end with dateMax correspondingly.

2) 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