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