project QadFinancials > class BRecurringEntry > method GenerateCalendarUI

Description

Procedure to generate the calendar (Recurring Entry Lines) based on the settings on the header (Recurring Entry) This method returns a temp-table (Generate Calendar does not).


Parameters


icRecEntryRowidinputcharacterRecEntryRowid
icRecEntryFreqinputcharacterRecEntryFreq
itRecEntryStartDateinputdateRecEntryStartDate
ilRecEntryIsOpenEndedinputlogicalRecEntryIsOpenEnded
itRecEntryEndDateinputdateRecEntryEndDate
ilRecEntryIsAmountApplyinputlogicalRecEntryIsAmountApply
idRecEntryAmountLCinputdecimalRecEntryAmountLC
ilRecEntryIsReversinginputlogicalRecEntryIsReversing
icRecEntryCodeinputcharacterRecEntryCode
ovBRecurringEntryoutputdatasetRecEntryLine (from instance)
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program6/brecurringentry.p)

/* Run Generate Calendar */
<M-1 run GenerateCalendar
   (input  icRecEntryRowid (icRecEntryRowid), 
    input  icRecEntryFreq (icRecEntryFreq), 
    input  itRecEntryStartDate (itRecEntryStartDate), 
    input  ilRecEntryIsOpenEnded (ilRecEntryIsOpenEnded), 
    input  itRecEntryEndDate (itRecEntryEndDate), 
    input  ilRecEntryIsAmountApply (ilRecEntryIsAmountApply), 
    input  idRecEntryAmountLC (idRecEntryAmountLC), 
    input  ilRecEntryIsReversing (ilRecEntryIsReversing), 
    input  icRecEntryCode (icRecEntryCode), 
    input  True (ilToBeDeleted), 
    input  True (ilToPost), 
    output oiReturnStatus (oiReturnStatus)) in BRecurringEntry>