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