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