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