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