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