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