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