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