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