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