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