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