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
| icRecEntryRowid | input | character | RecEntryRowid |
| icRecEntryFreq | input | character | RecEntryFreq |
| itRecEntryStartDate | input | date | RecEntryStartDate |
| ilRecEntryIsOpenEnded | input | logical | RecEntryIsOpenEnded |
| itRecEntryEndDate | input | date | RecEntryEndDate |
| ilRecEntryIsAmountApply | input | logical | RecEntryIsAmountApply |
| idRecEntryAmountLC | input | decimal | RecEntryAmountLC |
| ilRecEntryIsReversing | input | logical | RecEntryIsReversing |
| icRecEntryCode | input | character | RecEntryCode |
| ovBRecurringEntry | output | dataset | RecEntryLine (from instance) |
| oiReturnStatus | output | integer | Return 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>