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