rating_period
Header records for rating periods, which represent periods which usage is bound to and rated against. Note that (subscription, period_end) is a candidate key for this view.
| Column name | Description | Data type |
|---|---|---|
| subscription | Primary key.
Reference to subscription. |
integer |
| rating_period | integer | |
| company | Reference to company. | smallint |
| period_end | Primary key. | date |
| rating_period_status | Reference to rating_period_status. | charter (1) |
| rating_period_prerate_status | Reference to rating_period_prerate_status. | character (1) |
| amount | numeric (10,2) * | |
| tax_amount | numeric (10,2) * |