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