Description
This method is used to get all available calendar year by input domain_id.
Parameters
iiDomainId | input | integer | Domain ID. |
tAvailableYears | output | temp-table | Temp table to store Domain_id and available calendar years. |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program6/bglcalendar.p)
if iiDomainId = 0 or
iiDomainId = ?
then assign iiDomainId = viDomainID.
<Q-1 run GLCalendarByYearDistinct (all) (Read) (NoCache) (input iiDomainID, (DomainId)
output dataset tqGLCalendarByYearDistinct) in BGLCalendar >
assign vhAvailableYears = temp-table tAvailableYears:handle.
vhAvailableYears:copy-temp-table(temp-table tqGLCalendarByYearDistinct:handle).