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