project BLF > class BReportSchedule > method CreateRptRequestInfo
Description
Initialize a new record in class table tRptRequestInfo.
Parameters
ic_ParentRowid | input | character | = tRptRequestInfo.tc_ParentRowid |
BReportSchedule | output | dataset | class dataset, containing only the newly initialized record |
oiReturnStatus | output | integer | error status |
program code (program/breportschedule.p)
assign oiReturnStatus = -98.
empty temp-table t_sRptRequestSchedule.
empty temp-table t_sRptRequestInfo.
empty temp-table t_sCustomTable0.
empty temp-table t_sCustomTable1.
empty temp-table t_sCustomTable2.
create tRptRequestInfo.
assign tRptRequestInfo.tc_Rowid = dynamic-function("GetNumberForNew":U in {&TARGETPROCEDURE})
tRptRequestInfo.tc_Status = "N":U.
assign tRptRequestInfo.tc_ParentRowid = ic_ParentRowid.
{ includes/bfcrun.i
&procedure = "InitialValues"
¶meters = "input 'RptRequestInfo':U,
output oiReturnStatus" }
create t_sRptRequestInfo.
raw-transfer tRptRequestInfo to t_sRptRequestInfo.