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