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