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