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